For grins (and because, here in Canada, we have today off), I built
today's CVS --with-gtk and had the following fun. (Incidentally, I'm
using RedHat 7.1, XFree 4.1.0 built from source and Ximian GNOME).
Recipe:
xemacs -vanilla &
M-x balloon-help-mode
<move mouse over a toolbar button>
and:
/export/home/georgn/src/xemacs-21.5/Linux-i686-gtk $ src/xemacs --vanilla &
[xemacs<1>] 16363
/export/home/georgn/src/xemacs-21.5/Linux-i686-gtk $ Fatal error: assertion failed, file /export/home/georgn/src/xemacs-21.5/src/glyphs.c, line 2267, !NILP (string) && WINDOWP (DOMAIN_WINDOW (domain))
Fatal error (6).
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/georgn/src/xemacs-21.5/Linux-i686-gtk/src/xemacs 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:
# (unwind-protect ...)
# (unwind-protect ...)
# (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque-ptr, adr=0x82985c8) 0x82f7cd0> ...)
# (unwind-protect ...)
# bind (inhibit-quit)
# (unwind-protect ...)
make-frame-visible(#<gtk-frame "balloon-help" 0x2a93>)
balloon-help-expose-help-frame()
# (unwind-protect ...)
# bind (help object ignored)
balloon-help-display-help(nil)
# (condition-case ... . error)
# (catch top-level ...)
aborted (core dumped)
/export/home/georgn/src/xemacs-21.5/Linux-i686-gtk $ gdb src/xemacs core
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 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 "i386-redhat-linux"...
Core was generated by `/export/home/georgn/src/xemacs-21.5/Linux-i686-gtk/src/xemacs --vanilla'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libpng.so.2...done.
Loaded symbols for /usr/lib/libpng.so.2
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/lib/libglade-gnome.so.0...done.
Loaded symbols for /usr/lib/libglade-gnome.so.0
Reading symbols from /usr/lib/libglade.so.0...done.
Loaded symbols for /usr/lib/libglade.so.0
Reading symbols from /usr/lib/libxml.so.1...done.
Loaded symbols for /usr/lib/libxml.so.1
Reading symbols from /usr/lib/libgdk_imlib.so.1...done.
Loaded symbols for /usr/lib/libgdk_imlib.so.1
Reading symbols from /usr/lib/libgtk-1.2.so.0...done.
Loaded symbols for /usr/lib/libgtk-1.2.so.0
Reading symbols from /usr/lib/libgdk-1.2.so.0...done.
Loaded symbols for /usr/lib/libgdk-1.2.so.0
Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
Loaded symbols for /usr/lib/libgmodule-1.2.so.0
Reading symbols from /usr/lib/libglib-1.2.so.0...done.
Loaded symbols for /usr/lib/libglib-1.2.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /usr/lib/libImlib.so.1...done.
Loaded symbols for /usr/lib/libImlib.so.1
Reading symbols from /lib/libdb-3.1.so...done.
Loaded symbols for /lib/libdb-3.1.so
Reading symbols from /usr/lib/libgpm.so.1...done.
Loaded symbols for /usr/lib/libgpm.so.1
Reading symbols from /usr/lib/libncurses.so.5...done.
Loaded symbols for /usr/lib/libncurses.so.5
Reading symbols from /usr/lib/libesd.so.0...done.
Loaded symbols for /usr/lib/libesd.so.0
Reading symbols from /usr/lib/libaudiofile.so.0...done.
Loaded symbols for /usr/lib/libaudiofile.so.0
Reading symbols from /usr/lib/libpq.so...done.
Loaded symbols for /usr/lib/libpq.so
Reading symbols from /usr/lib/libldap.so.2...done.
Loaded symbols for /usr/lib/libldap.so.2
Reading symbols from /usr/lib/liblber.so.2...done.
Loaded symbols for /usr/lib/liblber.so.2
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libgnomeui.so.32...done.
Loaded symbols for /usr/lib/libgnomeui.so.32
Reading symbols from /usr/lib/libart_lgpl.so.2...done.
Loaded symbols for /usr/lib/libart_lgpl.so.2
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/lib/libgnome.so.32...done.
Loaded symbols for /usr/lib/libgnome.so.32
Reading symbols from /usr/lib/libgnomesupport.so.0...done.
Loaded symbols for /usr/lib/libgnomesupport.so.0
Reading symbols from /usr/lib/libdb.so.2...done.
Loaded symbols for /usr/lib/libdb.so.2
Reading symbols from /usr/lib/libungif.so.4...done.
Loaded symbols for /usr/lib/libungif.so.4
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libsasl.so.7...done.
Loaded symbols for /usr/lib/libsasl.so.7
Reading symbols from /usr/kerberos/lib/libkrb4.so.2...done.
Loaded symbols for /usr/kerberos/lib/libkrb4.so.2
Reading symbols from /usr/kerberos/lib/libdes425.so.3...done.
Loaded symbols for /usr/kerberos/lib/libdes425.so.3
Reading symbols from /usr/kerberos/lib/libkrb5.so.3...done.
Loaded symbols for /usr/kerberos/lib/libkrb5.so.3
Reading symbols from /usr/kerberos/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/kerberos/lib/libk5crypto.so.3
Reading symbols from /usr/kerberos/lib/libcom_err.so.3...done.
Loaded symbols for /usr/kerberos/lib/libcom_err.so.3
Reading symbols from /usr/lib/libssl.so.1...done.
Loaded symbols for /usr/lib/libssl.so.1
Reading symbols from /usr/lib/libcrypto.so.1...done.
Loaded symbols for /usr/lib/libcrypto.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libgdbm.so.2...done.
Loaded symbols for /usr/lib/libgdbm.so.2
Reading symbols from /lib/libpam.so.0...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0 0x405a5801 in __kill () from /lib/i686/libc.so.6
(gdb) where
#0 0x405a5801 in __kill () from /lib/i686/libc.so.6
#1 0x080b6fa7 in fatal_error_signal (sig=6) at /export/home/georgn/src/xemacs-21.5/src/emacs.c:535
#2 <signal handler called>
#3 0x405a5801 in __kill () from /lib/i686/libc.so.6
#4 0x405a55da in raise (sig=6) at ../sysdeps/posix/raise.c:27
#5 0x405a6d82 in abort () at ../sysdeps/generic/abort.c:88
#6 0x080b9a7d in assert_failed (file=0x8257ba0 "/export/home/georgn/src/xemacs-21.5/src/glyphs.c", line=2267, expr=0x82584c0 "!NILP (string) && WINDOWP (DOMAIN_WINDOW (domain))")
at /export/home/georgn/src/xemacs-21.5/src/emacs.c:3314
#7 0x08160f37 in string_instantiate (image_instance=141112448, instantiator=141113760, pointer_fg=140627488, pointer_bg=140703024, dest_mask=-1, domain=141062656)
at /export/home/georgn/src/xemacs-21.5/src/glyphs.c:425
#8 0x080dfc98 in autodetect_instantiate (image_instance=141112448, instantiator=141110312, pointer_fg=140627488, pointer_bg=140703024, dest_mask=-1, domain=141062656)
at /export/home/georgn/src/xemacs-21.5/src/glyphs-gtk.c:1744
#9 0x0815d58d in instantiate_image_instantiator (governing_domain=140125808, domain=141062656, instantiator=141110312, pointer_fg=140627488, pointer_bg=140703024, dest_mask=-1, glyph=137369328)
at /export/home/georgn/src/xemacs-21.5/src/glyphs.c:777
#10 0x081637ba in image_instantiate (specifier=137369696, matchspec=136823244, domain=141062656, instantiator=141110312, depth=3) at /export/home/georgn/src/xemacs-21.5/src/glyphs.c:3279
#11 0x080bcc61 in call_with_suspended_errors_1 (opaque_arg=137332856) at /export/home/georgn/src/xemacs-21.5/src/eval.c:2160
#12 0x080bbb2d in internal_catch (tag=137329872, func=0x80bcb4c <call_with_suspended_errors_1>, arg=137332856, threw=0xbfffe204) at /export/home/georgn/src/xemacs-21.5/src/eval.c:1317
#13 0x080bcec5 in call_with_suspended_errors (fun=0x816305c <image_instantiate>, retval=136823244, class=137248924, errb={really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 42}, nargs=5)
at /export/home/georgn/src/xemacs-21.5/src/eval.c:2253
#14 0x081e0f92 in specifier_instance_from_inst_list (specifier=137369696, matchspec=136823244, domain=141062656, inst_list=137639004, errb={really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 42},
no_quit=1, depth=3) at /export/home/georgn/src/xemacs-21.5/src/specifier.c:2502
#15 0x081e12f8 in specifier_instance (specifier=137369696, matchspec=136823244, domain=141062656, errb={really_unlikely_name_to_have_accidentally_in_a_non_errb_structure = 42}, no_quit=1, no_fallback=0, depth=1)
at /export/home/georgn/src/xemacs-21.5/src/specifier.c:2613
#16 0x081c52dd in redisplay_clear_region (locale=141062656, findex=0, x=1, y=0, width=85, height=-1) at /export/home/georgn/src/xemacs-21.5/src/redisplay-output.c:1646
#17 0x0810b17b in gtk_clear_toolbar (f=0x8687200, pos=TOP_TOOLBAR, thickness_change=0) at /export/home/georgn/src/xemacs-21.5/src/toolbar-gtk.c:534
#18 0x0810b31c in gtk_output_frame_toolbars (f=0x8687200) at /export/home/georgn/src/xemacs-21.5/src/toolbar-gtk.c:546
#19 0x08101edf in update_frame_toolbars (f=0x8687200) at /export/home/georgn/src/xemacs-21.5/src/toolbar.c:753
#20 0x081b8421 in redisplay_frame (f=0x8687200, preemption_check=1) at /export/home/georgn/src/xemacs-21.5/src/redisplay.c:6329
#21 0x081c0b06 in Fredraw_frame (frame=141062656, no_preempt=137105148) at /export/home/georgn/src/xemacs-21.5/src/redisplay.c:8844
#22 0x080d723f in resize_event_cb (w=0x868bba8, allocation=0xbfffe8d0, user_data=0x8687200) at /export/home/georgn/src/xemacs-21.5/src/frame-gtk.c:625
#23 0x4020ed6d in gtk_marshal_NONE__POINTER (object=0x868bba8, func=0x80d71bc <resize_event_cb>, func_data=0x8687200, args=0xbfffe610) at gtkmarshal.c:193
#24 0x4023e56a in gtk_handlers_run (handlers=0x8617778, signal=0xbfffe5b0, object=0x868bba8, params=0xbfffe610, after=0) at gtksignal.c:1917
#25 0x4023d9bb in gtk_signal_real_emit (object=0x868bba8, signal_id=12, params=0xbfffe610) at gtksignal.c:1477
#26 0x4023ba30 in gtk_signal_emit (object=0x868bba8, signal_id=12) at gtksignal.c:552
#27 0x40271ff0 in gtk_widget_size_allocate (widget=0x868bba8, allocation=0xbfffe908) at gtkwidget.c:2496
#28 0x4027a004 in gtk_window_show (widget=0x868bba8) at gtkwindow.c:900
#29 0x4020ee4b in gtk_marshal_NONE__NONE (object=0x868bba8, func=0x40279edc <gtk_window_show>, func_data=0x0, args=0xbfffea20) at gtkmarshal.c:312
#30 0x4023d867 in gtk_signal_real_emit (object=0x868bba8, signal_id=2, params=0xbfffea20) at gtksignal.c:1440
#31 0x4023ba30 in gtk_signal_emit (object=0x868bba8, signal_id=2) at gtksignal.c:552
#32 0x4026f818 in gtk_widget_show (widget=0x868bba8) at gtkwidget.c:1434
#33 0x401ce817 in gtk_container_show_all (widget=0x868bba8) at gtkcontainer.c:1876
#34 0x4026fead in gtk_widget_show_all (widget=0x868bba8) at gtkwidget.c:1560
#35 0x080d7605 in gtk_make_frame_visible (f=0x8687200) at /export/home/georgn/src/xemacs-21.5/src/frame-gtk.c:1220
#36 0x081533b2 in Fmake_frame_visible (frame=141062656) at /export/home/georgn/src/xemacs-21.5/src/frame.c:1916
#37 0x080bf493 in Ffuncall (nargs=2, args=0xbfffeed4) at /export/home/georgn/src/xemacs-21.5/src/eval.c:3477
#38 0x08094453 in execute_optimized_program (program=0x8693178 "Ã ?\022Ä\t!\210\b«\b\n¬\005ÅÆ!\210Ç\211\022\207", stack_depth=2, constants_data=0x8677148) at /export/home/georgn/src/xemacs-21.5/src/bytecode.c:744
#39 0x08094042 in funcall_compiled_function (fun=139546556, nargs=0, args=0xbffff0e8) at /export/home/georgn/src/xemacs-21.5/src/bytecode.c:516
#40 0x080bf66a in Ffuncall (nargs=1, args=0xbffff0e4) at /export/home/georgn/src/xemacs-21.5/src/eval.c:3512
#41 0x08094453 in execute_optimized_program (
program=0x867a0a8 "Æ\021\neÇ a\n\035È\r!«\aÉ\rÊ\"®\020Ë\r!«\006Ì\r!®\006\r;\002\r\211\034«\n\f9«\006ÍÎÏ\217\210\f;3\212Ð\013!«\tÑ Ò\013!a¬\004Ó \023\bq\210Ô \210\fc\210n¬\004Õc\210Öed×#\210Ø \210Ù \210Ú \210Û )*\207", stack_depth=5, constants_data=0x8677070) at /export/home/georgn/src/xemacs-21.5/src/bytecode.c:744
#42 0x08094042 in funcall_compiled_function (fun=139546472, nargs=1, args=0xbffff30c) at /export/home/georgn/src/xemacs-21.5/src/bytecode.c:516
#43 0x080bf66a in Ffuncall (nargs=2, args=0xbffff308) at /export/home/georgn/src/xemacs-21.5/src/eval.c:3512
#44 0x080c37bb in call1 (fn=140984724, arg0=137105124) at /export/home/georgn/src/xemacs-21.5/src/eval.c:4132
#45 0x08122675 in execute_internal_event (event=140747508) at /export/home/georgn/src/xemacs-21.5/src/event-stream.c:3019
#46 0x08124c89 in Fdispatch_event (event=140747508) at /export/home/georgn/src/xemacs-21.5/src/event-stream.c:4239
#47 0x0809efa8 in Fcommand_loop_1 () at /export/home/georgn/src/xemacs-21.5/src/cmdloop.c:583
#48 0x080bbe13 in condition_case_1 (handlers=137105220, bfun=0x809f1a8 <command_loop_1>, barg=137105124, hfun=0x809f24c <cmd_error>, harg=137105124) at /export/home/georgn/src/xemacs-21.5/src/eval.c:1692
#49 0x0809f408 in command_loop_2 (dummy=137105124) at /export/home/georgn/src/xemacs-21.5/src/cmdloop.c:256
#50 0x080bbb2d in internal_catch (tag=137181436, func=0x809f3dc <command_loop_2>, arg=137105124, threw=0x0) at /export/home/georgn/src/xemacs-21.5/src/eval.c:1317
#51 0x0809e818 in initial_command_loop (load_me=137105124) at /export/home/georgn/src/xemacs-21.5/src/cmdloop.c:305
#52 0x080b7e5b in xemacs_21_5_b2_i686_pc_linux () at /export/home/georgn/src/xemacs-21.5/src/emacs.c:2352
#53 0x080b85bf in main () at /export/home/georgn/src/xemacs-21.5/src/emacs.c:2781
#54 0x40594177 in __libc_start_main (main=0x80b84b4 <main>, argc=2, ubp_av=0xbffff7d4, init=0x80806e0 <_init>, fini=0x8201fc0 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff7cc)
at ../sysdeps/generic/libc-start.c:129
(gdb)