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

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

bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126


From: Stephen Powell
Subject: bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126
Date: Wed, 05 Dec 2012 19:28:20 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Eli Zaretskii <eliz@gnu.org> writes:

> Can you use the 'finish' command, as described in etc/DEBUG, to find
> out where it loops?

(gdb) thread 1
[Switching to thread 1 (Thread 7752.0x1bb0)]
#0  waitpid (pid=5528, status=0x0, options=1) at w32proc.c:1126
1126    {
(gdb) finish
Run till exit from #0  waitpid (pid=5528, status=0x0, options=1) at
w32proc.c:1126
0x010e04ab in get_child_status (child=5528, status=0x0, options=1,
interruptible=false)
    at sysdep.c:290
290       while ((pid = waitpid (child, status, options)) < 0)
Value returned is $1 = -1
(gdb) finish
Run till exit from #0  0x010e04ab in get_child_status (child=5528,
status=0x0, options=1,
    interruptible=false) at sysdep.c:290

Hung here.

> So it's probably looping in the caller's loop, in get_child_status.
> Can you see if that's the case, and if so, what value does waitpid
> return to its caller?  Is that zero, by chance?

-1

> Also, is the process whose PID is 5528 still running?

process 5528 was not found on 88RCB2S





reply via email to

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