Bug #548

sh seg fault or abort or lose history on long lines

Added by reed about 7 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

I was testing line lengths on /bin/sh of Oct. 27 and it did two things:

"abort" and the shell died

or "segmentation fault" (and shell died).

Sorry I had no core dump.

I did same in gdb, but no debugging symbols so I didn't know where problem
was.

So I tried the latest sh, but couldn't repeat the abort or seg fault.
Looks like someone may have fixed that.

But it has a new problem, now with shell history (press up arrow with
emacs mode), it loses command line at beginning and sometimes at end.

tcsh has similar issue because its command line accepts around 8190
characters while its history only saves 4096 characters.

The sh problem is a bug (I think) because it doesn't crop it at the end,
but actually you may lose the beginning of command line also.

Jeremy C. Reed

History

#1 Updated by alexh almost 5 years ago

Are you still experiencing this bug? Is anyone else? Can anyone confirm it?

#2 Updated by alexh over 4 years ago

no response, closing this

Also available in: Atom PDF