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

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

bug#18420: 24.3; interaction with external process hangs emacs


From: Stephen Leake
Subject: bug#18420: 24.3; interaction with external process hangs emacs
Date: Mon, 08 Sep 2014 12:00:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt)

A few more data points:

- The hang occurs with emacs -Q

- The hang does not occur with Cygwin Emacs 23.4 (so I can debug the
  external process, at least :)

- I've built Emacs 23.3.93 pretest from source, with debugging
  information. The hang occurs there, and an attached debugger shows a
  full stack trace when it hangs:

(gdb) thread 1
[Switching to thread 1 (Thread 5552.0x864)]
#0  0x7709f93d in ntdll!ZwWriteFile () from C:\Windows\SysWOW64\ntdll.dll
(gdb) where
#0  0x7709f93d in ntdll!ZwWriteFile () from C:\Windows\SysWOW64\ntdll.dll
#1  0x755912cc in WriteFile () from C:\Windows\syswow64\kernel32.dll
#2  0x74b94035 in msvcrt!fprintf () from C:\Windows\syswow64\msvcrt.dll
#3  0x74b940eb in write () from C:\Windows\syswow64\msvcrt.dll
#4  0x01184f8f in sys_write (fd=<optimized out>, address@hidden, 
    buffer=<optimized out>, address@hidden, count=8969928, 
    address@hidden) at w32.c:8337
#5  0x010b12a8 in emacs_full_write (fildes=8, 
    address@hidden "--  Abstract :\n--\n--  Emacs background process for Ada 
mode; parse buffer text, return wisi Actions.\n--\n--  Copyright (C) 2014  All 
Rights Reserved.\n--\n--  This program is free software; you can redis"..., 
address@hidden, process_signals=true) at sysdep.c:2297
#6  0x010b23f9 in emacs_write_sig (fildes=<optimized out>, 
    address@hidden, address@hidden) at sysdep.c:2334
#7  0x01141f75 in send_process (proc=267455925, buf=<optimized out>, 
    len=<optimized out>, object=<optimized out>, address@hidden)
    at process.c:5528
#8  0x01142325 in Fprocess_send_string (process=267455925, string=266841793)
    at process.c:5645
#9  0x01105430 in Ffuncall (address@hidden, address@hidden)
    at eval.c:2818
#10 0x0113890f in exec_byte_code (bytestr=<optimized out>, vector=260525805, 
    maxdepth=16, args_template=81815586, address@hidden, 
    args=<optimized out>, address@hidden) at bytecode.c:916
#11 0x01104ed5 in funcall_lambda (fun=260521925, address@hidden, 
    address@hidden) at eval.c:3049
#12 0x0110521b in Ffuncall (address@hidden, address@hidden)
    at eval.c:2876
#13 0x0113890f in exec_byte_code (bytestr=<optimized out>, vector=260529781, 
    maxdepth=20, args_template=81815586, address@hidden, 
    args=<optimized out>, address@hidden) at bytecode.c:916
#14 0x01104ed5 in funcall_lambda (fun=260526045, address@hidden, 
    address@hidden) at eval.c:3049
#15 0x0110521b in Ffuncall (address@hidden, address@hidden)
    at eval.c:2876
#16 0x0113890f in exec_byte_code (bytestr=<optimized out>, vector=255630965, 
    maxdepth=16, args_template=81815586, address@hidden, 
    args=<optimized out>, address@hidden) at bytecode.c:916
#17 0x01104ed5 in funcall_lambda (fun=255565773, address@hidden, 
    address@hidden) at eval.c:3049
#18 0x0110521b in Ffuncall (address@hidden, address@hidden)
    at eval.c:2876
#19 0x0113890f in exec_byte_code (bytestr=<optimized out>, 
    address@hidden, address@hidden, 
    address@hidden, args_template=81815586, address@hidden, 
    args=<optimized out>, address@hidden) at bytecode.c:916
#20 0x0113b418 in Fbyte_code (bytestr=266875825, vector=255565797, maxdepth=8)
    at bytecode.c:482
#21 0x011048a7 in eval_sub (form=264366286) at eval.c:2191
#22 0x01107b66 in internal_lisp_condition_case (var=83517026, 
    bodyform=<optimized out>, handlers=<optimized out>) at eval.c:1323
#23 0x01139983 in exec_byte_code (bytestr=<optimized out>, vector=255631045, 
    maxdepth=24, args_template=81815586, address@hidden, 
    args=<optimized out>, address@hidden) at bytecode.c:1162
#24 0x01104ed5 in funcall_lambda (fun=255631149, address@hidden, 
    address@hidden) at eval.c:3049
#25 0x0110521b in Ffuncall (address@hidden, address@hidden)
    at eval.c:2876
#26 0x0113890f in exec_byte_code (bytestr=<optimized out>, vector=255917973, 
    maxdepth=8, args_template=81815586, address@hidden, 
    args=<optimized out>, address@hidden) at bytecode.c:916
#27 0x01104ed5 in funcall_lambda (fun=255917989, address@hidden, 
    address@hidden) at eval.c:3049
#28 0x0110521b in Ffuncall (address@hidden, address@hidden)
    at eval.c:2876
#29 0x01106837 in apply1 (address@hidden, address@hidden)
    at eval.c:2581
#30 0x0110140f in Fcall_interactively (function=263136994, 
    record_flag=84547650, keys=81836917) at callint.c:378
#31 0x01105419 in Ffuncall (address@hidden, address@hidden)
    at eval.c:2822
#32 0x0113890f in exec_byte_code (bytestr=<optimized out>, vector=19070677, 
    maxdepth=52, address@hidden, address@hidden, 
    args=<optimized out>, address@hidden) at bytecode.c:916
#33 0x01104f62 in funcall_lambda (fun=19070637, address@hidden, 
    address@hidden) at eval.c:2983
#34 0x0110521b in Ffuncall (address@hidden, address@hidden)
    at eval.c:2876
#35 0x0113890f in exec_byte_code (bytestr=<optimized out>, vector=19070349, 
    maxdepth=60, address@hidden, address@hidden, 
    args=<optimized out>, address@hidden) at bytecode.c:916
#36 0x01104f62 in funcall_lambda (fun=19070301, address@hidden, 
    address@hidden) at eval.c:2983
#37 0x0110521b in Ffuncall (nargs=3, address@hidden) at eval.c:2876
#38 0x01106613 in Fapply (address@hidden, address@hidden)
    at eval.c:2354
#39 0x0110681f in apply1 (address@hidden, address@hidden)
    at eval.c:2588
#40 0x0110140f in Fcall_interactively (function=82018402, 
    record_flag=81815586, keys=81836917) at callint.c:378
#41 0x01105419 in Ffuncall (address@hidden, address@hidden)
    at eval.c:2822
#42 0x0113890f in exec_byte_code (bytestr=<optimized out>, vector=19070677, 
    maxdepth=52, address@hidden, address@hidden, 
    args=<optimized out>, address@hidden) at bytecode.c:916
#43 0x01104f62 in funcall_lambda (fun=19070637, address@hidden, 
    address@hidden) at eval.c:2983
#44 0x0110521b in Ffuncall (address@hidden, address@hidden)
    at eval.c:2876
#45 0x01105587 in call1 (fn=81861730, arg1=82018402) at eval.c:2614
#46 0x010a73e7 in command_loop_1 () at keyboard.c:1559
#47 0x01103963 in internal_condition_case (
    address@hidden <command_loop_1>, handlers=81867042, 
    address@hidden <cmd_error>) at eval.c:1354
#48 0x0109a610 in command_loop_2 (ignore=81815586) at keyboard.c:1177
#49 0x0110386d in internal_catch (tag=81862402, 
    address@hidden <command_loop_2>, arg=81815586) at eval.c:1118
#50 0x0109e9ba in command_loop () at keyboard.c:1156
#51 recursive_edit_1 () at keyboard.c:777
#52 0x0109ec8e in Frecursive_edit () at keyboard.c:848
#53 0x011b7dd8 in main (argc=<optimized out>, argv=0xd31b40) at emacs.c:1646

Is there any way to get lisp names from the Ffuncall entries? That would
be nice.

-- 
-- Stephe





reply via email to

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