Program segmentation fault and busybox

Ralf Friedl Ralf.Friedl at online.de
Thu Mar 17 16:16:36 UTC 2011


Georgy Lukonin wrote:
> Am Donnerstag, den 17.03.2011, 16:42 +0100 schrieb Ralf Friedl:
>   
>> Georgy Lukonin wrote:
>>     
>>> On my terminal I have something like that: 
>>>
>>> root at system#prog
>>> Segmentation fault
>>> root at system#root at system#root at system#root at system#root at system
>>>   
>>>       
>> What you need is "stty sane".
>>
>> Ralf
>>     
>
> Thank you for all suggestions!  I will try it out. 
>
> The main problem for me is that something like that should not happen in
> the running system at all. If there are some troubles with my program
> the complete system can not be rebooted. As I wrote in my previous mail
> I can observe this behavior only with the busybox 1.18.4.
What should not happen, your program modifying the tty and then 
crashing, or that the tty is left modified after your program crashes?

Also, you can reboot your system, you can restore the tty, and you 
didn't mention that you can observe this behavior _only_ with the 
busybox 1.18.4, which I would consider unlikely anyway.

bash would restore the terminal after a program is terminated by a 
signal. It might be possible to add that to busybox ash.

Ralf


More information about the busybox mailing list