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

Bug#274756: libc6: abort() breaks gdb backtraces with 2.6 kernel



I was about to report the same problem; I started investigating after
seeing too many corrupted backtraces on a mailing list. So this is
a real problem.
I mention this because I'm afraid the bug will be closed after finding
out why it doesn't work after installing libc6-dbg. It should work
without libc6-dbg as well.


Please give a reason for this position.  If you want a backtrace,
install the debugging package.

There are two reasons, one conceptual and one practical. The conceptual reason is that libc6-dbg should be required to debug libc6 issues but not to debug not-libc-related issues in other programs. The practical reason is that most people don't have libc6-dbg installed and thus their error reports are not as good as they could be.

Sure: it's just a matter of installing the package to get good backtraces. But it's a bit large (no problem for me, might be a problem on a slow connection) and, more importantly, it's not a well known solution. The garbage bt is more likely interpreted as a corrupted stack (speaking from experience).

In any case, it looks like we're removing -fomit-frame-pointer anyway.

No worries then ;)

-j



Reply to: