Closed Bug 1170702 Opened 9 years ago Closed 4 years ago

Intermittent test_viewport_resize.html | application crashed [@ mozilla::dom::HTMLSourceElement::WouldMatchMediaForDocument(nsAString_internal const&, nsIDocument const*)] "Assertion failure: pctx (Called for document with no prescontext)"

Categories

(Core :: DOM: Core & HTML, defect, P5)

40 Branch
x86
Linux
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: RyanVM, Unassigned)

Details

(Keywords: assertion, crash, intermittent-failure)

Seth, there's some imagelib-looking stuff on that stack. Can you please take a look?

07:07:17 INFO - 801 INFO TEST-START | dom/html/test/test_viewport_resize.html
07:07:17 INFO - --DOMWINDOW == 36 (0xa5336800) [pid = 1950] [serial = 1678] [outer = (nil)] [url = about:srcdoc]
07:07:17 INFO - --DOMWINDOW == 35 (0xa5337800) [pid = 1950] [serial = 1679] [outer = (nil)] [url = about:srcdoc]
07:07:17 INFO - --DOMWINDOW == 34 (0xa533ac00) [pid = 1950] [serial = 1680] [outer = (nil)] [url = data:text/html;charset=US-ASCII,Gone]
07:07:17 INFO - --DOMWINDOW == 33 (0x9edb2c00) [pid = 1950] [serial = 1665] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/html/test/file_srcdoc-2.html]
07:07:17 INFO - --DOMWINDOW == 32 (0xa543c400) [pid = 1950] [serial = 1671] [outer = (nil)] [url = about:srcdoc]
07:07:17 INFO - ++DOMWINDOW == 33 (0x9d860000) [pid = 1950] [serial = 1702] [outer = 0xa797ac00]
07:07:17 INFO - ++DOCSHELL 0x9d851800 == 7 [pid = 1950] [id = 322]
07:07:17 INFO - ++DOMWINDOW == 34 (0x9d855c00) [pid = 1950] [serial = 1703] [outer = (nil)]
07:07:17 INFO - [Child 1950] WARNING: Subdocument container has no frame: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/layout/base/nsDocumentViewer.cpp, line 2506
07:07:17 INFO - ++DOMWINDOW == 35 (0x9d858400) [pid = 1950] [serial = 1704] [outer = 0x9d855c00]
07:07:17 INFO - Assertion failure: pctx (Called for document with no prescontext), at /builds/slave/fx-team-lx-d-00000000000000000/build/src/dom/html/HTMLSourceElement.cpp:68
07:07:44 INFO - #01: mozilla::dom::HTMLSourceElement::WouldMatchMediaForDocument(nsAString_internal const&, nsIDocument const*) [dom/html/HTMLSourceElement.cpp:68]
07:07:44 INFO - #02: mozilla::dom::HTMLImageElement::SelectSourceForTagWithAttrs(nsIDocument*, bool, nsAString_internal const&, nsAString_internal const&, nsAString_internal const&, nsAString_internal const&, nsAString_internal const&, nsAString_internal&) [dom/html/HTMLImageElement.cpp:1242]
07:07:44 INFO - #03: nsDocument::PreloadPictureImageSource(nsAString_internal const&, nsAString_internal const&, nsAString_internal const&, nsAString_internal const&) [dom/base/nsDocument.cpp:9715]
07:07:44 INFO - #04: nsHtml5TreeOpExecutor::PreloadPictureSource(nsAString_internal const&, nsAString_internal const&, nsAString_internal const&, nsAString_internal const&) [parser/html/nsHtml5TreeOpExecutor.cpp:964]
07:07:44 INFO - #05: nsHtml5SpeculativeLoad::Perform(nsHtml5TreeOpExecutor*) [parser/html/nsHtml5SpeculativeLoad.cpp:44]
07:07:44 INFO - #06: nsHtml5TreeOpExecutor::FlushSpeculativeLoads() [parser/html/nsHtml5TreeOpExecutor.cpp:291]
07:07:44 INFO - #07: nsHtml5LoadFlusher::Run() [parser/html/nsHtml5StreamParser.cpp:145]
07:07:44 INFO - #08: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:846]
07:07:44 INFO - #09: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/glue/nsThreadUtils.cpp:265]
07:07:44 INFO - #10: mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:96]
07:07:44 INFO - #11: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:233]
07:07:44 INFO - #12: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:517]
07:07:44 INFO - #13: nsBaseAppShell::Run() [widget/nsBaseAppShell.cpp:167]
07:07:44 INFO - #14: XRE_RunAppShell [toolkit/xre/nsEmbedFunctions.cpp:745]
07:07:44 INFO - #15: mozilla::ipc::MessagePumpForChildProcess::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:259]
07:07:44 INFO - #16: MessageLoop::RunInternal() [ipc/chromium/src/base/message_loop.cc:233]
07:07:44 INFO - #17: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:517]
07:07:44 INFO - #18: XRE_InitChildProcess [toolkit/xre/nsEmbedFunctions.cpp:585]
07:07:44 INFO - #19: content_process_main(int, char**) [ipc/contentproc/plugin-container.cpp:237]
07:07:44 INFO - #20: main [ipc/app/MozillaRuntimeMain.cpp:12]
07:07:44 INFO - ###!!! [Parent][MessageChannel] Error: (msgtype=0x20007B,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv
07:07:44 INFO - ++DOCSHELL 0x97643000 == 8 [pid = 1901] [id = 9]
07:07:44 INFO - ++DOMWINDOW == 15 (0x97643c00) [pid = 1901] [serial = 21] [outer = (nil)]
07:07:44 INFO - ++DOMWINDOW == 16 (0xa0e2ac00) [pid = 1901] [serial = 22] [outer = 0x97643c00]
07:07:44 INFO - [Parent 1901] WARNING: RemoveObserver() called for unregistered observer: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/hal/Hal.cpp, line 205
07:07:44 INFO - [Parent 1901] WARNING: RemoveObserver() called for unregistered observer: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/hal/Hal.cpp, line 205
07:07:44 INFO - [Parent 1901] WARNING: RemoveObserver() called for unregistered observer: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/hal/Hal.cpp, line 205
07:07:44 INFO - [Parent 1901] WARNING: RemoveObserver() called for unregistered observer: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/hal/Hal.cpp, line 205
07:07:44 INFO - [Parent 1901] WARNING: NS_ENSURE_TRUE(aURI) failed: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/netwerk/dns/nsEffectiveTLDService.cpp, line 158
07:07:44 INFO - [Parent 1901] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80070057: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/dom/base/ThirdPartyUtil.cpp, line 355
07:07:44 INFO - ++DOMWINDOW == 17 (0x9c0f4000) [pid = 1901] [serial = 23] [outer = 0x97643c00]
07:07:44 INFO - [Parent 1901] WARNING: NS_ENSURE_SUCCESS(rv, BadImage(newImage)) failed with result 0x80004005: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/image/ImageFactory.cpp, line 239
07:07:44 INFO - [Parent 1901] WARNING: Image width or height is non-positive: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/layout/base/nsLayoutUtils.cpp, line 6119
07:07:44 INFO - [Parent 1901] WARNING: Image width or height is non-positive: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/layout/base/nsLayoutUtils.cpp, line 6119
07:07:44 INFO - [Parent 1901] WARNING: Image width or height is non-positive: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/layout/base/nsLayoutUtils.cpp, line 6119
07:07:44 INFO - --DOMWINDOW == 16 (0xa0e2ac00) [pid = 1901] [serial = 22] [outer = 0x97643c00] [url = about:blank]
07:08:44 INFO - [Parent 1901] WARNING: Suboptimal indexes for the SQL statement 0xa9026cc0 (http://mzl.la/1FuID0j).: file /builds/slave/fx-team-lx-d-00000000000000000/build/src/storage/mozStoragePrivateHelpers.cpp, line 109
07:14:14 WARNING - TEST-UNEXPECTED-TIMEOUT | dom/html/test/test_viewport_resize.html | application timed out after 330 seconds with no output
07:14:14 INFO - Xlib: extension "RANDR" missing on display ":0".
07:14:15 INFO - TEST-INFO | screentopng: exit 0
07:14:16 INFO - TEST-INFO | Main app process: killed by SIGIOT
07:14:16 WARNING - TEST-UNEXPECTED-FAIL | dom/html/test/test_viewport_resize.html | application terminated with exit code 6
07:14:16 INFO - runtests.py | Application ran for: 0:17:42.523424
07:14:16 INFO - zombiecheck | Reading PID log: /tmp/tmpCIfbhUpidlog
07:14:16 INFO - ==> process 1901 launched child process 1950
07:14:16 INFO - zombiecheck | Checking for orphan process with PID: 1950
07:14:30 INFO - mozcrash Saved minidump as /builds/slave/test/build/blobber_upload_dir/6ecc4c7b-bd11-f443-1e17fc41-0160922a.dmp
07:14:30 INFO - mozcrash Saved app info as /builds/slave/test/build/blobber_upload_dir/6ecc4c7b-bd11-f443-1e17fc41-0160922a.extra
07:14:30 WARNING - PROCESS-CRASH | dom/html/test/test_viewport_resize.html | application crashed [@ linux-gate.so + 0x424]
07:14:46 WARNING - PROCESS-CRASH | dom/html/test/test_viewport_resize.html | application crashed [@ mozilla::dom::HTMLSourceElement::WouldMatchMediaForDocument(nsAString_internal const&, nsIDocument const*)]
07:14:46 INFO - Crash dump filename: /tmp/tmp32DdSU.mozrunner/minidumps/0e91e13c-daa4-12da-17b1b571-31728e64.dmp
07:14:46 INFO - Operating system: Linux
07:14:46 INFO - 0.0.0 Linux 3.2.0-76-generic-pae #111-Ubuntu SMP Tue Jan 13 22:34:29 UTC 2015 i686
07:14:46 INFO - CPU: x86
07:14:46 INFO - GenuineIntel family 6 model 62 stepping 4
07:14:46 INFO - 1 CPU
07:14:46 INFO - Crash reason: SIGSEGV
07:14:46 INFO - Crash address: 0x0
07:14:46 INFO - Thread 0 (crashed)
07:14:46 INFO - 0 libxul.so!mozilla::dom::HTMLSourceElement::WouldMatchMediaForDocument(nsAString_internal const&, nsIDocument const*) [HTMLSourceElement.cpp:d975c1a22c75 : 68 + 0x16]
07:14:46 INFO - eip = 0xb3bfd068 esp = 0xbfbe1bb0 ebp = 0xbfbe1bf8 ebx = 0xb758f030
07:14:46 INFO - esi = 0x9d85c95c edi = 0x9d85c98c eax = 0x00000000 ecx = 0xb24a58ac
07:14:46 INFO - edx = 0x00000000 efl = 0x00010286
07:14:46 INFO - Found by: given as instruction pointer in context
07:14:46 INFO - 1 libxul.so!mozilla::dom::HTMLImageElement::SelectSourceForTagWithAttrs(nsIDocument*, bool, nsAString_internal const&, nsAString_internal const&, nsAString_internal const&, nsAString_internal const&, nsAString_internal const&, nsAString_internal&) [HTMLImageElement.cpp:d975c1a22c75 : 1244 + 0xa]
07:14:46 INFO - eip = 0xb3bb3de9 esp = 0xbfbe1c00 ebp = 0xbfbe1c48 ebx = 0xb758f030
07:14:46 INFO - esi = 0x9d85c95c edi = 0x9d85c98c
07:14:46 INFO - Found by: call frame info
07:14:46 INFO - 2 libxul.so!nsDocument::PreloadPictureImageSource(nsAString_internal const&, nsAString_internal const&, nsAString_internal const&, nsAString_internal const&) [nsDocument.cpp:d975c1a22c75 : 9714 + 0x17]
07:14:46 INFO - eip = 0xb33b7ca9 esp = 0xbfbe1c50 ebp = 0xbfbe1c88 ebx = 0xb758f030
07:14:46 INFO - esi = 0x9d82d000 edi = 0x9d82d41c
07:14:46 INFO - Found by: call frame info
07:14:46 INFO - 3 libxul.so!nsHtml5TreeOpExecutor::PreloadPictureSource(nsAString_internal const&, nsAString_internal const&, nsAString_internal const&, nsAString_internal const&) [nsHtml5TreeOpExecutor.cpp:d975c1a22c75 : 964 + 0x21]
07:14:46 INFO - eip = 0xb30ed1aa esp = 0xbfbe1c90 ebp = 0xbfbe1cb8 ebx = 0xb758f030
07:14:46 INFO - esi = 0x9d85c974 edi = 0x9d945500
07:14:46 INFO - Found by: call frame info
07:14:46 INFO - 4 libxul.so!nsHtml5SpeculativeLoad::Perform(nsHtml5TreeOpExecutor*) [nsHtml5SpeculativeLoad.cpp:d975c1a22c75 : 44 + 0x18]
07:14:46 INFO - eip = 0xb3108d55 esp = 0xbfbe1cc0 ebp = 0xbfbe1d68 ebx = 0xb758f030
07:14:46 INFO - esi = 0x9d85c974 edi = 0x9d945500
07:14:46 INFO - Found by: call frame info
07:14:46 INFO - 5 libxul.so!nsHtml5TreeOpExecutor::FlushSpeculativeLoads() [nsHtml5TreeOpExecutor.cpp:d975c1a22c75 : 298 + 0x4]
07:14:46 INFO - eip = 0xb3108ec2 esp = 0xbfbe1d70 ebp = 0xbfbe1da8 ebx = 0xb758f030
07:14:46 INFO - esi = 0x9d945500 edi = 0x9d85c998
07:14:46 INFO - Found by: call frame info
07:14:46 INFO - 6 libxul.so!nsHtml5LoadFlusher::Run() [nsHtml5StreamParser.cpp:d975c1a22c75 : 143 + 0x13]
07:14:46 INFO - eip = 0xb3108efa esp = 0xbfbe1db0 ebp = 0xbfbe1dc8 ebx = 0xb758f030
07:14:46 INFO - esi = 0xb0e35c50 edi = 0xbfbe1e08
07:14:46 INFO - Found by: call frame info
07:14:46 INFO - 7 libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:d975c1a22c75 : 846 + 0x13]
07:14:46 INFO - eip = 0xb29e115e esp = 0xbfbe1dd0 ebp = 0xbfbe1e38 ebx = 0xb758f030
07:14:46 INFO - esi = 0xb0e35c50 edi = 0xbfbe1e08
07:14:46 INFO - Found by: call frame info
07:14:46 INFO - 8 libxul.so!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:d975c1a22c75 : 265 + 0xf]
07:14:46 INFO - eip = 0xb2a09c93 esp = 0xbfbe1e40 ebp = 0xbfbe1e78 ebx = 0xb758f030
07:14:46 INFO - esi = 0xb0e343a0 edi = 0xbfbe20c0
07:14:46 INFO - Found by: call frame info
07:14:46 INFO - 9 libxul.so!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) [MessagePump.cpp:d975c1a22c75 : 95 + 0xb]
07:14:46 INFO - eip = 0xb2c8455e esp = 0xbfbe1e80 ebp = 0xbfbe1ec8 ebx = 0xb758f030
07:14:46 INFO - esi = 0xb0e343a0 edi = 0xbfbe20c0
07:14:46 INFO - Found by: call frame info
07:14:46 INFO - 10 libxul.so!MessageLoop::RunInternal() [message_loop.cc:d975c1a22c75 : 233 + 0x13]
07:14:46 INFO - eip = 0xb2c63f1e esp = 0xbfbe1ed0 ebp = 0xbfbe1ef8 ebx = 0xb758f030
07:14:46 INFO - esi = 0xbfbe20c0 edi = 0xb0e35c50
07:14:46 INFO - Found by: call frame info
Flags: needinfo?(seth)
Flags: needinfo?(seth)
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
Priority: P3 → P5
Component: DOM → DOM: Core & HTML
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.