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

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

emacs-21.1 gets stuck in a loop trying to handle SIGSEGV


From: Greg A. Woods
Subject: emacs-21.1 gets stuck in a loop trying to handle SIGSEGV
Date: Fri, 28 Dec 2001 16:33:06 -0500 (EST)

In GNU Emacs 21.1.1 (i386-unknown-netbsdelf1.5W, X toolkit)
 of 2001-11-13 on proven
configured using `configure  --verbose --with-xpm --with-jpeg --with-tiff 
--with-gif --with-png --with-pop --with-ipv6 --prefix=/usr/local 
--with-x-toolkit=athena'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t


My emacs session got stuck in a loop again, consuming CPU and not
responding to any X11 events.  This time I attached to the running
process with the debugger and discovered it was apparently trying to
shut down after receiving a SIGSEGV.  Unfortunately this traceback was
all I was able to capture.

$ gdb ./emacs 6133
GNU gdb 4.17
Copyright 1998 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--netbsd"...

/work/woods/emacs-21/src/6133: No such file or directory.
Attaching to program `/work/woods/emacs-21/src/./emacs', process 6133
Reading symbols from /usr/libexec/ld.elf_so...done.
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/pkg/lib/libtiff.so.3...done.
Reading symbols from /usr/pkg/lib/libjpeg.so.62...done.
Reading symbols from /usr/pkg/lib/libpng.so.2...done.
Reading symbols from /usr/lib/libz.so.0...done.
Reading symbols from /usr/lib/libm387.so.0...done.
Reading symbols from /usr/lib/libm.so.0...done.
Reading symbols from /usr/pkg/lib/libungif.so.5...done.
Reading symbols from /usr/pkg/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/lib/libossaudio.so.0...done.
Reading symbols from /usr/lib/libtermcap.so.0...done.
Reading symbols from /usr/lib/libc.so.12...done.
allocate_string () at alloc.c:1330
1330      string_free_list = NEXT_FREE_LISP_STRING (s);
DISPLAY = very.weird.com:0.0
TERM = xterm
Breakpoint 1 at 0x80ce14b: file emacs.c, line 387.
Breakpoint 2 at 0x80b5356: file xterm.c, line 12015.
(gdb) where
#0  allocate_string () at alloc.c:1330
#1  0x810cea1 in make_uninit_multibyte_string (nchars=41, nbytes=41)
    at alloc.c:1871
#2  0x810ce71 in make_uninit_string (length=41) at alloc.c:1852
#3  0x81182d8 in make_buffer_string_both (start=1, start_byte=1, end=42, 
    end_byte=42, props=1) at editfns.c:2182
#4  0x8118267 in make_buffer_string (start=1, end=42, props=1)
    at editfns.c:2151
#5  0x806384d in current_message_1 (a1=-1077948668, a2=405179396, a3=0, a4=0)
    at xdisp.c:6708
#6  0x8062fb1 in with_echo_area_buffer (w=0x0, which=0, 
    fn=0x806382c <current_message_1>, a1=-1077948668, a2=405179396, a3=0, a4=0)
    at xdisp.c:6271
#7  0x8063817 in current_message () at xdisp.c:6689
#8  0x8063869 in push_message () at xdisp.c:6724
#9  0x80f6272 in Fdo_auto_save (no_message=405179444, current_only=405179396)
    at fileio.c:5461
#10 0x80cf51e in shut_down_emacs (sig=11, no_x=0, stuff=405179396)
    at emacs.c:1883
#11 0x80ce0cb in fatal_error_signal (sig=11) at emacs.c:341
#12 0xbfbfdfdc in ?? ()
#13 0x810cea1 in make_uninit_multibyte_string (nchars=32, nbytes=32)
    at alloc.c:1871
---Type <return> to continue, or q <return> to quit---
#14 0x810ce71 in make_uninit_string (length=32) at alloc.c:1852
#15 0x81233f1 in concat (nargs=3, args=0xbfbfd0fc, target_type=Lisp_String, 
    last_special=0) at fns.c:668
#16 0x8122e42 in Fconcat (nargs=3, args=0xbfbfd0fc) at fns.c:434
#17 0x81452fa in Fbyte_code (bytestr=947678308, vector=1212802816, maxdepth=7)
    at bytecode.c:1106
#18 0x811fa10 in funcall_lambda (fun=1215905216, nargs=2, 
    arg_vector=0xbfbfd1e0) at eval.c:2847
#19 0x811f641 in Ffuncall (nargs=3, args=0xbfbfd1dc) at eval.c:2712
#20 0x8144b61 in Fbyte_code (bytestr=947678212, vector=1216598400, maxdepth=8)
    at bytecode.c:716
#21 0x811fa10 in funcall_lambda (fun=1215905696, nargs=4, 
    arg_vector=0xbfbfd2bc) at eval.c:2847
#22 0x811f641 in Ffuncall (nargs=5, args=0xbfbfd2b8) at eval.c:2712
#23 0x8144b61 in Fbyte_code (bytestr=948134916, vector=1215843328, maxdepth=7)
    at bytecode.c:716
#24 0x811fa10 in funcall_lambda (fun=1216573856, nargs=0, 
    arg_vector=0xbfbfd398) at eval.c:2847
#25 0x811f641 in Ffuncall (nargs=1, args=0xbfbfd394) at eval.c:2712
#26 0x8144b61 in Fbyte_code (bytestr=947765348, vector=1216224256, maxdepth=7)
    at bytecode.c:716
#27 0x811ebd9 in Feval (form=1484639684) at eval.c:2019
#28 0x811d967 in internal_catch (tag=405544228, func=0x811e898 <Feval>, 
---Type <return> to continue, or q <return> to quit---
    arg=1484639684) at eval.c:1030
#29 0x8144f79 in Fbyte_code (bytestr=947765316, vector=1216229344, maxdepth=2)
    at bytecode.c:879
#30 0x811fa10 in funcall_lambda (fun=1216229216, nargs=2, 
    arg_vector=0xbfbfd5c4) at eval.c:2847
#31 0x811f641 in Ffuncall (nargs=3, args=0xbfbfd5c0) at eval.c:2712
#32 0x8144b61 in Fbyte_code (bytestr=947574756, vector=1214942528, maxdepth=3)
    at bytecode.c:716
#33 0x811fa10 in funcall_lambda (fun=1214861280, nargs=2, 
    arg_vector=0xbfbfd690) at eval.c:2847
#34 0x811f641 in Ffuncall (nargs=3, args=0xbfbfd68c) at eval.c:2712
#35 0x811ef6d in Fapply (nargs=2, args=0xbfbfd6e4) at eval.c:2169
#36 0x811f23a in apply1 (fn=409450836, arg=1490550468) at eval.c:2419
#37 0x811b8b4 in Fcall_interactively (function=409450836, 
    record_flag=405179396, keys=1210564608) at callint.c:367
#38 0x80d9b72 in Fcommand_execute (cmd=409450836, record_flag=405179396, 
    keys=405179396, special=405179396) at keyboard.c:9221
#39 0x80d0ea6 in command_loop_1 () at keyboard.c:1644
#40 0x811dcd6 in internal_condition_case (bfun=0x80d03d8 <command_loop_1>, 
    handlers=405301492, hfun=0x80d007c <cmd_error>) at eval.c:1267
#41 0x80d02e1 in command_loop_2 () at keyboard.c:1245
#42 0x811d967 in internal_catch (tag=405253844, 
    func=0x80d02c8 <command_loop_2>, arg=405179396) at eval.c:1030
---Type <return> to continue, or q <return> to quit---
#43 0x80d029c in command_loop () at keyboard.c:1224
#44 0x80cfe79 in recursive_edit_1 () at keyboard.c:950
#45 0x80cff85 in Frecursive_edit () at keyboard.c:1006
#46 0x80cf075 in main (argc=5, argv=0xbfbfdb1c, envp=0xbfbfdb34)
    at emacs.c:1547
#47 0x804ebb9 in ___start ()
(gdb) 


-- 
                                                                Greg A. Woods

+1 416 218-0098;  <address@hidden>;  <address@hidden>;  <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>



reply via email to

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