Package: gdb Version: 7.7.1+dfsg-3 Severity: normal Dear Maintainer,
when trying to debug a certain C++ executable, gdb crashes during startup. The last thing printed is "Reading symbols from exe...". After debugging gdb the problem seems to be in the c++ demangling functions of the contained libiberty. The backtrace of the crash contains a call to cplus_demangle() with a rather long mangled name (and options 3). Calling it with this name seems to trigger an endless recursion in d_print_comp(). I wrote a small test program to reproduce the problem. Calling the cplus_demangle() function from libiberty contained within the gdb source package caused a segfault. Linking the same test program against the lib shiped by the libiberty-dev package did not cause a segfault but produced the correct result. So an update of the libiberty contained in gdb seems to solve the problem. If it is required I can send you the name causing this problem in a private message, but I don't want to send it to a public list. Kind regards, Florian Sowade -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gdb depends on: ii libc6 2.19-10 ii libexpat1 2.1.0-6 ii liblzma5 5.1.1alpha+20120614-2 ii libncurses5 5.9+20140712-2 ii libpython2.7 2.7.8-6 ii libreadline6 6.3-8 ii libtinfo5 5.9+20140712-2 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages gdb recommends: ii gdbserver 7.7.1+dfsg-3 ii libc6-dbg [libc-dbg] 2.19-10 Versions of packages gdb suggests: pn gdb-doc <none> -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

