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

Commented Unassigned: [0.3.x, 0.2.x] windbg hangs and crashes on threads and timers [14067]

$
0
0
when executing a simple python script like the following, windbg executes the first line of code in the threaded function, then hangs and crashes itself

```
import pykd
from threading import Thread

def my_func():
print "hi from thread 1\n"
print "hi from thread 2\n"

t = Thread(target=my_func)
t.daemon = True;
t.start()
print "after thread start"
```
Comments: ** Comment from web user: ussrhero **

I'm affraid is is impossible to make stable multithread code inside windbg.
It is a very long story to talk.
Dont's use __threading__ or __multiprocessing__ inside windbg.



Viewing all articles
Browse latest Browse all 1625

Trending Articles



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