Subject: bug#9723: 24.0.50; Emacs Clipboard crash

From: Joseph Jones <[email-masked]>
Date: Wed, 26 Oct 2011 20:26:59 -0700

Well, it was a nice dream...

Program received signal SIGSEGV, Segmentation fault.
0x010e0061 in exec_byte_code (bytestr=59862065, vector=59899269, maxdepth=16, args_template=54736922, nargs=0, args=0x0)
    at bytecode.c:1827
1827    bytecode.c: No such file or directory.
        in bytecode.c
(gdb) i threads
  52 Thread 5948.0xec0  0x7d61c876 in ?? ()
  4 Thread 5948.0x2fb8  0x7d61c846 in ?? ()
  3 Thread 5948.0x3dd4  0x7d65b878 in ?? ()
* 1 Thread 5948.0x2738  0x010e0061 in exec_byte_code (bytestr=59862065, vector=59899269, maxdepth=16, args_template=54736922,
    nargs=0, args=0x0) at bytecode.c:1827
(gdb) bt
#0  0x010e0061 in exec_byte_code (bytestr=59862065, vector=59899269, maxdepth=16, args_template=54736922, nargs=0, args=0x0)
    at bytecode.c:1827
#1  0x01037d02 in funcall_lambda (fun=58396229, nargs=3, arg_vector=0x343381a) at eval.c:3205
#2  0x010371a3 in Ffuncall (nargs=4, args=0x82ec2c) at eval.c:3023
#3  0x010df7f2 in exec_byte_code (bytestr=92197297, vector=59748357, maxdepth=88, args_template=54736922, nargs=0, args=0x0)
    at bytecode.c:785
#4  0x01037d02 in funcall_lambda (fun=58212581, nargs=6, arg_vector=0x343381a) at eval.c:3205
#5  0x010371a3 in Ffuncall (nargs=7, args=0x82ef70) at eval.c:3023
#6  0x010df7f2 in exec_byte_code (bytestr=92545665, vector=92501509, maxdepth=32, args_template=54736922, nargs=0, args=0x0)
    at bytecode.c:785
#7  0x01037d02 in funcall_lambda (fun=58209253, nargs=6, arg_vector=0x343381a) at eval.c:3205
#8  0x010371a3 in Ffuncall (nargs=7, args=0x82f280) at eval.c:3023
#9  0x010df7f2 in exec_byte_code (bytestr=92526641, vector=59858181, maxdepth=36, args_template=54736922, nargs=0, args=0x0)
    at bytecode.c:785
#10 0x01037d02 in funcall_lambda (fun=58211365, nargs=1, arg_vector=0x343381a) at eval.c:3205
#11 0x010371a3 in Ffuncall (nargs=2, args=0x82f5a0) at eval.c:3023
#12 0x010df7f2 in exec_byte_code (bytestr=92773889, vector=60704693, maxdepth=8, args_template=54736922, nargs=0, args=0x0)
    at bytecode.c:785
#13 0x01037d02 in funcall_lambda (fun=58377125, nargs=0, arg_vector=0x343381a) at eval.c:3205
#14 0x010371a3 in Ffuncall (nargs=1, args=0x82f8d0) at eval.c:3023
#15 0x01036246 in apply1 (fn=55597322, arg=54736922) at eval.c:2710
#16 0x010e259d in Fcall_interactively (function=55597322, record_flag=54736922, keys=101274117) at callint.c:379
#17 0x01036e78 in Ffuncall (nargs=4, args=0x82fb60) at eval.c:2981
#18 0x01036349 in call3 (fn=54857066, arg1=55597322, arg2=54736922, arg3=54736922) at eval.c:2774
#19 0x0101fa4b in Fcommand_execute (cmd=55597322, record_flag=54736922, keys=54736922, special=54736922) at keyboard.c:10280
#20 0x01006535 in command_loop_1 () at keyboard.c:1570
#21 0x01032d43 in internal_condition_case (bfun=0x10055f8 <command_loop_1>, handlers=54794650, hfun=0x1004e17 <cmd_error>)
    at eval.c:1499
#22 0x01005254 in command_loop_2 (ignore=54736922) at keyboard.c:1158
#23 0x01032766 in internal_catch (tag=54792674, func=0x1005230 <command_loop_2>, arg=54736922) at eval.c:1256
#24 0x01005210 in command_loop () at keyboard.c:1137
#25 0x010047ec in recursive_edit_1 () at keyboard.c:757
#26 0x01004b07 in Frecursive_edit () at keyboard.c:821
#27 0x01002834 in main (argc=1, argv=0xb02ef8) at emacs.c:1706
(gdb) thread 52
[Switching to thread 52 (Thread 5948.0xec0)]#0  0x7d61c876 in ?? ()
(gdb) bt
#0  0x7d61c876 in ?? ()
#1  0x77bc084a in putch () from C:\WINDOWS\syswow64\msvcrt.dll
#2  0x0000022c in ?? ()
#3  0x01630144 in child_procs ()
#4  0x00000001 in ?? ()
#5  0x6cbcfee0 in ?? ()
#6  0x77bc0a0d in read () from C:\WINDOWS\syswow64\msvcrt.dll
#7  0x00000004 in ?? ()
#8  0x01630144 in child_procs ()
#9  0x00000001 in ?? ()
#10 0x00000000 in ?? ()
(gdb) thread 4
[Switching to thread 4 (Thread 5948.0x2fb8)]#0  0x7d61c846 in ?? ()
(gdb) bt
#0  0x7d61c846 in ?? ()
#1  0x7d4d8c0d in RegisterWaitForInputIdle () from C:\WINDOWS\syswow64\kernel32.dll
#2  0x00000224 in ?? ()
#3  0xffffffff in ?? ()
#4  0x00000000 in ?? ()
(gdb) thread 3
[Switching to thread 3 (Thread 5948.0x3dd4)]#0  0x7d65b878 in ?? ()
(gdb) bt
#0  0x7d65b878 in ?? ()
#1  0x77bc641c in msvcrt!_global_unwind2 () from C:\WINDOWS\syswow64\msvcrt.dll
#2  0x77bc7e30 in msvcrt!longjmp () from C:\WINDOWS\syswow64\msvcrt.dll
#3  0x0344d152 in _Jv_RegisterClasses ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

-----Original Message-----
From: Eli Zaretskii [mailto:[email-masked]] 
Sent: Wednesday, October 26, 2011 11:16 AM
To: Joseph Jones
Cc: [email-masked]
Subject: Re: bug#9723: 24.0.50; Emacs Clipboard crash

> From: Joseph Jones <[email-masked]>
> CC: "[email-masked]" <[email-masked]>
> Date: Wed, 26 Oct 2011 09:42:23 -0700
> Accept-Language: en-US
> acceptlanguage: en-US
> 
> Not sure if this is good or bad news, but I have yet to hit a crash in that build of Emacs at all. Happy it's not crashing but I have no idea what the issue was and may never find out now. :-(
> 
> I'll run it in the debugger for a few more days and see if we get anything.

Thanks for the update.