Bug 5684

Summary: Hush crashes on nommu platfrom
Product: Busybox Reporter: Max Nekludov <macscomp>
Component: OtherAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: minor CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:
Attachments: patch

Description Max Nekludov 2012-11-14 09:09:38 UTC
Created attachment 4634 [details]
patch

Hush crashes from time to time on the command: echo $(cat /proc/loadavg)
Comment 1 Denys Vlasenko 2013-01-20 22:00:36 UTC
I set CONFIG_NOMMU=y in my .config and I can't reproduce it:

$ ./busybox hush
$ while sleep 0.01; do echo $(cat /proc/loadavg); done
<runs w/o crashing>

Looked at the patch and it does not look correct: file descriptor's status is not shared by vforked parent/child, and patch assumes otherwise.