bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20.7 dumps core when X session dies


From: Jim Diamond
Subject: 20.7 dumps core when X session dies
Date: Tue, 03 Oct 2000 13:21:02 GMT

Hi,

I am running emacs 20.7 on a gnu/linux Slackware 7.1 system; emacs was
compiled with "env CFLAGS=-O2 ./configure".

I start up an emacs upon login and use emacsserver and emacsclient.
When I terminate my X session (by terminating my window manager
(fvw2m), which is the last thing in my .xsession, I get core dumps
from emacs.  Here is the stack trace:

gdb /local/bin/emacs 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 "i386-slackware-linux"...
Core was generated by `emacs -f my-server-start'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXaw.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXaw.so.6
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
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/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/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
#0  0x401e94c1 in kill () from /lib/libc.so.6
(gdb) where
#0  0x401e94c1 in kill () from /lib/libc.so.6
#1  0x8092b9a in fatal_error_signal ()
#2  0x401e93d8 in sigaction () from /lib/libc.so.6
#3  0x40222a9b in free () from /lib/libc.so.6
#4  0x80d4eb2 in emacs_blocked_free ()
#5  0x40222a3c in free () from /lib/libc.so.6
#6  0x400f3f04 in _XFreeDisplayStructure () from /usr/X11R6/lib/libX11.so.6
#7  0x400e57eb in XCloseDisplay () from /usr/X11R6/lib/libX11.so.6
#8  0x40072905 in CloseDisplay () from /usr/X11R6/lib/libXt.so.6
#9  0x40072972 in XtCloseDisplay () from /usr/X11R6/lib/libXt.so.6
#10 0x8085175 in x_connection_closed ()
#11 0x80853d8 in x_io_error_quitter ()
#12 0x401025c9 in _XIOError () from /usr/X11R6/lib/libX11.so.6
#13 0x400ff7fb in _XFlushInt () from /usr/X11R6/lib/libX11.so.6
#14 0x400ff6e6 in _XFlush () from /usr/X11R6/lib/libX11.so.6
#15 0x400ff885 in _XEventsQueued () from /usr/X11R6/lib/libX11.so.6
#16 0x400f46e0 in XPending () from /usr/X11R6/lib/libX11.so.6
#17 0x8084678 in XTread_socket ()
#18 0x80995e5 in read_avail_input ()
#19 0x80997af in input_available_signal ()
#20 0x401e93d8 in sigaction () from /lib/libc.so.6
#21 0x8097441 in kbd_buffer_get_event ()
#22 0x8096514 in read_char ()
#23 0x809b44d in read_key_sequence ()
#24 0x8095038 in command_loop_1 ()
#25 0x80e4627 in internal_condition_case ()
#26 0x8094cb5 in command_loop_2 ()
#27 0x80e4232 in internal_catch ()
#28 0x8094c70 in command_loop ()
#29 0x80948ec in recursive_edit_1 ()
#30 0x80949d5 in Frecursive_edit ()
#31 0x8093bec in main ()
#32 0x401e3577 in __libc_start_main () from /lib/libc.so.6
(gdb) 


This problem only showed up recently, when I switched to my current PC
from another one which was using Slackware 7.0.  I tried both the
emacs I compiled on the new system and the emacs I compiled on the old
system, and they both dump core on the Slackware 7.1 PC.

Any ideas on why this dumps core on 7.1 and not 7.0?

Thanks.

                        Jim Diamond

-- 
Jim Diamond (James.Diamond@xwave.com)
xwave
201 Brownlow Avenue, Dartmouth, N.S., Canada    B3B 1W2
Phone: (902) 421-2285   Fax: (902) 468-3679



reply via email to

[Prev in Thread] Current Thread [Next in Thread]