Bug: Thunderbird hangs in ShellExecuteByExplorer when clicking a link
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2020-04-17 20:15:07+00:00
Resolved: 2020-04-20 22:36:29+00:00

The program isn't hung according to Windows, because Thunderbird is still pumping messages, however it is stuck waiting on Explorer to reply, and that reply does not appear to be occurring.

Call stack:

```
00 win32u!NtUserPeekMessage+0xc
01 user32!_PeekMessage+0x2e
02 user32!PeekMessageW+0x160
03 combase!CCliModalLoop::MyPeekMessage+0x31 [onecore\com\combase\dcomrem\callctrl.cxx @ 2994] 
04 combase!CCliModalLoop::PeekRPCAndDDEMessage+0x31 [onecore\com\combase\dcomrem\callctrl.cxx @ 2684] 
05 combase!CCliModalLoop::FindMessage+0x2c [onecore\com\combase\dcomrem\callctrl.cxx @ 2764] 
06 combase!CCliModalLoop::HandleWakeForMsg+0x4c [onecore\com\combase\dcomrem\callctrl.cxx @ 2379] 
07 combase!CCliModalLoop::BlockFn+0x26f [onecore\com\combase\dcomrem\callctrl.cxx @ 2316] 
08 combase!ModalLoop+0xbe [onecore\com\combase\dcomrem\chancont.cxx @ 166] 
09 combase!ClassicSTAThreadWaitForCall+0xd [onecore\com\combase\dcomrem\threadtypespecific.cpp @ 173] 
0a combase!ThreadSendReceive+0x44b [onecore\com\combase\dcomrem\channelb.cxx @ 7273] 
0b combase!CSyncClientCall::SwitchAptAndDispatchCall+0x9e [onecore\com\combase\dcomrem\channelb.cxx @ 5742] 
0c combase!CSyncClientCall::SendReceive2+0x179 [onecore\com\combase\dcomrem\channelb.cxx @ 5377] 
0d combase!SyncClientCallRetryContext::SendReceiveWithRetry+0x29 [onecore\com\combase\dcomrem\callctrl.cxx @ 1617] 
0e combase!CSyncClientCall::SendReceiveInRetryContext+0x29 [onecore\com\combase\dcomrem\callctrl.cxx @ 567] 
0f combase!ClassicSTAThreadSendReceive+0x1ea [onecore\com\combase\dcomrem\callctrl.cxx @ 549] 
10 combase!CSyncClientCall::SendReceive+0x296 [onecore\com\combase\dcomrem\ctxchnl.cxx @ 778] 
11 combase!CClientChannel::SendReceive+0x75 [onecore\com\combase\dcomrem\ctxchnl.cxx @ 653] 
12 combase!NdrExtpProxySendReceive+0xc4 [onecore\com\combase\ndr\ndrole\proxy.cxx @ 1998] 
13 RPCRT4!NdrClientCall2+0x5f5
14 combase!ObjectStublessClient+0x70 [onecore\com\combase\ndr\ndrole\i386\stblsclt.cxx @ 227] 
15 combase!ObjectStubless+0xf [onecore\com\combase\ndr\ndrole\i386\stubless.asm @ 171] 
16 combase!CStdMarshal::Begin_RemQIAndUnmarshal1+0xa9 [onecore\com\combase\dcomrem\marshal.cxx @ 5674] 
17 combase!CStdMarshal::Begin_RemQIAndUnmarshal+0x1f [onecore\com\combase\dcomrem\marshal.cxx @ 5573] 
18 combase!CStdMarshal::Begin_QueryRemoteInterfaces+0x78 [onecore\com\combase\dcomrem\marshal.cxx @ 5462] 
19 combase!CStdMarshal::QueryRemoteInterfaces+0x64 [onecore\com\combase\dcomrem\marshal.cxx @ 5414] 
1a combase!CStdIdentity::CInternalUnk::QueryMultipleInterfaces+0x1c2 [onecore\com\combase\dcomrem\stdid.cxx @ 752] 
1b combase!CStdIdentity::CInternalUnk::QueryInterface+0x1e8 [onecore\com\combase\dcomrem\stdid.cxx @ 427] 
1c combase!IUnknown_QueryInterface_Proxy+0x31 [onecore\com\combase\ndr\ndrole\proxy.cxx @ 1744] 
1d RPCRT4!IUnknown_QueryInterface_Proxy+0x2a
1e xul!mozilla::ShellExecuteByExplorer+0xe8 [z:\task_1586276146\build\src\obj-thunderbird\dist\include\mozilla\ShellHeaderOnlyUtils.h @ 83] 
1f xul!nsMIMEInfoWin::LoadUriInternal+0x1af [z:\task_1586276146\build\src\uriloader\exthandler\win\nsMIMEInfoWin.cpp @ 286] 
20 xul!nsMIMEInfoBase::LaunchWithURI+0x22 [z:\task_1586276146\build\src\uriloader\exthandler\nsMIMEInfoImpl.cpp @ 290] 
21 xul!nsExternalHelperAppService::LoadURI+0x329 [z:\task_1586276146\build\src\uriloader\exthandler\nsExternalHelperAppService.cpp @ 1010] 
22 xul!NS_InvokeByIndex+0x27
23 xul!XPCWrappedNative::CallMethod+0xd4f [z:\task_1586276146\build\src\js\xpconnect\src\XPCWrappedNative.cpp @ 1158] 
24 xul!XPC_WN_CallMethod+0x180 [z:\task_1586276146\build\src\js\xpconnect\src\XPCWrappedNativeJSOps.cpp @ 946] 
25 xul!js::InternalCallOrConstruct+0x42d [z:\task_1586276146\build\src\js\src\vm\Interpreter.cpp @ 535] 
26 xul!InternalCall+0x63 [z:\task_1586276146\build\src\js\src\vm\Interpreter.cpp @ 590] 
27 xul!Interpret+0x9386 [z:\task_1586276146\build\src\js\src\vm\Interpreter.cpp @ 0] 
28 xul!js::RunScript+0xf2 [z:\task_1586276146\build\src\js\src\vm\Interpreter.cpp @ 423] 
29 xul!js::InternalCallOrConstruct+0x324 [z:\task_1586276146\build\src\js\src\vm\Interpreter.cpp @ 563] 
2a xul!InternalCall+0x63 [z:\task_1586276146\build\src\js\src\vm\Interpreter.cpp @ 590] 
2b xul!js::jit::DoCallFallback+0x629 [z:\task_1586276146\build\src\js\src\jit\BaselineIC.cpp @ 0] 
2c 0x2fdf21fd
2d 0x2ff8106b
2e 0x2fe30be9
2f 0x2ff7fbdf
30 0x2fdf06ab
31 xul!js::jit::MaybeEnterJit+0x33b [z:\task_1586276146\build\src\js\src\jit\Jit.cpp @ 195] 
32 xul!js::RunScript+0x83 [z:\task_1586276146\build\src\js\src\vm\Interpreter.cpp @ 408] 
33 xul!js::InternalCallOrConstruct+0x324 [z:\task_1586276146\build\src\js\src\vm\Interpreter.cpp @ 563] 
34 xul!InternalCall+0x63 [z:\task_1586276146\build\src\js\src\vm\Interpreter.cpp @ 590] 
35 xul!js::Call+0x2e [z:\task_1586276146\build\src\js\src\vm\Interpreter.cpp @ 606] 
36 xul!JS::Call+0x99 [z:\task_1586276146\build\src\js\src\jsapi.cpp @ 2673] 
37 xul!mozilla::dom::EventHandlerNonNull::Call+0x16f [z:\task_1586276146\build\src\obj-thunderbird\dom\bindings\EventHandlerBinding.cpp @ 267] 
38 xul!mozilla::JSEventHandler::HandleEvent+0x336 [z:\task_1586276146\build\src\dom\events\JSEventHandler.cpp @ 205] 
39 xul!mozilla::EventListenerManager::HandleEventSubType+0xee [z:\task_1586276146\build\src\dom\events\EventListenerManager.cpp @ 1043] 
3a xul!mozilla::EventListenerManager::HandleEventInternal+0x644 [z:\task_1586276146\build\src\dom\events\EventListenerManager.cpp @ 1238] 
3b xul!mozilla::EventTargetChainItem::HandleEvent+0x184 [z:\task_1586276146\build\src\dom\events\EventDispatcher.cpp @ 355] 
```