Grep Segfaults

walter harms wharms at bfs.de
Thu Oct 16 07:02:27 UTC 2008


Hie jeremy,

can you confirm the crash with an other system than AVR32 ?
Can you test using glibc ?

re,
 wh


Jeremy Bowen schrieb:
> Hi
> 
> I'm having a problem with (what I think is) BusyBox on my AVR32 system.
> 
> I'm running "BusyBox v1.12.0 (2008-10-16 09:24:36 NZDT) multi-call binary" 
> which I have compiled using avr32-linux-gcc (GCC) 4.2.2-atmel.1.0.8 and 
> linked against a recent SVN copy of uClibc 0.9.29
> 
> Running grep results in a segfault:
> grep[272]: segfault at 00000061 pc 0000d162 sp 7fdd3b94 ecr 24
> 
> As far as I can tell this is occurring in libbb/xregcomp.c in 
> the "regcomp_or_errmsg()" function in the call to "regcomp()" itself.
> 
> Building the BusyBox binary seems to complete successfully however I do get 
> this warning as the last step in the make process:
> 
> BFD: busybox: warning: allocated section `.rela.dyn' not in segment
> 
> I had the same problem with grep in BusyBox v1.10.1 so I guess this could also 
> point to uClibc being the root of the problem.
> 
> Any suggestions on what to look for would be appreciated. Thanks in advance.



More information about the busybox mailing list