From: Andreas Schwab <schwab@linux-m68k.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 29066@debbugs.gnu.org, vgatien-baron@janestreet.com,
mshinwell@janestreet.com
Subject: bug#29066: 26.0.90; crash in gc involving buffer local symbols
Date: Tue, 31 Oct 2017 23:00:10 +0100 [thread overview]
Message-ID: <87y3nrvuz9.fsf@linux-m68k.org> (raw)
In-Reply-To: <83lgjrrpn9.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 31 Oct 2017 23:08:58 +0200")
On Okt 31 2017, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Andreas Schwab <schwab@linux-m68k.org>
>> Cc: vgatien-baron@janestreet.com, 29066@debbugs.gnu.org, mshinwell@janestreet.com
>> Date: Tue, 31 Oct 2017 22:03:26 +0100
>>
>> >> A symbol on the symbol_free_list is a freed symbol, not available for
>> >> use.
>> >
>> > I guess you are saying that sweep_symbols has a bug? Because it hits
>> > this "freed" symbol every GC, AFAICT.
>>
>> Since GC is special, it needs to do special things.
>
> But the crash due to double-free did happen as part of GC doing those
> "special things".
That's why it helps to clear the pointer to the freed memory, instead of
leaving it dangling.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
prev parent reply other threads:[~2017-10-31 22:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-30 14:36 bug#29066: 26.0.90; crash in gc involving buffer local symbols Valentin Gatien-Baron
2017-10-30 20:38 ` Eli Zaretskii
2017-10-30 22:04 ` Valentin Gatien-Baron
2017-10-31 3:39 ` Eli Zaretskii
2017-10-31 6:32 ` Andreas Schwab
2017-10-31 14:52 ` Valentin Gatien-Baron
2017-10-31 19:10 ` Eli Zaretskii
2017-10-31 19:58 ` Valentin Gatien-Baron
2017-10-31 20:09 ` Eli Zaretskii
2017-10-31 20:13 ` Valentin Gatien-Baron
2017-10-31 18:59 ` Eli Zaretskii
2017-10-31 20:23 ` Andreas Schwab
2017-10-31 20:34 ` Eli Zaretskii
2017-10-31 21:03 ` Andreas Schwab
2017-10-31 21:08 ` Eli Zaretskii
2017-10-31 22:00 ` Andreas Schwab [this message]
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=87y3nrvuz9.fsf@linux-m68k.org \
--to=schwab@linux-m68k.org \
--cc=29066@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=mshinwell@janestreet.com \
--cc=vgatien-baron@janestreet.com \
/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.