Hi,
Today my XEmacs died on me without any particular reason?
Then I wanted to send a crash report but The `Send Bug Report' item on
the help menu is greyed out:-( Then I tried a M-x send-pr and got:
send-pr: the GNATS site
xemacs.org does not have a categories list.
So I'll try the `hand-written' method now:-(
---------------------------------------------------------------------------
I was in the process of opening a (noexisting) C++ file to create a
little verification case for a bug and I got the following backtraces.
(The Lisp part is a little bit hand edited because I was running some
other Terminal app in the window where I originally started XEmacs.)
* Maybe it's relevant that I normally run VM and that I connected to
the running XEmacs using gnuclient from a Linux box this morning?
---------------------------------------------------------------------------
Fatal error (10).after the initial tab).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
If you have access to the PROBLEMS file that came with your
version of XEmacs, please check to see if your crash is described
there, as there may be a workaround available.
Otherwise, please report this bug by running the send-pr
script included with XEmacs, or selecting `Send Bug Report'
from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /export/home/marcow/usr/local/bin/xemacs-21.4.6 core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
# bind (inhibit-quit)
redisplay-frame(#<x-frame "emacs" 0x20a0>)
# bind (ext gutter-string val zmacs-region-stays inhibit-read-only frame value message)
raw-append-progress-feedback("Fontifying B4651447.C..." 0 #<x-frame
"emacs" 0x20a0>)
# bind (tmsg top frame value message label)
append-progress-feedback(font-lock "Fontifying B4651447.C..." 0 nil)
# bind (frame value message label)
display-progress-feedback(font-lock "Fontifying B4651447.C..." 0)
# bind (str)
# (unwind-protect ...)
# bind (args value fmt label)
progress-feedback-with-label(font-lock "Fontifying %s..." 0
"B4651447.C")
# bind (maybe-loudly end beg)
font-lock-default-unfontify-region(1 1 t)
# bind (loudly end beg)
font-lock-unfontify-region(1 1 t)
# bind (was-on font-lock-verbose font-lock-message-threshold aborted)
# (unwind-protect ...)
font-lock-default-fontify-buffer()
# bind (font-lock-verbose)
font-lock-fontify-buffer()
# bind (on-p maximum-size arg)
font-lock-mode(1)
turn-on-font-lock()
# bind (explicit-defaults)
font-lock-set-defaults()
run-hooks(font-lock-set-defaults)
# bind (nomodes after-find-file-from-revert-buffer noauto warn error)
after-find-file(t t)
byte-code("..." [buffer-file-number number truename buffer-file-truename buf
buffer-file-name set-buffer-major-mode erase-buffer nil (byte-code «Â Ã\"ª
Ä Ã\"Â" [rawfile filename insert-file-contents-literally t
insert-file-contents] 3) ((file-error ...)) abbreviate-file-name file-name-directory
make-local-variable backup-inhibited t after-find-file find-file-use-truenames
default-directory backup-enable-predicate rawfile error nowarn] 3)
# (condition-case ... . ((t (byte-code "!Ã @ A\"" ... 3))))
# (unwind-protect ...)
# bind (error number truename buf rawfile nowarn filename)
find-file-noselect("~/janus/test/B4651447.C")
# bind (codesys filename)
find-file("~/janus/test/B4651447.C" nil)
# bind (command-debug-status)
call-interactively(find-file)
# (condition-case ... . error)
# (catch top-level ...)
[1]+ Bus Error (core dumped) xemacs-21.4.6 (wd: ~)
marcow@jena:~>gdb ~/usr/local/bin/xemacs-21.4.6 core
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
Core was generated by `xemacs-21.4.6'.
Program terminated with signal 10, Bus Error.
Reading symbols from /usr/dt/lib/libXm.so.4...done.
Loaded symbols for /usr/dt/lib/libXm.so.4
Reading symbols from /export/home/marcow/usr/local/lib/libtiff.so...done.
Loaded symbols for /export/home/marcow/usr/local/lib/libtiff.so
Reading symbols from /export/home/marcow/usr/local/lib/libpng.so.2...done.
Loaded symbols for /export/home/marcow/usr/local/lib/libpng.so.2
Reading symbols from /export/home/marcow/usr/local/lib/libjpeg.so.62...done.
Loaded symbols for /export/home/marcow/usr/local/lib/libjpeg.so.62
Reading symbols from /export/home/marcow/usr/local/lib/libXpm.so.4.11...done.
Loaded symbols for /export/home/marcow/usr/local/lib/libXpm.so.4.11
Reading symbols from /usr/dt/lib/libtt.so.2...done.
Loaded symbols for /usr/dt/lib/libtt.so.2
Reading symbols from /usr/openwin/lib/libXmu.so.4...done.
Loaded symbols for /usr/openwin/lib/libXmu.so.4
Reading symbols from /usr/openwin/lib/libXt.so.4...done.
Loaded symbols for /usr/openwin/lib/libXt.so.4
Reading symbols from /usr/openwin/lib/libXext.so.0...done.
Loaded symbols for /usr/openwin/lib/libXext.so.0
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Loaded symbols for /usr/openwin/lib/libX11.so.4
Reading symbols from /usr/openwin/lib/libSM.so.6...done.
Loaded symbols for /usr/openwin/lib/libSM.so.6
Reading symbols from /usr/openwin/lib/libICE.so.6...done.
Loaded symbols for /usr/openwin/lib/libICE.so.6
Reading symbols from /export/home/marcow/usr/local/lib/libdb-4.0.so...done.
Loaded symbols for /export/home/marcow/usr/local/lib/libdb-4.0.so
Reading symbols from /export/home/marcow/usr/local/lib/libgdbm.so.2...done.
Loaded symbols for /export/home/marcow/usr/local/lib/libgdbm.so.2
---Type <return> to continue, or q <return> to quit---
Reading symbols from /export/home/marcow/usr/local/lib/libldap.so...done.
Loaded symbols for /export/home/marcow/usr/local/lib/libldap.so
Reading symbols from /export/home/marcow/usr/local/lib/liblber.so...done.
Loaded symbols for /export/home/marcow/usr/local/lib/liblber.so
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libelf.so.1...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/openwin/lib/libdga.so.1...done.
Loaded symbols for /usr/openwin/lib/libdga.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
Reading symbols from /usr/lib//liblayout.so...done.
Loaded symbols for /usr/lib//liblayout.so
Reading symbols from /usr/lib/nss_files.so.1...done.
Loaded symbols for /usr/lib/nss_files.so.1
Reading symbols from /usr/lib/nss_nis.so.1...done.
Loaded symbols for /usr/lib/nss_nis.so.1
#0 0xfea9c71c in _libc_kill () from /usr/lib/libc.so.1
(gdb) bt
#0 0xfea9c71c in _libc_kill () from /usr/lib/libc.so.1
#1 0x77d9c in fatal_error_signal (sig=10) at emacs.c:539
#2 <signal handler called>
#3 0xfee297e4 in XFindContext () from /usr/openwin/lib/libX11.so.4
#4 0xff14aa90 in GetDisplay () from /usr/dt/lib/libXm.so.4
#5 0xff1675a8 in OptLineMetrics () from /usr/dt/lib/libXm.so.4
#6 0xff166de0 in XmStringExtent () from /usr/dt/lib/libXm.so.4
#7 0xff166c04 in _XmCalcLabelGDimensions () from /usr/dt/lib/libXm.so.4
#8 0xff1743d8 in SetValues () from /usr/dt/lib/libXm.so.4
#9 0xfeefd02c in CallSetValues () from /usr/openwin/lib/libXt.so.4
#10 0xfeefc7f4 in XtSetValues () from /usr/openwin/lib/libXt.so.4
#11 0xff20fbfc in HandleTitle () from /usr/dt/lib/libXm.so.4
#12 0xff2100dc in SetValues () from /usr/dt/lib/libXm.so.4
#13 0xfeefd02c in CallSetValues () from /usr/openwin/lib/libXt.so.4
#14 0xfeefc7f4 in XtSetValues () from /usr/openwin/lib/libXt.so.4
#15 0x18bae4 in xm_update_one_widget (instance=0x6e4260, widget=0x699600,
val=0x4eec80, deep_p=1 '\001') at lwlib-Xm.c:897
#16 0x189380 in lw_modify_all_widgets (id=5172352, val=0x699600,
deep_p=1 '\001') at lwlib.c:730
#17 0x16d128 in x_redisplay_widget (p=0x6c3680) at glyphs-x.c:2288
#18 0xeda38 in redisplay_widget (widget=7091840) at glyphs-widget.c:427
#19 0xe6360 in redisplay_subwindow (subwindow=7091840) at glyphs.c:4535
#20 0x135a50 in redisplay_output_layout (domain=7091840,
image_instance=7092224, db=0xffbec7c0, dga=0xffbec7b0, findex=12,
cursor_start=-4274256, cursor_width=0, cursor_height=0)
at redisplay-output.c:1240
#21 0x135a18 in redisplay_output_layout (domain=7092224,
image_instance=7092864, db=0xffbec878, dga=0xffbec868, findex=12,
cursor_start=-4274072, cursor_width=0, cursor_height=0)
at redisplay-output.c:1499
#22 0x171f44 in x_output_display_block (w=0x500800, dl=0x59f000,
block=7272960, start=0, end=1, start_pixpos=6, cursor_start=0,
cursor_width=0, cursor_height=0) at redisplay-x.c:466
#23 0x137718 in redisplay_output_display_block (w=0x500800, dl=0x59f000,
block=0, start=0, end=-1, start_pixpos=6, cursor_start=0, cursor_width=0,
cursor_height=0) at redisplay-output.c:1153
#24 0x13476c in output_display_line (w=0x500800, cdla=0x6f0ce0, ddla=0x6f0d00,
line=0, force_start=-4273756, force_end=0) at redisplay-output.c:800
#25 0xfab80 in output_gutter (f=0x4fa200, pos=BOTTOM_GUTTER, force=0)
at gutter.c:444
#26 0xfafd8 in update_frame_gutters (f=0x4fa200) at gutter.c:634
#27 0x12c938 in redisplay_frame (f=0x4fa200, preemption_check=0)
at redisplay.c:6391
#28 0x131a30 in Fredisplay_frame (frame=58, no_preempt=2234372)
at redisplay.c:8904
#29 0x808f4 in Ffuncall (nargs=-1, args=0xffbecce4) at eval.c:3528
#30 0x561a8 in execute_optimized_program (
program=0x6cc78e
"-\207..\",\r\"``........\",\r\"`.........\",\r\"`.........\",\r\"..........\"};\r",
stack_depth=1, constants_data=0x40ff10)
at bytecode.c:746
#31 0x55e00 in funcall_compiled_function (fun=4251708, nargs=3,
args=0xffbeceb8) at bytecode.c:515
#32 0x80ac0 in Ffuncall (nargs=3, args=0xffbeceb4) at eval.c:3563
#33 0x561a8 in execute_optimized_program (
program=0x6c3c52 "\210Í \210\013Îa\004Ï\b!*\207\202\t\207Ä\bÄE\207",
stack_depth=3, constants_data=0x3e2310) at bytecode.c:746
#34 0x55e00 in funcall_compiled_function (fun=4251652, nargs=4,
args=0xffbed088) at bytecode.c:515
#35 0x80ac0 in Ffuncall (nargs=4, args=0xffbed084) at eval.c:3563
#36 0x561a8 in execute_optimized_program (
program=0x6e0cbf "\207\026\016\f\200", stack_depth=4,
constants_data=0x3e2290) at bytecode.c:746
#37 0x55e00 in funcall_compiled_function (fun=4251736, nargs=3,
args=0xffbed260) at bytecode.c:515
#38 0x80ac0 in Ffuncall (nargs=3, args=0xffbed25c) at eval.c:3563
#39 0x561a8 in execute_optimized_program (
program=0x6e0cea "\210\f))\207 mode is %s\" \"OFF\026\016\fÀ",
stack_depth=3, constants_data=0x40bad0) at bytecode.c:746
#40 0x55e00 in funcall_compiled_function (fun=4251848, nargs=4,
args=0xffbed430) at bytecode.c:515
#41 0x80ac0 in Ffuncall (nargs=4, args=0xffbed42c) at eval.c:3563
#42 0x561a8 in execute_optimized_program (
program=0x6c3ca5 "\210Ë
Ì\211Í\211\036\023\036\024\036\025\036\026\032\013\r\035\034Î\f\rÏÍ$\210Î\f\rÇÍ$\210\016\027«\bÎ\f\rÐÍ$\210*\n?\bË
\004ÑÍ!-\207y", stack_depth=4, constants_data=0x6da290) at bytecode.c:746
#43 0x55e00 in funcall_compiled_function (fun=7061564, nargs=3,
args=0xffbed600) at bytecode.c:515
#44 0x80ac0 in Ffuncall (nargs=3, args=0xffbed5fc) at eval.c:3563
#45 0x561a8 in execute_optimized_program (program=0x6e47d5 "\207",
stack_depth=3, constants_data=0x6e49f0) at bytecode.c:746
#46 0x55e00 in funcall_compiled_function (fun=6741960, nargs=3,
args=0xffbed7d0) at bytecode.c:515
#47 0x80ac0 in Ffuncall (nargs=3, args=0xffbed7cc) at eval.c:3563
#48 0x561a8 in execute_optimized_program (
program=0x6c3d2a "\210ÇËÌ\217\210\013¬\bÇ\030ÂÆ!\210)ÍÀ!ÊL\210\f«\f\r«\tÎÏÐÑÒ
$\210,ÓÔ!)\207lay-time-no-mail-sign", stack_depth=3, constants_data=0x6da390)
at bytecode.c:746
#49 0x55e00 in funcall_compiled_function (fun=6741988, nargs=0,
args=0xffbed9a8) at bytecode.c:515
#50 0x80ac0 in Ffuncall (nargs=0, args=0xffbed9a4) at eval.c:3563
#51 0x561a8 in execute_optimized_program (program=0x65a117 ")\207nGÀ",
stack_depth=0, constants_data=0x6e4a50) at bytecode.c:746
#52 0x55e00 in funcall_compiled_function (fun=6741876, nargs=0,
args=0xffbedb68) at bytecode.c:515
#53 0x80ac0 in Ffuncall (nargs=0, args=0xffbedb64) at eval.c:3563
#54 0x561a8 in execute_optimized_program (
program=0x6cc974 "\210ª!\016#«\035ØÙÚÛÜ $\210ª\023\n«\rÊ\022Ýed\"\210Þ
\210ª\004Þ \210ß *\207;\r", stack_depth=0, constants_data=0x6d3310)
at bytecode.c:746
#55 0x55e00 in funcall_compiled_function (fun=6741680, nargs=1,
args=0xffbedd40) at bytecode.c:515
#56 0x80ac0 in Ffuncall (nargs=1, args=0xffbedd3c) at eval.c:3563
#57 0x561a8 in execute_optimized_program (program=0x168b9f3 "\207",
stack_depth=1, constants_data=0x6e4a90) at bytecode.c:746
#58 0x55e00 in funcall_compiled_function (fun=6741708, nargs=0,
args=0xffbedf08) at bytecode.c:515
#59 0x80ac0 in Ffuncall (nargs=0, args=0xffbedf04) at eval.c:3563
#60 0x561a8 in execute_optimized_program (program=0x7db46d "\207",
stack_depth=0, constants_data=0x420010) at bytecode.c:746
#61 0x55e00 in funcall_compiled_function (fun=4305376, nargs=0,
args=0xffbee314) at bytecode.c:515
#62 0x80ac0 in Ffuncall (nargs=0, args=0xffbee310) at eval.c:3563
#63 0x8146c in run_hook_with_args_in_buffer (buf=0x221804, nargs=1,
args=0xffbee310, cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4020
#64 0x83f7c in run_hook_with_args (nargs=1, args=0xffbee310,
cond=RUN_HOOKS_TO_COMPLETION) at eval.c:4033
#65 0x855f0 in Frun_hooks (nargs=1, args=0xffbee310) at eval.c:3887
#66 0x80a70 in Ffuncall (nargs=1, args=0xffbee30c) at eval.c:3549
#67 0x561a8 in execute_optimized_program (program=0x7c05a6 "\207",
stack_depth=1, constants_data=0x374c10) at bytecode.c:746
#68 0x55e00 in funcall_compiled_function (fun=3341188, nargs=2,
args=0xffbee4e0) at bytecode.c:515
#69 0x80ac0 in Ffuncall (nargs=2, args=0xffbee4dc) at eval.c:3563
#70 0x561a8 in execute_optimized_program (
program=0xffbee5a3 "\210p\024È\207þ©Â\024", stack_depth=2,
constants_data=0x37bc90) at bytecode.c:746
#71 0x58644 in Fbyte_code (instructions=-4266648, constants=3652736,
stack_depth=7) at bytecode.c:2403
#72 0x80254 in Feval (form=3642740) at eval.c:3331
#73 0x7cb54 in condition_case_1 (handlers=3642356, bfun=0x7fd00 <Feval>,
barg=3642740, hfun=0x7cb98 <run_condition_case_handlers>, harg=2358308)
at eval.c:1651
#74 0x7cee8 in condition_case_3 (bodyform=3642740, var=2358308,
handlers=3642356) at eval.c:1729
#75 0x56e8c in execute_rare_opcode (stack_ptr=0xffbee974,
program_ptr=0x7c08ec "\210)\f,\207", opcode=Bcondition_case)
at bytecode.c:1271
#76 0x55fd8 in execute_optimized_program (program=0x7c08ec "\210)\f,\207",
stack_depth=4, constants_data=0x374d10) at bytecode.c:656
#77 0x55e00 in funcall_compiled_function (fun=3341160, nargs=1,
args=0xffbeeb54) at bytecode.c:515
#78 0x80ac0 in Ffuncall (nargs=1, args=0xffbeeb50) at eval.c:3563
#79 0x561a8 in execute_optimized_program (program=0x16b85a2 "!\207",
stack_depth=1, constants_data=0x36f650) at bytecode.c:746
#80 0x55e00 in funcall_compiled_function (fun=3340768, nargs=2,
args=0xffbeed14) at bytecode.c:515
#81 0x80ac0 in Ffuncall (nargs=2, args=0xffbeed10) at eval.c:3563
#82 0x5a794 in Fcall_interactively (function=2875972, record_flag=2234372,
keys=2234372) at callint.c:940
#83 0x7f878 in Fcommand_execute (cmd=2875972, record_flag=2234372,
keys=2234372) at eval.c:2970
#84 0xaded8 in execute_command_event (command_builder=0x484940, event=26344588)
at event-stream.c:3915
#85 0xae51c in Fdispatch_event (event=26344588) at event-stream.c:4199
#86 0x5f380 in Fcommand_loop_1 () at cmdloop.c:583
#87 0x5f5e8 in command_loop_1 (dummy=2234372) at cmdloop.c:494
#88 0x7cb54 in condition_case_1 (handlers=2234468,
bfun=0x5f5cc <command_loop_1>, barg=2234372, hfun=0x5f648 <cmd_error>,
harg=2234372) at eval.c:1651
#89 0x5f758 in command_loop_2 (dummy=2234372) at cmdloop.c:256
#90 0x848f4 in internal_catch (tag=2314412, func=0x5f70c <command_loop_2>,
arg=2234372, threw=0x0) at eval.c:1317
#91 0x5ef2c in initial_command_loop (load_me=2234372) at cmdloop.c:305
#92 0x79720 in sort_args (argc=2008064, argv=0xffbef56c) at emacs.c:2353
---------------------------------------------------------------------------
uname -a: SunOS jena 5.8 Generic_108528-13 sun4u sparc
./configure '--prefix=/export/home/marcow/usr/local'
'--site-includes=/export/home/marcow/usr/local/include'
'--site-libraries=/export/home/marcow/usr/local/lib' '--with-gtk=no'
'--error-checking=none' '--debug=no'
XEmacs 21.4.6 "Common Lisp" configured for `sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location: /reddisk1/marco/xemacs/xemacs-21.4.6
Installation prefix: /export/home/marcow/usr/local
Additional header files: /export/home/marcow/usr/local/include
Additional libraries: /export/home/marcow/usr/local/lib
Runtime library search path:
/usr/ccs/lib:/export/home/marcow/usr/local/lib:/usr/dt/lib:/usr/openwin/lib:/export/home/marcow/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Wpointer-arith
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include /usr/openwin/include
- X Windows libraries location: /usr/dt/lib /usr/openwin/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.
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).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
---------------------------------------------------------------------------
Since this is a new XEmacs process there is no other information
left:-(
Please let me know if I can help you with more information out of the
core file or anything else.
Thanks,
-- Marco