================================================================
Dear Bug Team!
I ran xemacs and gnuserv.
I then ran gnuclient (with DISPLAY set to a different
display than the one under which xemacs was run)
While gnuclient was running, I killed its X-display
(the X-display was supplied by goglobal). xemacs got a segv.
I used to run 21.4.8 and in this case of the X-display dying, xemacs
would go into a compute loop and I would have to kill it by hand.
I saw in the 21.4.10 release notes that this bug was called the
Energizer Bunny Bug and that it was fixed.
I suppose crashing immediately is an improvement, :-)
but it sure would be nice if xemacs just kept running (normally, not
like the bunny) and would accept new gnuclient connections.
Here is the dump. This shows a bus error but I believe
I have also seen a segv crash.
Thanks
- jjh
PS. Did you know that the product that included the original
xemacs (aka lemacs) was named Energize?
Program terminated with signal 10, Bus error.
Reading symbols from /usr/dt/lib/libXm.so.4...(no debugging symbols found)...
done.
Loaded symbols for /usr/dt/lib/libXm.so.4
Reading symbols from /usr/dt/lib/libtt.so.2...(no debugging symbols found)...
done.
Loaded symbols for /usr/dt/lib/libtt.so.2
Reading symbols from /usr/openwin/lib/libXmu.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libXmu.so.4
Reading symbols from /usr/openwin/lib/libXt.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libXt.so.4
Reading symbols from /usr/openwin/lib/libXext.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libXext.so.0
Reading symbols from /usr/openwin/lib/libX11.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libX11.so.4
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/openwin/lib/libSM.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libSM.so.6
Reading symbols from /usr/openwin/lib/libICE.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/openwin/lib/libICE.so.6
Reading symbols from /usr/lib/libcurses.so.1...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libcurses.so.1
Reading symbols from /usr/lib/libldap.so.3...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libldap.so.3
Reading symbols from /usr/lib/libm.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libelf.so.1...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /usr/lib/libgen.so.1...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libresolv.so.2...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1...
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)...done.
Loaded symbols for /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1
#0 0xfec9a608 in _libc_kill () from /usr/lib/libc.so.1
(gdb) where
#0 0xfec9a608 in _libc_kill () from /usr/lib/libc.so.1
#1 0x0008f878 in fatal_error_signal ()
#2 <signal handler called>
#3 0x00201694 in oblookup ()
#4 0x00185c84 in make_gui_item_from_keywords_internal ()
#5 0x000f43c0 in menu_item_descriptor_to_widget_value_1 ()
#6 0x000f49f0 in menu_item_descriptor_to_widget_value_1 ()
#7 0x000f49f0 in menu_item_descriptor_to_widget_value_1 ()
#8 0x000f4f5c in set_frame_menubar ()
#9 0x00227de8 in x_create_widgets ()
#10 0x0015c65c in Fmake_frame ()
#11 0x000ccf08 in Ffuncall ()
#12 0x00062270 in execute_optimized_program ()
#13 0x00061b98 in funcall_compiled_function ()
#14 0x000cba08 in Feval ()
#15 0x000ccef0 in Ffuncall ()
#16 0x00062270 in execute_optimized_program ()
#17 0x00065dd0 in Fbyte_code ()
#18 0x000cbbec in Feval ()
#19 0x0009e578 in condition_case_1 ()
#20 0x000a17ac in condition_case_3 ()
#21 0x000637e0 in execute_rare_opcode ()
#22 0x00062048 in execute_optimized_program ()
---Type <return> to continue, or q <return> to quit---
#23 0x00061b98 in funcall_compiled_function ()
#24 0x000ccdf0 in Ffuncall ()
#25 0x000d7640 in catch_them_squirmers_call2 ()
#26 0x0009e578 in condition_case_1 ()
#27 0x000d7aa0 in call2_trapping_errors ()
#28 0x001c1350 in read_process_output ()
#29 0x0010d2e4 in execute_internal_event ()
#30 0x0010fc84 in Fdispatch_event ()
#31 0x0006f66c in Fcommand_loop_1 ()
#32 0x0009e578 in condition_case_1 ()
#33 0x0006efcc in command_loop_2 ()
#34 0x0009c9f4 in internal_catch ()
#35 0x0006f194 in initial_command_loop ()
#36 0x00091018 in xemacs_21_4_12_sparc_sun_solaris2_7 ()
#37 0x00091a94 in main ()
(gdb)
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS some-machine 5.7 Generic_106541-23 sun4u sparc SUNW,Ultra-80
./configure '--without-prefix' '--with-xpm' '--with-png'
'--with-jpeg'
'--site-includes=/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/xpm-3.4k/X11:/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/libpng-1.0.9:/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/jpeg-6b:/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/zlib'
'--site-libraries=/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/xpm-3.4k/lib:/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/libpng-1.0.9:/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/jpeg-6b:/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/zlib'
XEmacs 21.4.12 "Portable Code" configured for `sparc-sun-solaris2.7'.
Compilation / Installation:
Source code location: /net/some-machine/export/some-machine/xemacs-21.4.12
Installation prefix: /usr/local
Additional header files:
/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/xpm-3.4k/X11
/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/libpng-1.0.9
/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/jpeg-6b
/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/zlib
Additional libraries:
/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/xpm-3.4k/lib
/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/libpng-1.0.9
/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/jpeg-6b
/net/some-machine/export/some-machine/xemacs-21.4.12/extra-libs/zlib
Runtime library search path: /usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: cc -v -xO4
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:
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.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for 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.
Load-Path Lisp Shadows:
----------------------
(/net/some-machine/export/some-machine/projects/pkgs/xxx-nt-utils/lisp/gud
/net/some-machine/export/some-machine/xemacs-21.4.12/install/lib/xemacs/xemacs-packages/lisp/debug/gud
/net/some-machine/export/some-machine/projects/pkgs/xxx-nt-utils/lisp/etags
/net/some-machine/export/some-machine/xemacs-21.4.12/install/lib/xemacs-21.4.12/lisp/etags
/net/some-machine/export/some-machine/xemacs-21.4.12/install/lib/xemacs/xemacs-packages/lisp/build/build-report
/net/some-machine/export/some-machine/xemacs-21.4.12/install/lib/xemacs-21.4.12/lisp/build-report)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.04 :type regular)
(xemacs-devel :version 1.5 :type single-file)
(xemacs-base :version 1.75 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.07 :type regular)
(viper :version 1.35 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.16 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.35 :type regular)
(tramp :version 1.11 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.35 :type regular)
(time :version 1.12 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.58 :type single-file)
(texinfo :version 1.23 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.26 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(sml-mode :version 0.07000000000000001 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.11 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.17 :type regular)
(scheme :version 1.13 :type regular)
(sasl :version 1.12 :type regular)
(ruby-modes :version 1.01 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.28 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.38 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.72
:type
single-file)
(pgg :version 1.02 :type regular)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.3 :type single-file)
(ocaml :version 0.04 :type regular)
(net-utils :version 1.31 :type single-file)
(some-machine-mode :version 1.0 :type regular)
(misc-games :version 1.16 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.17 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.56 :type regular)
(liece :version 1.1 :type regular)
(jde :version 1.43 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.29 :type regular)
(igrep :version 1.1 :type regular)
(idlwave :version 1.28 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.18 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnus :version 1.65 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.12 :type single-file)
(frame-icon :version 1.09 :type regular)
(fortran-modes :version 1.02 :type single-file)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.37 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.03 :type regular)
(eshell :version 1.04 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.98 :type single-file)
(ediff :version 1.46 :type regular)
(edebug :version 1.15 :type regular)
(ecrypto :version 0.12 :type regular)
(ecb :version 1.01 :type regular)
(docbookide :version 0.06 :type regular)
(dired :version 1.13 :type regular)
(dictionary :version 1.11 :type regular)
(debug :version 1.16 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.04 :type regular)
(cc-mode :version 1.32 :type regular)
(calendar :version 1.19 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.1 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.33 :type regular)
(apel :version 1.26 :type regular)
(ada :version 1.13 :type regular))
Installed Modules:
-----------------
Features:
--------
(xemacsbug shadow efs-cu passwd font disp-table eudcb-ldap ldap eudc
eudc-options-file cus-edit cus-load eudc-vars overlay wid-edit edmacro
gnuserv pending-del func-menu font-lock cus-face shell comint
setup-java-tags tags etags vc ring vc-hooks blink-paren mail-abbrevs
sendmail rfc822 blink-cursor env zenirc-autoloads
xslt-process-autoloads xslide-autoloads xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads vm-autoloads viper-autoloads
view-process-autoloads vhdl-autoloads vc-cc-autoloads vc-autoloads
tramp-autoloads tpu-autoloads tooltalk-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
sml-mode-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
sasl-autoloads ruby-modes-autoloads rmail-autoloads reftex-autoloads
python-modes-autoloads psgml-dtds-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads ocaml-autoloads net-utils-autoloads
some-machine-mode-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-autoloads liece-autoloads
jde-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
idlwave-autoloads ibuffer-autoloads hm--html-menus-autoloads
haskell-mode-autoloads gnus-autoloads gnats-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
ess-autoloads eshell-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edt-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads ecrypto-autoloads ecb-autoloads
docbookide-autoloads dired-autoloads dictionary-autoloads
debug-autoloads crisp-autoloads cookie-autoloads clearcase-autoloads
cc-mode-autoloads calendar-autoloads calc-autoloads
c-support-autoloads build-autoloads bbdb-autoloads auctex-autoloads
apel-autoloads ada-autoloads lisp-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 gutter-items menubar-items x-menubar
mode-motion mouse itimer auto-save lisp-mode easymenu iso8859-1 page
buff-menu lib-complete help-nomule cus-file derived frame text-props
obsolete cus-start custom widget cl-extra mini-cl cl cl-19 packages
backquote very-early-lisp tooltalk lucid-scrollbars cut-buffer
lucid-menubars motif-dialogs x c-balloon-help tty-frames tty toolbar
native-sound scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar dbm md5 xemacs
gutter png gif jpeg xpm xbm lisp-float-type usg-unix-v dialog devices
window-system base64)
Recent keystrokes:
-----------------
C-x C-v C-g c d RET C-x C-v k k k RET down down down
down down down down down down down down down down down
down down down down down M-x r e p o r SPC e m SPC
b SPC RET
Recent messages (most recent first):
-----------------------------------
Parsing /home/xxx/.mailrc...
Loading xemacsbug...done
Loading xemacsbug...
Loading efs-cu...done
Loading efs-cu...
~/
Quit
WARNING: keyboard is insecure (unable to grab!)
Unable to grab keyboard - waiting a second...
Loading passwd...done
Loading passwd...
Loading font...done
Loading font...
Loading ~/.eudc-options...done
Loading eudcb-ldap...done
Loading eudcb-ldap...
Loading ~/.eudc-options...
Loading cus-edit...done
Loading customization dependencies...done
Loading customization dependencies...