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

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

Re: Emacs core dump


From: Cyprian Laskowski
Subject: Re: Emacs core dump
Date: Wed, 13 Jun 2001 17:24:13 GMT

Thanks again for replying.  :)

Ok, I've been meaning to learn gdb forever, so now's as good a time as
any.  I got some backtraces.  But I'm not really sure what to do with
them, other than printing them back out to you here. :)

(Please tell me if it's unacceptable to be posting so much output to
the newsgroup.)

Thanks in advance,

cyp


*********

I have briefly looked at 4 cores on

GNU Emacs 20.3.1 (sparc-sun-solaris2.6, X toolkit) of Thu Aug 27 1998 on 
tensor.vnet.net

and 2 on

GNU Emacs 20.7.1 (i586-pc-linux-gnu, X toolkit) of Sat May 26 2001 on kromm.


They are not identical, but they do end up basically the same way (I
hope this isn't common to all Emacs unpleasant exits!):

(emacs 20.3.1:)

----------
#904 0x80e748a in internal_catch (tag=404699588, func=0x8095984 
<command_loop_2>, arg=404699108) at eval.c:925
#905 0x8095953 in command_loop () at keyboard.c:1072
#906 0x80955d4 in recursive_edit_1 () at keyboard.c:821
#907 0x80956b7 in Frecursive_edit () at keyboard.c:869
#908 0x80948ae in main (argc=1, argv=0xbffff9d4, envp=0xbffff9dc) at 
emacs.c:1361
------------

Here are the two shortest backtraces in full off of my Sun 20.3.1 Emacs:

------------
(gdb) backtrace
#0  0xef40878c in _pthread_testcancel ()
#1  0x9e0fc in fatal_error_signal (sig=11) at emacs.c:246
#2  0xef3b89e4 in _setpgid ()
#3  0xc4ffc in adjust_intervals_for_insertion (tree=0x55401c, position=424, 
length=1)
    at intervals.c:416
#4  0xc77a0 in offset_intervals (buffer=0x599a70, start=424, length=1) at 
intervals.c:1343
#5  0xbe9ac in insert_1_both (string=0xefffeb60 "\n", nchars=1, nbytes=1, 
inherit=1, prepare=0, 
    before_markers=0) at insdel.c:1123
#6  0xbe0dc in insert_1 (string=0xefffeb60 "\n", nbytes=1, inherit=1, 
prepare=1, before_markers=0)
    at insdel.c:892
#7  0xbdf64 in insert_and_inherit (string=0xefffeb60 "\n", nbytes=1) at 
insdel.c:814
#8  0xda184 in internal_self_insert (c=10, noautofill=0) at cmds.c:469
#9  0xd9b10 in Fself_insert_command (n=0) at cmds.c:317
#10 0x107824 in Ffuncall (nargs=1075249992, args=0xefffecd8) at eval.c:2453
#11 0x135710 in Fbyte_code (bytestr=806927952, vector=1075363656, maxdepth=1) 
at bytecode.c:432
#12 0x107eb0 in funcall_lambda (fun=1075363360, nargs=1, arg_vector=0xefffeefc) 
at eval.c:2640
#13 0x1079b0 in Ffuncall (nargs=1075363360, args=0xefffeef8) at eval.c:2510
#14 0x135710 in Fbyte_code (bytestr=806928764, vector=1075364300, maxdepth=1) 
at bytecode.c:432
#15 0x107eb0 in funcall_lambda (fun=1075364180, nargs=1, arg_vector=0xeffff284) 
at eval.c:2640
#16 0x1079b0 in Ffuncall (nargs=1075364180, args=0xeffff280) at eval.c:2510
#17 0x1039fc in Fcall_interactively (function=271081876, record_flag=270707476, 
keys=2377496)
    at callint.c:788
#18 0xaada8 in Fcommand_execute (cmd=271081876, record_flag=270707476, 
keys=270707476, special=1)
    at keyboard.c:7887
#19 0xa1764 in command_loop_1 () at keyboard.c:1495
#20 0x1056a0 in internal_condition_case (bfun=0xa0840 <command_loop_1>, 
handlers=270707956, 
    hfun=0xa03f4 <cmd_error>) at eval.c:1157
#21 0xa06bc in command_loop_2 () at keyboard.c:1091
#22 0x10521c in internal_catch (tag=270707932, func=0xa0698 <command_loop_2>, 
arg=270707476)
    at eval.c:932
#23 0xa065c in command_loop () at keyboard.c:1070
#24 0xa01cc in recursive_edit_1 () at keyboard.c:820
#25 0xa0310 in Frecursive_edit () at keyboard.c:868
#26 0x9f2c8 in main (argc=1, argv=0xeffffa8c, envp=0xeffffa94) at emacs.c:1309
(gdb)
-----------
(gdb) backtrace
#0  0xef40880c in _kill ()
#1  0x9e0fc in fatal_error_signal (sig=6) at emacs.c:246
#2  <signal handler called>
#3  0xef40880c in _kill ()
#4  0x9e118 in abort () at emacs.c:274
#5  0xc41f4 in find_interval (tree=0x67d3a0, position=1104) at intervals.c:596
#6  0xc68dc in set_point_both (buffer=0x6081b0, charpos=1104, bytepos=1104) at 
intervals.c:1815
#7  0xfc6c0 in Fgoto_char (position=540124008) at editfns.c:223
#8  0xfcaa0 in save_excursion_restore (info=1354633356) at editfns.c:350
#9  0x108244 in unbind_to (count=176, value=270707476) at eval.c:2740
#10 0x135e94 in Fbyte_code (bytestr=810005104, vector=1078518752, maxdepth=2) 
at bytecode.c:618
#11 0x107eb0 in funcall_lambda (fun=1077957208, nargs=1, arg_vector=0xefffeec8) 
at eval.c:2640
#12 0x1079b0 in Ffuncall (nargs=1077957208, args=0xefffeec4) at eval.c:2510
#13 0x106cb0 in Fapply (nargs=2, args=0xefffeec4) at eval.c:1918
#14 0x107848 in Ffuncall (nargs=1075753968, args=0xefffeec0) at eval.c:2456
#15 0x135710 in Fbyte_code (bytestr=810000624, vector=1077986464, maxdepth=2) 
at bytecode.c:432
#16 0x107eb0 in funcall_lambda (fun=1078310120, nargs=1, arg_vector=0xeffff254) 
at eval.c:2640
#17 0x1079b0 in Ffuncall (nargs=1078310120, args=0xeffff250) at eval.c:2510
#18 0x1039fc in Fcall_interactively (function=271115732, record_flag=270707476, 
keys=2377496)
    at callint.c:788
#19 0xaada8 in Fcommand_execute (cmd=271115732, record_flag=270707476, 
keys=270707476, special=1)
    at keyboard.c:7887
#20 0xa1764 in command_loop_1 () at keyboard.c:1495
#21 0x1056a0 in internal_condition_case (bfun=0xa0840 <command_loop_1>, 
handlers=270707956, 
    hfun=0xa03f4 <cmd_error>) at eval.c:1157
#22 0xa06bc in command_loop_2 () at keyboard.c:1091
#23 0x10521c in internal_catch (tag=270707932, func=0xa0698 <command_loop_2>, 
arg=270707476)
    at eval.c:932
#24 0xa065c in command_loop () at keyboard.c:1070
#25 0xa01cc in recursive_edit_1 () at keyboard.c:820
#26 0xa0310 in Frecursive_edit () at keyboard.c:868
#27 0x9f2c8 in main (argc=1, argv=0xeffffa5c, envp=0xeffffa64) at emacs.c:1309
(gdb)
-------------
My linux backtraces are much longer; they have hundreds of
`mark_object' references, but they still end the same way; here's the
initial gdb output of one, the tail of its backtrace, and its
`xbacktrace' (since I have src at home):
--------------
This GDB was configured as "i386-redhat-linux"...
Core was generated by `emacs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXaw.so.6...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/lib/libncurses.so.4...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
#0  0x80dbb8a in set_internal (symbol=404757548, newval=404699156, bindflag=1) 
at data.c:971
971       if (NILP (symbol) || EQ (symbol, Qt)
DISPLAY = kromm:10.0
TERM = xterm
Breakpoint 1 at 0x8093887: file emacs.c, line 282.
Breakpoint 2 at 0x8085a2e: file xterm.c, line 5335.
(gdb) backtrace
....
#866 0x80d98de in mark_object (argptr=0x8235e44) at alloc.c:2287
#867 0x80d9751 in mark_object (argptr=0x828ec94) at alloc.c:2181
#868 0x80d98de in mark_object (argptr=0x82adf30) at alloc.c:2287
#869 0x80d97a3 in mark_object (argptr=0x83daaac) at alloc.c:2195
#870 0x80d98de in mark_object (argptr=0x844d994) at alloc.c:2287
#871 0x80d9797 in mark_object (argptr=0x838fb8c) at alloc.c:2194
#872 0x80d98de in mark_object (argptr=0x8218ebc) at alloc.c:2287
#873 0x80d9797 in mark_object (argptr=0x855247c) at alloc.c:2194
#874 0x80d98de in mark_object (argptr=0x8552524) at alloc.c:2287
#875 0x80d98de in mark_object (argptr=0x854fd28) at alloc.c:2287
#876 0x80d97a3 in mark_object (argptr=0x81f87c8) at alloc.c:2195
#877 0x80d9751 in mark_object (argptr=0x81ef19c) at alloc.c:2181
#878 0x80d9041 in Fgarbage_collect () at alloc.c:1826
#879 0x8111bc2 in Fbyte_code (bytestr=945330712, vector=1213774520, maxdepth=4) 
at bytecode.c:477
#880 0x80e996c in funcall_lambda (fun=1213774608, nargs=0, 
arg_vector=0xbfffed88) at eval.c:2654
#881 0x80e9567 in Ffuncall (nargs=1, args=0xbfffed84) at eval.c:2524
#882 0x8111a1b in Fbyte_code (bytestr=945318820, vector=1213625056, maxdepth=5) 
at bytecode.c:433
#883 0x80e996c in funcall_lambda (fun=1211839696, nargs=3, 
arg_vector=0xbfffee5c) at eval.c:2654
#884 0x80e9567 in Ffuncall (nargs=4, args=0xbfffee58) at eval.c:2524
#885 0x8111a1b in Fbyte_code (bytestr=945241812, vector=1213730088, maxdepth=4) 
at bytecode.c:433
#886 0x80e87fe in Feval (form=1481201300) at eval.c:1831
#887 0x80e683f in Fprogn (args=1481200988) at eval.c:365
#888 0x80e9c48 in unbind_to (count=11, value=404699108) at eval.c:2758
#889 0x8111a65 in Fbyte_code (bytestr=945241676, vector=1213730208, maxdepth=3) 
at bytecode.c:448
#890 0x80e996c in funcall_lambda (fun=1213064208, nargs=3, 
arg_vector=0xbffff064) at eval.c:2654
#891 0x80e9567 in Ffuncall (nargs=4, args=0xbffff060) at eval.c:2524
#892 0x8111a1b in Fbyte_code (bytestr=945071620, vector=1213659920, maxdepth=4) 
at bytecode.c:433
#893 0x80e996c in funcall_lambda (fun=1213659992, nargs=1, 
arg_vector=0xbffff154) at eval.c:2654
#894 0x80e9567 in Ffuncall (nargs=2, args=0xbffff150) at eval.c:2524
#895 0x80e6182 in Fcall_interactively (function=405028260, 
record_flag=404699156, keys=1210107080) at callint.c:790
#896 0x809dcfa in Fcommand_execute (cmd=405028260, record_flag=404699156, 
keys=404699108, special=404699108) at keyboard.c:7984
#897 0x809dfa5 in Fexecute_extended_command (prefixarg=404699108) at 
keyboard.c:8088
#898 0x80e93f5 in Ffuncall (nargs=2, args=0xbffff360) at eval.c:2467
#899 0x80e6182 in Fcall_interactively (function=404817476, 
record_flag=404699108, keys=1210107080) at callint.c:790
#900 0x809dcfa in Fcommand_execute (cmd=404817476, record_flag=404699108, 
keys=404699108, special=404699108) at keyboard.c:7984
#901 0x809662f in command_loop_1 () at keyboard.c:1502
#902 0x80e7886 in internal_condition_case (bfun=0x8095a9c <command_loop_1>, 
handlers=404699612, hfun=0x8095770 <cmd_error>) at eval.c:1150
#903 0x809599c in command_loop_2 () at keyboard.c:1093
#904 0x80e748a in internal_catch (tag=404699588, func=0x8095984 
<command_loop_2>, arg=404699108) at eval.c:925
#905 0x8095953 in command_loop () at keyboard.c:1072
#906 0x80955d4 in recursive_edit_1 () at keyboard.c:821
#907 0x80956b7 in Frecursive_edit () at keyboard.c:869
#908 0x80948ae in main (argc=1, argv=0xbffff9d4, envp=0xbffff9dc) at 
emacs.c:1361
(gdb) xbacktrace
0x81638d0 "ange-ftp-completion-hook-function"
0x8586cf8 "gnus-update-active-hashtb-from-killed"
0x8573fa0 "gnus-setup-news"
0x3813a104 <Address 0x3813a104 out of bounds>
0x8545f0c "gnus-1"
0x8178090 "gnus"
0x3813a198 <Address 0x3813a198 out of bounds>
0x813da9c "execute-extended-command"
0x3813a198 <Address 0x3813a198 out of bounds>
(gdb)
---------------
Here's another xbacktrace from linux at home (note that sometimes the
crashes occur when neither eshell nor gnus is loaded):
---------------
(gdb) xbacktrace
0x81638d0 "ange-ftp-completion-hook-function"
0x856f124 "gnus-define-keys-1"
0x813a104 "byte-code"
0x85cb368 "gnus-list-of-unread-articles"
0x85cb5c8 "gnus-group-set-info"
0x8137e08 "eval-buffer"
0x85ed498 "gnus-dribble-eval-file"
0x85ed2c4 "gnus-setup-news"
0x813a104 "byte-code"
0x85cbb68 "gnus-1"
0x8178090 "gnus"
0x81387c4 "apply"
0x813a104 "byte-code"
0x84ff740 "eshell-exec-lisp"
0x813a104 "byte-code"
0x84e069c "eshell-lisp-command"
0x84ff60c "eshell-plain-command"
0x84e0678 "eshell-named-command"
0x81387b0 "eval"
0x813a104 "byte-code"
0x84f6b04 "eshell-do-eval"
0x84f6b04 "eshell-do-eval"
0x8138764 "condition-case"
0x81387b0 "eval"
0x84f6b04 "eshell-do-eval"
0x381386d0 <Address 0x381386d0 out of bounds>
0x81387b0 "eval"
0x84f6b04 "eshell-do-eval"
0x84f6b04 "eshell-do-eval"
0x8138720 "catch"
0x81387b0 "eval"
0x84f6b04 "eshell-do-eval"
0x84f6b04 "eshell-do-eval"
0x381386d0 <Address 0x381386d0 out of bounds>
0x81387b0 "eval"
0x84f6b04 "eshell-do-eval"
0x813a104 "byte-code"
0x813a104 "byte-code"
0x84feddc "eshell-resume-eval"
0x84f68f0 "eshell-eval-command"
0x813a104 "byte-code"
0x813a104 "byte-code"
0x84f6e9c "eshell-send-input"
0x813a198 "call-interactively"
(gdb)
-----------------



reply via email to

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