From 9e9421c7eecd74c9f163253ab760044fca53f26b Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sun, 17 May 2020 08:48:26 +0100 Subject: [PATCH] * 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. --- src/comp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.39.5