Reproduce:
```
!py _nonexistent_file_.py
```
Result:
* debug output: "Fatal Python error: PyEval_SaveThread: NULL tstate"
* mesasge box:
```
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!
Program: windbg.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
---------------------------
OK
---------------------------
```
* callstack:
```
0:009> k
Child-SP RetAddr Call Site
00000000`03a5c388 00000000`76e14bc4 USER32!NtUserWaitMessage+0xa
00000000`03a5c390 00000000`76e14edd USER32!DialogBox2+0x274
00000000`03a5c420 00000000`76e62920 USER32!InternalDialogBox+0x135
00000000`03a5c480 00000000`76e61c15 USER32!SoftModalMessageBox+0x9b4
00000000`03a5c5b0 00000000`76e6146b USER32!MessageBoxWorker+0x31d
00000000`03a5c770 00000000`76e61616 USER32!MessageBoxTimeoutW+0xb3
00000000`03a5c840 00000000`76e61306 USER32!MessageBoxTimeoutA+0x18a
00000000`03a5c8b0 00000000`742e64b5 USER32!MessageBoxA+0x4e
00000000`03a5c8f0 00000000`74291e68 MSVCR90!_crtMessageBoxA+0x1d9
00000000`03a5c960 00000000`742eb832 MSVCR90!NMSG_WRITE+0x1c8
00000000`03a5c9a0 00000000`1e144aca MSVCR90!abort+0x1a
00000000`03a5cf50 00000000`1e1104b1 python27!Py_FatalError+0xba
00000000`03a5cfc0 000007fe`e643e3e4 python27!PyEval_SaveThread+0x21
00000000`03a5cff0 000007fe`e65b7551 pykd!pykd::AutoRestorePyState::AutoRestorePyState+0x24 [~\pykd\pythreadstate.h @ 14]
00000000`03a5d020 000007fe`e65af209 pykd!pykd::eprintln+0x31 [~\pykd\pydbgio.h @ 124]
00000000`03a5d070 000007fe`e65b0afd pykd!PykdExt::py+0x359 [~\pykd\windbgext.cpp @ 133]
00000000`03a5d520 000007fe`e6cd353b pykd!py+0xbd [~\pykd\windbgext.cpp @ 95]
00000000`03a5d5d0 000007fe`e6cd3718 dbgeng!DebugCreate+0x74597
00000000`03a5d690 000007fe`e6cd37f8 dbgeng!DebugCreate+0x74774
00000000`03a5d890 000007fe`e6cd2689 dbgeng!DebugCreate+0x74854
00000000`03a5d8d0 000007fe`e6d0a89b dbgeng!DebugCreate+0x736e5
00000000`03a5dd90 000007fe`e6d0b6ab dbgeng!DebugCreate+0xab8f7
00000000`03a5de60 000007fe`e6c65fe8 dbgeng!DebugCreate+0xac707
00000000`03a5ded0 000007fe`e6c6628f dbgeng!DebugCreate+0x7044
00000000`03a5e3a0 00000001`3f085c72 dbgeng!DebugCreate+0x72eb
00000000`03a5e400 00000001`3f0860d5 windbg!ProcessCommand+0x2b2
00000000`03a5e820 00000001`3f087c17 windbg!ProcessEngineCommands+0x185
00000000`03a5f860 00000000`76ce59ed windbg!EngineLoop+0x3e3
00000000`03a5f8a0 00000000`76f1c541 kernel32!BaseThreadInitThunk+0xd
00000000`03a5f8d0 00000000`00000000 ntdll!RtlUserThreadStart+0x1d
```
pykd: 0.3.0.15
Comments: ** Comment from web user: ussrhero **
```
!py _nonexistent_file_.py
```
Result:
* debug output: "Fatal Python error: PyEval_SaveThread: NULL tstate"
* mesasge box:
```
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!
Program: windbg.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
---------------------------
OK
---------------------------
```
* callstack:
```
0:009> k
Child-SP RetAddr Call Site
00000000`03a5c388 00000000`76e14bc4 USER32!NtUserWaitMessage+0xa
00000000`03a5c390 00000000`76e14edd USER32!DialogBox2+0x274
00000000`03a5c420 00000000`76e62920 USER32!InternalDialogBox+0x135
00000000`03a5c480 00000000`76e61c15 USER32!SoftModalMessageBox+0x9b4
00000000`03a5c5b0 00000000`76e6146b USER32!MessageBoxWorker+0x31d
00000000`03a5c770 00000000`76e61616 USER32!MessageBoxTimeoutW+0xb3
00000000`03a5c840 00000000`76e61306 USER32!MessageBoxTimeoutA+0x18a
00000000`03a5c8b0 00000000`742e64b5 USER32!MessageBoxA+0x4e
00000000`03a5c8f0 00000000`74291e68 MSVCR90!_crtMessageBoxA+0x1d9
00000000`03a5c960 00000000`742eb832 MSVCR90!NMSG_WRITE+0x1c8
00000000`03a5c9a0 00000000`1e144aca MSVCR90!abort+0x1a
00000000`03a5cf50 00000000`1e1104b1 python27!Py_FatalError+0xba
00000000`03a5cfc0 000007fe`e643e3e4 python27!PyEval_SaveThread+0x21
00000000`03a5cff0 000007fe`e65b7551 pykd!pykd::AutoRestorePyState::AutoRestorePyState+0x24 [~\pykd\pythreadstate.h @ 14]
00000000`03a5d020 000007fe`e65af209 pykd!pykd::eprintln+0x31 [~\pykd\pydbgio.h @ 124]
00000000`03a5d070 000007fe`e65b0afd pykd!PykdExt::py+0x359 [~\pykd\windbgext.cpp @ 133]
00000000`03a5d520 000007fe`e6cd353b pykd!py+0xbd [~\pykd\windbgext.cpp @ 95]
00000000`03a5d5d0 000007fe`e6cd3718 dbgeng!DebugCreate+0x74597
00000000`03a5d690 000007fe`e6cd37f8 dbgeng!DebugCreate+0x74774
00000000`03a5d890 000007fe`e6cd2689 dbgeng!DebugCreate+0x74854
00000000`03a5d8d0 000007fe`e6d0a89b dbgeng!DebugCreate+0x736e5
00000000`03a5dd90 000007fe`e6d0b6ab dbgeng!DebugCreate+0xab8f7
00000000`03a5de60 000007fe`e6c65fe8 dbgeng!DebugCreate+0xac707
00000000`03a5ded0 000007fe`e6c6628f dbgeng!DebugCreate+0x7044
00000000`03a5e3a0 00000001`3f085c72 dbgeng!DebugCreate+0x72eb
00000000`03a5e400 00000001`3f0860d5 windbg!ProcessCommand+0x2b2
00000000`03a5e820 00000001`3f087c17 windbg!ProcessEngineCommands+0x185
00000000`03a5f860 00000000`76ce59ed windbg!EngineLoop+0x3e3
00000000`03a5f8a0 00000000`76f1c541 kernel32!BaseThreadInitThunk+0xd
00000000`03a5f8d0 00000000`00000000 ntdll!RtlUserThreadStart+0x1d
```
pykd: 0.3.0.15
Comments: ** Comment from web user: ussrhero **
fixed: CL 89560