Subject: Re: bug#11939: 24.1; `save-buffers-kill-emacs' loses minibuffer focus when it calls `list-processes'

From: Eli Zaretskii <[email-masked]>
Date: Wed, 25 Jul 2012 19:17:09 +0300

> From: "Drew Adams" <[email-masked]>
> Cc: <[email-masked]>
> Date: Wed, 25 Jul 2012 08:42:47 -0700
> 
> > > Martin, the floor is yours ;-)
> > Thanks Eli, but I'm a stranger here myself.
> > Drew, what does bt full say?
> 
> It says this:
> 
> $ gdb -p 2964
> GNU gdb 6.5.50.20060706-cvs (cygwin-special)
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i686-pc-cygwin".
> Attaching to process 2964
> 
> [Switching to thread 2964.0x1220]
> /cygdrive/c/drews-lisp-20/bin/.gdbinit:32: Error in sourced command file:
> No symbol "main" in current context.
> (gdb) continue
> Continuing.
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to thread 2964.0x15c0]
> 0x01102012 in ?? ()
> (gdb) bt full
> #0  0x01102012 in ?? ()
> No symbol table info available.
> (gdb)
> 
> IOW, `bt full' just adds the statement "No symbol table info available." to what
> `bt' shows.

Try this instead:

  (gdb) thread apply all bt full

(IOW, there's more than one thread in the program, and you happen to
be in the wrong one.)