From: Andrea Corallo Date: Sun, 17 May 2020 07:48:26 +0000 (+0100) Subject: * Fix bug#41346 assertion triggered while loading dump X-Git-Tag: emacs-28.0.90~2727^2~635 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9e9421c7eecd74c9f163253ab760044fca53f26b;p=emacs.git * Fix bug#41346 assertion triggered while loading dump * src/comp.c (load_comp_unit): While loading from dump lambda fixups are still to happen here. Verify relocation coherency only after 'top_level_run' execution. --- diff --git a/src/comp.c b/src/comp.c index dab102cccd9..c9426d1990e 100644 --- a/src/comp.c +++ b/src/comp.c @@ -3720,10 +3720,9 @@ load_comp_unit (struct Lisp_Native_Comp_Unit *comp_u, bool loading_dump, /* Make sure data_ephemeral_vec still exists after top_level_run has run. Guard against sibling call optimization (or any other). */ data_ephemeral_vec = data_ephemeral_vec; + eassert (check_comp_unit_relocs (comp_u)); } - eassert (check_comp_unit_relocs (comp_u)); - return; }