all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 21.3 on NetBSD/i386 crash deep in gc_seep()
@ 2003-08-29 22:01 Greg A. Woods
  2003-09-01  2:22 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Greg A. Woods @ 2003-08-29 22:01 UTC (permalink / raw)


In GNU Emacs 21.3.1 (i386--netbsdelf, X toolkit)
 of 2003-08-27 on proven
configured using `configure  --with-x --with-x-toolkit=athena --srcdir=/var/package-obj/editors/emacs/work/emacs-21.3 --with-xpm --with-jpeg --with-tiff --with-gif --with-png --disable-shared --enable-static --host=i386--netbsdelf --prefix=/usr/pkg --disable-dependency-tracking --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib'
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 was sitting unattended when suddenly the window
disappeard from my screen.

Unfortunately my session file was zero bytes after the crash.  Hopefully
it didn't corrupt any of the auto-save files as well.

The interesting part seems to be down around frame #17

$ gdb /usr/pkg/bin/emacs emacs.core
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"...
Core was generated by `emacs'.
Program terminated with signal 6, Abort trap.
#0  0x827823f in kill ()
(gdb) trace
trace command requires an argument
(gdb) where
#0  0x827823f in kill ()
#1  0x80c4d31 in fatal_error_signal (sig=6) at emacs.c:354
#2  0xbfbfdfdc in ?? ()
#3  0x8114bc4 in Fsignal (error_symbol=406833420, data=1493369260)
    at eval.c:1387
#4  0x81071ff in wrong_type_argument (predicate=406833828, value=406903340)
    at data.c:119
#5  0x811bd26 in Fplist_get (plist=-666695500, prop=406903340) at fns.c:1884
#6  0x811bd69 in Fget (symbol=407106972, propname=406903340) at fns.c:1896
#7  0x80838bc in Fcoding_system_p (obj=407106972) at coding.c:6175
#8  0x80839c2 in Fcheck_coding_system (coding_system=407106972)
    at coding.c:6221
#9  0x8084511 in code_convert_string_norecord (string=950296132, 
    coding_system=407106972, encodep=1) at coding.c:6650
#10 0x80ec211 in Fwrite_region (start=1, end=1530880, filename=950296132, 
    append=406711300, visit=406833276, lockname=950296132, mustbenew=406711300)
    at fileio.c:4787
#11 0x80ecf63 in auto_save_1 () at fileio.c:5444
#12 0x81149d6 in internal_condition_case (bfun=0x80ecef4 <auto_save_1>, 
    handlers=406711348, hfun=0x80ece4c <auto_save_error>) at eval.c:1267
#13 0x80ed382 in Fdo_auto_save (no_message=406711348, current_only=406711300)
    at fileio.c:5634
#14 0x80c610a in shut_down_emacs (sig=11, no_x=0, stuff=406711300)
    at emacs.c:1883
#15 0x80c4cbb in fatal_error_signal (sig=11) at emacs.c:341
#16 0xbfbfdfdc in ?? ()
#17 0x81037c2 in compact_small_strings () at alloc.c:1635
#18 0x81036e5 in sweep_strings () at alloc.c:1542
#19 0x81066fb in gc_sweep () at alloc.c:4928
#20 0x8105ab9 in Fgarbage_collect () at alloc.c:4194
#21 0x813ba21 in Fbyte_code (bytestr=946813732, vector=1214625280, maxdepth=9)
    at bytecode.c:751
#22 0x8116710 in funcall_lambda (fun=1214102688, nargs=3, 
    arg_vector=0xbfbfcdac) at eval.c:2851
#23 0x8116341 in Ffuncall (nargs=4, args=0xbfbfcda8) at eval.c:2716
#24 0x813b999 in Fbyte_code (bytestr=946812964, vector=1214626048, maxdepth=6)
    at bytecode.c:716
#25 0x8116710 in funcall_lambda (fun=1214171008, nargs=3, 
    arg_vector=0xbfbfce84) at eval.c:2851
#26 0x8116341 in Ffuncall (nargs=4, args=0xbfbfce80) at eval.c:2716
---Type <return> to continue, or q <return> to quit--- 
#27 0x813b999 in Fbyte_code (bytestr=946811732, vector=1214171936, maxdepth=4)
    at bytecode.c:716
#28 0x8116710 in funcall_lambda (fun=1214171872, nargs=2, 
    arg_vector=0xbfbfcff4) at eval.c:2851
#29 0x8116341 in Ffuncall (nargs=3, args=0xbfbfcff0) at eval.c:2716
#30 0x8115e30 in run_hook_with_args (nargs=3, args=0xbfbfcff0, 
    cond=to_completion) at eval.c:2330
#31 0x8115cc8 in Frun_hook_with_args (nargs=3, args=0xbfbfcff0) at eval.c:2223
#32 0x8116232 in Ffuncall (nargs=4, args=0xbfbfcfec) at eval.c:2662
#33 0x813b999 in Fbyte_code (bytestr=946862676, vector=1214569088, maxdepth=8)
    at bytecode.c:716
#34 0x8116710 in funcall_lambda (fun=1214138880, nargs=2, 
    arg_vector=0xbfbfd0d0) at eval.c:2851
#35 0x8116341 in Ffuncall (nargs=3, args=0xbfbfd0cc) at eval.c:2716
#36 0x813b999 in Fbyte_code (bytestr=946862772, vector=1215302400, maxdepth=7)
    at bytecode.c:716
#37 0x8116710 in funcall_lambda (fun=1214138592, nargs=0, 
    arg_vector=0xbfbfd228) at eval.c:2851
#38 0x8116341 in Ffuncall (nargs=1, args=0xbfbfd224) at eval.c:2716
#39 0x8115c6d in Fapply (nargs=2, args=0xbfbfd224) at eval.c:2169
#40 0x8116232 in Ffuncall (nargs=3, args=0xbfbfd220) at eval.c:2662
#41 0x813b999 in Fbyte_code (bytestr=943103892, vector=1211539384, maxdepth=4)
    at bytecode.c:716
#42 0x81158d9 in Feval (form=1479974788) at eval.c:2019
#43 0x811491a in Fcondition_case (args=1493076532) at eval.c:1211
#44 0x813be05 in Fbyte_code (bytestr=943103652, vector=1211539232, maxdepth=5)
    at bytecode.c:898
#45 0x8116710 in funcall_lambda (fun=1211539072, nargs=1, 
    arg_vector=0xbfbfd494) at eval.c:2851
#46 0x8116341 in Ffuncall (nargs=2, args=0xbfbfd490) at eval.c:2716
#47 0x8115f78 in call1 (fn=-1740703116, arg1=-930762048) at eval.c:2456
#48 0x80caa40 in timer_check (do_it_now=1) at keyboard.c:4103
#49 0x80c9a53 in readable_events (do_timers_now=1) at keyboard.c:3181
#50 0x80cc7e5 in get_input_pending (addr=0x83d48c4, do_timers_now=1)
    at keyboard.c:6052
#51 0x80d0cf5 in detect_input_pending_run_timers (do_display=1)
    at keyboard.c:9473
#52 0x813f401 in wait_reading_process_input (time_limit=300, microsecs=0, 
    read_kbd=268435455, do_display=1) at process.c:2687
#53 0x804fedd in sit_for (sec=300, usec=0, reading=1, display=1, 
---Type <return> to continue, or q <return> to quit---
    initial_display=0) at dispnew.c:6240
#54 0x80c8b0d in read_char (commandflag=1, nmaps=3, maps=0xbfbfd754, 
    prev_event=406711300, used_mouse_menu=0xbfbfd798) at keyboard.c:2518
#55 0x80cf00c in read_key_sequence (keybuf=0xbfbfd890, bufsize=30, 
    prompt=406711300, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:8209
#56 0x80c72da in command_loop_1 () at keyboard.c:1451
#57 0x81149d6 in internal_condition_case (bfun=0x80c7014 <command_loop_1>, 
    handlers=406833372, hfun=0x80c6cac <cmd_error>) at eval.c:1267
#58 0x80c6f11 in command_loop_2 () at keyboard.c:1245
#59 0x8114667 in internal_catch (tag=406785700, 
    func=0x80c6ef8 <command_loop_2>, arg=406711300) at eval.c:1030
#60 0x80c6ecc in command_loop () at keyboard.c:1224
#61 0x80c6aa9 in recursive_edit_1 () at keyboard.c:950
#62 0x80c6bb5 in Frecursive_edit () at keyboard.c:1006
#63 0x80c5c60 in main (argc=4, argv=0xbfbfdb30, envp=0xbfbfdb44)
    at emacs.c:1547
#64 0x80481e5 in ___start ()
(gdb) frame 17
#17 0x81037c2 in compact_small_strings () at alloc.c:1635
alloc.c:1635: No such file or directory.
(gdb) info locals
nbytes = 0
b = (struct sblock *) 0x9296000
tb = (struct sblock *) 0x98bd95c
next = (struct sblock *) 0x11e012c4
from = (struct sdata *) 0x5
to = (struct sdata *) 0x98c2000
end = (struct sdata *) 0x9297ff8
tb_end = (struct sdata *) 0x9293ffc
to_end = (struct sdata *) 0x11e012c4
from_end = (struct sdata *) 0x11e05968
(gdb) print current_sblock
$1 = (struct sblock *) 0x83dc000
(gdb) print *current_sblock
$2 = {next = 0x0, next_free = 0x83dc030, first_data = {string = 0x909bfd4, 
    u = {data = " ", nbytes = 1869768224}}}
(gdb) print *b
$3 = {next = 0x2, next_free = 0x2, first_data = {string = 0x868ef4c, u = {
      data = "\224", nbytes = 149320596}}}
(gdb) 


-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 21.3 on NetBSD/i386 crash deep in gc_seep()
  2003-08-29 22:01 21.3 on NetBSD/i386 crash deep in gc_seep() Greg A. Woods
@ 2003-09-01  2:22 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2003-09-01  2:22 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Can you debug any of the data in these frames

    #16 0xbfbfdfdc in ?? ()
    #17 0x81037c2 in compact_small_strings () at alloc.c:1635
    #18 0x81036e5 in sweep_strings () at alloc.c:1542
    #19 0x81066fb in gc_sweep () at alloc.c:4928

to try to find the inconsistency in the data that caused the crash?
If you can identify what the data is, we might be able to find
what created the inconsistency.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-01  2:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-29 22:01 21.3 on NetBSD/i386 crash deep in gc_seep() Greg A. Woods
2003-09-01  2:22 ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.