473,320 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

After running for four days, Python program stalled

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]
Dec 12 '07 #1
2 1340
On Dec 12, 2007 1:34 PM, John Nagle <na***@animats.comwrote:
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.
Dec 12 '07 #2
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
Dec 12 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

217
by: gyromagnetic | last post by:
The following url points to an article written by Damian Conway entitled "Ten Essential Development Practices": http://www.perl.com/pub/a/2005/07/14/bestpractices.html Althought the article has...
7
by: iclinux | last post by:
Environment: WinXP SP2 + Python 2.4.2, with SOAPpy-0.11.6.zip, fpconst-0.7.2.zip, and PyXML-0.8.4.win32-py2.4.exe installed. Problem: I'm reading DiveIntoPython these days. When running code...
9
by: Matt Helm | last post by:
I am starting the design phase of a large project (ERP) where the backend will mostly be Python (or Ruby) providing web services. In this type of usage, is there any benenfit to running under...
1
by: python-list.overbored | last post by:
Hi all, After many hours, I think I've found a bug in the logging module! If you add a (stdout) StreamHandler to a logger, then detach the terminal for that stdout, subsequent calls to log()...
14
by: fdu.xiaojf | last post by:
Hi, I have a program which will continue to run for several days. When it is running, I can't do anything except waiting because it takes over most of the CUP time. Is it possible that the...
5
by: Cappy2112 | last post by:
I've just started a job which has a massive python2.3.4-centric tools installation and configuration. I know what you're going to say, but I can't upgrade and be the only one with a newer...
6
by: danmcleran | last post by:
What's the best way to run either an entire python process or a python thread every N days. I'm running Python 2.4.3 on Fedora Core 5 Linux. My code consists of a test and measurement system that...
3
by: WP | last post by:
Hello, I have a very simple script (or would you call it a batch file?) with the following content: connect to mydb2; DROP TABLE staff_employee_address; DROP TABLE...
0
by: John [H2O] | last post by:
There's a lot of greek for me here ... should I post to numpy-discussions as well??? The backtrace is at the bottom.... Thanks! GNU gdb Fedora (6.8-21.fc9) Copyright (C) 2008 Free...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.