Intermittent 419985.html | application crashed [@ nsPresContext::GetParentPresContext()]

RESOLVED FIXED in Firefox 36

Status

()

Core
Layout
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: RyanVM, Assigned: mats)

Tracking

({crash, intermittent-failure})

Trunk
mozilla36
x86
Linux
crash, intermittent-failure
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(firefox34 unaffected, firefox35 unaffected, firefox36 fixed, firefox-esr31 unaffected)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
15:50:00 INFO - REFTEST TEST-START | file:///builds/slave/test/build/tests/reftest/tests/layout/base/crashtests/419985.html
15:50:00 INFO - REFTEST TEST-LOAD | http://localhost:55988/1416958879829/6/419985.html | 1186 / 2771 (42%)
15:50:00 INFO - ++DOMWINDOW == 65 (0x8a196600) [pid = 1796] [serial = 2840] [outer = 0xa1906e00]
15:50:01 INFO - ++DOCSHELL 0x85b88800 == 5 [pid = 1796] [id = 204]
15:50:01 INFO - ++DOMWINDOW == 66 (0x87155c00) [pid = 1796] [serial = 2841] [outer = (nil)]
15:50:01 INFO - [1796] WARNING: NS_ENSURE_TRUE(nsContentUtils::GetCurrentJSContext()) failed: file /builds/slave/m-cen-lx-d-0000000000000000000/build/src/docshell/base/nsDocShell.cpp, line 9132
15:50:01 INFO - [1796] WARNING: No inner window available!: file /builds/slave/m-cen-lx-d-0000000000000000000/build/src/dom/base/nsGlobalWindow.cpp, line 9716
15:50:01 INFO - --DOMWINDOW == 65 (0x9c7d4a00) [pid = 1796] [serial = 2739] [outer = (nil)] [url = file:///builds/slave/test/build/tests/reftest/tests/layout/base/crashtests/394014-2-crash.html]
15:50:01 INFO - --DOMWINDOW == 64 (0x8a1c0a00) [pid = 1796] [serial = 2777] [outer = (nil)] [url = file:///builds/slave/test/build/tests/reftest/tests/layout/base/crashtests/401589-1.xul]
15:50:01 INFO - --DOMWINDOW == 63 (0x8a1eae00) [pid = 1796] [serial = 2735] [outer = (nil)] [url = file:///builds/slave/test/build/tests/reftest/tests/layout/base/crashtests/394014-1-iframe.html]
15:50:01 INFO - --DOMWINDOW == 62 (0x8a196800) [pid = 1796] [serial = 2771] [outer = (nil)] [url = file:///builds/slave/test/build/tests/reftest/tests/layout/base/crashtests/400185-1.xul]
15:50:01 INFO - [1796] WARNING: Subdocument container has no frame: file /builds/slave/m-cen-lx-d-0000000000000000000/build/src/layout/base/nsDocumentViewer.cpp, line 2508
15:50:01 INFO - ++DOMWINDOW == 63 (0x87157a00) [pid = 1796] [serial = 2842] [outer = 0x87155c00]
15:50:01 INFO - --DOMWINDOW == 62 (0x8a18a800) [pid = 1796] [serial = 2828] [outer = 0x9c749a00] [url = file:///builds/slave/test/build/tests/reftest/tests/layout/base/crashtests/412651-1-frame.xhtml]
15:50:01 INFO - ++DOCSHELL 0x85b8d000 == 6 [pid = 1796] [id = 205]
15:50:01 INFO - ++DOMWINDOW == 63 (0x8a18aa00) [pid = 1796] [serial = 2843] [outer = (nil)]
15:50:01 INFO - [1796] WARNING: NS_ENSURE_TRUE(nsContentUtils::GetCurrentJSContext()) failed: file /builds/slave/m-cen-lx-d-0000000000000000000/build/src/docshell/base/nsDocShell.cpp, line 9132
15:50:01 INFO - ++DOMWINDOW == 64 (0x8a18ca00) [pid = 1796] [serial = 2844] [outer = 0x8a18aa00]
15:50:01 INFO - ++DOMWINDOW == 65 (0x8a189a00) [pid = 1796] [serial = 2845] [outer = 0x87155c00]
15:50:01 INFO - ++DOCSHELL 0x85b95c00 == 7 [pid = 1796] [id = 206]
15:50:01 INFO - ++DOMWINDOW == 66 (0x8a18d800) [pid = 1796] [serial = 2846] [outer = (nil)]
15:50:01 INFO - [1796] WARNING: NS_ENSURE_TRUE(nsContentUtils::GetCurrentJSContext()) failed: file /builds/slave/m-cen-lx-d-0000000000000000000/build/src/docshell/base/nsDocShell.cpp, line 9132
15:50:01 INFO - ++DOMWINDOW == 67 (0x8a18dc00) [pid = 1796] [serial = 2847] [outer = 0x8a18d800]
15:50:02 INFO - --DOCSHELL 0x85b8d000 == 6 [pid = 1796] [id = 205]
15:50:02 INFO - ++DOMWINDOW == 68 (0x8a18b800) [pid = 1796] [serial = 2848] [outer = 0x87155c00]
15:50:02 INFO - ++DOCSHELL 0x86268400 == 7 [pid = 1796] [id = 207]
15:50:02 INFO - ++DOMWINDOW == 69 (0x8a18f600) [pid = 1796] [serial = 2849] [outer = (nil)]
15:50:02 INFO - [1796] WARNING: NS_ENSURE_TRUE(nsContentUtils::GetCurrentJSContext()) failed: file /builds/slave/m-cen-lx-d-0000000000000000000/build/src/docshell/base/nsDocShell.cpp, line 9132
15:50:02 INFO - ++DOMWINDOW == 70 (0x8a192800) [pid = 1796] [serial = 2850] [outer = 0x8a18f600]
15:50:02 INFO - --DOCSHELL 0x85b95c00 == 6 [pid = 1796] [id = 206]
15:50:02 INFO - ++DOMWINDOW == 71 (0x8a18e800) [pid = 1796] [serial = 2851] [outer = 0x87155c00]
15:50:02 INFO - ++DOCSHELL 0x862c5000 == 7 [pid = 1796] [id = 208]
15:50:02 INFO - ++DOMWINDOW == 72 (0x8a193400) [pid = 1796] [serial = 2852] [outer = (nil)]
15:50:02 INFO - [1796] WARNING: NS_ENSURE_TRUE(nsContentUtils::GetCurrentJSContext()) failed: file /builds/slave/m-cen-lx-d-0000000000000000000/build/src/docshell/base/nsDocShell.cpp, line 9132
15:50:02 INFO - ++DOMWINDOW == 73 (0x8a194c00) [pid = 1796] [serial = 2853] [outer = 0x8a193400]
15:50:02 INFO - --DOCSHELL 0x86268400 == 6 [pid = 1796] [id = 207]
15:50:02 INFO - [1796] WARNING: NS_ENSURE_TRUE(txToRemove) failed: file /builds/slave/m-cen-lx-d-0000000000000000000/build/src/docshell/shistory/src/nsSHistory.cpp, line 1339
15:50:02 INFO - [1796] WARNING: '!widget', file /builds/slave/m-cen-lx-d-0000000000000000000/build/src/dom/events/IMEStateManager.cpp, line 383
15:50:04 WARNING - TEST-UNEXPECTED-FAIL | file:///builds/slave/test/build/tests/reftest/tests/layout/base/crashtests/419985.html | application terminated with exit code 11
15:50:20 INFO - mozcrash INFO | Saved minidump as /builds/slave/test/build/blobber_upload_dir/4a2fd16e-98f8-51f4-7125acc1-0f6c0435.dmp
15:50:20 INFO - mozcrash INFO | Saved app info as /builds/slave/test/build/blobber_upload_dir/4a2fd16e-98f8-51f4-7125acc1-0f6c0435.extra
15:50:20 WARNING - PROCESS-CRASH | file:///builds/slave/test/build/tests/reftest/tests/layout/base/crashtests/419985.html | application crashed [@ nsPresContext::GetParentPresContext()]
15:50:20 INFO - Crash dump filename: /tmp/tmpoKq75o.mozrunner/minidumps/4a2fd16e-98f8-51f4-7125acc1-0f6c0435.dmp
15:50:20 INFO - Operating system: Linux
15:50:20 INFO - 0.0.0 Linux 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686
15:50:20 INFO - CPU: x86
15:50:20 INFO - GenuineIntel family 6 model 62 stepping 4
15:50:20 INFO - 1 CPU
15:50:20 INFO - Crash reason: SIGSEGV
15:50:20 INFO - Crash address: 0x10
15:50:20 INFO - Thread 0 (crashed)
15:50:20 INFO - 0 libxul.so!nsPresContext::GetParentPresContext() [task.h:bca4892bbe03 : 27 + 0x3]
15:50:20 INFO - eip = 0xb3d1707a esp = 0xbfd2d344 ebp = 0xbfd2d344 ebx = 0xb6d2fe4c
15:50:20 INFO - esi = 0x00000000 edi = 0xbfd2d400 eax = 0x00000000 ecx = 0x00000003
15:50:20 INFO - edx = 0x00000001 efl = 0x00210246
15:50:20 INFO - Found by: given as instruction pointer in context
15:50:20 INFO - 1 libxul.so!nsPresContext::GetRootPresContext() [nsPresContext.cpp:bca4892bbe03 : 1263 + 0x5]
15:50:20 INFO - eip = 0xb3d17182 esp = 0xbfd2d34c ebp = 0xbfd2d358 ebx = 0xb6d2fe4c
15:50:20 INFO - esi = 0x00000000 edi = 0xbfd2d400
15:50:20 INFO - Found by: call frame info
15:50:20 INFO - 2 libxul.so!nsPresContext::IsDOMPaintEventPending() [nsPresContext.cpp:bca4892bbe03 : 141 + 0x10]
15:50:20 INFO - eip = 0xb3d19eb6 esp = 0xbfd2d360 ebp = 0xbfd2d398 ebx = 0xb6d2fe4c
15:50:20 INFO - esi = 0x86264c00 edi = 0xbfd2d400
15:50:20 INFO - Found by: call frame info
15:50:20 INFO - 3 libxul.so!nsDOMWindowUtils::GetIsMozAfterPaintPending(bool*) [nsDOMWindowUtils.cpp:bca4892bbe03 : 1791 + 0x8]
15:50:20 INFO - eip = 0xb2e585bd esp = 0xbfd2d3a0 ebp = 0xbfd2d3b8 ebx = 0xb6d2fe4c
15:50:20 INFO - esi = 0xbfd2d480 edi = 0xbfd2d400
15:50:20 INFO - Found by: call frame info
15:50:20 INFO - 4 libxul.so!NS_InvokeByIndex + 0x2f
15:50:20 INFO - eip = 0xb25f0a34 esp = 0xbfd2d3c0 ebp = 0xbfd2d3d8 ebx = 0xb6d2fe4c
15:50:20 INFO - esi = 0xbfd2d450 edi = 0xbfd2d400
15:50:20 INFO - Found by: call frame info
15:50:20 INFO - 5 libxul.so!CallMethodHelper::Call() [XPCWrappedNative.cpp:bca4892bbe03 : 2395 + 0xf]
15:50:20 INFO - eip = 0xb2afe4d5 esp = 0xbfd2d3e0 ebp = 0xbfd2d428
15:50:20 INFO - Found by: previous frame's frame pointer
15:50:20 INFO - 6 libxul.so!XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) [XPCWrappedNative.cpp:bca4892bbe03 : 1714 + 0x16]
15:50:20 INFO - eip = 0xb2afea06 esp = 0xbfd2d430 ebp = 0xbfd2d518 ebx = 0xb6d2fe4c
15:50:20 INFO - esi = 0xbfd2d450 edi = 0xbfd2d578
15:50:20 INFO - Found by: call frame info
15:50:20 INFO - 7 libxul.so!XPC_WN_GetterSetter(JSContext*, unsigned int, JS::Value*) [xpcprivate.h:bca4892bbe03 : 2143 + 0x9]
15:50:20 INFO - eip = 0xb2b04434 esp = 0xbfd2d520 ebp = 0xbfd2d5f8 ebx = 0xb6d2fe4c
15:50:20 INFO - esi = 0xbfd2d578 edi = 0xbfd2d578
15:50:20 INFO - Found by: call frame info
15:50:20 INFO - 8 libxul.so!js::CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) [jscntxtinlines.h:bca4892bbe03 : 231 + 0x16]
15:50:20 INFO - eip = 0xb4b3b59c esp = 0xbfd2d600 ebp = 0xbfd2d648 ebx = 0xb6d2fe4c
15:50:20 INFO - esi = 0xaff32150 edi = 0xbfd2d924
15:50:20 INFO - Found by: call frame info
15:50:20 INFO - 9 libxul.so!js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) [Interpreter.cpp:bca4892bbe03 : 482 + 0x18]
15:50:20 INFO - eip = 0xb4b4dd59 esp = 0xbfd2d650 ebp = 0xbfd2d918 ebx = 0xb6d2fe4c
15:50:20 INFO - esi = 0xb6d213e0 edi = 0x00000000
15:50:20 INFO - Found by: call frame info
15:50:20 INFO - 10 libxul.so!js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandle<JS::Value>) [Interpreter.cpp:bca4892bbe03 : 538 + 0x2e]
15:50:20 INFO - eip = 0xb4b4ecea esp = 0xbfd2d920 ebp = 0xbfd2da18 ebx = 0xb6d2fe4c
15:50:20 INFO - esi = 0xbfd2d998 edi = 0xaff32150
15:50:20 INFO - Found by: call frame info
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 4

3 years ago
I think we need to null-check the GetDisplayRootPresContext() result here:
https://hg.mozilla.org/try/rev/c5832311e3ba
Assignee: nobody → mats
Status: NEW → ASSIGNED
(Assignee)

Comment 5

3 years ago
Created attachment 8529138 [details] [diff] [review]
Null-check the GetDisplayRootPresContext() result before using it, and remove the redundant GetRootPresContext() call.

https://tbpl.mozilla.org/?tree=Try&rev=3b94c130bcdf
Attachment #8529138 - Flags: review?(roc)
Comment hidden (Treeherder Robot)
Attachment #8529138 - Flags: review?(roc) → review+
(Assignee)

Comment 7

3 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/1cd797f0d1ba
Flags: in-testsuite+
https://hg.mozilla.org/mozilla-central/rev/1cd797f0d1ba
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
(Reporter)

Updated

3 years ago
status-firefox34: --- → unaffected
status-firefox35: --- → unaffected
status-firefox36: --- → fixed
status-firefox-esr31: --- → unaffected
You need to log in before you can comment on or make changes to this bug.