[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
segmentation fault running keyboard macro
From: |
Chris Moore |
Subject: |
segmentation fault running keyboard macro |
Date: |
Tue, 4 May 2004 00:19:31 +0200 |
Chris Moore writes:
> I just received around 1000 emails from a 'bugzilla' program. I
> wanted to file them all to a folder, so I recorded a keyboard macro
> to find one message and save it to a folder (I use VM). I typed
> C-x e and then held 'e' for a bit. Emacs crashed, as follows:
After this crash I updates my Emacs sources from CVS and recompiled.
I then tried again to file the new messages, again using a keyboard
macro. I carefully hit "C-x e", which worked. I then hit 'e' a few
more times, slowly, and it filed a few more messages correctly. I
then held the 'e' key for a second to file a bunch more and again
Emacs crashed. This time the backtrace looked like this:
Perhaps 'safe_bcopy()' needs to be renamed?
Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---
0x4038fe85 in bcopy () from /lib/tls/libc.so.6
(gdb) where
#0 0x4038fe85 in bcopy () from /lib/tls/libc.so.6
#1 0x08050004 in safe_bcopy (from=0x8d35490 "\370\\\302\b",
to=0x1195b180 <Address 0x1195b180 out of bounds>, size=146955504)
at dispnew.c:484
#2 0x081353ff in compact_small_strings () at alloc.c:1871
#3 0x08138333 in gc_sweep () at alloc.c:5208
#4 0x08137485 in Fgarbage_collect () at alloc.c:4522
#5 0x0814ca84 in Ffuncall (nargs=4, args=0xbfffe2c0) at eval.c:2666
#6 0x08179a31 in Fbyte_code (bytestr=1753170808, vector=-2005693456,
maxdepth=4) at bytecode.c:689
#7 0x0814cf9b in funcall_lambda (fun=-2004920272, nargs=22,
arg_vector=0xbfffe3d4) at eval.c:2913
#8 0x0814ca55 in Ffuncall (nargs=23, args=0xbfffe3d0) at eval.c:2783
#9 0x08179a31 in Fbyte_code (bytestr=1753380848, vector=-2004713872,
maxdepth=24) at bytecode.c:689
#10 0x0814cf9b in funcall_lambda (fun=-2004713568, nargs=0,
arg_vector=0xbfffe534) at eval.c:2913
#11 0x0814ca55 in Ffuncall (nargs=1, args=0xbfffe530) at eval.c:2783
#12 0x08179a31 in Fbyte_code (bytestr=1753380896, vector=-2004713504,
maxdepth=4) at bytecode.c:689
#13 0x0814cf9b in funcall_lambda (fun=-2004713336, nargs=1,
arg_vector=0xbfffe664) at eval.c:2913
#14 0x0814ca55 in Ffuncall (nargs=2, args=0xbfffe660) at eval.c:2783
#15 0x0814c808 in call1 (fn=-2004713336, arg1=685604808) at eval.c:2520
#16 0x081645c1 in map_obarray (obarray=-2006765776, fn=0x81645d0 <mapatoms_1>,
arg=-2004713336) at lread.c:3331
#17 0x0816461b in Fmapatoms (function=-2004713336, obarray=-2006765776)
at lread.c:3355
#18 0x0814cbf3 in Ffuncall (nargs=3, args=0xbfffe720) at eval.c:2737
#19 0x08179a31 in Fbyte_code (bytestr=1753380880, vector=-2004713272,
maxdepth=3) at bytecode.c:689
#20 0x0814cf9b in funcall_lambda (fun=-2004713120, nargs=0,
arg_vector=0xbfffe834) at eval.c:2913
#21 0x0814ca55 in Ffuncall (nargs=1, args=0xbfffe830) at eval.c:2783
#22 0x08179a31 in Fbyte_code (bytestr=1754783160, vector=-2003301776,
maxdepth=8) at bytecode.c:689
#23 0x0814cf9b in funcall_lambda (fun=-2003301184, nargs=2,
arg_vector=0xbfffe954) at eval.c:2913
#24 0x0814ca55 in Ffuncall (nargs=3, args=0xbfffe950) at eval.c:2783
#25 0x0814c3aa in Fapply (nargs=2, args=0xbfffe9d0) at eval.c:2179
#26 0x0814c7b4 in apply1 (fn=677554536, arg=-1461850000) at eval.c:2487
#27 0x081485a8 in Fcall_interactively (function=677554536,
record_flag=675151888, keys=-2009145824) at callint.c:406
#28 0x080f6f4b in Fcommand_execute (cmd=677554536, record_flag=675151888,
keys=675151888, special=675151888) at keyboard.c:9670
#29 0x080ebac1 in command_loop_1 () at keyboard.c:1727
#30 0x080f9d81 in Fexecute_kbd_macro (macro=-2001621736, count=675151888,
loopfunc=683170656) at macros.c:355
#31 0x080f9bed in Fcall_last_kbd_macro (prefix=675151888, loopfunc=683170656)
at macros.c:278
#32 0x0814cbf3 in Ffuncall (nargs=3, args=0xbfffed20) at eval.c:2737
#33 0x08179a31 in Fbyte_code (bytestr=1756470456, vector=-2001765656,
maxdepth=7) at bytecode.c:689
#34 0x0814cf9b in funcall_lambda (fun=-2003120136, nargs=2,
arg_vector=0xbfffee44) at eval.c:2913
#35 0x0814ca55 in Ffuncall (nargs=3, args=0xbfffee40) at eval.c:2783
#36 0x08179a31 in Fbyte_code (bytestr=1756468112, vector=-2001810280,
maxdepth=3) at bytecode.c:689
#37 0x0814cf9b in funcall_lambda (fun=-2001252376, nargs=1,
arg_vector=0xbfffef84) at eval.c:2913
#38 0x0814ca55 in Ffuncall (nargs=2, args=0xbfffef80) at eval.c:2783
#39 0x08148906 in Fcall_interactively (function=675898280,
record_flag=675151888, keys=-2009145824) at callint.c:862
#40 0x080f6f4b in Fcommand_execute (cmd=675898280, record_flag=675151888,
keys=675151888, special=675151888) at keyboard.c:9670
#41 0x080ebac1 in command_loop_1 () at keyboard.c:1727
#42 0x0814aefd in internal_condition_case (bfun=0x80eb710 <command_loop_1>,
handlers=675212800, hfun=0x80eb2d0 <cmd_error>) at eval.c:1333
#43 0x080eb5bb in command_loop_2 () at keyboard.c:1264
#44 0x0814aa5a in internal_catch (tag=675206816,
func=0x80eb5a0 <command_loop_2>, arg=675151888) at eval.c:1094
#45 0x080eb571 in command_loop () at keyboard.c:1243
#46 0x080eb032 in recursive_edit_1 () at keyboard.c:959
#47 0x080eb16f in Frecursive_edit () at keyboard.c:1015
#48 0x080e98ff in main (argc=3, argv=0xbffff774) at emacs.c:1692
(gdb)
Chris.