[issue2094] Segfault when gdb printing backtrace from core dump

Robin Green (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Sat Jun 25 09:16:46 PDT 2011


New submission from Robin Green <greenrd at greenrd.org>:

Emacs aborted, so I tried to debug its coredump in gdb. The following happened:

bash-4.2$ gdb `which emacs` emacs.core
GNU gdb (GDB) 7.0
Copyright (C) 2009 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-dragonfly".
For bug reporting instructions, please see:
<http://bugs.dragonflybsd.org/>...
Reading symbols from /usr/pkg/bin/emacs...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpthread.so.0
Reading symbols from /usr/pkg/lib/libgtk-x11-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/pkg/lib/libgdk-x11-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/pkg/lib/libatk-1.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libatk-1.0.so.0
Reading symbols from /usr/pkg/lib/libpangoft2-1.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/pkg/lib/libpangocairo-1.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/pkg/lib/libXext.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libXext.so.6
Reading symbols from /usr/pkg/lib/libXrender.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libXrender.so.1
Reading symbols from /usr/pkg/lib/libXinerama.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libXinerama.so.1
Reading symbols from /usr/pkg/lib/libXi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libXi.so.6
Reading symbols from /usr/pkg/lib/libXrandr.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libXrandr.so.2
Reading symbols from /usr/pkg/lib/libXcursor.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libXcursor.so.1
Reading symbols from /usr/pkg/lib/libXcomposite.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libXcomposite.so.1
Reading symbols from /usr/pkg/lib/libXdamage.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libXdamage.so.1
Reading symbols from /usr/pkg/lib/libgdk_pixbuf-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/lib/libm.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libm.so.3
Reading symbols from /usr/pkg/lib/libgio-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libgio-2.0.so.0
Reading symbols from /usr/pkg/lib/libXfixes.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libXfixes.so.3
Reading symbols from /usr/pkg/lib/libcairo.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libcairo.so.2
Reading symbols from /usr/pkg/lib/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libX11.so.6
Reading symbols from /usr/pkg/lib/libpng15.so.15...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libpng15.so.15
Reading symbols from /usr/pkg/lib/libpango-1.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libpango-1.0.so.0
Reading symbols from /usr/pkg/lib/libfreetype.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libfreetype.so.6
Reading symbols from /usr/pkg/lib/libfontconfig.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libfontconfig.so.1
Reading symbols from /usr/pkg/lib/libgobject-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libgobject-2.0.so.0
Reading symbols from /usr/pkg/lib/libgmodule-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libgmodule-2.0.so.0
Reading symbols from /usr/pkg/lib/libgthread-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libgthread-2.0.so.0
Symbols already loaded for /usr/lib/libpthread.so.0
Reading symbols from /usr/lib/librt.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librt.so.0
Reading symbols from /usr/pkg/lib/libglib-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libglib-2.0.so.0
Reading symbols from /usr/pkg/lib/libintl.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libintl.so.3
Reading symbols from /usr/pkg/lib/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libSM.so.6
Reading symbols from /usr/pkg/lib/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libICE.so.6
Reading symbols from /usr/pkg/lib/libtiff.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libtiff.so.3
Reading symbols from /usr/pkg/lib/libjpeg.so.8...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libjpeg.so.8
Reading symbols from /usr/lib/libz.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.3
Reading symbols from /usr/pkg/lib/libgif.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libgif.so.4
Reading symbols from /usr/pkg/lib/libXpm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libXpm.so.4
Reading symbols from /usr/pkg/lib/libXft.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libXft.so.2
Reading symbols from /usr/pkg/lib/librsvg-2.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/librsvg-2.so.2
Reading symbols from /usr/pkg/lib/libdbus-1.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libdbus-1.so.3
Reading symbols from /usr/lib/libutil.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libutil.so.4
Reading symbols from /usr/lib/libncurses.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libncurses.so.6
Reading symbols from /usr/pkg/lib/libotf.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libotf.so.0
Reading symbols from /usr/pkg/lib/libm17n-flt.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libm17n-flt.so.0
Reading symbols from /usr/pkg/lib/libm17n-core.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libm17n-core.so.0
Reading symbols from /usr/lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.7
Reading symbols from /usr/pkg/lib/libpixman-1.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libpixman-1.so.0
Reading symbols from /usr/pkg/lib/libxcb-shm.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libxcb-shm.so.0
Reading symbols from /usr/pkg/lib/libxcb-render.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libxcb-render.so.0
Reading symbols from /usr/pkg/lib/libGL.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libGL.so.1
Reading symbols from /usr/pkg/lib/libXxf86vm.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libXxf86vm.so.1
Reading symbols from /usr/pkg/lib/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libxcb.so.1
Reading symbols from /usr/pkg/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libXau.so.6
Reading symbols from /usr/pkg/lib/libXdmcp.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libXdmcp.so.6
Reading symbols from /usr/lib/librpcsvc.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librpcsvc.so.3
Reading symbols from /usr/pkg/lib/libdrm.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libdrm.so.2
Reading symbols from /usr/pkg/lib/libexpat.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libexpat.so.1
Reading symbols from /usr/pkg/lib/libpcre.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libpcre.so.0
Reading symbols from /usr/pkg/lib/libcroco-0.6.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libcroco-0.6.so.3
Reading symbols from /usr/pkg/lib/libxml2.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/pkg/lib/libxml2.so.2
Reading symbols from /usr/lib/i18n/libiconv_std.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/i18n/libiconv_std.so.1
Reading symbols from /usr/lib/i18n/libUTF8.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/i18n/libUTF8.so.1
Reading symbols from /usr/lib/i18n/libmapper_646.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/i18n/libmapper_646.so.1
Reading symbols from
/usr/pkg/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
Reading symbols from /usr/pkg/lib/pango/1.6.0/modules/pango-basic-fc.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/pango/1.6.0/modules/pango-basic-fc.so
Reading symbols from
/usr/pkg/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so
Reading symbols from /usr/libexec/ld-elf.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/libexec/ld-elf.so.2
Core was generated by `emacs'.
Program terminated with signal 6, Aborted.
#0  0x0000000807665e18 in kill () from /usr/lib/libc.so.7
(gdb) bt
bt
#0  0x0000000807665e18 in kill () from /usr/lib/libc.so.7
#1  0x0000000000545bdd in ?? ()
#2  <signal handler called>
Segmentation fault: 11 (core dumped)

----------
messages: 9972
nosy: greenrd
priority: bug
status: unread
title: Segfault when gdb printing backtrace from core dump

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2094>
_____________________________________________________






More information about the Bugs mailing list