[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#321785: fakeroot: segfaults on [hppa]

> no, it's not fakeroot, it's make segfaulting ...
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 16911)]
> 0x4091fd20 in __canonicalize_funcptr_for_compare () from /lib/libpthread.so.0
> (gdb) bt
> #0  0x4091fd20 in __canonicalize_funcptr_for_compare ()
>    from /lib/libpthread.so.0
> #1  0x4091b424 in sigaction () from /lib/libpthread.so.0
> #2  0x405cc950 in sigaction () from /lib/libc.so.6
> #3  0x405cc748 in ssignal () from /lib/libc.so.6
> #4  0x0001d690 in main ()
> (gdb)

Confirmed. We are passing a function pointer with a value of -2 into
__cffc, which should not happen...

This code is a bit fragile wrt to glibc's and the toolchain's idea of
the GOT layout and function pointer initialization. Carlos and Dave
might have a better idea of what is happening :)

I've copied Dave and Carlos in case they don't read these lists. Dave
and Carlos, this is a problem with the new glibc in Debian unstable.
looks like any app that links libpthread will segfault.

Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports

Reply to: