all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: emacs-devel@gnu.org
Subject: Re: master c0bb1aac10: Fix reader memory leak upon error (bug#56623)
Date: Mon, 29 Aug 2022 23:21:20 +0200	[thread overview]
Message-ID: <87k06qn3u7.fsf@gnus.org> (raw)
In-Reply-To: <20220829155029.5B5EEC0088A@vcs2.savannah.gnu.org> ("Mattias Engdegård"'s message of "Mon, 29 Aug 2022 11:50:29 -0400 (EDT)")

Mattias Engdegård <mattiase@acm.org> writes:

>     Fix reader memory leak upon error (bug#56623)
>
>     Reported by Tom Gillespie; error found by Greg Hendershott.
>
>     * src/lread.c (read_stack_reset): New.
>     (read0): Reset read stack when unwinding from an error.

I have no idea whether it's this commit or not, but fns-tests.el is
segfaulting now (and it didn't yesterday).

I haven't tried to debug any further; perhaps it's obvious what the
problem may be.

double free or corruption (!prev)
Backtrace:
../src/emacs(+0x18e2b1)[0x5556c76b12b1]
../src/emacs(+0x4846c)[0x5556c756b46c]
../src/emacs(+0x48999)[0x5556c756b999]
../src/emacs(+0x18c79d)[0x5556c76af79d]
../src/emacs(+0x18c889)[0x5556c76af889]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7f7457a41140]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x141)[0x7f74576d5ce1]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x123)[0x7f74576bf537]
/lib/x86_64-linux-gnu/libc.so.6(+0x7e768)[0x7f7457718768]
/lib/x86_64-linux-gnu/libc.so.6(+0x85a5a)[0x7f745771fa5a]
/lib/x86_64-linux-gnu/libc.so.6(+0x8709c)[0x7f745772109c]
../src/emacs(+0x2a0719)[0x5556c77c3719]
../src/emacs(+0x1f7978)[0x5556c771a978]
../src/emacs(+0x228525)[0x5556c774b525]
../src/emacs(+0x229a20)[0x5556c774ca20]
../src/emacs(+0x1f8473)[0x5556c771b473]
../src/emacs(+0x22a380)[0x5556c774d380]
../src/emacs(+0x22af7e)[0x5556c774df7e]
../src/emacs(+0x23d645)[0x5556c7760645]
../src/emacs(+0x1fd737)[0x5556c7720737]
../src/emacs(+0x1fc18d)[0x5556c771f18d]
../src/emacs(+0x1fe767)[0x5556c7721767]
../src/emacs(+0x1f6cf7)[0x5556c7719cf7]
../src/emacs(+0x16d6d6)[0x5556c76906d6]
../src/emacs(+0x1f6c51)[0x5556c7719c51]
../src/emacs(+0x16cce8)[0x5556c768fce8]
../src/emacs(+0x173bb3)[0x5556c7696bb3]
../src/emacs(+0x173f2c)[0x5556c7696f2c]
../src/emacs(+0x51190)[0x5556c7574190]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f74576c0d0a]
../src/emacs(+0x516ba)[0x5556c75746ba]



       reply	other threads:[~2022-08-29 21:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <166178822896.15485.13175695435610050790@vcs2.savannah.gnu.org>
     [not found] ` <20220829155029.5B5EEC0088A@vcs2.savannah.gnu.org>
2022-08-29 21:21   ` Lars Ingebrigtsen [this message]
2022-08-30  9:31     ` master c0bb1aac10: Fix reader memory leak upon error (bug#56623) Mattias Engdegård
2022-08-30 10:08       ` Lars Ingebrigtsen

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=87k06qn3u7.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=mattiase@acm.org \
    /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.