busybox-1.9.0 / fdisk -l segfaults

walter harms WHarms at bfs.de
Wed Jan 23 13:39:51 UTC 2008


no i remember,
the was a discussion lately (see: "do ... while(0) optimization problem")
about gcc optimizes G_INIT away. can you test with a newer gcc version (4.2 or so),
or play with optimisation to see if the problems goes away ?

re,
 wh




Christian MICHON wrote:
> On Jan 23, 2008 10:48 AM, walter harms <WHarms at bfs.de> wrote:
>> obviously it is not a general fault, please describe you environment
>>
>> busybox 1.9.0 (from busybox.net i guess ?)
>> gcc version ? (others, perhaps details like crosscompile, private linker etc)
>> Processor ?
>> libc version ?
> 
> sure. :)
> 
> busybox-1.9.0 from busybox.net
> uclibc-0.9.29 from uclibc.org
> gcc-3.4.6 (no crosscompilation: direct x86/32 native compilation)
> binutils-2.16.1
> processor: i686 (also tried on AMD, virtual machines)
> 
> the full environment to reproduce/see this error is inside the detaolb_v08.iso
> (use it in a vm if you want to see it)
> 
> http://prdownloads.sf.net/detaolb/detaolb_v08.iso
> 
> the problem lies in the INIT_G new structure, as reported by gdb/ddd
> 



More information about the busybox mailing list