DragonFly bugs List (threaded) for 2007-01
DragonFly BSD
DragonFly bugs List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

sh seg fault or abort or lose history on long lines


From: "Jeremy C. Reed" <reed@xxxxxxxxxxxxx>
Date: Tue, 30 Jan 2007 19:34:41 -0600 (CST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]