unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Philipp Stephani <p.stephani2@gmail.com>,
	Paul Eggert <eggert@cs.ucla.edu>
Cc: 27642@debbugs.gnu.org
Subject: bug#27642: 26.0.50; Assertion failure with nested load
Date: Wed, 12 Jul 2017 17:52:19 +0300	[thread overview]
Message-ID: <83d195iu70.fsf@gnu.org> (raw)
In-Reply-To: <wvr4ziccs3cq.fsf@a.muc.corp.google.com> (message from Philipp Stephani on Mon, 10 Jul 2017 17:45:09 +0200)

> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Mon, 10 Jul 2017 17:45:09 +0200
> 
> 
> Create a file /tmp/signal.el containing (user-error "foo")
> Create a file /tmp/load.el containing (load "/tmp/signal.el")
> 
> Byte-compile the two files:
> emacs -q -batch -f batch-byte-compile /tmp/load.el /tmp/signal.el
> 
> Now run
> emacs -q -l /tmp/load.elc
> 
> Emacs will crash if assertions are enabled.

I guess the safety harness installed by Paul should be improved to
support recursive calls to 'load'.  Until then, I installed a
temporary work-around, just to let people who build with assertions
enabled work in Emacs without crashes in these cases.

Thanks.





  reply	other threads:[~2017-07-12 14:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-10 15:45 bug#27642: 26.0.50; Assertion failure with nested load Philipp Stephani
2017-07-12 14:52 ` Eli Zaretskii [this message]
2017-07-12 21:25   ` Paul Eggert
2017-07-13 18:08     ` Eli Zaretskii
2017-07-13 18:24       ` Paul Eggert
2017-07-13 19:06         ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83d195iu70.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=27642@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=p.stephani2@gmail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).