Closed Bug 1034340 Opened 10 years ago Closed 9 years ago

Intermittent Win7 Shutdown | application crashed [@ KERNELBASE.dll + 0x3381b] with mozilla::ipc::MessageChannel::DebugAbort on the stack

Categories

(Core :: Graphics: Layers, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

bjacob says this is probably the same as bug 1021149, but let's go with this bug for starring's sake. https://tbpl.mozilla.org/php/getParsedLog.php?id=43070656&tree=Mozilla-Inbound Windows 7 32-bit mozilla-inbound debug test jsreftest on 2014-07-03 14:11:00 PDT for push 2b018836f449 slave: t-w732-ix-090 14:42:30 INFO - --DOMWINDOW == 104 (16084000) [pid = 3800] [serial = 12354] [outer = 00000000] [url = data:text/html;charset=UTF-8,%3C%21%2D%2DCLEAR%2D%2D%3E] 14:42:31 INFO - ###!!! [MessageChannel][Parent][c:\builds\moz2_slave\m-in-w32-d-0000000000000000000\build\ipc\glue\MessageChannel.cpp:230] Assertion (mCxxStackFrames.empty()) failed. mismatched CxxStackFrame ctor/dtors 14:42:31 INFO - MessageChannel 'backtrace': 14:42:31 INFO - [(0) in sync PImageBridge::Msg_Stop(actor=2147483647) ] 14:42:31 INFO - remote Interrupt stack guess: 0 14:42:31 INFO - deferred stack size: 0 14:42:31 INFO - out-of-turn Interrupt replies stack size: 0 14:42:31 INFO - Pending queue size: 0, front to back: 14:42:32 INFO - TEST-INFO | Main app process: exit status 80000003 14:42:32 WARNING - TEST-UNEXPECTED-FAIL | Shutdown | Exited with code -2147483645 during test run 14:42:32 INFO - INFO | automation.py | Application ran for: 0:25:33.891000 14:42:32 INFO - INFO | zombiecheck | Reading PID log: c:\users\cltbld\appdata\local\temp\tmpaq4iuvpidlog 14:42:40 WARNING - PROCESS-CRASH | Shutdown | application crashed [@ KERNELBASE.dll + 0x3381b] 14:42:40 INFO - Crash dump filename: c:\users\cltbld\appdata\local\temp\tmpxm5urd.mozrunner\minidumps\ba1a070e-7dc4-4eee-bbf4-05860e9c7e8a.dmp 14:42:40 INFO - Operating system: Windows NT 14:42:40 INFO - 6.1.7601 Service Pack 1 14:42:40 INFO - CPU: x86 14:42:40 INFO - GenuineIntel family 6 model 30 stepping 5 14:42:40 INFO - 8 CPUs 14:42:40 INFO - Crash reason: EXCEPTION_BREAKPOINT 14:42:40 INFO - Crash address: 0x7537381b 14:42:40 INFO - Thread 0 (crashed) 14:42:40 INFO - 0 KERNELBASE.dll + 0x3381b 14:42:40 INFO - eip = 0x7537381b esp = 0x001cf064 ebp = 0x001cf498 ebx = 0xffffffff 14:42:40 INFO - esi = 0x69961ec6 edi = 0x00000000 eax = 0x00000000 ecx = 0x00000001 14:42:40 INFO - edx = 0x00000000 efl = 0x00000246 14:42:40 INFO - Found by: given as instruction pointer in context 14:42:40 INFO - 1 xul.dll!mozilla::ipc::MessageChannel::DebugAbort(char const *,int,char const *,char const *,bool) [MessageChannel.cpp:2b018836f449 : 1732 + 0x14] 14:42:40 INFO - eip = 0x63d0c9d9 esp = 0x001cf4a0 ebp = 0x001cf4fc 14:42:40 INFO - Found by: previous frame's frame pointer 14:42:40 INFO - 2 xul.dll!mozilla::ipc::MessageChannel::~MessageChannel() [MessageChannel.cpp:2b018836f449 : 230 + 0x26] 14:42:40 INFO - eip = 0x63d0ce30 esp = 0x001cf504 ebp = 0x001cf544 14:42:40 INFO - Found by: call frame info 14:42:40 INFO - 3 xul.dll!mozilla::layers::PImageBridgeParent::~PImageBridgeParent() [PImageBridgeParent.cpp:2b018836f449 : 80 + 0x33] 14:42:40 INFO - eip = 0x63e29a1e esp = 0x001cf524 ebp = 0x001cf544 14:42:40 INFO - Found by: call frame info 14:42:40 INFO - 4 xul.dll!mozilla::layers::ImageBridgeParent::~ImageBridgeParent() [ImageBridgeParent.cpp:2b018836f449 : 76 + 0x31] 14:42:40 INFO - eip = 0x6424b31e esp = 0x001cf530 ebp = 0x001cf544 14:42:40 INFO - Found by: call frame info 14:42:40 INFO - 5 xul.dll!mozilla::layers::ImageBridgeParent::`scalar deleting destructor'(unsigned int) + 0xa 14:42:40 INFO - eip = 0x6424de1d esp = 0x001cf54c ebp = 0x001cf550 14:42:40 INFO - Found by: call frame info 14:42:40 INFO - 6 xul.dll!mozilla::AtomicRefCountedWithFinalize<mozilla::layers::ISurfaceAllocator>::Release() [AtomicRefCountedWithFinalize.h:2b018836f449 : 46 + 0xc] 14:42:40 INFO - eip = 0x641703e4 esp = 0x001cf558 ebp = 0x001cf568 14:42:40 INFO - Found by: call frame info 14:42:40 INFO - 7 xul.dll!mozilla::layers::CompositorThreadHolder::DestroyCompositorThread(base::Thread *) [CompositorParent.cpp:2b018836f449 : 177 + 0x4] 14:42:40 INFO - eip = 0x6424e657 esp = 0x001cf568 ebp = 0x001cf568 14:42:40 INFO - Found by: call frame info 14:42:40 INFO - 8 xul.dll!mozilla::layers::CompositorThreadHolder::~CompositorThreadHolder() [CompositorParent.cpp:2b018836f449 : 127 + 0x7] 14:42:40 INFO - eip = 0x6424e79c esp = 0x001cf570 ebp = 0x001cf59c 14:42:40 INFO - Found by: call frame info
Indeed. As a win7 debug jsreftest intermittent, it is a regression from my landings today, probably bug 774388. But the race condition here, that is intermittently causing this orange, is a preexisting bug, already known as bug 1021149, and a variant of infamous bug 924622. Please do not back out the patches that I landed today (bug 774388 and friends). Even with this intermittent failure, their overall effect is still probably to decrease, not increase, intermittent failure rate. In particular, they should put an end to bug 924622. I'm looking into this intermittent failure now. At least, now that bug 774388 and friends have landed, we're looking at code with mostly a well-defined behavior and only a few dark corners remaining, while previously we were looking at randomly racing code that no one understood. So there's progress :-)
Sorry, I already had to backout the push. I'll give a more detailed explanation in the bugs when I get to marking them, but the long story short is that it caused a significant spike in various shutdown crashes across the board.
Inactive; closing (see bug 1180138).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.