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

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

core dump triggered by garbage collection (?)


From: Mark McAuliffe
Subject: core dump triggered by garbage collection (?)
Date: Thu, 28 Aug 2003 10:16:20 -0700

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-07-11 on oscar
configured using `configure  --prefix=/usr/local.oscar/emacs-21.3'
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: en_US.iso885915
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: t

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

I have encountered an emacs core dump multiple times, usually, but not
always, when reading mail with VM.  Beyond that, I don't have a lot of
information on what triggers the bug -- it seems completely unpredictable.
I have two core files from two different instances of the crash.  They have
similar, but not identical, stacks.  In both cases, though, it looks like
emacs was doing gc at the time of the crash.

The first stack is:

======== stack from core.23404 ========

#0  0x42029331 in kill () from /lib/i686/libc.so.6
#1  0x080ced5c in fatal_error_signal (sig=6) at emacs.c:354
#2  <signal handler called>
#3  0x42029331 in kill () from /lib/i686/libc.so.6
#4  0x080ced7a in abort () at emacs.c:387
#5  0x08121bb4 in Fsignal (error_symbol=405365612, data=1478979276)
    at eval.c:1387
#6  0x0808afa9 in Fcheck_coding_system (coding_system=406034828)
    at coding.c:6224
#7  0x0808bb16 in code_convert_string_norecord (string=954907492, 
    coding_system=406034828, encodep=1) at coding.c:6650
#8  0x080f7f3b in Fwrite_region (start=1, end=4310720, filename=954907492, 
    append=405197180, visit=405293428, lockname=954907492, mustbenew=405197180)
    at fileio.c:4787
#9  0x080f8ce3 in auto_save_1 () at fileio.c:5447
#10 0x0812197e in internal_condition_case (bfun=0x80f8c60 <auto_save_1>, 
    handlers=405197228, hfun=0x80f8bac <auto_save_error>) at eval.c:1267
#11 0x080f90fc in Fdo_auto_save (no_message=405197228, current_only=405197180)
    at fileio.c:5634
#12 0x080d030e in shut_down_emacs (sig=11, no_x=0, stuff=405197180)
    at emacs.c:1883
#13 0x080ced09 in fatal_error_signal (sig=11) at emacs.c:341
#14 <signal handler called>
#15 0x4207afcc in chunk_free () from /lib/i686/libc.so.6
#16 0x4207ad24 in free () from /lib/i686/libc.so.6
#17 0x0810f087 in emacs_blocked_free (ptr=0x8be41b0) at alloc.c:688
#18 0x4207ac9d in free () from /lib/i686/libc.so.6
#19 0x0810f00e in lisp_free (block=0x8be41b0) at alloc.c:630
#20 0x081130dc in gc_sweep () at alloc.c:5270
#21 0x08111da6 in Fgarbage_collect () at alloc.c:4194
#22 0x0812324a in Ffuncall (nargs=3, args=0xbfffec70) at eval.c:2599
#23 0x0814960c in Fbyte_code (bytestr=945031748, vector=1213476688, maxdepth=3)
    at bytecode.c:716
#24 0x081239d2 in funcall_lambda (fun=1213476840, nargs=0, 
    arg_vector=0xbfffed84) at eval.c:2851
#25 0x081234e8 in Ffuncall (nargs=1, args=0xbfffed80) at eval.c:2707
#26 0x0814960c in Fbyte_code (bytestr=945473388, vector=1213929776, maxdepth=6)
    at bytecode.c:716
#27 0x081239d2 in funcall_lambda (fun=1213808272, nargs=0, 
    arg_vector=0xbfffeea4) at eval.c:2851
#28 0x081234e8 in Ffuncall (nargs=1, args=0xbfffeea0) at eval.c:2707
#29 0x0814960c in Fbyte_code (bytestr=945473244, vector=1213929512, maxdepth=5)
    at bytecode.c:716
#30 0x081239d2 in funcall_lambda (fun=1213813456, nargs=0, 
    arg_vector=0xbfffefc4) at eval.c:2851
#31 0x081234e8 in Ffuncall (nargs=1, args=0xbfffefc0) at eval.c:2707
#32 0x0814960c in Fbyte_code (bytestr=945383564, vector=1213902360, maxdepth=6)
    at bytecode.c:716
#33 0x081239d2 in funcall_lambda (fun=1213839464, nargs=3, 
    arg_vector=0xbffff114) at eval.c:2851
#34 0x081234e8 in Ffuncall (nargs=4, args=0xbffff110) at eval.c:2707
#35 0x0812023f in Fcall_interactively (function=408098700, 
    record_flag=405197180, keys=1210562296) at callint.c:797
#36 0x080dae16 in Fcommand_execute (cmd=-1739384948, record_flag=405197180, 
    keys=405197180, special=405197180) at keyboard.c:9250
#37 0x080d1eb8 in command_loop_1 () at keyboard.c:1661
#38 0x0812197e in internal_condition_case (bfun=0x80d1340 <command_loop_1>, 
    handlers=405293524, hfun=0x80d0f74 <cmd_error>) at eval.c:1267
#39 0x080d1216 in command_loop_2 () at keyboard.c:1245
#40 0x0812153f in internal_catch (tag=405255108, 
    func=0x80d11f8 <command_loop_2>, arg=405197180) at eval.c:1030
#41 0x080d11a4 in command_loop () at keyboard.c:1224
#42 0x080d0d56 in recursive_edit_1 () at keyboard.c:950
#43 0x080d0e6f in Frecursive_edit () at keyboard.c:1006
#44 0x080cfe3f in main (argc=1, argv=0xbffff8a4, envp=0xbffff8ac)
    at emacs.c:1547
#45 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

======== end stack from core.23404 ========


The other stack is:

======== stack from core.24594 ========

#0  0x42029331 in kill () from /lib/i686/libc.so.6
#1  0x080ced5c in fatal_error_signal (sig=6) at emacs.c:354
#2  <signal handler called>
#3  0x42029331 in kill () from /lib/i686/libc.so.6
#4  0x080ced7a in abort () at emacs.c:387
#5  0x08121bb4 in Fsignal (error_symbol=405293572, data=1509656020)
    at eval.c:1387
#6  0x0811360a in wrong_type_argument (predicate=405293980, value=405365444)
    at data.c:119
#7  0x0812984a in Fplist_get (plist=-668454820, prop=405365444) at fns.c:1884
#8  0x0808ae4b in Fcoding_system_p (obj=406034828) at coding.c:6175
#9  0x0808af79 in Fcheck_coding_system (coding_system=406034828)
    at coding.c:6221
#10 0x0808bb16 in code_convert_string_norecord (string=965578404, 
    coding_system=406034828, encodep=1) at coding.c:6650
#11 0x080f7f3b in Fwrite_region (start=1, end=4587138, filename=965578404, 
    append=405197180, visit=405293428, lockname=965578404, mustbenew=405197180)
    at fileio.c:4787
#12 0x080f8ce3 in auto_save_1 () at fileio.c:5447
#13 0x0812197e in internal_condition_case (bfun=0x80f8c60 <auto_save_1>, 
    handlers=405197228, hfun=0x80f8bac <auto_save_error>) at eval.c:1267
#14 0x080f90fc in Fdo_auto_save (no_message=405197228, current_only=405197180)
    at fileio.c:5634
#15 0x080d030e in shut_down_emacs (sig=11, no_x=0, stuff=405197180)
    at emacs.c:1883
#16 0x080ced09 in fatal_error_signal (sig=11) at emacs.c:341
#17 <signal handler called>
#18 compact_small_strings () at alloc.c:1610
#19 0x08112b27 in gc_sweep () at alloc.c:4928
#20 0x08111da6 in Fgarbage_collect () at alloc.c:4194
#21 0x081493e5 in Fbyte_code (bytestr=944646156, vector=1213282216, maxdepth=9)
    at bytecode.c:542
#22 0x081239d2 in funcall_lambda (fun=1213086368, nargs=3, 
    arg_vector=0xbfffccc4) at eval.c:2851
#23 0x081234e8 in Ffuncall (nargs=4, args=0xbfffccc0) at eval.c:2707
#24 0x0814960c in Fbyte_code (bytestr=944655732, vector=1214625952, maxdepth=6)
    at bytecode.c:716
#25 0x081239d2 in funcall_lambda (fun=1213069168, nargs=3, 
    arg_vector=0xbfffcde4) at eval.c:2851
#26 0x081234e8 in Ffuncall (nargs=4, args=0xbfffcde0) at eval.c:2707
#27 0x0814960c in Fbyte_code (bytestr=944637572, vector=1214805168, maxdepth=4)
    at bytecode.c:716
#28 0x081239d2 in funcall_lambda (fun=1215482968, nargs=2, 
    arg_vector=0xbfffcfe8) at eval.c:2851
#29 0x081234e8 in Ffuncall (nargs=3, args=0xbfffcfe4) at eval.c:2707
#30 0x08122fb2 in run_hook_with_args (nargs=3, args=0xbfffcfe4, 
    cond=to_completion) at eval.c:2330
#31 0x08122e53 in Frun_hook_with_args (nargs=3, args=0xbfffcfe4) at eval.c:2223
#32 0x0812338a in Ffuncall (nargs=4, args=0xbfffcfe0) at eval.c:2640
#33 0x0814960c in Fbyte_code (bytestr=947271404, vector=1214773944, maxdepth=8)
    at bytecode.c:716
#34 0x081239d2 in funcall_lambda (fun=1214774128, nargs=2, 
    arg_vector=0xbfffd104) at eval.c:2851
#35 0x081234e8 in Ffuncall (nargs=3, args=0xbfffd100) at eval.c:2707
#36 0x0814960c in Fbyte_code (bytestr=947271484, vector=1215069808, maxdepth=7)
    at bytecode.c:716
#37 0x081239d2 in funcall_lambda (fun=1214645336, nargs=0, 
    arg_vector=0xbfffd2e8) at eval.c:2851
#38 0x081234e8 in Ffuncall (nargs=1, args=0xbfffd2e4) at eval.c:2707
#39 0x08122cb4 in Fapply (nargs=2, args=0xbfffd2e4) at eval.c:2114
#40 0x0812338a in Ffuncall (nargs=3, args=0xbfffd2e0) at eval.c:2640
#41 0x0814960c in Fbyte_code (bytestr=941671720, vector=1210107212, maxdepth=4)
    at bytecode.c:716
#42 0x08122a55 in Feval (form=1478542616) at eval.c:2019
#43 0x08121895 in Fcondition_case (args=1509879652) at eval.c:1211
#44 0x08149aca in Fbyte_code (bytestr=941671480, vector=1210107060, maxdepth=5)
    at bytecode.c:898
#45 0x081239d2 in funcall_lambda (fun=1210106900, nargs=1, 
    arg_vector=0xbfffd674) at eval.c:2851
#46 0x081234e8 in Ffuncall (nargs=2, args=0xbfffd670) at eval.c:2707
#47 0x0812316a in call1 (fn=-1742231988, arg1=-934492280) at eval.c:2456
#48 0x080d509a in timer_check (do_it_now=1) at keyboard.c:4103
#49 0x080d3fca in readable_events (do_timers_now=1) at keyboard.c:3181
#50 0x080d6c3f in get_input_pending (addr=0x8265624, do_timers_now=1)
    at keyboard.c:6052
#51 0x080db376 in detect_input_pending_run_timers (do_display=1)
    at keyboard.c:9473
#52 0x0814d64e in wait_reading_process_input (time_limit=30, microsecs=0, 
    read_kbd=268435455, do_display=1) at process.c:2687
#53 0x08056c3a in sit_for (sec=30, usec=0, reading=1, display=1, 
    initial_display=0) at dispnew.c:6240
#54 0x080d2fb8 in read_char (commandflag=1, nmaps=2, maps=0xbfffdb20, 
    prev_event=405197180, used_mouse_menu=0xbfffdb58) at keyboard.c:2518
#55 0x080d95c8 in read_key_sequence (keybuf=0xbfffdc80, bufsize=30, 
    prompt=405197180, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:8209
#56 0x080d163f in command_loop_1 () at keyboard.c:1451
#57 0x0812197e in internal_condition_case (bfun=0x80d1340 <command_loop_1>, 
    handlers=405293524, hfun=0x80d0f74 <cmd_error>) at eval.c:1267
#58 0x080d1216 in command_loop_2 () at keyboard.c:1245
#59 0x0812153f in internal_catch (tag=405255108, 
    func=0x80d11f8 <command_loop_2>, arg=405197180) at eval.c:1030
#60 0x080d11a4 in command_loop () at keyboard.c:1224
#61 0x080d0d56 in recursive_edit_1 () at keyboard.c:950
#62 0x080d0e6f in Frecursive_edit () at keyboard.c:1006
#63 0x080cfe3f in main (argc=1, argv=0xbfffe244, envp=0xbfffe24c)
    at emacs.c:1547
#64 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

======== end stack from core.24594 ========


I will hold onto the core files in case anyone would like to see them.  I'm
sorry I cannot be more specific about what triggers the bug, but hopefully
the core files contain enough info to figure out what causes this.

- Mark


Recent input:
o g W r i t e <return> <S-right> <down> <down> <down> 
<down> <down> <down> <down> <down> <M-right> <right> 
<right> <right> M-. <return> <S-right> <S-right> <S-right> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <right> <right> <right> <right> M-. <return> 
M-x e m a c s - v e r <tab> <return> M-x e m a c s 
- b <tab> <M-backspace> <M-backspace> r e p <tab> <tab> 
o <tab> r t <tab> <return>

Recent messages:
Loading cc-mode...done
Loading font-lock...
Loading regexp-opt...done
Loading font-lock...done
Mark set [4 times]
GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 
2003-07-11 on oscar
Making completion list...
Loading view...done
Making completion list...
Loading emacsbug...done





reply via email to

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