Attached, but the emacs process died while printing the backtrace
for
thread 2, and I have no idea why.
I do: it's because you started GDB from the src directory, where it
read the .gdbinit file, which causes the "bt" command to call a
function in the Emacs process being debugged.
To work around this, comment out (by prepending a # to every line)
the
following few lines in .gdbinit:
define hookpost-backtrace
set $bt = backtrace_top ()
if backtrace_p ($bt)
echo \n
echo Lisp Backtrace:\n
xbacktrace
end
end
Then you will still be able to invoke "xbacktrace" by hand, but it
won't be invoked automatically by "bt".