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

Bug#224811: libc6: Debugging unhandled exceptions difficult without LD_ASSUME_KERNEL.



Package: libc6
Version: 2.3.2.ds1-10
Severity: normal

Given the following:
#include <stdexcept>

int main() {
    throw std::runtime_error("foo");
    return 0;
}

This backtrace was produced when running this normally on a 2.6 based
system:
#0  0x40077d89 in raise () from /lib/tls/libc.so.6
#1  0x40183f30 in ?? () from /lib/tls/libc.so.6
#2  0xbffff970 in ?? ()
#3  0x400795e1 in abort () from /lib/tls/libc.so.6

Running with LD_ASSUME_KERNEL=2.4.22:
#0  0x40076561 in kill () from /lib/libc.so.6
#1  0x40076305 in raise () from /lib/libc.so.6
#2  0x40077828 in abort () from /lib/libc.so.6
#3  0x4d770947 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#4  0x4d770984 in std::terminate() () from /usr/lib/libstdc++.so.5
#5  0x4d770af6 in __cxa_throw () from /usr/lib/libstdc++.so.5
#6  0x0804876d in main ()

Thanks,

Euan.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux zircon 2.6.0-test11 #1 Mon Dec 15 23:22:56 GMT 2003 i686
Locale: LANG=en_GB, LC_CTYPE=en_GB

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information




Reply to: