Bug#274756: libc6: abort() breaks gdb backtraces with 2.6 kernel
On Mon, Oct 04, 2004 at 04:19:50AM +0300, Timo Sirainen wrote:
> On 4.10.2004, at 04:12, GOTO Masanori wrote:
>
> >As Daniel wrote, LD_LIBRARY_PATH is not related - just installing
> >libc6-dbg on 2.6 kernel machine fixed the problem on my environment.
>
> It didn't help with me. I have to use LD_LIBRARY_PATH with my own
> testing to have useful backtraces.
Then please send us a test case.
> >Daniel should know about this issue in detail. I guess the problem
> >"-fomit-frame-pointer" is used for tls/nptl libc6. If so, we'll
> >prepare without it after sarge.
>
> I find it somewhat strange that kill() and raise() work fine, but
> abort() doesn't. If abort() was changed to just do same as
> raise(SIGABRT) I'd be happy.
GCC knows that abort() will not return, and optimizes accordingly.
--
Daniel Jacobowitz
Reply to: