emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help please! To track down GC trying to free an already freed object


From: Eli Zaretskii
Subject: Re: Help please! To track down GC trying to free an already freed object.
Date: Wed, 03 Apr 2019 13:12:12 +0300

> Date: Wed, 3 Apr 2019 10:01:13 +0000
> Cc: address@hidden, address@hidden
> From: Alan Mackenzie <address@hidden>
> 
> The problem I think I'm up against is that the symbol-with-pos object is
> not being marked at a particular garbage_collect_1, and thus gets freed
> prematurely.
> 
> I intend to get the hex values of the Lisp_Objects which constitute the
> list in which the symbol-with-pos is embedded and search for these in
> last_marked.  Putting a conditional breakpoint on Fcons slows down Emacs
> somewhat.  ;-)

GDB has memory-search commands, see the node "Searching Memory" in the
GDB manual.  Maybe this can help.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]