Quantcast
Channel: Python extension for WinDbg
Viewing all articles
Browse latest Browse all 1625

Closed Issue: [0.1.x] (newClnt.go() ) Fatal Python error: PyEval_SaveThread: NULL tstate [10999]

$
0
0
c:\>python bug.py
 
Fatal Python error: PyEval_SaveThread: NULL tstate
 
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
 
 
bug.py:
 
#windows xp sp3
#pykd-0.1.0.16-python-2.6
#python 2.6.5
from pykd import *
 
 
class ExceptionHandler(eventHandler):
def __init__(self):
self.stopExceptionOccurred = False
eventHandler.__init__(self)
 
def onException(self, exceptData):
return DEBUG_STATUS_BREAK
 
if __name__ == "__main__":
pname = "c:\\windows\\system32\\calc.exe"
newClnt = createDbgClient()
newClnt.startProcess(pname)
 
exceptionHandler = ExceptionHandler()
#If we use go() instead newClnt.go() then all is ok
newClnt.go()
Comments: close all old bugs

Viewing all articles
Browse latest Browse all 1625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>