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

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

Re: segmentation fault running keyboard macro


From: Chris Moore
Subject: Re: segmentation fault running keyboard macro
Date: Wed, 5 May 2004 18:40:33 +0200

Richard Stallman writes:

 > It is strange that XSync crashed.  The first question that occurs to
 > me is, what was the invalid address that caused the seg fault, and
 > where did it come from?
 > 
 > Was it really XSync, or is that a GDB confusion?

I just did the same operation again - defined a keyboard macro to
search a VM mailbox for a string and file a matching message, then
ran the keyboard macro (this time using "C-u - C-x e" to run the
macro over and over rather than holding "e" after "C-x e") and again
Emacs crashed.  It seems to be quite repeatable, but this time it
took around 5 minutes, and worked 500 times or so before the crash.
I can't find a way to get it to crash reliably.  This time the crash
was in bcopy() again, like the first time (see first message in this
thread).

Here's the new backtrace (from an Emacs built from the CVS trunk
around 42 hours ago):

#0  0x40390e85 in bcopy () from /lib/tls/libc.so.6
#1  0x081353ff in compact_small_strings () at alloc.c:1871
#2  0x08138333 in gc_sweep () at alloc.c:5208
#3  0x08137485 in Fgarbage_collect () at alloc.c:4522
#4  0x0817a0d5 in Fbyte_code (bytestr=1753160000, vector=-2006022648, 
    maxdepth=6) at bytecode.c:764
#5  0x0814cf9b in funcall_lambda (fun=-2006556296, nargs=1, 
    arg_vector=0xbfffe3c4) at eval.c:2913
#6  0x0814ca55 in Ffuncall (nargs=2, args=0xbfffe3c0) at eval.c:2783
#7  0x08179a31 in Fbyte_code (bytestr=1754175968, vector=-2003916528, 
    maxdepth=4) at bytecode.c:689
#8  0x0814cf9b in funcall_lambda (fun=-2003916328, nargs=1, 
    arg_vector=0xbfffe4d4) at eval.c:2913
#9  0x0814ca55 in Ffuncall (nargs=2, args=0xbfffe4d0) at eval.c:2783
#10 0x08179a31 in Fbyte_code (bytestr=1753025456, vector=-2003727056, 
    maxdepth=5) at bytecode.c:689
#11 0x0814cf9b in funcall_lambda (fun=-2003973992, nargs=0, 
    arg_vector=0xbfffe5f4) at eval.c:2913
#12 0x0814ca55 in Ffuncall (nargs=1, args=0xbfffe5f0) at eval.c:2783
#13 0x08179a31 in Fbyte_code (bytestr=1753973224, vector=-2004112864, 
    maxdepth=6) at bytecode.c:689
#14 0x0814cf9b in funcall_lambda (fun=-2004112608, nargs=3, 
    arg_vector=0xbfffe714) at eval.c:2913
#15 0x0814ca55 in Ffuncall (nargs=4, args=0xbfffe710) at eval.c:2783
#16 0x08179a31 in Fbyte_code (bytestr=1754389576, vector=-2003578248, 
    maxdepth=6) at bytecode.c:689
#17 0x0814cf9b in funcall_lambda (fun=-2005404584, nargs=1, 
    arg_vector=0xbfffe834) at eval.c:2913
#18 0x0814ca55 in Ffuncall (nargs=2, args=0xbfffe830) at eval.c:2783
#19 0x08179a31 in Fbyte_code (bytestr=1753027216, vector=-2005066432, 
    maxdepth=8) at bytecode.c:689
#20 0x0814cf9b in funcall_lambda (fun=-2004447520, nargs=2, 
    arg_vector=0xbfffe954) at eval.c:2913
#21 0x0814ca55 in Ffuncall (nargs=3, args=0xbfffe950) at eval.c:2783
#22 0x0814c3aa in Fapply (nargs=2, args=0xbfffe9d0) at eval.c:2179
#23 0x0814c7b4 in apply1 (fn=679172544, arg=-1460709656) at eval.c:2487
#24 0x081485a8 in Fcall_interactively (function=679172544, 
    record_flag=675151888, keys=-2009145824) at callint.c:406
#25 0x080f6f4b in Fcommand_execute (cmd=679172544, record_flag=675151888, 
    keys=675151888, special=675151888) at keyboard.c:9670
#26 0x080ebac1 in command_loop_1 () at keyboard.c:1727
#27 0x080f9d81 in Fexecute_kbd_macro (macro=-2000626000, count=675228880, 
    loopfunc=686473320) at macros.c:355
#28 0x080f9bed in Fcall_last_kbd_macro (prefix=675228880, loopfunc=686473320)
    at macros.c:278
#29 0x0814cbf3 in Ffuncall (nargs=3, args=0xbfffed20) at eval.c:2737
#30 0x08179a31 in Fbyte_code (bytestr=1759223104, vector=-1997858272, 
    maxdepth=7) at bytecode.c:689
#31 0x0814cf9b in funcall_lambda (fun=-1997858048, nargs=2, 
    arg_vector=0xbfffee44) at eval.c:2913
#32 0x0814ca55 in Ffuncall (nargs=3, args=0xbfffee40) at eval.c:2783
#33 0x08179a31 in Fbyte_code (bytestr=1759222848, vector=-1997857312, 
    maxdepth=3) at bytecode.c:689
#34 0x0814cf9b in funcall_lambda (fun=-1997857168, nargs=1, 
    arg_vector=0xbfffef84) at eval.c:2913
#35 0x0814ca55 in Ffuncall (nargs=2, args=0xbfffef80) at eval.c:2783
#36 0x08148906 in Fcall_interactively (function=675898280, 
    record_flag=675151888, keys=-2009145824) at callint.c:862
#37 0x080f6f4b in Fcommand_execute (cmd=675898280, record_flag=675151888, 
    keys=675151888, special=675151888) at keyboard.c:9670
#38 0x080ebac1 in command_loop_1 () at keyboard.c:1727
#39 0x0814aefd in internal_condition_case (bfun=0x80eb710 <command_loop_1>, 
    handlers=675212800, hfun=0x80eb2d0 <cmd_error>) at eval.c:1333
#40 0x080eb5bb in command_loop_2 () at keyboard.c:1264
#41 0x0814aa5a in internal_catch (tag=675206816, 
    func=0x80eb5a0 <command_loop_2>, arg=675151888) at eval.c:1094
#42 0x080eb571 in command_loop () at keyboard.c:1243
#43 0x080eb032 in recursive_edit_1 () at keyboard.c:959
#44 0x080eb16f in Frecursive_edit () at keyboard.c:1015
#45 0x080e98ff in main (argc=3, argv=0xbffff774) at emacs.c:1692

Chris.




reply via email to

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