GNU bug report logs - #61507
29.0.60; "free(): invalid pointer" on latest emacs-29 commit when loading init.el

Previous Next

Package: emacs;

Reported by: Simon Pugnet <simon <at> polaris64.net>

Date: Tue, 14 Feb 2023 14:02:01 UTC

Severity: normal

Found in version 29.0.60

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 61507 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Simon Pugnet <simon <at> polaris64.net>
Cc: 61507 <at> debbugs.gnu.org
Subject: Re: bug#61507: 29.0.60; "free(): invalid pointer" on latest
 emacs-29 commit when loading init.el
Date: Tue, 14 Feb 2023 22:29:48 +0800
Simon Pugnet <simon <at> polaris64.net> writes:

> Dear Emacs maintainers,
>
> I've just built Emacs from commit
> 4bb27a5ca93f8269d9cd4b85fd948176304236eb on the emacs-29 branch and it
> fails to launch with the following message when loading my init.el
> file: -
>
> free(): invalid pointer
> Fatal error 6: Aborted
>
> Launching with -q or -Q works fine. Checking out a previous commit
> (cc30422825a5acf460d026bfe912b327b70dedcf) and rebuilding causes
> everything to work as expected again too.
>
> I've tried `make extraclean` and then `make bootstrap` in order to
> clear out any old byte-compiled or native-compiled elisp as I read
> another message earlier saying that a recent change might have caused
> a backwards incompatible change.
>
> Output of `bt full` in GDB: -

Will you please run Emacs on top of some kind of memory error checker
and see if that shows the problem's cause?

I.E. with valgrind's memcheck:

  valgrind /path/to/emacs

it should complain about a double free.




This bug report was last modified 1 year and 313 days ago.

Previous Next


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