[maemo-users] Fun crashes on OS2008

From: Eero Tamminen eero.tamminen at nokia.com
Date: Wed Jan 2 13:13:41 EET 2008

ext James Sparenberg wrote:
> On Saturday 29 December 2007 03:29:05 pm Marius Gedminas wrote:
>> Two shell crashes on OS2008.  One is reproducible but mostly
>> harmless:
>>   $ type
>> /bin/sh segfaults and your session ends.
>> The other is not reproducible: while hitting the <Up> key to go
>> back in history I suddenly got this:
>>   ~ $ pidof *** glibc detected *** -sh: double free or corruption
>> (!prev): 0x0004ed40 ***
>> /bin/sh aborts and your session ends.  Scary.
>> Marius Gedminas
> Marius.   I can't get the first one to crash mine.  it instead lists 
> out the busybox info.  As for the second ... I get random crashes 
> form the current xterm (less advanced) version that I can't repeat.  
> More often than not with more than one window open.  But the  one you 
> can get to work regularly doesn't seem to happen. 
> Also just curious but does anyone know why the clear command wasn't 
> compiled into busybox?  Was up until 2008.  Perhaps an oversite?

Why you need it?

"clear" command comes from ncurses-bin package on Debian along with
e.g. terminfo database manipulation programs. ncurses-bin is a Debian
essential and "clear" is also in posix standard so it would probably
be  good if it would be in the device by default.

Busybox package doesn't provide ncurses-bin and from the binaries
included into that package Busybox binary could be configured
to provided only clear and reset.   I'm not sure how nice it would
be to have that limited ncurses-bin package in the device...
The terminfo database tools shouldn't be necessary there. :-)

	- Eero

More information about the maemo-users mailing list