Advertisement
nickrdeakin

Messages problem background

Jan 26th, 2012
738
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I am going to give a long and extensive background in hopes this may help understand my situation and other solutions to my problem, however, my real question is at the end.
  2.  
  3. I am currently debugging a Visual Basic .NET program that I did not write, and the person who did write it had less than perfect programming skills and techniques (not to imply in any way that I am a good programmer). I am programming in Visual Basic 2008 Express. There is a certain bug which I am trying to fix: the application may crash/hang and stop responding for seemingly no reason, and with very little pattern to the occurrences of the bug.
  4.  
  5. Relatively quickly, I found several facts about the bug: - The bug will NEVER occur when the app is run in debug mode from VB2008 (or any other visual IDE as far as I know) - The bug is easily repeated by letting my computer have the screensaver appear, at which time my computer also locks the user (requiring me to sign back in), and then when signed back in, the application will be frozen
  6.  
  7. After getting WinDBG (and figuring out how to use it XD), I managed to find out that apparently the exception causing the crash is an Invalid Asynchronous State Exception. After a little searching online, I find that my problem is almost EXACTLY the same as this:
  8.  
  9. http://www.ikriv.com/en/prog/info/dotnet/MysteriousHang.html
  10.  
  11. I had spent quite a bit of time, previous to this article and even shortly after, looking for ways to find exactly where the exception is occurring in my code (at what line), but that proved very difficult to find a specific offending piece of code. At this point, I also realize I can recreate the crash very easily by just changing my screensaver or desktop background (immediately after I hit "apply," the app will freeze)
  12.  
  13. However, after thinking more about the article, and the cause being a message from the changed preference, I thought to use a uniquely declared Wndproc() function to basically pass any argument that is NOT this userprefchng message to my function. so basically have something similar to this (don't worry about any specifics, this isn't exactly my code):
  14.  
  15. private overrides function WndProc(byval m as message)
  16. if m.msg <> WM_USERPREFCHNG then wndproc = mybase.wndproc(m)
  17. end function
  18.  
  19. so I decided to try and implement this.
  20.  
  21. First, I figured out which message was consistently sent to my application immediately before it crashed, and found that it appeared a message with m.msg = 26 = 0x001a was causing the problem. I find: WM_WININICHANGE = 26, which is also equivalent to WM_SETTINGCHANGE (I just discovered).
  22.  
  23. Next, I made the actual function, and set the correct value. I tested it, and found that it was indeed filtering out that message. BUT... then I test the program with the actual bug, and it still crashes... :( that was earlier today.
  24.  
  25. Now you are caught up in my story and how I have come to be where I am. Ultimately, it appears the cause for the error was that the person who wrote the application attempted to write a multithreaded application without really understanding how to do so. Since rewriting the code is not an option for me, I am now needing to fix the problem with a more reactive approach.
  26.  
  27. Now keep in mind; I am aware that there may be multiple ways to crash my app, and even if I make it so that changing the screensaver doesn't crash it anymore, having the computer lock itself out or changing my desktop background COULD still crash it, however that is something else to worry about. And if I can fix one part, at least I may know how to go about the rest (for example, maybe just blocking a different message)
  28.  
  29. EDIT:
  30.  
  31. After SLaks' suggestion, I do not have Visual Studio, and I believe VB2008 express (which I do have) does not support attaching to a process for debugging, however I did (I think) the same thing using WinDBG using "~*Kb" right after attaching to the process.
  32.  
  33. Here was the result from the stack trace after crashing the program by changing my screensaver:
  34. 0:012> ~*kb
  35.  
  36. 0 Id: 100.2c44 Suspend: 1 Teb: 7ffdf000 Unfrozen
  37. ChildEBP RetAddr Args to Child
  38. 0013ea98 7c90df4a 7c8094fe 00000002 0013eac4 ntdll!KiFastSystemCallRet
  39. 0013ea9c 7c8094fe 00000002 0013eac4 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  40. 0013eb38 7e4195f9 00000002 0013eb60 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  41. 0013eb94 77512235 00000001 0013ee94 000003e8 USER32!RealMsgWaitForMultipleObjectsEx+0x13e
  42. 0013ebbc 77557227 0013ee94 000003e8 0013ebe8 ole32!CCliModalLoop::BlockFn+0x80
  43. 0013ec30 79f817bd 00000002 000003e8 00000001 ole32!CoWaitForMultipleHandles+0xcf
  44. 0013ec50 79f81724 00000000 000003e8 00000001 mscorwks!NT5WaitRoutine+0x51
  45. 0013ecbc 79f81688 00000001 0013ee94 00000000 mscorwks!MsgWaitHelper+0xa5
  46. 0013ecdc 79f64404 00000001 0013ee94 00000001 mscorwks!Thread::DoAppropriateAptStateWait+0x28
  47. 0013ed60 79f64499 00000001 0013ee94 00000001 mscorwks!Thread::DoAppropriateWaitWorker+0x13c
  48. 0013edb0 79f2d808 00000001 0013ee94 00000001 mscorwks!Thread::DoAppropriateWait+0x40
  49. *** WARNING: Unable to verify checksum for C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\7124a40b9998f7b63c86bd1a2125ce26\mscorlib.ni.dll
  50. 0013eeb4 792b68af 00000000 00000000 00eff09c mscorwks!WaitHandleNative::CorWaitOneNative+0x156
  51. 0013eed0 792b6865 000003e8 00000000 7931782c mscorlib_ni+0x1f68af
  52. *** WARNING: Unable to verify checksum for C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Windows.Forms\2dfe045e4b1577fdea9a2f456db0afc2\System.Windows.Forms.ni.dll
  53. 0013eee8 7b6f1a4f 00000000 00000103 0000c21e mscorlib_ni+0x1f6865
  54. 0013ef00 7ba2d68b cc84e815 79e7a6b8 0013f098 System_Windows_Forms_ni+0x721a4f
  55. 0013ef94 7b6f33ac 00000001 00eff088 00eff068 System_Windows_Forms_ni+0xa5d68b
  56. 0013efd0 7b920bd7 00eff088 00eff088 00eff068 System_Windows_Forms_ni+0x7233ac
  57. *** WARNING: Unable to verify checksum for C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\37217abe2c5164e59aba251860f4c79e\System.ni.dll
  58. 0013efe8 7a92ed62 00eeaf38 00e7f220 00000001 System_Windows_Forms_ni+0x950bd7
  59. 0013f01c 7a92dc8f 00eeaf38 ffffffff 00000000 System_ni+0x4eed62
  60. 0013f068 7a92e19f 00eeaf38 00000004 00000000 System_ni+0x4edc8f
  61. 0013f084 7aaa06d6 061f2178 00000000 cc84e815 System_ni+0x4ee19f
  62. 0013f114 7e418734 000d049c 0000201a 00000000 System_ni+0x6606d6
  63. 0013f140 7e418816 00483022 000d049c 0000201a USER32!InternalCallWinProc+0x28
  64. 0013f1a8 7e4189cd 00000000 00483022 000d049c USER32!UserCallWinProcCheckWow+0x150
  65. 0013f208 7e418a10 0013f2a4 00000000 0013f234 USER32!DispatchMessageWorker+0x306
  66. 0013f218 03063d16 0013f2a4 cc84e815 00000000 USER32!DispatchMessageW+0xf
  67. WARNING: Frame IP not in any known module. Following frames may be wrong.
  68. 0013f234 7b1d8d2e 00e34418 00000001 00de78e8 0x3063d16
  69. 0013f2e8 7b1d8997 00000000 ffffffff 00000000 System_Windows_Forms_ni+0x208d2e
  70. 0013f340 7b1d87e1 00de7848 1c440006 00000000 System_Windows_Forms_ni+0x208997
  71. 0013f370 7b6eddec 00dea27c 00dea0a4 0013f3ac System_Windows_Forms_ni+0x2087e1
  72. *** WARNING: Unable to verify checksum for C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Microsoft.VisualBas#\935b855860088a86bb65d37a19f059cc\Microsoft.VisualBasic.ni.dll
  73. 0013f380 5e547c0d 00de76e8 00000000 00000000 System_Windows_Forms_ni+0x71ddec
  74. 0013f3ac 5e54817f 00de76e8 00000000 00000000 Microsoft_VisualBasic_ni+0x117c0d
  75. 0013f3d8 5e546eb0 00def864 00def7d8 00def1ec Microsoft_VisualBasic_ni+0x11817f
  76. 0013f460 79e71b4c 00466a4a 00000003 0013f4f0 Microsoft_VisualBasic_ni+0x116eb0
  77. 0013f470 79e821b9 0013f540 00000000 0013f510 mscorwks!CallDescrWorker+0x33
  78. 0013f4f0 79e96531 0013f540 00000000 0013f510 mscorwks!CallDescrWorkerWithHandler+0xa3
  79. 0013f634 79e96564 0052c038 0013f700 0013f6cc mscorwks!MethodDesc::CallDescr+0x19c
  80. 0013f650 79e96582 0052c038 0013f700 0013f6cc mscorwks!MethodDesc::CallTargetWorker+0x1f
  81. 0013f668 79f0784d 0013f6cc c80f7c5d 00000000 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  82. 0013f7cc 79f0776d 00524b58 00000001 0013f808 mscorwks!ClassLoader::RunMain+0x223
  83. 0013fa34 79f07cbd 00000000 c80f7495 00000001 mscorwks!Assembly::ExecuteMainMethod+0xa6
  84. 0013ff04 79f07ea7 00400000 00000000 c80f74c5 mscorwks!SystemDomain::ExecuteMainMethod+0x456
  85. 0013ff54 79f07dd7 00400000 c80f740d 00390030 mscorwks!ExecuteEXE+0x59
  86. 0013ff9c 603b55ab 79f07d3f 0013ffb8 79007f16 mscorwks!_CorExeMain+0x15c
  87. 0013ffa8 79007f16 00300030 603b0000 0013fff0 mscoreei!_CorExeMain+0x38
  88. 0013ffb8 79004de3 00300030 7c816fe7 00390030 mscoree!ShellShim__CorExeMain+0x99
  89. 0013ffc0 7c816fe7 00390030 00300030 7ffdb000 mscoree!_CorExeMain_Exported+0x8
  90. 0013fff0 00000000 79004ddb 00000000 78746341 KERNEL32!BaseProcessStart+0x23
  91.  
  92. 1 Id: 100.1dc8 Suspend: 1 Teb: 7ffde000 Unfrozen
  93. ChildEBP RetAddr Args to Child
  94. 00ddfe38 7c90df4a 7c8094fe 00000003 00ddfe64 ntdll!KiFastSystemCallRet
  95. 00ddfe3c 7c8094fe 00000003 00ddfe64 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  96. 00ddfed8 7c80a085 00000003 00ddff1c 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  97. 00ddfef4 79f1a361 00000003 00ddff1c 00000000 KERNEL32!WaitForMultipleObjects+0x18
  98. 00ddff54 79f1a2be c8c17415 00000000 79f19164 mscorwks!DebuggerRCThread::MainLoop+0xe9
  99. 00ddff84 79f1a1e5 c8c17425 79f74431 79f19164 mscorwks!DebuggerRCThread::ThreadProc+0xe5
  100. 00ddffb4 7c80b699 00000000 79f74431 79f19164 mscorwks!DebuggerRCThread::ThreadProcStatic+0x9c
  101. 00ddffec 00000000 79f1a19f 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  102.  
  103. 2 Id: 100.1e24 Suspend: 1 Teb: 7ffdd000 Unfrozen
  104. ChildEBP RetAddr Args to Child
  105. 02f7fc80 7c90df5a 7c8025cb 00000100 00000000 ntdll!KiFastSystemCallRet
  106. 02f7fc84 7c8025cb 00000100 00000000 02f7fcb8 ntdll!NtWaitForSingleObject+0xc
  107. 02f7fce8 79e8c5f9 00000100 000007d0 00000000 KERNEL32!WaitForSingleObjectEx+0xa8
  108. 02f7fd2c 79e8c52f 00000100 000007d0 00000000 mscorwks!PEImage::LoadImage+0x1af
  109. 02f7fd7c 79e8c54e 000007d0 00000000 00000000 mscorwks!CLREvent::WaitEx+0x117
  110. 02f7fd90 79f762a0 000007d0 00000000 00000000 mscorwks!CLREvent::Wait+0x17
  111. 02f7fdac 79f7a728 00182dc8 02f7feb0 001835c8 mscorwks!WKS::WaitForFinalizerEvent+0x4a
  112. 02f7fdc0 79e9848f 02f7feb0 00000000 00000000 mscorwks!WKS::GCHeap::FinalizerThreadWorker+0x49
  113. 02f7fdd4 79e9842b 02f7feb0 02f7fe5c 79fa6a6b mscorwks!Thread::DoADCallBack+0x32a
  114. 02f7fe68 79e98351 02f7feb0 caeb7535 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0xe3
  115. 02f7fea4 79f074d4 02f7feb0 00000000 001797b0 mscorwks!Thread::ShouldChangeAbortToUnload+0x30a
  116. 02f7fecc 79f074e5 79f7a6dd 00000008 02f7ff14 mscorwks!ManagedThreadBase_NoADTransition+0x32
  117. 02f7fedc 79f5445c 79f7a6dd caeb7485 00000000 mscorwks!ManagedThreadBase::FinalizerBase+0xd
  118. 02f7ff14 79f75715 00000000 88a24da8 804fb042 mscorwks!WKS::GCHeap::FinalizerThreadStart+0xbb
  119. 02f7ffb4 7c80b699 001835c8 00730074 00610020 mscorwks!Thread::intermediateThreadProc+0x49
  120. 02f7ffec 00000000 79f756cf 001835c8 00000000 KERNEL32!BaseThreadStart+0x37
  121.  
  122. 3 Id: 100.2154 Suspend: 1 Teb: 7ffdc000 Unfrozen
  123. ChildEBP RetAddr Args to Child
  124. 0318fecc 7c90df4a 7c8094fe 00000001 0318fef8 ntdll!KiFastSystemCallRet
  125. 0318fed0 7c8094fe 00000001 0318fef8 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  126. 0318ff6c 7a13c15d 00000001 001b3010 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  127. 0318ffb4 7c80b699 001b2ff8 00000000 79e7fc98 mscorwks!ThreadpoolMgr::WaitThreadStart+0x9a
  128. 0318ffec 00000000 7a13c07c 001b2ff8 00000000 KERNEL32!BaseThreadStart+0x37
  129.  
  130. 4 Id: 100.2798 Suspend: 1 Teb: 7ffda000 Unfrozen
  131. ChildEBP RetAddr Args to Child
  132. 0332fe50 7c90df4a 7c8094fe 00000002 0332fe7c ntdll!KiFastSystemCallRet
  133. 0332fe54 7c8094fe 00000002 0332fe7c 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  134. 0332fef0 7e4195f9 00000002 0332ff18 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  135. 0332ff4c 7e4196a8 00000001 0332ffac ffffffff USER32!RealMsgWaitForMultipleObjectsEx+0x13e
  136. 0332ff68 4ec683bd 00000001 0332ffac 00000000 USER32!MsgWaitForMultipleObjects+0x1f
  137. 0332ffb4 7c80b699 00000000 7c80a0e4 00000011 gdiplus!BackgroundThreadProc+0x59
  138. 0332ffec 00000000 4ec68361 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  139.  
  140. 5 Id: 100.21d0 Suspend: 1 Teb: 7ffd8000 Unfrozen
  141. ChildEBP RetAddr Args to Child
  142. 0376fed0 7c90d21a 7c8023ed 00000001 0376ff04 ntdll!KiFastSystemCallRet
  143. 0376fed4 7c8023ed 00000001 0376ff04 79e8926e ntdll!ZwDelayExecution+0xc
  144. 0376ff2c 79ec45f9 ffffffff 00000001 0376ff9c KERNEL32!SleepEx+0x61
  145. 0376ffa8 79ec44a7 cb4464fd 0376ffec 7c80b699 mscorwks!ThreadpoolMgr::TimerThreadFire+0x6d
  146. 0376ffb4 7c80b699 0358f268 79e8926e cb4464fd mscorwks!ThreadpoolMgr::TimerThreadStart+0x57
  147. 0376ffec 00000000 79ec444f 0358f268 00000000 KERNEL32!BaseThreadStart+0x37
  148.  
  149. 6 Id: 100.2b28 Suspend: 1 Teb: 7ffd7000 Unfrozen
  150. ChildEBP RetAddr Args to Child
  151. 0525fba0 7c90df5a 7c8025cb 00000204 00000000 ntdll!KiFastSystemCallRet
  152. 0525fba4 7c8025cb 00000204 00000000 0525fbd8 ntdll!NtWaitForSingleObject+0xc
  153. 0525fc08 79e8c5f9 00000204 00013c68 00000000 KERNEL32!WaitForSingleObjectEx+0xa8
  154. 0525fc4c 79e8c52f 00000204 00013c68 00000000 mscorwks!PEImage::LoadImage+0x1af
  155. 0525fc9c 79e8c54e 00013c68 00000000 00000000 mscorwks!CLREvent::WaitEx+0x117
  156. 0525fcb0 79ec43bb 00013c68 00000000 00000000 mscorwks!CLREvent::Wait+0x17
  157. 0525fd30 79ec4849 001ac3d0 00013c68 00000000 mscorwks!ThreadpoolMgr::SafeWait+0x73
  158. 0525fd94 79f75715 00000000 8acd80c0 89cf6af8 mscorwks!ThreadpoolMgr::WorkerThreadStart+0x11c
  159. 0525ffb4 7c80b699 001a0450 03007265 0376f9f0 mscorwks!Thread::intermediateThreadProc+0x49
  160. 0525ffec 00000000 79f756cf 001a0450 00000000 KERNEL32!BaseThreadStart+0x37
  161.  
  162. 7 Id: 100.2404 Suspend: 1 Teb: 7ffd6000 Unfrozen
  163. ChildEBP RetAddr Args to Child
  164. 0535fe18 7c90daaa 77e76713 000001e4 0535ff70 ntdll!KiFastSystemCallRet
  165. 0535fe1c 77e76713 000001e4 0535ff70 00000000 ntdll!ZwReplyWaitReceivePortEx+0xc
  166. 0535ff80 77e76c2b 0535ffa8 77e76a4d 001622c8 RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0xf4
  167. 0535ff88 77e76a4d 001622c8 00000000 0013e4ec RPCRT4!RecvLotsaCallsWrapper+0xd
  168. 0535ffa8 77e76c13 001a57a8 0535ffec 7c80b699 RPCRT4!BaseCachedThreadRoutine+0x79
  169. 0535ffb4 7c80b699 001d3e88 00000000 0013e4ec RPCRT4!ThreadStartRoutine+0x1a
  170. 0535ffec 00000000 77e76bf9 001d3e88 00000000 KERNEL32!BaseThreadStart+0x37
  171.  
  172. 8 Id: 100.11c0 Suspend: 1 Teb: 7ffd5000 Unfrozen
  173. ChildEBP RetAddr Args to Child
  174. 0545ff1c 7c90d21a 7c8023ed 00000000 0545ff50 ntdll!KiFastSystemCallRet
  175. 0545ff20 7c8023ed 00000000 0545ff50 7c802540 ntdll!ZwDelayExecution+0xc
  176. 0545ff78 7c802451 0000ea60 00000000 0545ffb4 KERNEL32!SleepEx+0x61
  177. 0545ff88 774fe31d 0000ea60 001d8f60 774fe3dc KERNEL32!Sleep+0xf
  178. 0545ff94 774fe3dc 00000000 7c910435 001d8f60 ole32!CROIDTable::WorkerThreadLoop+0x14
  179. 0545ffa8 774fe444 7c91043e 0545ffec 7c80b699 ole32!CRpcThread::WorkerLoop+0x1e
  180. 0545ffb4 7c80b699 001d8f60 7c910435 7c91043e ole32!CRpcThreadCache::RpcWorkerThreadEntry+0x1b
  181. 0545ffec 00000000 774fe429 001d8f60 00000000 KERNEL32!BaseThreadStart+0x37
  182.  
  183. 9 Id: 100.24c8 Suspend: 1 Teb: 7ffd9000 Unfrozen
  184. ChildEBP RetAddr Args to Child
  185. 0565fea4 7c90df4a 7c8094fe 00000002 0565fed0 ntdll!KiFastSystemCallRet
  186. 0565fea8 7c8094fe 00000002 0565fed0 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  187. 0565ff44 77de4e8a 00000002 0565ff6c 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  188. 0565ffb4 7c80b699 00000000 7c913ba7 00000000 ADVAPI32!WmipEventPump+0x230
  189. 0565ffec 00000000 77de4ce3 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  190.  
  191. 10 Id: 100.1730 Suspend: 1 Teb: 7ff4f000 Unfrozen
  192. ChildEBP RetAddr Args to Child
  193. 05d1ff98 7c90d21a 7c92716c 00000001 05d1ffac ntdll!KiFastSystemCallRet
  194. 05d1ff9c 7c92716c 00000001 05d1ffac 00000000 ntdll!ZwDelayExecution+0xc
  195. 05d1ffb4 7c80b699 00000000 00000000 00000000 ntdll!RtlpTimerThread+0x47
  196. 05d1ffec 00000000 7c927125 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  197.  
  198. 11 Id: 100.1348 Suspend: 1 Teb: 7ff4c000 Unfrozen
  199. ChildEBP RetAddr Args to Child
  200. 0691e694 7c90df4a 7c8094fe 00000001 0691e6c0 ntdll!KiFastSystemCallRet
  201. 0691e698 7c8094fe 00000001 0691e6c0 00000000 ntdll!ZwWaitForMultipleObjects+0xc
  202. 0691e734 79f646ca 00000001 0691e974 00000001 KERNEL32!WaitForMultipleObjectsEx+0x12c
  203. 0691e79c 79f642fb 00000001 0691e974 00000001 mscorwks!WaitForMultipleObjectsEx_SO_TOLERANT+0x6f
  204. 0691e7bc 79f64404 00000001 0691e974 00000001 mscorwks!Thread::DoAppropriateAptStateWait+0x3c
  205. 0691e840 79f64499 00000001 0691e974 00000001 mscorwks!Thread::DoAppropriateWaitWorker+0x13c
  206. 0691e890 79f2d808 00000001 0691e974 00000001 mscorwks!Thread::DoAppropriateWait+0x40
  207. 0691e994 792b68af 00000000 00000000 00f29e80 mscorwks!WaitHandleNative::CorWaitOneNative+0x156
  208. 0691e9b0 792b6865 000003e8 00000000 7931782c mscorlib_ni+0x1f68af
  209. 0691e9c8 7b6f1a4f 00000000 00000103 0000c21e mscorlib_ni+0x1f6865
  210. 0691e9e0 7ba2d68b cc84e815 79e7a6b8 0691f248 System_Windows_Forms_ni+0x721a4f
  211. 0691ea74 7b6f33ac 00000001 00f29e50 00f29e30 System_Windows_Forms_ni+0xa5d68b
  212. 0691eab0 05a7edd1 00f29e50 00000000 00f29e50 System_Windows_Forms_ni+0x7233ac
  213. WARNING: Frame IP not in any known module. Following frames may be wrong.
  214. 0691eae8 05a7c84b 00000000 00000000 00000000 0x5a7edd1
  215. 0691ee04 792d6d66 0100044c 0691ee20 792f5681 0x5a7c84b
  216. 0691ee10 792f5681 00000000 001d28d0 0691ee30 mscorlib_ni+0x216d66
  217. 0691ee20 79e71b4c 00000000 00000000 0691eeb0 mscorlib_ni+0x235681
  218. 0691ee30 79e821b9 0691ef00 00000000 0691eed0 mscorwks!CallDescrWorker+0x33
  219. 0691eeb0 79e96531 0691ef00 00000000 0691eed0 mscorwks!CallDescrWorkerWithHandler+0xa3
  220. 0691eff4 79e96564 79241ff0 0691f128 0691f048 mscorwks!MethodDesc::CallDescr+0x19c
  221. 0691f010 79e96582 79241ff0 0691f128 0691f048 mscorwks!MethodDesc::CallTargetWorker+0x1f
  222. 0691f028 79f6a259 0691f048 ce8d7a65 001d28d0 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  223. 0691f1f4 79f6a3ae 0691f284 ce8d7935 01000494 mscorwks!ExecuteCodeWithGuaranteedCleanupHelper+0x9f
  224. 0691f2a4 792f5577 0691f248 00fff418 00e106c8 mscorwks!ReflectionInvocation::ExecuteCodeWithGuaranteedCleanup+0x10f
  225. 0691f2c0 792e01c5 00e7b498 0691f31c 00fff418 mscorlib_ni+0x235577
  226. 0691f2d8 792d6ce4 00e7b498 00000000 001d28d0 mscorlib_ni+0x2201c5
  227. 0691f2f0 79e71b4c 7c914d6c 00140000 0691f380 mscorlib_ni+0x216ce4
  228. 0691f300 79e821b9 0691f3d0 00000000 0691f3a0 mscorwks!CallDescrWorker+0x33
  229. 0691f380 79e96531 0691f3d0 00000000 0691f3a0 mscorwks!CallDescrWorkerWithHandler+0xa3
  230. 0691f4b8 79e96564 7924290c 0691f614 0691f54c mscorwks!MethodDesc::CallDescr+0x19c
  231. 0691f4d4 79e96582 7924290c 0691f614 0691f54c mscorwks!MethodDesc::CallTargetWorker+0x1f
  232. 0691f4ec 79f55623 0691f54c ce8d7d45 001d28d0 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  233. 0691f6d4 79e9848f 0691f850 00000000 00000000 mscorwks!ThreadNative::KickOffThread_Worker+0x192
  234. 0691f6e8 79e9842b 0691f7c4 0691f770 79fa6a6b mscorwks!Thread::DoADCallBack+0x32a
  235. 0691f77c 79e98351 0691f7c4 ce8d7c29 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0xe3
  236. 0691f7b8 79e984dd 0691f7c4 00000001 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0x30a
  237. 0691f7e0 79f553f4 00000001 79f55509 0691f850 mscorwks!Thread::ShouldChangeAbortToUnload+0x33e
  238. 0691f7f8 79f554ce 00000001 79f55509 0691f850 mscorwks!ManagedThreadBase::KickOff+0x13
  239. 0691f894 79f75715 0025bf00 00000000 0691fad0 mscorwks!ThreadNative::KickOffThread+0x269
  240. 0691ffb4 7c80b699 059511d8 7e4188e0 0013ebac mscorwks!Thread::intermediateThreadProc+0x49
  241. 0691ffec 00000000 79f756cf 059511d8 00000000 KERNEL32!BaseThreadStart+0x37
  242.  
  243. # 12 Id: 100.23b8 Suspend: 1 Teb: 7ffd4000 Unfrozen
  244. ChildEBP RetAddr Args to Child
  245. 05b0ffc8 7c951e38 00000005 00000004 00000001 ntdll!DbgBreakPoint
  246. 05b0fff4 00000000 00000000 00000000 05b10000 ntdll!DbgUiRemoteBreakin+0x2d
  247.  
  248. Here the crash is a separate time, caused by the screensaver and workstation locking, this is immediately after logging back in and the main form is frozen:
  249.  
  250. 0:013> ~*kb
  251.  
  252. 0 Id: 1c28.1610 Suspend: 1 Teb: 7ffde000 Unfrozen
  253. ChildEBP RetAddr Args to Child
  254. 0013ea98 7c90df4a 7c8094fe 00000002 0013eac4 ntdll!KiFastSystemCallRet
  255. 0013ea9c 7c8094fe 00000002 0013eac4 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  256. 0013eb38 7e4195f9 00000002 0013eb60 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  257. 0013eb94 77512235 00000001 0013ee94 00000186 USER32!RealMsgWaitForMultipleObjectsEx+0x13e
  258. 0013ebbc 77557227 0013ee94 00000186 0013ebe8 ole32!CCliModalLoop::BlockFn+0x80
  259. 0013ec30 79f817bd 00000002 000003e8 00000001 ole32!CoWaitForMultipleHandles+0xcf
  260. 0013ec50 79f81724 00000000 000003e8 00000001 mscorwks!NT5WaitRoutine+0x51
  261. 0013ecbc 79f81688 00000001 0013ee94 00000000 mscorwks!MsgWaitHelper+0xa5
  262. 0013ecdc 79f64404 00000001 0013ee94 00000001 mscorwks!Thread::DoAppropriateAptStateWait+0x28
  263. 0013ed60 79f64499 00000001 0013ee94 00000001 mscorwks!Thread::DoAppropriateWaitWorker+0x13c
  264. 0013edb0 79f2d808 00000001 0013ee94 00000001 mscorwks!Thread::DoAppropriateWait+0x40
  265. 0013eeb4 792b68af 00000000 00000000 01147bd8 mscorwks!WaitHandleNative::CorWaitOneNative+0x156
  266. 0013eed0 792b6865 000003e8 00000000 7931782c mscorlib_ni+0x1f68af
  267. 0013eee8 7b6f1a4f 00000000 00000103 0000c21e mscorlib_ni+0x1f6865
  268. 0013ef00 7ba2d68b 95b200e2 79e7a6b8 0013f098 System_Windows_Forms_ni+0x721a4f
  269. 0013ef94 7b6f33ac 00000001 01147bc4 01147ba4 System_Windows_Forms_ni+0xa5d68b
  270. 0013efd0 7b920bd7 01147bc4 01147bc4 01147ba4 System_Windows_Forms_ni+0x7233ac
  271. 0013efe8 7a92ed62 0114751c 00e82fe0 00000001 System_Windows_Forms_ni+0x950bd7
  272. 0013f01c 7a92dc8f 0114751c 0013f1a0 00000000 System_ni+0x4eed62
  273. 0013f068 7a92e19f 0114751c 00000003 00000000 System_ni+0x4edc8f
  274. 0013f084 7aaa06d6 060808b0 0000002f 95b200e2 System_ni+0x4ee19f
  275. 0013f114 7e418734 000f0aee 0000201a 0000002f System_ni+0x6606d6
  276. 0013f140 7e418816 00483022 000f0aee 0000201a USER32!InternalCallWinProc+0x28
  277. 0013f1a8 7e4189cd 00000000 00483022 000f0aee USER32!UserCallWinProcCheckWow+0x150
  278. 0013f208 7e418a10 0013f2a4 00000000 0013f234 USER32!DispatchMessageWorker+0x306
  279. 0013f218 03063d16 0013f2a4 95b200e2 00000000 USER32!DispatchMessageW+0xf
  280. WARNING: Frame IP not in any known module. Following frames may be wrong.
  281. 0013f234 7b1d8d2e 00e343f0 00000001 00de78e8 0x3063d16
  282. 0013f2e8 7b1d8997 00000000 ffffffff 00000000 System_Windows_Forms_ni+0x208d2e
  283. 0013f340 7b1d87e1 00de7848 16100006 00000000 System_Windows_Forms_ni+0x208997
  284. 0013f370 7b6eddec 00dea27c 00dea0a4 0013f3ac System_Windows_Forms_ni+0x2087e1
  285. 0013f380 5e547c0d 00de76e8 00000000 00000000 System_Windows_Forms_ni+0x71ddec
  286. 0013f3ac 5e54817f 00de76e8 00000000 00000000 Microsoft_VisualBasic_ni+0x117c0d
  287. 0013f3d8 5e546eb0 00def864 00def7d8 00def1ec Microsoft_VisualBasic_ni+0x11817f
  288. 0013f460 79e71b4c 00466a4a 00000003 0013f4f0 Microsoft_VisualBasic_ni+0x116eb0
  289. 0013f470 79e821b9 0013f540 00000000 0013f510 mscorwks!CallDescrWorker+0x33
  290. 0013f4f0 79e96531 0013f540 00000000 0013f510 mscorwks!CallDescrWorkerWithHandler+0xa3
  291. 0013f634 79e96564 0052c038 0013f700 0013f6cc mscorwks!MethodDesc::CallDescr+0x19c
  292. 0013f650 79e96582 0052c038 0013f700 0013f6cc mscorwks!MethodDesc::CallTargetWorker+0x1f
  293. 0013f668 79f0784d 0013f6cc 913c5181 00000000 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  294. 0013f7cc 79f0776d 00524b58 00000001 0013f808 mscorwks!ClassLoader::RunMain+0x223
  295. 0013fa34 79f07cbd 00000000 913c5949 00000001 mscorwks!Assembly::ExecuteMainMethod+0xa6
  296. 0013ff04 79f07ea7 00400000 00000000 913c5919 mscorwks!SystemDomain::ExecuteMainMethod+0x456
  297. 0013ff54 79f07dd7 00400000 913c59d1 00390030 mscorwks!ExecuteEXE+0x59
  298. 0013ff9c 603b55ab 79f07d3f 0013ffb8 79007f16 mscorwks!_CorExeMain+0x15c
  299. 0013ffa8 79007f16 00300030 603b0000 0013fff0 mscoreei!_CorExeMain+0x38
  300. 0013ffb8 79004de3 00300030 7c816fe7 00390030 mscoree!ShellShim__CorExeMain+0x99
  301. 0013ffc0 7c816fe7 00390030 00300030 7ffdf000 mscoree!_CorExeMain_Exported+0x8
  302. 0013fff0 00000000 79004ddb 00000000 78746341 KERNEL32!BaseProcessStart+0x23
  303.  
  304. 1 Id: 1c28.578 Suspend: 1 Teb: 7ffdd000 Unfrozen
  305. ChildEBP RetAddr Args to Child
  306. 00ddfe38 7c90df4a 7c8094fe 00000003 00ddfe64 ntdll!KiFastSystemCallRet
  307. 00ddfe3c 7c8094fe 00000003 00ddfe64 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  308. 00ddfed8 7c80a085 00000003 00ddff1c 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  309. 00ddfef4 79f1a361 00000003 00ddff1c 00000000 KERNEL32!WaitForMultipleObjects+0x18
  310. 00ddff54 79f1a2be 91f259c9 00000000 79f19164 mscorwks!DebuggerRCThread::MainLoop+0xe9
  311. 00ddff84 79f1a1e5 91f259f9 79f74431 79f19164 mscorwks!DebuggerRCThread::ThreadProc+0xe5
  312. 00ddffb4 7c80b699 00000000 79f74431 79f19164 mscorwks!DebuggerRCThread::ThreadProcStatic+0x9c
  313. 00ddffec 00000000 79f1a19f 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  314.  
  315. 2 Id: 1c28.e0c Suspend: 1 Teb: 7ffdc000 Unfrozen
  316. ChildEBP RetAddr Args to Child
  317. 02f7fcd0 7c90df4a 7c8094fe 00000002 02f7fcfc ntdll!KiFastSystemCallRet
  318. 02f7fcd4 7c8094fe 00000002 02f7fcfc 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  319. 02f7fd70 7c80a085 00000002 7a3b8d28 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  320. 02f7fd8c 79f762cb 00000002 7a3b8d28 00000000 KERNEL32!WaitForMultipleObjects+0x18
  321. 02f7fdac 79f7a728 00182dc8 02f7feb0 001835c8 mscorwks!WKS::WaitForFinalizerEvent+0x77
  322. 02f7fdc0 79e9848f 02f7feb0 00000000 00000000 mscorwks!WKS::GCHeap::FinalizerThreadWorker+0x49
  323. 02f7fdd4 79e9842b 02f7feb0 02f7fe5c 79fa6a6b mscorwks!Thread::DoADCallBack+0x32a
  324. 02f7fe68 79e98351 02f7feb0 93d858e9 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0xe3
  325. 02f7fea4 79f074d4 02f7feb0 00000000 001797b0 mscorwks!Thread::ShouldChangeAbortToUnload+0x30a
  326. 02f7fecc 79f074e5 79f7a6dd 00000008 02f7ff14 mscorwks!ManagedThreadBase_NoADTransition+0x32
  327. 02f7fedc 79f5445c 79f7a6dd 93d85959 00000000 mscorwks!ManagedThreadBase::FinalizerBase+0xd
  328. 02f7ff14 79f75715 00000000 895d2308 804fb042 mscorwks!WKS::GCHeap::FinalizerThreadStart+0xbb
  329. 02f7ffb4 7c80b699 001835c8 00730074 00610020 mscorwks!Thread::intermediateThreadProc+0x49
  330. 02f7ffec 00000000 79f756cf 001835c8 00000000 KERNEL32!BaseThreadStart+0x37
  331.  
  332. 3 Id: 1c28.fec Suspend: 1 Teb: 7ffdb000 Unfrozen
  333. ChildEBP RetAddr Args to Child
  334. 0318fecc 7c90df4a 7c8094fe 00000001 0318fef8 ntdll!KiFastSystemCallRet
  335. 0318fed0 7c8094fe 00000001 0318fef8 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  336. 0318ff6c 7a13c15d 00000001 001b3010 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  337. 0318ffb4 7c80b699 001b2ff8 00000000 79e7fc98 mscorwks!ThreadpoolMgr::WaitThreadStart+0x9a
  338. 0318ffec 00000000 7a13c07c 001b2ff8 00000000 KERNEL32!BaseThreadStart+0x37
  339.  
  340. 4 Id: 1c28.1728 Suspend: 1 Teb: 7ffda000 Unfrozen
  341. ChildEBP RetAddr Args to Child
  342. 0332fe50 7c90df4a 7c8094fe 00000002 0332fe7c ntdll!KiFastSystemCallRet
  343. 0332fe54 7c8094fe 00000002 0332fe7c 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  344. 0332fef0 7e4195f9 00000002 0332ff18 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  345. 0332ff4c 7e4196a8 00000001 0332ffac ffffffff USER32!RealMsgWaitForMultipleObjectsEx+0x13e
  346. 0332ff68 4ec683bd 00000001 0332ffac 00000000 USER32!MsgWaitForMultipleObjects+0x1f
  347. 0332ffb4 7c80b699 00000000 7c80a0e4 00000011 gdiplus!BackgroundThreadProc+0x59
  348. 0332ffec 00000000 4ec68361 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  349.  
  350. 5 Id: 1c28.1c8c Suspend: 1 Teb: 7ffd8000 Unfrozen
  351. ChildEBP RetAddr Args to Child
  352. 0376fed0 7c90d21a 7c8023ed 00000001 0376ff04 ntdll!KiFastSystemCallRet
  353. 0376fed4 7c8023ed 00000001 0376ff04 79e8926e ntdll!ZwDelayExecution+0xc
  354. 0376ff2c 79ec45f9 ffffffff 00000001 0376ff9c KERNEL32!SleepEx+0x61
  355. 0376ffa8 79ec44a7 92774921 0376ffec 7c80b699 mscorwks!ThreadpoolMgr::TimerThreadFire+0x6d
  356. 0376ffb4 7c80b699 0358f268 79e8926e 92774921 mscorwks!ThreadpoolMgr::TimerThreadStart+0x57
  357. 0376ffec 00000000 79ec444f 0358f268 00000000 KERNEL32!BaseThreadStart+0x37
  358.  
  359. 6 Id: 1c28.ac Suspend: 1 Teb: 7ffd7000 Unfrozen
  360. ChildEBP RetAddr Args to Child
  361. 0525fba0 7c90df5a 7c8025cb 00000204 00000000 ntdll!KiFastSystemCallRet
  362. 0525fba4 7c8025cb 00000204 00000000 0525fbd8 ntdll!NtWaitForSingleObject+0xc
  363. 0525fc08 79e8c5f9 00000204 00027cb8 00000000 KERNEL32!WaitForSingleObjectEx+0xa8
  364. 0525fc4c 79e8c52f 00000204 00027cb8 00000000 mscorwks!PEImage::LoadImage+0x1af
  365. 0525fc9c 79e8c54e 00027cb8 00000000 00000000 mscorwks!CLREvent::WaitEx+0x117
  366. 0525fcb0 79ec43bb 00027cb8 00000000 00000000 mscorwks!CLREvent::Wait+0x17
  367. 0525fd30 79ec4849 001ac3d0 00027cb8 00000000 mscorwks!ThreadpoolMgr::SafeWait+0x73
  368. 0525fd94 79f75715 00000000 00000000 00000000 mscorwks!ThreadpoolMgr::WorkerThreadStart+0x11c
  369. 0525ffb4 7c80b699 001a0450 03007265 0376f9f0 mscorwks!Thread::intermediateThreadProc+0x49
  370. 0525ffec 00000000 79f756cf 001a0450 00000000 KERNEL32!BaseThreadStart+0x37
  371.  
  372. 7 Id: 1c28.2e3c Suspend: 1 Teb: 7ffd6000 Unfrozen
  373. ChildEBP RetAddr Args to Child
  374. 0535fe18 7c90daaa 77e76713 000001e4 0535ff70 ntdll!KiFastSystemCallRet
  375. 0535fe1c 77e76713 000001e4 0535ff70 00000000 ntdll!ZwReplyWaitReceivePortEx+0xc
  376. 0535ff80 77e76c2b 0535ffa8 77e76a4d 001622c8 RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0xf4
  377. 0535ff88 77e76a4d 001622c8 00000000 0013e4ec RPCRT4!RecvLotsaCallsWrapper+0xd
  378. 0535ffa8 77e76c13 001a57a8 0535ffec 7c80b699 RPCRT4!BaseCachedThreadRoutine+0x79
  379. 0535ffb4 7c80b699 001cee60 00000000 0013e4ec RPCRT4!ThreadStartRoutine+0x1a
  380. 0535ffec 00000000 77e76bf9 001cee60 00000000 KERNEL32!BaseThreadStart+0x37
  381.  
  382. 8 Id: 1c28.19bc Suspend: 1 Teb: 7ffd9000 Unfrozen
  383. ChildEBP RetAddr Args to Child
  384. 0565fea4 7c90df4a 7c8094fe 00000002 0565fed0 ntdll!KiFastSystemCallRet
  385. 0565fea8 7c8094fe 00000002 0565fed0 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  386. 0565ff44 77de4e8a 00000002 0565ff6c 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  387. 0565ffb4 7c80b699 00000000 7c913ba7 00000000 ADVAPI32!WmipEventPump+0x230
  388. 0565ffec 00000000 77de4ce3 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  389.  
  390. 9 Id: 1c28.2458 Suspend: 1 Teb: 7ff4e000 Unfrozen
  391. ChildEBP RetAddr Args to Child
  392. 05d1ff98 7c90d21a 7c92716c 00000001 05d1ffac ntdll!KiFastSystemCallRet
  393. 05d1ff9c 7c92716c 00000001 05d1ffac 00000000 ntdll!ZwDelayExecution+0xc
  394. 05d1ffb4 7c80b699 00000000 00000000 00000000 ntdll!RtlpTimerThread+0x47
  395. 05d1ffec 00000000 7c927125 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  396.  
  397. 10 Id: 1c28.2a90 Suspend: 1 Teb: 7ff4f000 Unfrozen
  398. ChildEBP RetAddr Args to Child
  399. 0691e968 7c90d21a 7c8023ed 00000001 0691e99c ntdll!KiFastSystemCallRet
  400. 0691e96c 7c8023ed 00000001 0691e99c 00000000 ntdll!ZwDelayExecution+0xc
  401. 0691e9c4 79e8d050 000003e8 00000001 97be4fb5 KERNEL32!SleepEx+0x61
  402. 0691e9f8 79f9283f 000003e8 00000001 0691ea1c mscorwks!EESleepEx+0xbb
  403. 0691ea08 79f9282d 7a3bdc98 000003e8 00000001 mscorwks!CExecutionEngine::ClrSleepEx+0xe
  404. 0691ea1c 79f927ec 000003e8 00000001 97be4c15 mscorwks!ClrSleepEx+0x14
  405. 0691ea58 79f928ed 000003e8 97be4cb5 000157c0 mscorwks!Thread::UserSleep+0x63
  406. 0691eaf8 05b29026 000157c0 00e10db4 00000000 mscorwks!ThreadNative::Sleep+0xce
  407. WARNING: Frame IP not in any known module. Following frames may be wrong.
  408. 0691ee04 792d6d66 01008234 0691ee20 792f5681 0x5b29026
  409. 0691ee10 792f5681 00000000 066e4740 0691ee30 mscorlib_ni+0x216d66
  410. 0691ee20 79e71b4c 00000000 00000000 0691eeb0 mscorlib_ni+0x235681
  411. 0691ee30 79e821b9 0691ef00 00000000 0691eed0 mscorwks!CallDescrWorker+0x33
  412. 0691eeb0 79e96531 0691ef00 00000000 0691eed0 mscorwks!CallDescrWorkerWithHandler+0xa3
  413. 0691eff4 79e96564 79241ff0 0691f128 0691f048 mscorwks!MethodDesc::CallDescr+0x19c
  414. 0691f010 79e96582 79241ff0 0691f128 0691f048 mscorwks!MethodDesc::CallTargetWorker+0x1f
  415. 0691f028 79f6a259 0691f048 97be57b9 066e4740 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  416. 0691f1f4 79f6a3ae 0691f284 97be54e9 0100827c mscorwks!ExecuteCodeWithGuaranteedCleanupHelper+0x9f
  417. 0691f2a4 792f5577 0691f248 01007200 00debb2c mscorwks!ReflectionInvocation::ExecuteCodeWithGuaranteedCleanup+0x10f
  418. 0691f2c0 792e01c5 00e7fae0 0691f31c 01007200 mscorlib_ni+0x235577
  419. 0691f2d8 792d6ce4 00e7fae0 00000000 066e4740 mscorlib_ni+0x2201c5
  420. 0691f2f0 79e71b4c 7c914d6c 00140000 0691f380 mscorlib_ni+0x216ce4
  421. 0691f300 79e821b9 0691f3d0 00000000 0691f3a0 mscorwks!CallDescrWorker+0x33
  422. 0691f380 79e96531 0691f3d0 00000000 0691f3a0 mscorwks!CallDescrWorkerWithHandler+0xa3
  423. 0691f4b8 79e96564 7924290c 0691f614 0691f54c mscorwks!MethodDesc::CallDescr+0x19c
  424. 0691f4d4 79e96582 7924290c 0691f614 0691f54c mscorwks!MethodDesc::CallTargetWorker+0x1f
  425. 0691f4ec 79f55623 0691f54c 97be5099 066e4740 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  426. 0691f6d4 79e9848f 0691f850 00000000 00000000 mscorwks!ThreadNative::KickOffThread_Worker+0x192
  427. 0691f6e8 79e9842b 0691f7c4 0691f770 79fa6a6b mscorwks!Thread::DoADCallBack+0x32a
  428. 0691f77c 79e98351 0691f7c4 97be51f5 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0xe3
  429. 0691f7b8 79e984dd 0691f7c4 00000001 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0x30a
  430. 0691f7e0 79f553f4 00000001 79f55509 0691f850 mscorwks!Thread::ShouldChangeAbortToUnload+0x33e
  431. 0691f7f8 79f554ce 00000001 79f55509 0691f850 mscorwks!ManagedThreadBase::KickOff+0x13
  432. 0691f894 79f75715 0020f0b0 00000000 0691fad0 mscorwks!ThreadNative::KickOffThread+0x269
  433. 0691ffb4 7c80b699 06752168 7e4188e0 0013e960 mscorwks!Thread::intermediateThreadProc+0x49
  434. 0691ffec 00000000 79f756cf 06752168 00000000 KERNEL32!BaseThreadStart+0x37
  435.  
  436. 11 Id: 1c28.2ef4 Suspend: 1 Teb: 7ff4c000 Unfrozen
  437. ChildEBP RetAddr Args to Child
  438. 06e1fe18 7c90daaa 77e76713 000001e4 06e1ff70 ntdll!KiFastSystemCallRet
  439. 06e1fe1c 77e76713 000001e4 06e1ff70 00000000 ntdll!ZwReplyWaitReceivePortEx+0xc
  440. 06e1ff80 77e76c2b 06e1ffa8 77e76a4d 001622c8 RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0xf4
  441. 06e1ff88 77e76a4d 001622c8 7c808faa 00000000 RPCRT4!RecvLotsaCallsWrapper+0xd
  442. 06e1ffa8 77e76c13 001a57a8 06e1ffec 7c80b699 RPCRT4!BaseCachedThreadRoutine+0x79
  443. 06e1ffb4 7c80b699 0609ef38 7c808faa 00000000 RPCRT4!ThreadStartRoutine+0x1a
  444. 06e1ffec 00000000 77e76bf9 0609ef38 00000000 KERNEL32!BaseThreadStart+0x37
  445.  
  446. 12 Id: 1c28.2f64 Suspend: 1 Teb: 7ffd4000 Unfrozen
  447. ChildEBP RetAddr Args to Child
  448. 05e1e228 7e419418 7b1d8ea8 95b200e2 79e7a6b8 ntdll!KiFastSystemCallRet
  449. 05e1e2c0 7b1d8997 00000000 00000004 00000000 USER32!NtUserWaitMessage+0xc
  450. 05e1e318 7b1d87e1 01073260 00000000 00000000 System_Windows_Forms_ni+0x208997
  451. 05e1e348 7b6ede2b 01073260 00522010 00000000 System_Windows_Forms_ni+0x2087e1
  452. 05e1e360 7b7225ab 95b200e2 79e7a6b8 05e1ecc8 System_Windows_Forms_ni+0x71de2b
  453. 05e1e3ec 7b7227c3 062b1e46 00000000 00000000 System_Windows_Forms_ni+0x7525ab
  454. 05e1e884 792d6d66 0106597c 05e1e8a0 792f5681 System_Windows_Forms_ni+0x7527c3
  455. 05e1e890 792f5681 00000000 001f8378 05e1e8b0 mscorlib_ni+0x216d66
  456. 05e1e8a0 79e71b4c 00000000 00000000 05e1e930 mscorlib_ni+0x235681
  457. 05e1e8b0 79e821b9 05e1e980 00000000 05e1e950 mscorwks!CallDescrWorker+0x33
  458. 05e1e930 79e96531 05e1e980 00000000 05e1e950 mscorwks!CallDescrWorkerWithHandler+0xa3
  459. 05e1ea74 79e96564 79241ff0 05e1eba8 05e1eac8 mscorwks!MethodDesc::CallDescr+0x19c
  460. 05e1ea90 79e96582 79241ff0 05e1eba8 05e1eac8 mscorwks!MethodDesc::CallTargetWorker+0x1f
  461. 05e1eaa8 79f6a259 05e1eac8 94ce4a39 001f8378 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  462. 05e1ec74 79f6a3ae 05e1ed04 94ce4b69 010659c4 mscorwks!ExecuteCodeWithGuaranteedCleanupHelper+0x9f
  463. 05e1ed24 792f5577 05e1ecc8 01064bfc 00debb2c mscorwks!ReflectionInvocation::ExecuteCodeWithGuaranteedCleanup+0x10f
  464. 05e1ed40 792e01c5 01064bc8 05e1ed9c 01064bfc mscorlib_ni+0x235577
  465. 05e1ed58 792d6ce4 01064bc8 00000000 001f8378 mscorlib_ni+0x2201c5
  466. 05e1ed70 79e71b4c 00000000 00000000 05e1ee00 mscorlib_ni+0x216ce4
  467. 05e1ed80 79e821b9 05e1ee50 00000000 05e1ee20 mscorwks!CallDescrWorker+0x33
  468. 05e1ee00 79e96531 05e1ee50 00000000 05e1ee20 mscorwks!CallDescrWorkerWithHandler+0xa3
  469. 05e1ef38 79e96564 7924290c 05e1f094 05e1efcc mscorwks!MethodDesc::CallDescr+0x19c
  470. 05e1ef54 79e96582 7924290c 05e1f094 05e1efcc mscorwks!MethodDesc::CallTargetWorker+0x1f
  471. 05e1ef6c 79f55623 05e1efcc 94ce5719 001f8378 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  472. 05e1f154 79e9848f 05e1f2d0 00000000 00000000 mscorwks!ThreadNative::KickOffThread_Worker+0x192
  473. 05e1f168 79e9842b 05e1f244 05e1f1f0 79fa6a6b mscorwks!Thread::DoADCallBack+0x32a
  474. 05e1f1fc 79e98351 05e1f244 94ce5475 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0xe3
  475. 05e1f238 79e984dd 05e1f244 00000001 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0x30a
  476. 05e1f260 79f553f4 00000001 79f55509 05e1f2d0 mscorwks!Thread::ShouldChangeAbortToUnload+0x33e
  477. 05e1f278 79f554ce 00000001 79f55509 05e1f2d0 mscorwks!ManagedThreadBase::KickOff+0x13
  478. 05e1f314 79f75715 060cb0a0 05e1f350 7c914c42 mscorwks!ThreadNative::KickOffThread+0x269
  479. 05e1ffb4 7c80b699 06666de0 79e71b4c 0691e680 mscorwks!Thread::intermediateThreadProc+0x49
  480. 05e1ffec 00000000 79f756cf 06666de0 00000000 KERNEL32!BaseThreadStart+0x37
  481.  
  482. # 13 Id: 1c28.24ac Suspend: 1 Teb: 7ffd5000 Unfrozen
  483. ChildEBP RetAddr Args to Child
  484. 0359ffc8 7c951e38 00000005 00000004 00000001 ntdll!DbgBreakPoint
  485. 0359fff4 00000000 00000000 ff000000 ff000000 ntdll!DbgUiRemoteBreakin+0x2d
  486.  
  487. A dialog box will generally appear in the interval of time it take for the screen saver to turn on, so there is usually a dialog box present after logging back in, and while the main form will not respond, the dialog box IS responsive. so this next one is after the exact same crash as above, but after hitting OK in the dialog box, in case this could be relevant:
  488.  
  489. 0:012> ~*kb
  490.  
  491. 0 Id: 1c28.1610 Suspend: 1 Teb: 7ffde000 Unfrozen
  492. ChildEBP RetAddr Args to Child
  493. 0013ea98 7c90df4a 7c8094fe 00000002 0013eac4 ntdll!KiFastSystemCallRet
  494. 0013ea9c 7c8094fe 00000002 0013eac4 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  495. 0013eb38 7e4195f9 00000002 0013eb60 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  496. 0013eb94 77512235 00000001 0013ee94 00000157 USER32!RealMsgWaitForMultipleObjectsEx+0x13e
  497. 0013ebbc 77557227 0013ee94 00000157 0013ebe8 ole32!CCliModalLoop::BlockFn+0x80
  498. 0013ec30 79f817bd 00000002 000003e8 00000001 ole32!CoWaitForMultipleHandles+0xcf
  499. 0013ec50 79f81724 00000000 000003e8 00000001 mscorwks!NT5WaitRoutine+0x51
  500. 0013ecbc 79f81688 00000001 0013ee94 00000000 mscorwks!MsgWaitHelper+0xa5
  501. 0013ecdc 79f64404 00000001 0013ee94 00000001 mscorwks!Thread::DoAppropriateAptStateWait+0x28
  502. 0013ed60 79f64499 00000001 0013ee94 00000001 mscorwks!Thread::DoAppropriateWaitWorker+0x13c
  503. 0013edb0 79f2d808 00000001 0013ee94 00000001 mscorwks!Thread::DoAppropriateWait+0x40
  504. 0013eeb4 792b68af 00000000 00000000 01147bd8 mscorwks!WaitHandleNative::CorWaitOneNative+0x156
  505. 0013eed0 792b6865 000003e8 00000000 7931782c mscorlib_ni+0x1f68af
  506. 0013eee8 7b6f1a4f 00000000 00000103 0000c21e mscorlib_ni+0x1f6865
  507. 0013ef00 7ba2d68b 95b200e2 79e7a6b8 0013f098 System_Windows_Forms_ni+0x721a4f
  508. 0013ef94 7b6f33ac 00000001 01147bc4 01147ba4 System_Windows_Forms_ni+0xa5d68b
  509. 0013efd0 7b920bd7 01147bc4 01147bc4 01147ba4 System_Windows_Forms_ni+0x7233ac
  510. 0013efe8 7a92ed62 0114751c 00e82fe0 00000001 System_Windows_Forms_ni+0x950bd7
  511. 0013f01c 7a92dc8f 0114751c 0013f1a0 00000000 System_ni+0x4eed62
  512. 0013f068 7a92e19f 0114751c 00000003 00000000 System_ni+0x4edc8f
  513. 0013f084 7aaa06d6 060808b0 0000002f 95b200e2 System_ni+0x4ee19f
  514. 0013f114 7e418734 000f0aee 0000201a 0000002f System_ni+0x6606d6
  515. 0013f140 7e418816 00483022 000f0aee 0000201a USER32!InternalCallWinProc+0x28
  516. 0013f1a8 7e4189cd 00000000 00483022 000f0aee USER32!UserCallWinProcCheckWow+0x150
  517. 0013f208 7e418a10 0013f2a4 00000000 0013f234 USER32!DispatchMessageWorker+0x306
  518. 0013f218 03063d16 0013f2a4 95b200e2 00000000 USER32!DispatchMessageW+0xf
  519. WARNING: Frame IP not in any known module. Following frames may be wrong.
  520. 0013f234 7b1d8d2e 00e343f0 00000001 00de78e8 0x3063d16
  521. 0013f2e8 7b1d8997 00000000 ffffffff 00000000 System_Windows_Forms_ni+0x208d2e
  522. 0013f340 7b1d87e1 00de7848 16100006 00000000 System_Windows_Forms_ni+0x208997
  523. 0013f370 7b6eddec 00dea27c 00dea0a4 0013f3ac System_Windows_Forms_ni+0x2087e1
  524. 0013f380 5e547c0d 00de76e8 00000000 00000000 System_Windows_Forms_ni+0x71ddec
  525. 0013f3ac 5e54817f 00de76e8 00000000 00000000 Microsoft_VisualBasic_ni+0x117c0d
  526. 0013f3d8 5e546eb0 00def864 00def7d8 00def1ec Microsoft_VisualBasic_ni+0x11817f
  527. 0013f460 79e71b4c 00466a4a 00000003 0013f4f0 Microsoft_VisualBasic_ni+0x116eb0
  528. 0013f470 79e821b9 0013f540 00000000 0013f510 mscorwks!CallDescrWorker+0x33
  529. 0013f4f0 79e96531 0013f540 00000000 0013f510 mscorwks!CallDescrWorkerWithHandler+0xa3
  530. 0013f634 79e96564 0052c038 0013f700 0013f6cc mscorwks!MethodDesc::CallDescr+0x19c
  531. 0013f650 79e96582 0052c038 0013f700 0013f6cc mscorwks!MethodDesc::CallTargetWorker+0x1f
  532. 0013f668 79f0784d 0013f6cc 913c5181 00000000 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  533. 0013f7cc 79f0776d 00524b58 00000001 0013f808 mscorwks!ClassLoader::RunMain+0x223
  534. 0013fa34 79f07cbd 00000000 913c5949 00000001 mscorwks!Assembly::ExecuteMainMethod+0xa6
  535. 0013ff04 79f07ea7 00400000 00000000 913c5919 mscorwks!SystemDomain::ExecuteMainMethod+0x456
  536. 0013ff54 79f07dd7 00400000 913c59d1 00390030 mscorwks!ExecuteEXE+0x59
  537. 0013ff9c 603b55ab 79f07d3f 0013ffb8 79007f16 mscorwks!_CorExeMain+0x15c
  538. 0013ffa8 79007f16 00300030 603b0000 0013fff0 mscoreei!_CorExeMain+0x38
  539. 0013ffb8 79004de3 00300030 7c816fe7 00390030 mscoree!ShellShim__CorExeMain+0x99
  540. 0013ffc0 7c816fe7 00390030 00300030 7ffdf000 mscoree!_CorExeMain_Exported+0x8
  541. 0013fff0 00000000 79004ddb 00000000 78746341 KERNEL32!BaseProcessStart+0x23
  542.  
  543. 1 Id: 1c28.578 Suspend: 1 Teb: 7ffdd000 Unfrozen
  544. ChildEBP RetAddr Args to Child
  545. 00ddfe38 7c90df4a 7c8094fe 00000003 00ddfe64 ntdll!KiFastSystemCallRet
  546. 00ddfe3c 7c8094fe 00000003 00ddfe64 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  547. 00ddfed8 7c80a085 00000003 00ddff1c 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  548. 00ddfef4 79f1a361 00000003 00ddff1c 00000000 KERNEL32!WaitForMultipleObjects+0x18
  549. 00ddff54 79f1a2be 91f259c9 00000000 79f19164 mscorwks!DebuggerRCThread::MainLoop+0xe9
  550. 00ddff84 79f1a1e5 91f259f9 79f74431 79f19164 mscorwks!DebuggerRCThread::ThreadProc+0xe5
  551. 00ddffb4 7c80b699 00000000 79f74431 79f19164 mscorwks!DebuggerRCThread::ThreadProcStatic+0x9c
  552. 00ddffec 00000000 79f1a19f 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  553.  
  554. 2 Id: 1c28.e0c Suspend: 1 Teb: 7ffdc000 Unfrozen
  555. ChildEBP RetAddr Args to Child
  556. 02f7fcd0 7c90df4a 7c8094fe 00000002 02f7fcfc ntdll!KiFastSystemCallRet
  557. 02f7fcd4 7c8094fe 00000002 02f7fcfc 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  558. 02f7fd70 7c80a085 00000002 7a3b8d28 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  559. 02f7fd8c 79f762cb 00000002 7a3b8d28 00000000 KERNEL32!WaitForMultipleObjects+0x18
  560. 02f7fdac 79f7a728 00182dc8 02f7feb0 001835c8 mscorwks!WKS::WaitForFinalizerEvent+0x77
  561. 02f7fdc0 79e9848f 02f7feb0 00000000 00000000 mscorwks!WKS::GCHeap::FinalizerThreadWorker+0x49
  562. 02f7fdd4 79e9842b 02f7feb0 02f7fe5c 79fa6a6b mscorwks!Thread::DoADCallBack+0x32a
  563. 02f7fe68 79e98351 02f7feb0 93d858e9 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0xe3
  564. 02f7fea4 79f074d4 02f7feb0 00000000 001797b0 mscorwks!Thread::ShouldChangeAbortToUnload+0x30a
  565. 02f7fecc 79f074e5 79f7a6dd 00000008 02f7ff14 mscorwks!ManagedThreadBase_NoADTransition+0x32
  566. 02f7fedc 79f5445c 79f7a6dd 93d85959 00000000 mscorwks!ManagedThreadBase::FinalizerBase+0xd
  567. 02f7ff14 79f75715 00000000 895d2308 804fb042 mscorwks!WKS::GCHeap::FinalizerThreadStart+0xbb
  568. 02f7ffb4 7c80b699 001835c8 00730074 00610020 mscorwks!Thread::intermediateThreadProc+0x49
  569. 02f7ffec 00000000 79f756cf 001835c8 00000000 KERNEL32!BaseThreadStart+0x37
  570.  
  571. 3 Id: 1c28.fec Suspend: 1 Teb: 7ffdb000 Unfrozen
  572. ChildEBP RetAddr Args to Child
  573. 0318fecc 7c90df4a 7c8094fe 00000001 0318fef8 ntdll!KiFastSystemCallRet
  574. 0318fed0 7c8094fe 00000001 0318fef8 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  575. 0318ff6c 7a13c15d 00000001 001b3010 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  576. 0318ffb4 7c80b699 001b2ff8 00000000 79e7fc98 mscorwks!ThreadpoolMgr::WaitThreadStart+0x9a
  577. 0318ffec 00000000 7a13c07c 001b2ff8 00000000 KERNEL32!BaseThreadStart+0x37
  578.  
  579. 4 Id: 1c28.1728 Suspend: 1 Teb: 7ffda000 Unfrozen
  580. ChildEBP RetAddr Args to Child
  581. 0332fe50 7c90df4a 7c8094fe 00000002 0332fe7c ntdll!KiFastSystemCallRet
  582. 0332fe54 7c8094fe 00000002 0332fe7c 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  583. 0332fef0 7e4195f9 00000002 0332ff18 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  584. 0332ff4c 7e4196a8 00000001 0332ffac ffffffff USER32!RealMsgWaitForMultipleObjectsEx+0x13e
  585. 0332ff68 4ec683bd 00000001 0332ffac 00000000 USER32!MsgWaitForMultipleObjects+0x1f
  586. 0332ffb4 7c80b699 00000000 7c80a0e4 00000011 gdiplus!BackgroundThreadProc+0x59
  587. 0332ffec 00000000 4ec68361 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  588.  
  589. 5 Id: 1c28.1c8c Suspend: 1 Teb: 7ffd8000 Unfrozen
  590. ChildEBP RetAddr Args to Child
  591. 0376fed0 7c90d21a 7c8023ed 00000001 0376ff04 ntdll!KiFastSystemCallRet
  592. 0376fed4 7c8023ed 00000001 0376ff04 79e8926e ntdll!ZwDelayExecution+0xc
  593. 0376ff2c 79ec45f9 ffffffff 00000001 0376ff9c KERNEL32!SleepEx+0x61
  594. 0376ffa8 79ec44a7 92774921 0376ffec 7c80b699 mscorwks!ThreadpoolMgr::TimerThreadFire+0x6d
  595. 0376ffb4 7c80b699 0358f268 79e8926e 92774921 mscorwks!ThreadpoolMgr::TimerThreadStart+0x57
  596. 0376ffec 00000000 79ec444f 0358f268 00000000 KERNEL32!BaseThreadStart+0x37
  597.  
  598. 6 Id: 1c28.ac Suspend: 1 Teb: 7ffd7000 Unfrozen
  599. ChildEBP RetAddr Args to Child
  600. 0525fba0 7c90df5a 7c8025cb 00000204 00000000 ntdll!KiFastSystemCallRet
  601. 0525fba4 7c8025cb 00000204 00000000 0525fbd8 ntdll!NtWaitForSingleObject+0xc
  602. 0525fc08 79e8c5f9 00000204 00027cb8 00000000 KERNEL32!WaitForSingleObjectEx+0xa8
  603. 0525fc4c 79e8c52f 00000204 00027cb8 00000000 mscorwks!PEImage::LoadImage+0x1af
  604. 0525fc9c 79e8c54e 00027cb8 00000000 00000000 mscorwks!CLREvent::WaitEx+0x117
  605. 0525fcb0 79ec43bb 00027cb8 00000000 00000000 mscorwks!CLREvent::Wait+0x17
  606. 0525fd30 79ec4849 001ac3d0 00027cb8 00000000 mscorwks!ThreadpoolMgr::SafeWait+0x73
  607. 0525fd94 79f75715 00000000 00000000 00000000 mscorwks!ThreadpoolMgr::WorkerThreadStart+0x11c
  608. 0525ffb4 7c80b699 001a0450 03007265 0376f9f0 mscorwks!Thread::intermediateThreadProc+0x49
  609. 0525ffec 00000000 79f756cf 001a0450 00000000 KERNEL32!BaseThreadStart+0x37
  610.  
  611. 7 Id: 1c28.2e3c Suspend: 1 Teb: 7ffd6000 Unfrozen
  612. ChildEBP RetAddr Args to Child
  613. 0535fe18 7c90daaa 77e76713 000001e4 0535ff70 ntdll!KiFastSystemCallRet
  614. 0535fe1c 77e76713 000001e4 0535ff70 00000000 ntdll!ZwReplyWaitReceivePortEx+0xc
  615. 0535ff80 77e76c2b 0535ffa8 77e76a4d 001622c8 RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0xf4
  616. 0535ff88 77e76a4d 001622c8 00000000 0013e4ec RPCRT4!RecvLotsaCallsWrapper+0xd
  617. 0535ffa8 77e76c13 001a57a8 0535ffec 7c80b699 RPCRT4!BaseCachedThreadRoutine+0x79
  618. 0535ffb4 7c80b699 001cee60 00000000 0013e4ec RPCRT4!ThreadStartRoutine+0x1a
  619. 0535ffec 00000000 77e76bf9 001cee60 00000000 KERNEL32!BaseThreadStart+0x37
  620.  
  621. 8 Id: 1c28.19bc Suspend: 1 Teb: 7ffd9000 Unfrozen
  622. ChildEBP RetAddr Args to Child
  623. 0565fea4 7c90df4a 7c8094fe 00000002 0565fed0 ntdll!KiFastSystemCallRet
  624. 0565fea8 7c8094fe 00000002 0565fed0 00000001 ntdll!ZwWaitForMultipleObjects+0xc
  625. 0565ff44 77de4e8a 00000002 0565ff6c 00000000 KERNEL32!WaitForMultipleObjectsEx+0x12c
  626. 0565ffb4 7c80b699 00000000 7c913ba7 00000000 ADVAPI32!WmipEventPump+0x230
  627. 0565ffec 00000000 77de4ce3 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  628.  
  629. 9 Id: 1c28.2458 Suspend: 1 Teb: 7ff4e000 Unfrozen
  630. ChildEBP RetAddr Args to Child
  631. 05d1ff98 7c90d21a 7c92716c 00000001 05d1ffac ntdll!KiFastSystemCallRet
  632. 05d1ff9c 7c92716c 00000001 05d1ffac 00000000 ntdll!ZwDelayExecution+0xc
  633. 05d1ffb4 7c80b699 00000000 00000000 00000000 ntdll!RtlpTimerThread+0x47
  634. 05d1ffec 00000000 7c927125 00000000 00000000 KERNEL32!BaseThreadStart+0x37
  635.  
  636. 10 Id: 1c28.2a90 Suspend: 1 Teb: 7ff4f000 Unfrozen
  637. ChildEBP RetAddr Args to Child
  638. 0691e694 7c90df4a 7c8094fe 00000001 0691e6c0 ntdll!KiFastSystemCallRet
  639. 0691e698 7c8094fe 00000001 0691e6c0 00000000 ntdll!ZwWaitForMultipleObjects+0xc
  640. 0691e734 79f646ca 00000001 0691e974 00000001 KERNEL32!WaitForMultipleObjectsEx+0x12c
  641. 0691e79c 79f642fb 00000001 0691e974 00000001 mscorwks!WaitForMultipleObjectsEx_SO_TOLERANT+0x6f
  642. 0691e7bc 79f64404 00000001 0691e974 00000001 mscorwks!Thread::DoAppropriateAptStateWait+0x3c
  643. 0691e840 79f64499 00000001 0691e974 00000001 mscorwks!Thread::DoAppropriateWaitWorker+0x13c
  644. 0691e890 79f2d808 00000001 0691e974 00000001 mscorwks!Thread::DoAppropriateWait+0x40
  645. 0691e994 792b68af 00000000 00000000 011859e0 mscorwks!WaitHandleNative::CorWaitOneNative+0x156
  646. 0691e9b0 792b6865 000003e8 00000000 7931782c mscorlib_ni+0x1f68af
  647. 0691e9c8 7b6f1a4f 00000000 00000103 0000c21e mscorlib_ni+0x1f6865
  648. 0691e9e0 7ba2d68b 95b200e2 79e7a6b8 0691f248 System_Windows_Forms_ni+0x721a4f
  649. 0691ea74 7b6f33ac 00000001 011859b0 01185990 System_Windows_Forms_ni+0xa5d68b
  650. 0691eab0 05b2ec69 011859b0 00000000 011859b0 System_Windows_Forms_ni+0x7233ac
  651. WARNING: Frame IP not in any known module. Following frames may be wrong.
  652. 0691eae8 05b2cb1b 00000000 00000000 00000000 0x5b2ec69
  653. 0691ee04 792d6d66 01008234 0691ee20 792f5681 0x5b2cb1b
  654. 0691ee10 792f5681 00000000 066e4740 0691ee30 mscorlib_ni+0x216d66
  655. 0691ee20 79e71b4c 00000000 00000000 0691eeb0 mscorlib_ni+0x235681
  656. 0691ee30 79e821b9 0691ef00 00000000 0691eed0 mscorwks!CallDescrWorker+0x33
  657. 0691eeb0 79e96531 0691ef00 00000000 0691eed0 mscorwks!CallDescrWorkerWithHandler+0xa3
  658. 0691eff4 79e96564 79241ff0 0691f128 0691f048 mscorwks!MethodDesc::CallDescr+0x19c
  659. 0691f010 79e96582 79241ff0 0691f128 0691f048 mscorwks!MethodDesc::CallTargetWorker+0x1f
  660. 0691f028 79f6a259 0691f048 97be57b9 066e4740 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  661. 0691f1f4 79f6a3ae 0691f284 97be54e9 0100827c mscorwks!ExecuteCodeWithGuaranteedCleanupHelper+0x9f
  662. 0691f2a4 792f5577 0691f248 01007200 00debb2c mscorwks!ReflectionInvocation::ExecuteCodeWithGuaranteedCleanup+0x10f
  663. 0691f2c0 792e01c5 00e7fae0 0691f31c 01007200 mscorlib_ni+0x235577
  664. 0691f2d8 792d6ce4 00e7fae0 00000000 066e4740 mscorlib_ni+0x2201c5
  665. 0691f2f0 79e71b4c 7c914d6c 00140000 0691f380 mscorlib_ni+0x216ce4
  666. 0691f300 79e821b9 0691f3d0 00000000 0691f3a0 mscorwks!CallDescrWorker+0x33
  667. 0691f380 79e96531 0691f3d0 00000000 0691f3a0 mscorwks!CallDescrWorkerWithHandler+0xa3
  668. 0691f4b8 79e96564 7924290c 0691f614 0691f54c mscorwks!MethodDesc::CallDescr+0x19c
  669. 0691f4d4 79e96582 7924290c 0691f614 0691f54c mscorwks!MethodDesc::CallTargetWorker+0x1f
  670. 0691f4ec 79f55623 0691f54c 97be5099 066e4740 mscorwks!MethodDescCallSite::CallWithValueTypes_RetArgSlot+0x1a
  671. 0691f6d4 79e9848f 0691f850 00000000 00000000 mscorwks!ThreadNative::KickOffThread_Worker+0x192
  672. 0691f6e8 79e9842b 0691f7c4 0691f770 79fa6a6b mscorwks!Thread::DoADCallBack+0x32a
  673. 0691f77c 79e98351 0691f7c4 97be51f5 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0xe3
  674. 0691f7b8 79e984dd 0691f7c4 00000001 00000000 mscorwks!Thread::ShouldChangeAbortToUnload+0x30a
  675. 0691f7e0 79f553f4 00000001 79f55509 0691f850 mscorwks!Thread::ShouldChangeAbortToUnload+0x33e
  676. 0691f7f8 79f554ce 00000001 79f55509 0691f850 mscorwks!ManagedThreadBase::KickOff+0x13
  677. 0691f894 79f75715 0020f0b0 00000000 0691fad0 mscorwks!ThreadNative::KickOffThread+0x269
  678. 0691ffb4 7c80b699 06752168 7e4188e0 0013e960 mscorwks!Thread::intermediateThreadProc+0x49
  679. 0691ffec 00000000 79f756cf 06752168 00000000 KERNEL32!BaseThreadStart+0x37
  680.  
  681. 11 Id: 1c28.2ef4 Suspend: 1 Teb: 7ff4c000 Unfrozen
  682. ChildEBP RetAddr Args to Child
  683. 06e1fe18 7c90daaa 77e76713 000001e4 06e1ff70 ntdll!KiFastSystemCallRet
  684. 06e1fe1c 77e76713 000001e4 06e1ff70 00000000 ntdll!ZwReplyWaitReceivePortEx+0xc
  685. 06e1ff80 77e76c2b 06e1ffa8 77e76a4d 001622c8 RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0xf4
  686. 06e1ff88 77e76a4d 001622c8 7c808faa 00000000 RPCRT4!RecvLotsaCallsWrapper+0xd
  687. 06e1ffa8 77e76c13 001a57a8 06e1ffec 7c80b699 RPCRT4!BaseCachedThreadRoutine+0x79
  688. 06e1ffb4 7c80b699 0609ef38 7c808faa 00000000 RPCRT4!ThreadStartRoutine+0x1a
  689. 06e1ffec 00000000 77e76bf9 0609ef38 00000000 KERNEL32!BaseThreadStart+0x37
  690.  
  691. # 12 Id: 1c28.a00 Suspend: 1 Teb: 7ffd5000 Unfrozen
  692. ChildEBP RetAddr Args to Child
  693. 0359ffc8 7c951e38 00000005 00000004 00000001 ntdll!DbgBreakPoint
  694. 0359fff4 00000000 00000000 ff000000 ff000000 ntdll!DbgUiRemoteBreakin+0x2d
  695.  
  696.  
  697. EDIT TWO:
  698.  
  699. After installing Winspector (since I don't have access to VS and Spy++ right now), and experimenting with it a bit (trying to figure how to use it, much easier than WinDBG lol), I realized that there are many different "windows" that may recieve messages in my main form: basically every component on the actual form, such as buttons, textboxes, etc, all recieve their own messages it appears. So I suppose in answer to my previous questions of "How else is my app communicating with my computer and recieving messages?", I have found a possible reason for my WndProc filter not working is that the fatal message is being sent to a control OTHER than the main form window. However this only explains why my program still crashes, this still does not answer why my disabling mouse clicks and the window piosition change messages did not disable those functionalities.
  700.  
  701. Any other ideas?
  702.  
  703. smaller edit as well: I am going to be looking for a way to see what parts of my form are recieving the WM_WININICHANGE message or see all the subscribers to the message, any info regarding such would be helpful!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement