all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Rah Guzar <rahguzar@zohomail.eu>
Cc: 61896@debbugs.gnu.org
Subject: bug#61896: 30.0.50; Emacs crashes because of an invalid free
Date: Fri, 03 Mar 2023 18:00:57 +0000	[thread overview]
Message-ID: <87h6v1yasm.fsf@posteo.net> (raw)
In-Reply-To: <871qm6hzre.fsf@zohomail.eu> (Rah Guzar's message of "Fri, 03 Mar 2023 11:51:22 +0100")

Rah Guzar <rahguzar@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





  reply	other threads:[~2023-03-03 18:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01 20:25 bug#61896: 30.0.50; Emacs crashes because of an invalid free Philip Kaludercic
2023-03-02  6:15 ` Eli Zaretskii
2023-03-02  8:53   ` Philip Kaludercic
2023-03-02  9:41     ` Eli Zaretskii
2023-03-02 12:20     ` Mattias Engdegård
2023-03-02 15:21       ` Mattias Engdegård
2023-03-02 17:41         ` Philip Kaludercic
2023-03-02 10:30 ` Rah Guzar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-02 10:58   ` Philip Kaludercic
2023-03-03 10:51     ` Rah Guzar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-03 18:00       ` Philip Kaludercic [this message]
2023-03-06 19:52         ` Rah Guzar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-06  0:02           ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h6v1yasm.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=61896@debbugs.gnu.org \
    --cc=rahguzar@zohomail.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.