Re: VS Hangs after program ends



Hi Jeffrey,

I'm having difficulties debugging msvsmon.exe unfortunately. The process
only seems to fire up when my test app is in the process of terminating in
VS2008, so I have to be really quick using a combination of Windows Task
Manager (to get the PID), WinDgb to attach to that PID, and clicking the
break button in that to halt execution. I finally managed to do that, but
this is all I got from the call stack command:

-------------------------------------------------
0:003> ~*kvn100

0 Id: 1428.1420 Suspend: 1 Teb: 00000000 Unfrozen
# ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
00 00000000 00000000 00000000 00000000 00000000 0x77efa310

1 Id: 1428.1424 Suspend: 1 Teb: 00000000 Unfrozen
# ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
00 00000000 00000000 00000000 00000000 00000000 0x77efa310

2 Id: 1428.141c Suspend: 1 Teb: 00000000 Unfrozen
# ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
00 00000000 00000000 00000000 00000000 00000000 0x77efa310

# 3 Id: 1428.1418 Suspend: 1 Teb: 00000000 Unfrozen
# ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
00 00000000 00000000 00000000 00000000 00000000 0x77efa310

4 Id: 1428.1460 Suspend: 1 Teb: 00000000 Unfrozen
# ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
00 00000000 00000000 00000000 00000000 00000000 0x77efa310

5 Id: 1428.1470 Suspend: 1 Teb: 00000000 Unfrozen
# ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
00 00000000 00000000 00000000 00000000 00000000 0x77efa310
-------------------------------------------------

I had already set up the symbol-server as indicated in your blog, though it
looks to me like it's not getting any useful stack info at all.





.


Loading