uClibc strange segfault

Carmelo AMOROSO carmelo.amoroso at st.com
Wed Sep 12 08:41:21 UTC 2012


On 21/08/2012 2.11, Joaquim Pedro França Simão wrote:
> Hello, I am trying to create a system using BuildRoot, but the system
> generated can not run binaries compiled on himself, gives a segfault.
> It generates a core dump, I managed to capture some of the code that
> theoretically would be the source of the problem, but I do not see how
> this would be the source.
> 
>     Program terminated with signal 11, Segmentation fault.
>     #0  0xf76efe8f in _stdio_init () at libc/stdio/_stdio.c:258
>     258             int old_errno = errno;
>     (gdb) bt full
>     #0  0xf76efe8f in _stdio_init () at libc/stdio/_stdio.c:258
>             old_errno = 134563049
>     #1  0xf771ab44 in *__GI___uClibc_init () at
> libc/misc/internals/__uClibc_main.c:276
>     No locals.
>     #2  0xf7744646 in _dl_get_ready_to_run () from
> /tmp/buildtree/lib/ld-uClibc.so.0
>     No symbol table info available.
>     #3  0xf77458dd in ?? () from /tmp/buildtree/lib/ld-uClibc.so.0
>     No symbol table info available.
>     #4  0xf7745b59 in _start () from /tmp/buildtree/lib/ld-uClibc.so.0
>     No symbol table info available.
> 
> This would be a bug in uClibc or would something else?
> 

which version are you using ? could you try with master ?

Carmelo



More information about the uClibc mailing list