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...
I've posted a candidate gcc fix here:
http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00923.html
As I mentioned earlier today to Randolph, I think there should possibly
be a pa specific implementation of sigaction that avoids doing function
pointer canonicalization.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
Reply to: