Closed
Bug 1156800
Opened 9 years ago
Closed 9 years ago
crash in hang | WaitForMultipleObjectsEx | RealMsgWaitForMultipleObjectsEx | MsgWaitForMultipleObjects | mozilla::ipc::MessageChannel::WaitForInterruptNotify() | mozilla::ipc::MessageChannel::Call(IPC::Message*, IPC::Message*)
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(firefox37 wontfix, firefox38 disabled, firefox39+ fixed, firefox40+ fixed)
RESOLVED
FIXED
mozilla40
People
(Reporter: kairo, Assigned: bugzilla)
References
Details
(Keywords: crash, hang)
Crash Data
Attachments
(1 file)
4.66 KB,
patch
|
jimm
:
review+
lizzard
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
[Tracking Requested - why for this release]: This bug was filed from the Socorro interface and is report bp-bc8760cb-5c03-4afb-9d59-8d2c82150420. ============================================================= Top frames: 0 ntdll.dll NtWaitForMultipleObjects 1 kernelbase.dll WaitForMultipleObjectsEx 2 kernel32.dll WaitForMultipleObjectsExImplementation 3 user32.dll RealMsgWaitForMultipleObjectsEx 4 user32.dll MsgWaitForMultipleObjects 5 xul.dll mozilla::ipc::MessageChannel::WaitForInterruptNotify() ipc/glue/WindowsMessageLoop.cpp 6 xul.dll mozilla::ipc::MessageChannel::Call(IPC::Message*, IPC::Message*) ipc/glue/MessageChannel.cpp 7 xul.dll mozilla::plugins::PPluginInstanceChild::CallNPN_GetValue_NPNVdocumentOrigin(nsCString*, short*) obj-firefox/ipc/ipdl/PPluginInstanceChild.cpp 8 xul.dll mozilla::plugins::PluginInstanceChild::NPN_GetValue(NPNVariable, void*) dom/plugins/ipc/PluginInstanceChild.cpp 9 xul.dll mozilla::plugins::child::_getvalue dom/plugins/ipc/PluginModuleChild.cpp 10 npswf32_17_0_0_169.dll F21225463__________________________________________________________________________________________________________ F209679109___________________________________________________________________________________:1234 11 npswf32_17_0_0_169.dll F_1746776035_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ F462186421___________________________________________________________:859 12 npswf32_17_0_0_169.dll F_1557046174___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ F1104190711_____________________________________________________________________________:302 13 npswf32_17_0_0_169.dll F1250129937___________________________________________ F1237873649__________________________________________________________________:16 14 npswf32_17_0_0_169.dll F_341120320___________________________ F_1396628823_______________________________________________________________________:32 15 user32.dll MsgWaitForMultipleObjects 16 npswf32_17_0_0_169.dll F_1513036030________________________________________ F_1654095196__________________________________________________________________:47 17 npswf32_17_0_0_169.dll F_652032984_____________________________________________________ F_1951567228__________________________________________________________:261 18 npswf32_17_0_0_169.dll F1607135317_____________________________________________________________________ F_851861807__________________________________________________________:134 19 npswf32_17_0_0_169.dll F2166389_____________________________________________________________________ F_851861807__________________________________________________________:560 20 npswf32_17_0_0_169.dll F_917831355____________________________________________ F_851861807__________________________________________________________:488 [...] This is the largest plugin hang on Dev Edition 39 right now (with a good margin over bug 1151794), and our plugin hang rate is 5-10x what it was for previous trains. Aaron, are you investigating this?
Flags: needinfo?(aklotz)
Comment 1•9 years ago
|
||
Note that 37+ are affected but the frequency is substantially larger for 39. As such, I am tracking 39+ and not 38.
Assignee | ||
Updated•9 years ago
|
Blocks: asyncplugininit
Flags: needinfo?(aklotz)
Assignee | ||
Comment 2•9 years ago
|
||
I was able to reproduce this on dev edition by loading FarmVille. I think this might be an IPC issue but I'll need to look more closely to confirm. Both the browser and the plugin container are trying to make intr calls to each other at the same time, but neither side seems to be receiving the requests -- it's like they're just disappearing into the ether.
Reporter | ||
Comment 3•9 years ago
|
||
[note that we need to have the crash keyword on any bug that produces crash reports so that the crash-stats system can connect crash signatures with bugs]
Keywords: crash
Assignee | ||
Comment 4•9 years ago
|
||
This mitigates the problem in this particular case, however I'm concerned that we might have some issues in our mediation of interrupt calls. I'll address those in follow-up bugs.
Assignee | ||
Comment 5•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=01a6b7a62a2f
Comment 6•9 years ago
|
||
Comment on attachment 8598302 [details] [diff] [review] Put sending of async NPP_New result into its own task Review of attachment 8598302 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/plugins/ipc/PluginModuleChild.cpp @@ +2197,5 @@ > + > + void Run() override > + { > + RemoveFromAsyncList(); > + DebugOnly<bool> sendOk = mInstance->SendAsyncNPP_NewResult(mResult); So the whole goal here is to get this off the stack?
Attachment #8598302 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #6) > So the whole goal here is to get this off the stack? Yeah, this should not be run from within any interrupt calls.
Assignee | ||
Comment 8•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/dd7c9daab76d
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8598302 [details] [diff] [review] Put sending of async NPP_New result into its own task Approval Request Comment [Feature/regressing bug #]: async plugin init [User impact if declined]: browser+plugin hang [Describe test coverage new/current, TreeHerder]: Run on try with asyncInit enabled https://treeherder.mozilla.org/#/jobs?repo=try&revision=01a6b7a62a2f, also verified locally using STR from comment 2. [Risks and why]: Low, simple patch [String/UUID change made/needed]: None
Attachment #8598302 -
Flags: approval-mozilla-aurora?
Comment 10•9 years ago
|
||
Comment on attachment 8598302 [details] [diff] [review] Put sending of async NPP_New result into its own task Approving for uplift to aurora, since this feature isn't enabled in nightly, it may not be useful to wait to see how it looks in treeherder in m-c. The try run looks good.
Attachment #8598302 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
https://hg.mozilla.org/mozilla-central/rev/dd7c9daab76d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Assignee | ||
Comment 12•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/5193c1c752ed
Reporter | ||
Comment 14•9 years ago
|
||
Aaron, we are still seeing this signature in high numbers on 39.0b1, do you know what's going on there? Do we need a new bug for that?
Flags: needinfo?(aklotz)
Assignee | ||
Comment 15•9 years ago
|
||
Let's open a new bug for it. The lower frames are different enough that we should consider any additional work to be a separate fix.
Flags: needinfo?(aklotz)
Comment 16•9 years ago
|
||
Hi All, We're having issues with v.39 - our plugin started to hang quite often while handling window load event. Before this version we've never experienced those kind of issues. Here's the stack trace: Microsoft (R) Windows Debugger Version 6.3.9600.17298 X86 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [C:\temp\20150727_141158_Hang_Mode\FULLDUMP_HangMode_plugin-container.exe__297c_2015-07-27_14-11-59-224_1f60.dmp] User Mini Dump File with Full Memory: Only application data is available Comment: 'HangMode' ************* Symbol Path validation summary ************** Response Time (ms) Location OK c:\symbols Symbol search path is: c:\symbols Executable search path is: Windows 7 Version 7601 (Service Pack 1) MP (4 procs) Free x86 compatible Product: WinNt, suite: SingleUserTS Built by: 6.1.7601.17965 (win7sp1_gdr.121004-0333) Machine Name: Debug session time: Mon Jul 27 14:11:59.000 2015 (UTC + 3:00) System Uptime: 0 days 16:41:24.915 Process Uptime: 0 days 0:02:03.000 ................................................................ ........................... This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (1f60.2b28): Wake debugger - code 80000007 (first/second chance not available) eax=0000004c ebx=0054f494 ecx=00000000 edx=00000000 esi=00000001 edi=00000000 eip=77240159 esp=0054f444 ebp=0054f4e0 iopl=0 nv up ei pl zr na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000246 ntdll!NtWaitForMultipleObjects+0x15: 77240159 83c404 add esp,4 0:000> kb ChildEBP RetAddr Args to Child 0054f444 76a615f7 00000001 0054f494 00000001 ntdll!NtWaitForMultipleObjects+0x15 0054f4e0 761719fc 0054f494 0054f508 00000000 KERNELBASE!WaitForMultipleObjectsEx+0x100 0054f528 75e7086a 00000001 fffde000 00000000 kernel32!WaitForMultipleObjectsExImplementation+0xe0 0054f57c 026fac6a 0000004c 00000000 ffffffff user32!RealMsgWaitForMultipleObjectsEx+0x14d 0054f5c8 026fc54f 00000000 024012c0 00000009 xul!mozilla::widget::WinUtils::WaitForMessage+0x37 [c:\builds\moz2_slave\rel-m-rel-w32_bld-000000000000\build\widget\windows\winutils.cpp @ 638] 0054f5f8 026faaea 0054f6f8 0054f6f8 0054f6f8 xul!base::MessagePumpForUI::DoRunLoop+0xad [c:\builds\moz2_slave\rel-m-rel-w32_bld-000000000000\build\ipc\chromium\src\base\message_pump_win.cc @ 242] 0054f618 026fabef 0054f6f8 024012c0 026fd427 xul!base::MessagePumpWin::RunWithDispatcher+0x31 [c:\builds\moz2_slave\rel-m-rel-w32_bld-000000000000\build\ipc\chromium\src\base\message_pump_win.cc @ 56] 0054f624 026fd427 0054f6f8 02be2e23 c64872b6 xul!base::MessagePumpWin::Run+0xa [c:\builds\moz2_slave\rel-m-rel-w32_bld-000000000000\build\ipc\chromium\src\base\message_pump_win.h @ 78] 0054f62c 02be2e23 c64872b6 00000000 0054f6f8 xul!MessageLoop::RunInternal+0xa [c:\builds\moz2_slave\rel-m-rel-w32_bld-000000000000\build\ipc\chromium\src\base\message_loop.cc @ 234] 0054f660 026fd243 02466c00 00000001 036adc00 xul!MessageLoop::RunHandler+0x4e5a2c [c:\builds\moz2_slave\rel-m-rel-w32_bld-000000000000\build\ipc\chromium\src\base\message_loop.cc @ 219] 0054f680 03ad8c64 0000000c 00000000 02414118 xul!MessageLoop::Run+0x19 [c:\builds\moz2_slave\rel-m-rel-w32_bld-000000000000\build\ipc\chromium\src\base\message_loop.cc @ 201] 0054fa80 003a5458 0000000c 02401040 00000000 xul!XRE_InitChildProcess+0x51f [c:\builds\moz2_slave\rel-m-rel-w32_bld-000000000000\build\toolkit\xre\nsembedfunctions.cpp @ 584] 0054faa0 003a5271 00000000 00000000 00000000 plugin_container!content_process_main+0xf7 [c:\builds\moz2_slave\rel-m-rel-w32_bld-000000000000\build\ipc\contentproc\plugin-container.cpp @ 212] 0054fad4 003ae967 0000000d fe2d2e58 006d4210 plugin_container!wmain+0x12d [c:\builds\moz2_slave\rel-m-rel-w32_bld-000000000000\build\toolkit\xre\nswindowswmain.cpp @ 138] 0054fb1c 7617336a fffde000 0054fb68 772592b2 plugin_container!__tmainCRTStartup+0xfe [f:\dd\vctools\crt\crtw32\startup\crt0.c @ 255] 0054fb28 772592b2 fffde000 74f430ec 00000000 kernel32!BaseThreadInitThunk+0xe 0054fb68 77259285 003ae9e4 fffde000 00000000 ntdll!__RtlUserThreadStart+0x70 0054fb80 00000000 003ae9e4 fffde000 00000000 ntdll!_RtlUserThreadStart+0x1b
Comment hidden (spam) |
Comment hidden (spam) |
Comment hidden (spam) |
Comment 20•9 years ago
|
||
(In reply to Aaron Klotz [:aklotz] (please use needinfo) from comment #15) > Let's open a new bug for it. The lower frames are different enough that we > should consider any additional work to be a separate fix. Hi Aaron, the bug still happens in firefox 41.0.1
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•