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

Commented Issue: [0.3.x] Windbg crashes when debugging system reboots (kernel debugging) [13439]

$
0
0
Environment:
windbg 6.2.9200.16384 AMD64
PYKD 0.3.0.18

Reproduce:
C:\Users\igorl>type C:\test.py
``` Python
from pykd import *

try:
while True:
print "break"
s = dbgCommand(".reload;kb")
dprint(s)
go()
except:
print "process terminated"
```

```
.load pykd.pyd
!py C:\test.py
```

Reboot dubugging system

Result:

```
windbg crash:
Сигнатура проблемы:
Имя события проблемы: BEX64
Имя приложения: windbg.exe
Версия приложения: 6.2.9200.16384
Отметка времени приложения: 50109b72
Имя модуля с ошибкой: pykd.pyd_unloaded
Версия модуля с ошибкой: 0.0.0.0
Отметка времени модуля с ошибкой: 54c0998e
Смещение исключения: 000007fef2779bba
Код исключения: c0000005
Данные исключения: 0000000000000008
Версия ОС: 6.1.7601.2.1.0.256.4
Код языка: 1049
Дополнительные сведения 1: 2264
Дополнительные сведения 2: 2264db07e74365624c50317d7b856ae9
Дополнительные сведения 3: 3226
Дополнительные сведения 4: 32264daa7b3152ff69876ab387e7523f
```
Comments: ** Comment from web user: EreTIk **

* call "py"-function
* construct scoped variable PykdInterruptWatch interruptWatch
* call DebugExtensionUninitialize (PyEval_RestoreThread, Py_Finalize), InterruptWatch::~InterruptWatch __not called__
* pykd unloaded (__without__ InterruptWatch::~InterruptWatch call)

InterruptWatch thread resumed -> bang!


Viewing all articles
Browse latest Browse all 1625

Trending Articles