GNU bug report logs - #36769
portable dumper mishandles user-defined hashtabs

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Tue, 23 Jul 2019 01:30:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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 36769 in the body.
You can then email your comments to 36769 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#36769; Package emacs. (Tue, 23 Jul 2019 01:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Eggert <eggert <at> cs.ucla.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 23 Jul 2019 01:30:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Emacs bug reports and feature requests <bug-gnu-emacs <at> gnu.org>
Subject: portable dumper mishandles user-defined hashtabs
Date: Mon, 22 Jul 2019 18:29:15 -0700
[Message part 1 (text/plain, inline)]
[I reported this problem on emacs-devel here:
https://lists.gnu.org/r/emacs-devel/2019-07/msg00544.html
and am sending this to bug-gnu-emacs to get a bug number.]


Portable dumping currently can screw up hash tables with user-defined tests. I 
discovered this over the weekend while looking into Pip Cet's proposed changes 
to how portable dumping treats hash tables, and have a contrived test case (see 
attached) that causes gethash to fail with "Lisp nesting exceeds 
‘max-lisp-eval-depth’" in an Emacs started via a portable dump, even though the 
same gethash works fine before dumping.
[trouble.sh (application/x-shellscript, attachment)]

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Tue, 23 Jul 2019 02:07:03 GMT) Full text and rfc822 format available.

Notification sent to Paul Eggert <eggert <at> cs.ucla.edu>:
bug acknowledged by developer. (Tue, 23 Jul 2019 02:07:03 GMT) Full text and rfc822 format available.

Message #10 received at 36769-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 36769-done <at> debbugs.gnu.org
Subject: Re: portable dumper mishandles user-defined hashtabs
Date: Mon, 22 Jul 2019 19:06:12 -0700
Closing this as I installed a patch as described here:

https://lists.gnu.org/r/emacs-devel/2019-07/msg00563.html




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 Aug 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 249 days ago.

Previous Next


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