GNU bug report logs - #56527
28.1; Crash on macOS with magit

Previous Next

Package: emacs;

Reported by: Jonathan Mitchell <mitchell.jkyle <at> gmail.com>

Date: Wed, 13 Jul 2022 00:45:01 UTC

Severity: normal

Tags: moreinfo

Found in version 28.1

Fixed in version 28.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jonathan Mitchell <mitchell.jkyle <at> gmail.com>
Cc: 56527 <at> debbugs.gnu.org
Subject: bug#56527: 28.1; Crash on macOS with magit
Date: Thu, 14 Jul 2022 10:11:52 +0300
> From: Jonathan Mitchell <mitchell.jkyle <at> gmail.com>
> Date: Thu, 14 Jul 2022 01:11:27 -0500
> Cc: 56527 <at> debbugs.gnu.org
> 
> I think I've worked out how to print basic values in LLDB. The
> vector=0x0000000102931240 appears to be a Marker object in the buffer
> "magit-log: emacs". Both the marker and buffer are printed in the
> attached debugger log.

Thanks.

> (lldb) p *(struct Lisp_Marker *) 0x0000000102931240
> (struct Lisp_Marker) $1248 = {
>   header = (size = 4611686018477740032)
>   buffer = 0x0000000131008600
>   need_adjustment = false
>   insertion_type = false
>   next = nullptr
>   charpos = 1
>   bytepos = 1

So the problem happens because sweep_buffer doesn't set the marker's
buffer to NULL, which is supposed to happen in unchain_dead_markers,
called by sweep_buffers.  The question is why.




This bug report was last modified 2 years and 335 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.