Hi Aidan,
Some more data maybe!? While working on moving the smoketest over to a Gentoo server I
stumbled on these core dumps for the 21.5 build.
Configured like this: ./configure --with-debug --with-error-checking=all -with-assertions
--with-mule --with-newgc --with-system-malloc
From the src folder running make again (after it core dumps the first time)
----------------------------------------------------------------------
$ LANG=C make
./xemacs -nd -no-packages -batch -l
/home/matsl/work/smoketest/xemacs-21.5/src/../lisp/update-elc.el
Loading /home/matsl/work/smoketest/xemacs-21.5/src/../lisp/update-elc.el...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading /home/matsl/work/smoketest/xemacs-21.5/lisp/dumped-lisp.el...
Wrote /home/matsl/work/smoketest/xemacs-21.5/src/REBUILD_AUTOLOADS
./xemacs -no-packages -batch -no-autoloads -l update-elc-2.el -f batch-update-elc-2
/home/matsl/work/smoketest/xemacs-21.5/src/../lisp
make: *** [GNUmakefile:142: update-elc-2] Segmentation fault (core dumped)
----------------------------------------------------------------------
Visiting the core:
----------------------------------------------------------------------
...
Core was generated by `./xemacs -no-packages -batch -no-autoloads -l update-elc-2.el -f
batch-update-e'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000055b548b4edce in pdump_reloc_one_mc (data=0x7fdd383d6000, desc=0x5604f3c60560) at
dumper.c:1293
1293 for (pos = 0; desc[pos].type != XD_END; pos++)
warning: File "/home/matsl/work/smoketest/xemacs-21.5/src/.gdbinit" auto-loading
has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /home/matsl/work/smoketest/xemacs-21.5/src/.gdbinit
line to your configuration file "/home/matsl/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/matsl/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
(gdb) bt
#0 0x000055b548b4edce in pdump_reloc_one_mc (data=0x7fdd383d6000, desc=0x5604f3c60560) at
dumper.c:1293
#1 0x000055b548b5118e in pdump_load_finish () at dumper.c:2319
#2 0x000055b548b51a87 in pdump_load (argv0=0x7fffb225c1cc "./xemacs") at
dumper.c:2761
#3 0x000055b548b0eeda in xemacs_21_5_b34_x86_64_unknown_linux (argc=9,
argv=0x7fffb225a508, unused_envp=0x0, restart=0)
at emacs.c:1407
#4 0x000055b548b102b6 in main (argc=9, argv=0x7fffb225a508, unused_envp=0x7fffb225a558)
at emacs.c:3190
(gdb)
----------------------------------------------------------------------
Can you make anything out of this? Anything else that I can produce that would be
helpful?
This has turned into a blocker for building "21.5-b34" in order to use it for
the package smoketest.
Yours
--
%% Mats