all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gdb doesn't print Lisp backtrace in some circumstances.
@ 2024-04-12 10:31 Alan Mackenzie
  2024-04-12 11:11 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Alan Mackenzie @ 2024-04-12 10:31 UTC (permalink / raw)
  To: emacs-devel

Hello, Emacs.

Yesterday I got a core dump from a segmentation fault in Emacs (my
development version, not master).  I loaded this into gdb inside Emacs
to have a look at it.

The backtrace command output the C data as it should, but on coming to
the Lisp backtrace gave an error message about there needing to be a
process running to "do this".  (I don't have the exact message any
more.)  It would seem these fancy Lisp facilities only work when the
process that produced them is still running.

All the information required to produce this Lisp backtrace is present
in the core dump.  Would it be possible, perhaps, to modify our .gdbinit
to use the running Emacs to process the core dump, or something like
that?  Extracting useful information from the C backtrace is slow and
tedious in the extreme.

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-04-13 10:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 10:31 gdb doesn't print Lisp backtrace in some circumstances Alan Mackenzie
2024-04-12 11:11 ` Eli Zaretskii
2024-04-12 11:29   ` Alan Mackenzie
2024-04-12 12:03     ` Eli Zaretskii
2024-04-12 13:18       ` Alan Mackenzie
2024-04-12 13:24         ` Eli Zaretskii
2024-04-13 10:07           ` Alan Mackenzie
2024-04-12 14:48   ` Gerd Möllmann
2024-04-12 14:56     ` Gerd Möllmann
2024-04-12 15:08       ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.