Sorry for the repetitiveness of my earlier post; I should've looked before I leapt.
With the help of Samuel Bronson and paultag and bremner on #debian-mentors I was able to learn how to use GUD and gdb with the provided .gdbinit for Emacs inside the source tree: --8<---------------cut here---------------start------------->8--- GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 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 "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/emacs24-lucid...Reading symbols from /usr/lib/debug/.build-id/35/315f58075a87398a00d0d2f97bb2b0dfd6e2fc.debug...done. done. SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY = :0.0 TERM = screen Breakpoint 1 at 0x8112080: file emacs.c, line 316. Temporary breakpoint 2 at 0x812c030: file sysdep.c, line 859. (gdb) run Starting program: /usr/bin/emacs24-lucid [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". [New Thread 0xb6805b70 (LWP 8898)] [New Thread 0xb6005b70 (LWP 8900)] Program received signal SIGSEGV, Segmentation fault. 0xb7de1228 in XtInitializeWidgetClass () from /usr/lib/i386-linux-gnu/libXt.so.6 (gdb) xbacktrace "x-create-frame" (0xbfffe278) "x-create-frame-with-faces" (0xbfffe3f8) "make-frame" (0xbfffe578) "frame-initialize" (0xbfffe6f8) "command-line" (0xbfffe8ac) "normal-top-level" (0xbfffe9c0) --8<---------------cut here---------------end--------------->8--- With this info, I went to the definition of the Lisp function x-create-frame, which is at line 3046 of src/xfns.c, and put a breakpoint there, and then stepped through it until the segfault. After a lot of stepping, it seems that the segfault occurs at debian/build-lucid/src/xfns.c, line 3347, in the following context: --8<---------------cut here---------------start------------->8--- /* Create the X widget or window. */ #ifdef USE_X_TOOLKIT x_window (f, window_prompting, minibuffer_only); #else x_window (f); #endif --8<---------------cut here---------------end--------------->8--- bremner on #emacs and #debian-mentors also reports that he does not see this bug when building from Debian sources for amd64, so it may be i386-exclusive. Diffstat shows that Debian isn't patching xfns.c at all, so I'm considering trying to build this from unpatched upstream source and filing a bug against Emacs. -- Regards, WGG -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org