Closed Bug 1496635 Opened 6 years ago Closed 6 years ago

Intermittent GECKO(1116) | Assertion failure: query_result == mRawPtr (QueryInterface needed), at /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr.h:500

Categories

(Core :: XPCOM, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1496629

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: btara [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=203513520&repo=autoland https://queue.taskcluster.net/v1/task/AkrqqEchSaKxH7M-T1R-mw/runs/0/artifacts/public/logs/live_backing.log 16:49:44 INFO - MochitestServer : launching [u'/Users/cltbld/tasks/task_1538694899/build/tests/bin/xpcshell', '-g', '/Users/cltbld/tasks/task_1538694899/build/application/Firefox NightlyDebug.app/Contents/Resources', '-f', '/Users/cltbld/tasks/task_1538694899/build/tests/bin/components/httpd.js', '-e', "const _PROFILE_PATH = '/var/folders/27/t6svqqlx251b9v8k9j0hhls000000w/T/tmp22OFqC.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/Users/cltbld/tasks/task_1538694899/build/tests/mochitest/server.js'] 16:49:44 INFO - runtests.py | Server pid: 1113 16:49:44 INFO - runtests.py | Websocket server pid: 1114 16:49:44 INFO - runtests.py | SSL tunnel pid: 1115 16:49:44 INFO - [1113, Main Thread] WARNING: Re-registering a CID?: file /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp, line 593 16:49:45 INFO - Couldn't convert chrome URL: chrome://branding/locale/brand.properties 16:49:45 INFO - [1113, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/workspace/build/src/dom/media/CubebUtils.cpp, line 381 16:49:45 INFO - runtests.py | Running with e10s: True 16:49:45 INFO - runtests.py | Running tests: start. 16:49:45 INFO - 16:49:45 INFO - Application command: /Users/cltbld/tasks/task_1538694899/build/application/Firefox NightlyDebug.app/Contents/MacOS/firefox -marionette -foreground -profile /var/folders/27/t6svqqlx251b9v8k9j0hhls000000w/T/tmp22OFqC.mozrunner 16:49:45 INFO - runtests.py | Application pid: 1116 16:49:45 INFO - TEST-INFO | started process GECKO(1116) 16:49:45 INFO - GECKO(1116) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/27/t6svqqlx251b9v8k9j0hhls000000w/T/tmp22OFqC.mozrunner/runtests_leaks.log 16:49:45 INFO - GECKO(1116) | [1116, Main Thread] WARNING: Re-registering a CID?: file /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp, line 593 16:49:45 INFO - GECKO(1116) | Assertion failure: query_result == mRawPtr (QueryInterface needed), at /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr.h:500 16:51:07 INFO - GECKO(1116) | #01: mozilla::ScriptPreloader::InitCache(nsTSubstring<char16_t> const&) [js/xpconnect/loader/ScriptPreloader.cpp:511] 16:51:07 INFO - 16:51:07 INFO - GECKO(1116) | #02: mozilla::ScriptPreloader::GetChildSingleton() [js/xpconnect/loader/ScriptPreloader.cpp:169] 16:51:07 INFO - 16:51:07 INFO - GECKO(1116) | #03: mozilla::ScriptPreloader::GetSingleton() [js/xpconnect/loader/ScriptPreloader.cpp:124] 16:51:07 INFO - 16:51:07 INFO - GECKO(1116) | #04: NS_InitXPCOM2 [xpcom/build/XPCOMInit.cpp:720] 16:51:07 INFO - 16:51:07 INFO - GECKO(1116) | #05: ScopedXPCOMStartup::Initialize() [toolkit/xre/nsAppRunner.cpp:1483] 16:51:07 INFO - 16:51:07 INFO - GECKO(1116) | #06: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) [toolkit/xre/nsAppRunner.cpp:4918] 16:51:07 INFO - 16:51:07 INFO - GECKO(1116) | #07: XRE_main(int, char**, mozilla::BootstrapConfig const&) [toolkit/xre/nsAppRunner.cpp:5014] 16:51:07 INFO - 16:51:07 INFO - GECKO(1116) | #08: main [browser/app/nsBrowserApp.cpp:233] 16:51:07 INFO - 16:52:45 INFO - runtests.py | Waiting for browser... 16:52:45 INFO - TEST-INFO | Main app process: exit 1 16:52:45 INFO - Buffered messages finished 16:52:45 ERROR - TEST-UNEXPECTED-FAIL | automation.py | application terminated with exit code 1 16:52:45 INFO - runtests.py | Application ran for: 0:03:00.040675 16:52:45 INFO - zombiecheck | Reading PID log: /var/folders/27/t6svqqlx251b9v8k9j0hhls000000w/T/tmpRQXOnApidlog 16:52:45 INFO - mozcrash Copy/paste: /Users/cltbld/tasks/task_1538694899/build/macosx64-minidump_stackwalk /var/folders/27/t6svqqlx251b9v8k9j0hhls000000w/T/tmp22OFqC.mozrunner/minidumps/2F89D368-5403-45CD-A347-A4B65D19F4FA.dmp /Users/cltbld/tasks/task_1538694899/build/symbols 16:53:01 INFO - mozcrash Saved minidump as /Users/cltbld/tasks/task_1538694899/build/blobber_upload_dir/2F89D368-5403-45CD-A347-A4B65D19F4FA.dmp 16:53:01 INFO - mozcrash Saved app info as /Users/cltbld/tasks/task_1538694899/build/blobber_upload_dir/2F89D368-5403-45CD-A347-A4B65D19F4FA.extra 16:53:01 INFO - PROCESS-CRASH | automation.py | application crashed [@ mozilla::URLPreloader::BeginBackgroundRead()] 16:53:01 INFO - Crash dump filename: /var/folders/27/t6svqqlx251b9v8k9j0hhls000000w/T/tmp22OFqC.mozrunner/minidumps/2F89D368-5403-45CD-A347-A4B65D19F4FA.dmp 16:53:01 INFO - Operating system: Mac OS X 16:53:01 INFO - 10.10.5 14F27 16:53:01 INFO - CPU: amd64 16:53:01 INFO - family 6 model 69 stepping 1 16:53:01 INFO - 4 CPUs 16:53:01 INFO - 16:53:01 INFO - GPU: UNKNOWN 16:53:01 INFO - 16:53:01 INFO - Crash reason: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS 16:53:01 INFO - Crash address: 0x0 16:53:01 INFO - Process uptime: 0 seconds 16:53:01 INFO - 16:53:01 INFO - Thread 0 (crashed) 16:53:01 INFO - 0 XUL!mozilla::URLPreloader::BeginBackgroundRead() [nsCOMPtr.h:4b0eafbca6e86b5e1df7bab083b3d785dfb0f4cb : 500 + 0x0] 16:53:01 INFO - rax = 0x0000000000000000 rdx = 0x00007fff79c271f8 16:53:01 INFO - rcx = 0x0000000000000000 rbx = 0x00007fff508e3a20 16:53:01 INFO - rsi = 0x0000150000001500 rdi = 0x0000140000001503 16:53:01 INFO - rbp = 0x00007fff508e3a50 rsp = 0x00007fff508e3a10 16:53:01 INFO - r8 = 0x00007fff508e39c0 r9 = 0x00007fff7797e300 16:53:01 INFO - r10 = 0x00007fff881325d2 r11 = 0x00007fff88132421 16:53:01 INFO - r12 = 0x00007fff508e3a60 r13 = 0x0000000000000000 16:53:01 INFO - r14 = 0x000000011b225ba0 r15 = 0x000000010f529dc0 16:53:01 INFO - rip = 0x00000001104a86dc 16:53:01 INFO - Found by: given as instruction pointer in context 16:53:01 INFO - 1 XUL!mozilla::ScriptPreloader::InitCache(nsTSubstring<char16_t> const&) [URLPreloader.h:4b0eafbca6e86b5e1df7bab083b3d785dfb0f4cb : 120 + 0x5] 16:53:01 INFO - rbp = 0x00007fff508e3b00 rsp = 0x00007fff508e3a60 16:53:01 INFO - rip = 0x000000011049e7eb 16:53:01 INFO - Found by: previous frame's frame pointer 16:53:01 INFO - 2 XUL!mozilla::ScriptPreloader::GetChildSingleton() [ScriptPreloader.cpp:4b0eafbca6e86b5e1df7bab083b3d785dfb0f4cb : 167 + 0x5] 16:53:01 INFO - rbp = 0x00007fff508e3b30 rsp = 0x00007fff508e3b10 16:53:01 INFO - rip = 0x000000011049c9a2 16:53:01 INFO - Found by: previous frame's frame pointer 16:53:01 INFO - 3 XUL!mozilla::ScriptPreloader::GetSingleton() [ScriptPreloader.cpp:4b0eafbca6e86b5e1df7bab083b3d785dfb0f4cb : 124 + 0x5] 16:53:01 INFO - rbp = 0x00007fff508e3b60 rsp = 0x00007fff508e3b40 16:53:01 INFO - rip = 0x000000011049e4fb 16:53:01 INFO - Found by: previous frame's frame pointer 16:53:01 INFO - 4 XUL!NS_InitXPCOM2 [XPCOMInit.cpp:4b0eafbca6e86b5e1df7bab083b3d785dfb0f4cb : 719 + 0x5] 16:53:01 INFO - rbp = 0x00007fff508e3c70 rsp = 0x00007fff508e3b70 16:53:01 INFO - rip = 0x000000010fa2074e
This is the second one of these. Presumably it is somehow related to my QI patch. I'll have to look into it.
Flags: needinfo?(continuation)
See Also: → 1496629
Oh I see, I turned an NS_ASSERTION into a MOZ_ASSERT. I'll make an attempt to figure out what is going on here but I can turn that part back if needed.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(continuation)
Resolution: --- → DUPLICATE
See Also: 1496629
You need to log in before you can comment on or make changes to this bug.