Package: gdb
Version: 7.12-6
Followup-For: Bug #772039

Dear Maintainer,


I have an example of a source tree which, its program having been built,
causes the GDB demangler to crash.

The program in question is a Doom WAD editing tool called SLADE, and the
source code can be found on github at:

https://github.com/sirjuddington/SLADE

The result of trying to debug this program is as follows:

--- begin crash transcript

mormegil@cocytus:~/games/wadediting$ gdb ./slade
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from 
./slade.../build/gdb-A87voC/gdb-7.12/gdb/cp-support.c:1600: demangler-warning: 
unable to demangle 
'_ZSt7forwardIRZN3sol15function_detail19overloaded_functionILi0EJPFSt6vectorIP7ArchiveSaIS5_EEbEZN3Lua25registerArchivesNamespaceERNS0_5stateEEUlvE_EEclEP9lua_StateEUlDpOT_E_EOT_RNSt16remove_referenceISM_E4typeE'
 (demangler failed with signal 11)
Unable to dump core, use `ulimit -c unlimited' before executing GDB next time.
/build/gdb-A87voC/gdb-7.12/gdb/cp-support.c:1615: demangler-warning: unable to 
demangle 
'_ZSt7forwardIRZN3sol15function_detail19overloaded_functionILi0EJPFSt6vectorIP7ArchiveSaIS5_EEbEZN3Lua25registerArchivesNamespaceERNS0_5stateEEUlvE_EEclEP9lua_StateEUlDpOT_E_EOT_RNSt16remove_referenceISM_E4typeE'
 (demangler failed with signal 11)
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

--- end crash transcript

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gdb depends on:
ii  libbabeltrace-ctf1  1.5.1-1
ii  libbabeltrace1      1.5.1-1
ii  libc6               2.24-11+deb9u1
ii  libexpat1           2.2.0-2+deb9u1
ii  liblzma5            5.2.2-1.2+b1
ii  libncurses5         6.0+20161126-1+deb9u1
ii  libpython3.5        3.5.3-1
ii  libreadline7        7.0-3
ii  libtinfo5           6.0+20161126-1+deb9u1
ii  zlib1g              1:1.2.8.dfsg-5

Versions of packages gdb recommends:
ii  libc6-dbg [libc-dbg]  2.24-11+deb9u1

Versions of packages gdb suggests:
ii  gdb-doc    7.12-2
ii  gdbserver  7.12-6

-- no debconf information

Reply via email to