GNU bug report logs -
#32479
Fix tracking of freed emacs_values with enabled --module-assertions
Previous Next
Reported by: Sergey Vinokurov <serg.foo <at> gmail.com>
Date: Mon, 20 Aug 2018 08:29:02 UTC
Severity: normal
Tags: fixed
Fixed in version 26.2
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32479 in the body.
You can then email your comments to 32479 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32479
; Package
emacs
.
(Mon, 20 Aug 2018 08:29:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sergey Vinokurov <serg.foo <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 20 Aug 2018 08:29:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
I was developing a dynamic module when I noticed that when
'--module-assertions' are enabled I got strange complaints regarding
value to be freed. Namely, Emacs was producing an error message like the
following one:
Emacs module assertion: Global value was not found in list of 10 globals
I tracked it down to a bug in module_free_global_ref. It's traversal of
the linked list of all allocated global values was flawed and only
considered the head of the list. Please find attached my attempt at
fixing it and a test in Emacs test suite that reproduces the issue.
Regards,
Sergey
[0001-Fix-detection-of-freed-emacs_values.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32479
; Package
emacs
.
(Sat, 25 Aug 2018 23:04:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 32479 <at> debbugs.gnu.org (full text, mbox):
tags 32479 fixed
close 32479 26.2
quit
Sergey Vinokurov <serg.foo <at> gmail.com> writes:
> I was developing a dynamic module when I noticed that when
> '--module-assertions' are enabled I got strange complaints regarding
> value to be freed. Namely, Emacs was producing an error message like the
> following one:
>
> Emacs module assertion: Global value was not found in list of 10 globals
>
> I tracked it down to a bug in module_free_global_ref. It's traversal of
> the linked list of all allocated global values was flawed and only
> considered the head of the list. Please find attached my attempt at
> fixing it and a test in Emacs test suite that reproduces the issue.
Thanks, pushed to emacs-26.
P.S. Don't forget to end sentences with a period in the body of the
commit message.
[1: 54fb383af6]: 2018-08-25 18:57:56 -0400
Fix detection of freed emacs_values (Bug#32479)
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=54fb383af6f6af7b72c28f38b308d9b24d2af4f6
Added tag(s) fixed.
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 25 Aug 2018 23:04:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 26.2, send any further explanations to
32479 <at> debbugs.gnu.org and Sergey Vinokurov <serg.foo <at> gmail.com>
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 25 Aug 2018 23:04:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 23 Sep 2018 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 353 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.