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

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

emacs-21.2 crashes occasionally and hangs while trying to handle the SIG


From: Greg A. Woods
Subject: emacs-21.2 crashes occasionally and hangs while trying to handle the SIGSEGV
Date: Thu, 3 Oct 2002 22:49:53 -0400 (EDT)

In GNU Emacs 21.2.1 (i386--netbsdelf, X toolkit)
 of 2002-05-21 on proven
configured using `configure  --with-x --with-x-toolkit=athena --with-xpm 
--with-jpeg --with-tiff --with-gif --with-png 
--x-includes=/usr/pkg/share/x11-links/include 
--x-libraries=/usr/pkg/share/x11-links/lib --enable-shared --enable-static 
--host=i386--netbsdelf --prefix=/usr/pkg'
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

The host OS is built from the NetBSD-current source as of 2001/06/24,
and is running on a Pentium-II CPU (IBM PC Server 325).

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Emacs-21.2 crashes occasionally and hangs while trying to handle the
SIGSEGV.  It seems to happen eventually to any long-running process,
though the more x11 window frames are open, it seems the sooner it
crashes.   This happens even when just editing code and running
compile, reading help and info buffers, etc.  (i.e. no use of images or
multi-byte characters, etc.)

The following is an example stack backtrace obtained by attaching gdb to
the stuck process:

(gdb) where
#0  allocate_string () at alloc.c:1330
#1  0x810a109 in make_uninit_multibyte_string (nchars=40, nbytes=40)
    at alloc.c:1871
#2  0x810a0d9 in make_uninit_string (length=40) at alloc.c:1852
#3  0x81154f0 in make_buffer_string_both (start=1, start_byte=1, end=41, 
    end_byte=41, props=1) at editfns.c:2184
#4  0x811547f in make_buffer_string (start=1, end=41, props=1)
    at editfns.c:2153
#5  0x8062c75 in current_message_1 (a1=-1077949780, a2=405158916, a3=0, a4=0)
    at xdisp.c:6741
#6  0x806242c in with_echo_area_buffer (w=0x0, which=0, 
    fn=0x8062c54 <current_message_1>, a1=-1077949780, a2=405158916, a3=0, a4=0)
    at xdisp.c:6304
#7  0x8062c3f in current_message () at xdisp.c:6722
#8  0x8062c91 in push_message () at xdisp.c:6757
#9  0x80f352e in Fdo_auto_save (no_message=405158964, current_only=405158916)
    at fileio.c:5474
#10 0x80cc77e in shut_down_emacs (sig=11, no_x=0, stuff=405158916)
    at emacs.c:1883
#11 0x80cb32f in fatal_error_signal (sig=11) at emacs.c:341
#12 0xbfbfdfdc in ?? ()
#13 0x810a109 in make_uninit_multibyte_string (nchars=3, nbytes=3)
    at alloc.c:1871
#14 0x810a0d9 in make_uninit_string (length=3) at alloc.c:1852
#15 0x8109fc6 in make_unibyte_string (contents=0xbfbfcdbc "166", length=3)
    at alloc.c:1775
#16 0x8109f9f in make_string (contents=0xbfbfcdbc "166", nbytes=3)
    at alloc.c:1760
#17 0x810a0c5 in build_string (str=0xbfbfcdbc "166") at alloc.c:1840
#18 0x8110552 in Fnumber_to_string (number=166) at data.c:2199
#19 0x811c733 in Ffuncall (nargs=2, args=0xbfbfce28) at eval.c:2659
#20 0x8141d75 in Fbyte_code (bytestr=947316996, vector=1216697856, maxdepth=5)
    at bytecode.c:716
#21 0x811cc28 in funcall_lambda (fun=1215701984, nargs=2, 
    arg_vector=0xbfbfcefc) at eval.c:2851
#22 0x811c859 in Ffuncall (nargs=3, args=0xbfbfcef8) at eval.c:2716
#23 0x8141d75 in Fbyte_code (bytestr=947317140, vector=1215701600, maxdepth=3)
    at bytecode.c:716
#24 0x811cc28 in funcall_lambda (fun=1215701440, nargs=0, 
    arg_vector=0xbfbfcfc8) at eval.c:2851
---Type <return> to continue, or q <return> to quit--- 
#25 0x811c859 in Ffuncall (nargs=1, args=0xbfbfcfc4) at eval.c:2716
#26 0x8141d75 in Fbyte_code (bytestr=947317380, vector=1213379008, maxdepth=4)
    at bytecode.c:716
#27 0x811cc28 in funcall_lambda (fun=1216261696, nargs=1, 
    arg_vector=0xbfbfd0ac) at eval.c:2851
#28 0x811c859 in Ffuncall (nargs=2, args=0xbfbfd0a8) at eval.c:2716
#29 0x811c490 in call1 (fn=1216261696, arg1=417575708) at eval.c:2456
#30 0x812f7d6 in mapatoms_1 (sym=417575708, function=1216261696)
    at lread.c:3142
#31 0x812f79e in map_obarray (obarray=1213200384, fn=0x812f7c8 <mapatoms_1>, 
    arg=1216261696) at lread.c:3130
#32 0x812f7ff in Fmapatoms (function=1216261696, obarray=1213200384)
    at lread.c:3154
#33 0x811c74a in Ffuncall (nargs=3, args=0xbfbfd134) at eval.c:2662
#34 0x8141d75 in Fbyte_code (bytestr=947317364, vector=1213378880, maxdepth=3)
    at bytecode.c:716
#35 0x811cc28 in funcall_lambda (fun=1216261664, nargs=0, 
    arg_vector=0xbfbfd204) at eval.c:2851
#36 0x811c859 in Ffuncall (nargs=1, args=0xbfbfd200) at eval.c:2716
#37 0x8141d75 in Fbyte_code (bytestr=950657428, vector=1213228544, maxdepth=5)
    at bytecode.c:716
#38 0x811cc28 in funcall_lambda (fun=1219090368, nargs=0, 
    arg_vector=0xbfbfd2d8) at eval.c:2851
#39 0x811c859 in Ffuncall (nargs=1, args=0xbfbfd2d4) at eval.c:2716
#40 0x8141d75 in Fbyte_code (bytestr=947431684, vector=1210775552, maxdepth=7)
    at bytecode.c:716
#41 0x811cc28 in funcall_lambda (fun=1215841920, nargs=1, 
    arg_vector=0xbfbfd370) at eval.c:2851
#42 0x811c9a7 in apply_lambda (fun=1215841920, args=1485013812, eval_flag=1)
    at eval.c:2770
#43 0x811bf3f in Feval (form=1485013804) at eval.c:2071
#44 0x811a0a8 in Fprogn (args=1485013492) at eval.c:431
#45 0x811cbd3 in funcall_lambda (fun=1485013828, nargs=0, 
    arg_vector=0xbfbfd4a8) at eval.c:2844
#46 0x811c9a7 in apply_lambda (fun=1485013828, args=405158916, eval_flag=1)
    at eval.c:2770
#47 0x811bf3f in Feval (form=1485016292) at eval.c:2071
#48 0x811a0a8 in Fprogn (args=1485016228) at eval.c:431
#49 0x8113bae in Fsave_excursion (args=1485016228) at editfns.c:902
#50 0x811bdbf in Feval (form=1485013988) at eval.c:2013
---Type <return> to continue, or q <return> to quit---
#51 0x811a0a8 in Fprogn (args=1485013964) at eval.c:431
#52 0x811cbd3 in funcall_lambda (fun=1485016316, nargs=0, 
    arg_vector=0xbfbfd700) at eval.c:2844
#53 0x811c859 in Ffuncall (nargs=1, args=0xbfbfd6fc) at eval.c:2716
#54 0x811c45f in apply1 (fn=408203868, arg=405158916) at eval.c:2412
#55 0x8118acc in Fcall_interactively (function=408203868, 
    record_flag=405158916, keys=1218406912) at callint.c:367
#56 0x80d6dba in Fcommand_execute (cmd=408203868, record_flag=405158916, 
    keys=405158916, special=405158916) at keyboard.c:9221
#57 0x80ce10e in command_loop_1 () at keyboard.c:1644
#58 0x811aeee in internal_condition_case (bfun=0x80cd640 <command_loop_1>, 
    handlers=405280964, hfun=0x80cd2e4 <cmd_error>) at eval.c:1267
#59 0x80cd549 in command_loop_2 () at keyboard.c:1245
#60 0x811ab7f in internal_catch (tag=405233316, 
    func=0x80cd530 <command_loop_2>, arg=405158916) at eval.c:1030
#61 0x80cd504 in command_loop () at keyboard.c:1224
#62 0x80cd0e1 in recursive_edit_1 () at keyboard.c:950
#63 0x80cd1ed in Frecursive_edit () at keyboard.c:1006
#64 0x80cc2d4 in main (argc=4, argv=0xbfbfdb34, envp=0xbfbfdb48)
    at emacs.c:1547
#65 0x804eb7d in ___start ()
(gdb) 




reply via email to

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