Hi,
Got this backtrace. (Are these "Attempt to call Lisp code ..." type of
dumps of interest?)
----------------------------------------------------------------------
(gdb) backtrace
#0 0x4063f431 in kill () from /lib/libc.so.6
#1 0x080d445f in fatal_error_signal (sig=6) at emacs.c:3708
#2 0x407fa1e6 in __pthread_sighandler () from /lib/libpthread.so.0
#3 <signal handler called>
#4 0x4063f431 in kill () from /lib/libc.so.6
#5 0x407f6e99 in pthread_kill () from /lib/libpthread.so.0
#6 0x407f7244 in raise () from /lib/libpthread.so.0
#7 0x4063f084 in raise () from /lib/libc.so.6
#8 0x406406b8 in abort () from /lib/libc.so.6
#9 0x080d5739 in really_abort () at emacs.c:4570
#10 0x080d4552 in assert_failed (file=0x82a41e0 "eval.c", line=1467,
expr=0x82a4460 "Attempt to call Lisp code from within redisplay without being
properly wrapped")
at emacs.c:3893
#11 0x080d9292 in check_proper_critical_section_lisp_protection () at eval.c:1465
#12 0x080dc1a8 in Feval (form=152653432) at eval.c:3482
#13 0x080d7e52 in Fprogn (args=152653144) at eval.c:954
#14 0x080de4a6 in funcall_lambda (fun=152653504, nargs=1, args=0xbfffaca0) at eval.c:4203
#15 0x080dd994 in Ffuncall (nargs=2, args=0xbfffac9c) at eval.c:3896
#16 0x080de8d9 in run_hook_with_args_in_buffer (buf=0x927a308, nargs=2, args=0xbfffac9c,
cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4367
#17 0x080de941 in run_hook_with_args (nargs=2, args=0xbfffac9c,
cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4380
#18 0x080dea4a in va_run_hook_with_args (hook_var=137330196, nargs=1) at eval.c:4419
#19 0x0826d4fc in dbox_selection_callback (widget=0x90b0098, id=65569,
client_data=0x91036b4) at dialog-x.c:99
#20 0x082867ca in do_call (widget=0x90b0098, closure=0x914e758, type=selection) at
lwlib-Xm.c:2040
#21 0x0828694f in xm_generic_callback (widget=0x90b0098, closure=0x914e758,
call_data=0xbfffadc0)
at lwlib-Xm.c:2093
#22 0x4035e839 in XtCallCallbackList () from /usr/lib/libXt.so.6
(gdb)
----------------------------------------------------------------------
Build report for the binary in question:
----------------------------------------------------------------------
uname -a: Linux spencer 2.6.10-gentoo-r6 #1 SMP Tue Jan 25 00:57:07 CET 2005 i686 Intel(R)
Pentium(R) M processor 1300MHz GenuineIntel GNU/Linux
./configure '--prefix=/src/xemacs' '--enable-mule'
'--with-package-path=/src/xemacs/xemacs-packages:/src/xemacs/mule-packages:/src/xemacs/site-packages'
'--enable-sound=esd' '--enable-database=no'
XEmacs 21.5-b20 "cilantro" (+CVS-20050315) configured for `i686-pc-linux'.
WARNING: --------------------------------------------------------------
WARNING: This was produced from a new autoconf-2.5 based configuration.
WARNING: If this configuration seems buggy then copy etc/configure-2.13
WARNING: to configure and try again. Also please report the bug.
WARNING: --------------------------------------------------------------
Compilation Environment and Installation Defaults:
Source code location: /src/xemacs/working
Installation prefix: /src/xemacs
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler version: gcc (GCC) 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3,
pie-8.7.7.1)
- GCC specs file: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs
- Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare
-Wno-char-subscripts -Wpacked -Wunused-parameter -g
libc version: 2.3.4
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using Motif to provide XIM support.
Mail:
Compiling in support for "file" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Compiling in support for extra debugging code.
Compiling in support for runtime error checking.
WARNING: ---------------------------------------------------------
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Contents of file xemacs-make-all.err
Keeping lines matching (in python regexp syntax):
"^--\[\[|\]\]$|^(cd|n?make)\s|errors?|warnings?|pure.*(space|size)|hides|strange|shadowings|^Compil(ing\s+in|ation)|^Using|not\s+found|^Note:|Installing|[Ff]ile\(s\)
copied|\s+tests\s+|^[A-Z] [^ ]+$|^Wrong number of arguments:|^ \*\* |^(FAIL|SKIP):"
... and then deleting lines matching (in python regexp syntax):
"confl.*with.*auto-inlining|^Formatting:|^PASS:|\(100%\) tests successful"
------------------------------------------------------------------------------
cd ./lib-src && make all
cd ./lwlib && make all
cd ./src && make all
realpath.c:83: warning: unused parameter `links_only'
Using load-path (/src/xemacs/working/lisp/)
Using module-load-path (/src/xemacs/working/modules)
cd /src/xemacs/working/man && make info
------------------------------------------------------------------------------
Contents of file xemacs-make-check.err
Keeping lines matching (in python regexp syntax):
"^--\[\[|\]\]$|^(cd|n?make)\s|errors?|warnings?|pure.*(space|size)|hides|strange|shadowings|^Compil(ing\s+in|ation)|^Using|not\s+found|^Note:|Installing|[Ff]ile\(s\)
copied|\s+tests\s+|^[A-Z] [^ ]+$|^Wrong number of arguments:|^ \*\* |^(FAIL|SKIP):"
... and then deleting lines matching (in python regexp syntax):
"confl.*with.*auto-inlining|^Formatting:|^PASS:|\(100%\) tests successful"
------------------------------------------------------------------------------
cd ./src && make check
base64-tests.el: 1234 of 1234 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
byte-compiler-tests.el: 104 of 104 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
c-tests.el: 4 of 4 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
case-tests.el: 1148 of 1148 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
ccl-tests.el: 4570 of 4570 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
database-tests.el: No tests run.
0 errors that should have been generated, but weren't
0 wrong-error failures
extent-tests.el: 194 of 194 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
hash-table-tests.el: 9866 of 9866 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
lisp-tests.el: 3672 of 3672 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
md5-tests.el: 56 of 56 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
mule-tests.el: 236 of 236 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
os-tests.el: 20 of 20 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
regexp-tests.el: 350 of 350 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
region-tests.el: 28 of 28 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
symbol-tests.el: 246 of 246 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
syntax-tests.el: 60 of 60 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
tag-tests.el: 6 of 6 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
weak-tests.el: 140 of 140 tests successful (100%).
0 errors that should have been generated, but weren't
0 wrong-error failures
base64-tests.el: 1234 of 1234 tests successful (100%).
byte-compiler-tests.el: 104 of 104 tests successful (100%).
c-tests.el: 4 of 4 tests successful (100%).
case-tests.el: 1148 of 1148 tests successful (100%).
ccl-tests.el: 4570 of 4570 tests successful (100%).
database-tests.el: No tests run.
extent-tests.el: 194 of 194 tests successful (100%).
hash-table-tests.el: 9866 of 9866 tests successful (100%).
lisp-tests.el: 3672 of 3672 tests successful (100%).
md5-tests.el: 56 of 56 tests successful (100%).
mule-tests.el: 236 of 236 tests successful (100%).
os-tests.el: 20 of 20 tests successful (100%).
regexp-tests.el: 350 of 350 tests successful (100%).
region-tests.el: 28 of 28 tests successful (100%).
symbol-tests.el: 246 of 246 tests successful (100%).
syntax-tests.el: 60 of 60 tests successful (100%).
tag-tests.el: 6 of 6 tests successful (100%).
weak-tests.el: 140 of 140 tests successful (100%).
------------------------------------------------------------------------------
Contents of file xemacs-make-install.err
Keeping lines matching (in python regexp syntax):
"^--\[\[|\]\]$|^(cd|n?make)\s|errors?|warnings?|pure.*(space|size)|hides|strange|shadowings|^Compil(ing\s+in|ation)|^Using|not\s+found|^Note:|Installing|[Ff]ile\(s\)
copied|\s+tests\s+|^[A-Z] [^ ]+$|^Wrong number of arguments:|^ \*\* |^(FAIL|SKIP):"
... and then deleting lines matching (in python regexp syntax):
"confl.*with.*auto-inlining|^Formatting:|^PASS:|\(100%\) tests successful"
------------------------------------------------------------------------------
cd ./lib-src && make all
cd ./lwlib && make all
cd ./src && make all
Using load-path (/src/xemacs/working/lisp/)
Using module-load-path (/src/xemacs/working/modules)
cd /src/xemacs/working/man && make info
cd ./src && make check-features
Using load-path (/src/xemacs/working/lisp/)
Using module-load-path (/src/xemacs/working/modules)
Installing utilities run internally by XEmacs.
Installing utilities for users to run.
Using load-path (/src/xemacs/working/lisp/)
Using module-load-path (/src/xemacs/working/modules)
cd /src/xemacs/bin && rm -f ./xemacs && ln -s xemacs-21.5-b20 ./xemacs
cd /src/xemacs/working/etc && \
make gzip-el
------------------------------------------------------------------------------
Yours
--
%% Mats