GNU bug report logs -
#61896
30.0.50; Emacs crashes because of an invalid free
Previous Next
Reported by: Philip Kaludercic <philipk <at> posteo.net>
Date: Wed, 1 Mar 2023 20:26:02 UTC
Severity: normal
Found in version 30.0.50
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #35 received at 61896 <at> debbugs.gnu.org (full text, mbox):
Rah Guzar <rahguzar <at> zohomail.eu> writes:
> I have never used gdb before so I will need to figure that out. I am traveling
> today so this will not happen before Monday or Tuesday. But I will try it
> sometime next week.
It shouldn't be that difficult, I usually first reconfigure Emacs with
debugging information:
$ pwd
/home/user/src/emacs/
$ ./configure CFLAGS="-ggdb3"
Then all you need to do is to start Emacs in the src sub-directory using
GDB and then try to provoke the bug:
$ pwd
/home/user/src/emacs/src
$ gdb emacs |& tee error.log
... # Copyright and stuff here.
(gdb) run -Q
... # Emacs is running now and you can load the broken bytecode.
# The next GDB prompt will appear when Emacs aborts.
(gdb) xbacktrace
... # The Lisp backtrace should appear here.
(gdb) quit
If you do this, then the entire session log should be store in the
"error.log" file.
--
Philip Kaludercic
This bug report was last modified 1 year and 317 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.