In XEmacs 21.1 (patch 14) "Cuyahoga Valley" [Lucid]
(sparc-sun-solaris2.7) of Thu Aug 2 2001 on taiko
configured using `configure --with-gcc --with-gnu-make '--cflags=-R
/usr/local/lib' --prefix=/depot/pkg/xemacs-21.1.14'
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
1. start xemacs in a character mode frame (using -nw command switch),
2. make-frame-on-display on an x-server
Optional intermediate steps:
2b. Optionally make more frames on the same display
2c. Kill some of the x frames but leave at least one.
2d. Create more frames on the display
3. Kill all frames on the display but keep the character mode (-nw)
frame going.
4. Try to make another frame on the display
Crash!
Why, you may ask, would I want to do such a thing? Well I want to start
xemacs -nw under the unix command "screen" so that when my network
connection goes away, my Xemacs doesn't (screen keeps it alive.)
The following is the output to the screen after core dump, and then the
gdb output using the "where" command:
(If you see the function "make-remote-xframe" all it does is call
make-frame-on-display with the right argument.)
Can you let me know if Thanks,
Eric
Fatal error (11).
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 /usr/local/bin/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 ...)
make-device(x "172.30.85.41:0" nil)
# bind (props connection type)
make-frame-on-device(x "172.30.85.41:0" nil)
# bind (props display)
make-frame-on-display("172.30.85.41:0")
(lambda nil (interactive) (make-frame-on-display (concat ... ":0")))()
call-interactively(make-remote-xframe)
command-execute(make-remote-xframe t)
# bind (_execute_command_keys_ _execute_command_name_ prefix-arg)
execute-extended-command(nil)
# bind (command-debug-status)
call-interactively(execute-extended-command)
# (condition-case ... . error)
# (catch top-level ...)
[screen is terminating]
(taiko)[3:02pm]~>>gdb
(taiko)[3:02pm]~>>pwd
/home/ericreed
(taiko)[3:02pm]~>>ls -l core
-rw------- 1 ericreed user 4233968 Mar 29 15:02 core
(taiko)[3:03pm]~>>
(taiko)[3:04pm]~>>gdb /usr/local/bin/xemacs 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.7"...
warning: core file may not match specified executable file.
Core was generated by `xemacs -nw -f make-remote-xframe'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /lib/libXm.so.4...done.
Loaded symbols for /lib/libXm.so.4
Reading symbols from /usr/openwin/lib/libtt.so.2...done.
Loaded symbols for /usr/openwin/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 /lib/libdl.so.1...done.
Loaded symbols for /lib/libdl.so.1
Reading symbols from /lib/libcurses.so.1...done.
Loaded symbols for /lib/libcurses.so.1
Reading symbols from /lib/libldap.so.3...done.
Loaded symbols for /lib/libldap.so.3
Reading symbols from /lib/libkvm.so.1...done.
Loaded symbols for /lib/libkvm.so.1
Reading symbols from /lib/libkstat.so.1...done.
Loaded symbols for /lib/libkstat.so.1
Reading symbols from /lib/libm.so.1...done.
Loaded symbols for /lib/libm.so.1
Reading symbols from /lib/libsocket.so.1...done.
Loaded symbols for /lib/libsocket.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libelf.so.1...done.
Loaded symbols for /lib/libelf.so.1
---Type <return> to continue, or q <return> to quit---
Reading symbols from /lib/libgen.so.1...done.
Loaded symbols for /lib/libgen.so.1
Reading symbols from /lib/libc.so.1...done.
Loaded symbols for /lib/libc.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libmp.so.2...done.
Loaded symbols for /lib/libmp.so.2
Reading symbols from
/usr/platform/SUNW,UltraAX-MP/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,UltraAX-MP/lib/libc_psr.so.1
#0 0x7f4981fc in _libc_kill () from /lib/libc.so.1
(gdb) where
#0 0x7f4981fc in _libc_kill () from /lib/libc.so.1
#1 0x9d35c in fatal_error_signal ()
#2 <signal handler called>
#3 0x7f7283fc in XSaveContext () from /usr/openwin/lib/libX11.so.4
#4 0x7f95bd54 in Initialize () from /lib/libXm.so.4
#5 0x7f7a910c in CallInitialize () from /usr/openwin/lib/libXt.so.4
#6 0x7f7a54a0 in xtCreate () from /usr/openwin/lib/libXt.so.4
#7 0x7f7a522c in _XtAppCreateShell () from /usr/openwin/lib/libXt.so.4
#8 0x7f7a5138 in XtAppCreateShell () from /usr/openwin/lib/libXt.so.4
#9 0x7f95bc60 in _XmColorObjCreate () from /lib/libXm.so.4
#10 0x7f7a9164 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#11 0x7f7a54a0 in xtCreate () from /usr/openwin/lib/libXt.so.4
#12 0x7f7a522c in _XtAppCreateShell () from /usr/openwin/lib/libXt.so.4
#13 0x7f7a5138 in XtAppCreateShell () from /usr/openwin/lib/libXt.so.4
#14 0x7f95979c in GetDisplay () from /lib/libXm.so.4
#15 0x7f95c708 in XmGetXmScreen () from /lib/libXm.so.4
#16 0x7f95c6e0 in GetShellDesktopParent () from /lib/libXm.so.4
#17 0x7f959558 in SecondaryObjectCreate () from /lib/libXm.so.4
#18 0x7f95932c in InitializeRootWrapper () from /lib/libXm.so.4
#19 0x7f7a910c in CallInitialize () from /usr/openwin/lib/libXt.so.4
#20 0x7f7a90b0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#21 0x7f7a90b0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#22 0x7f7a90b0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#23 0x7f7a90b0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#24 0x7f7a90b0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#25 0x7f7a90b0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
---Type <return> to continue, or q <return> to quit---
#26 0x7f7a90b0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#27 0x7f7a90b0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#28 0x7f7a90b0 in CallInitialize () from /usr/openwin/lib/libXt.so.4
#29 0x7f7a54a0 in xtCreate () from /usr/openwin/lib/libXt.so.4
#30 0x7f7a522c in _XtAppCreateShell () from /usr/openwin/lib/libXt.so.4
#31 0x7f7a5138 in XtAppCreateShell () from /usr/openwin/lib/libXt.so.4
#32 0x1d8db8 in x_init_device ()
#33 0x88ae0 in Fmake_device ()
#34 0xa9bfc in funcall_recording_as ()
#35 0xaa124 in Ffuncall ()
#36 0x6c030 in Fbyte_code ()
#37 0xab73c in funcall_lambda ()
#38 0xa9f1c in funcall_recording_as ()
#39 0xaa124 in Ffuncall ()
#40 0x6c030 in Fbyte_code ()
#41 0xab73c in funcall_lambda ()
#42 0xab0b4 in apply_lambda ()
#43 0xa920c in Feval ()
#44 0xa33a8 in Fprogn ()
#45 0xab6d0 in funcall_lambda ()
#46 0xa9fdc in funcall_recording_as ()
#47 0xaa124 in Ffuncall ()
#48 0xac150 in apply1 ()
#49 0x70148 in Fcall_interactively ()
#50 0xa7684 in Fcommand_execute ()
#51 0xa999c in funcall_recording_as ()
---Type <return> to continue, or q <return> to quit---
#52 0xaa124 in Ffuncall ()
#53 0x6c030 in Fbyte_code ()
#54 0xab73c in funcall_lambda ()
#55 0xa9f1c in funcall_recording_as ()
#56 0xaa124 in Ffuncall ()
#57 0x71a2c in Fcall_interactively ()
#58 0xa7684 in Fcommand_execute ()
#59 0xf23b4 in execute_command_event ()
#60 0xf2d98 in Fdispatch_event ()
#61 0x794a8 in Fcommand_loop_1 ()
#62 0x79124 in command_loop_1 ()
#63 0xa54e0 in condition_case_1 ()
#64 0x786d0 in command_loop_3 ()
#65 0x78708 in command_loop_2 ()
#66 0xa4f14 in internal_catch ()
#67 0x78a98 in initial_command_loop ()
#68 0x9efac in xemacs_21_1_14_sparc_sun_solaris2_7 ()
#69 0xa00c0 in main ()
(gdb0029
Show replies by thread