After running for four days, Python program stalled

J

John Nagle

Had a Python program stall, using no time, after running OK for four days.
Python 2.4, Windows. Here's the location in Python where it's stalled.
Any idea what it's waiting for?

John Nagle

77FA1428 mov ecx,dword ptr [ebp-10h]
77FA142B mov dword ptr fs:[0],ecx
77FA1432 pop edi
77FA1433 pop esi
77FA1434 pop ebx
77FA1435 leave
77FA1436 ret 10h
77FA1439 cmp dword ptr [ebp-24h],0
77FA143D je 77FA1447
77FA143F push dword ptr [ebp-24h]
77FA1442 call 77F8B5DF
77FA1447 ret
77FA1448 ret 4
77FA144B int 3 # STALLED HERE
77FA144C ret
77FA144D int 3
77FA144E ret
77FA144F mov eax,dword ptr [esp+4]
77FA1453 int 3
77FA1454 ret 4
77FA1457 mov eax,dword ptr [ebp-14h]
77FA145A mov eax,dword ptr [eax]
77FA145C mov eax,dword ptr [eax]
 
C

Chris Mellon

Had a Python program stall, using no time, after running OK for four days.
Python 2.4, Windows. Here's the location in Python where it's stalled.
Any idea what it's waiting for?

John Nagle

77FA1428 mov ecx,dword ptr [ebp-10h]
77FA142B mov dword ptr fs:[0],ecx
77FA1432 pop edi
77FA1433 pop esi
77FA1434 pop ebx
77FA1435 leave
77FA1436 ret 10h
77FA1439 cmp dword ptr [ebp-24h],0
77FA143D je 77FA1447
77FA143F push dword ptr [ebp-24h]
77FA1442 call 77F8B5DF
77FA1447 ret
77FA1448 ret 4
77FA144B int 3 # STALLED HERE
77FA144C ret
77FA144D int 3
77FA144E ret
77FA144F mov eax,dword ptr [esp+4]
77FA1453 int 3
77FA1454 ret 4
77FA1457 mov eax,dword ptr [ebp-14h]
77FA145A mov eax,dword ptr [eax]
77FA145C mov eax,dword ptr [eax]
--


Use a tool like sysinternal procexp to get more useful information
about the programs state, like what threads there are and a stack
trace with symbols of the each thread.
 
N

Neil Hodgson

John Nagle:
Had a Python program stall, using no time, after running OK for four days.
Python 2.4, Windows. Here's the location in Python where it's stalled.
Any idea what it's waiting for?
77FA144B int 3 # STALLED HERE

Its a breakpoint instruction and its likely you are running under a
debugger that is failing to respond. You don't often see a bare 'int 3'
in real code unmassaged by a debugger unless the developer wants an
explicit break to debugger.

Neil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,732
Messages
2,569,426
Members
44,784
Latest member
SangLeFanu

Latest Threads

Top