Closed Bug 866079 Opened 11 years ago Closed 11 years ago

Intermittent webspeech/recognition/test/test_call_start_from_end_handler.html | Exited with code 1 during test run | application crashed [@ mozalloc_abort(char const*)] (ABORT: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0')

Categories

(Core :: Web Audio, defect)

All
macOS
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 866108

People

(Reporter: RyanVM, Assigned: ehsan.akhgari)

References

Details

(Keywords: assertion, crash, intermittent-failure, Whiteboard: [blocking-webaudio-])

Crash Data

https://tbpl.mozilla.org/php/getParsedLog.php?id=22268948&tree=Mozilla-Inbound

Rev5 MacOSX Mountain Lion 10.8 mozilla-inbound debug test mochitest-1 on 2013-04-25 21:27:35 PDT for push 648b0cd18883
slave: talos-mtnlion-r5-021

21:51:18     INFO -  203313 INFO TEST-END | /tests/content/media/webspeech/recognition/test/test_call_start_from_end_handler.html | finished in 2276ms
21:51:18     INFO -  [Parent 888] ###!!! ABORT: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../../dist/include/nsCOMPtr.h, line 801
21:51:18     INFO -  mozilla::dom::ScriptProcessorNodeEngine::SendBuffersToMainThread(mozilla::AudioNodeStream*)::Command::Run()
21:51:18     INFO -  nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:627]
21:51:18     INFO -  NS_ProcessPendingEvents(nsIThread*, unsigned int) [obj-firefox/xpcom/build/nsThreadUtils.cpp:188]
21:51:18     INFO -  nsBaseAppShell::NativeEventCallback() [widget/xpwidgets/nsBaseAppShell.cpp:98]
21:51:18     INFO -  nsAppShell::ProcessGeckoEvents(void*) [widget/cocoa/nsAppShell.mm:388]
21:51:18     INFO -  CoreFoundation + 0x12841
21:51:18     INFO -  CoreFoundation + 0x12165
21:51:18     INFO -  CoreFoundation + 0x354e5
21:51:18     INFO -  CoreFoundation + 0x34dd2
21:51:18     INFO -  HIToolbox + 0x5f774
21:51:18     INFO -  HIToolbox + 0x5f454
21:51:18     INFO -  HIToolbox + 0x5f3a3
21:51:18     INFO -  AppKit + 0x156fa3
21:51:18     INFO -  -AppKit + 0x156862
21:51:18     INFO -  -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] [widget/cocoa/nsAppShell.mm:164]
21:51:18     INFO -  nsAppShell::ProcessNextNativeEvent(bool) [widget/cocoa/nsAppShell.mm:667]
21:51:18     INFO -  nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool, unsigned int) [widget/xpwidgets/nsBaseAppShell.cpp:139]
21:51:18     INFO -  _ZThn8_N10nsAppShell18OnProcessNextEventEP17nsIThreadInternalbj [widget/cocoa/nsAppShell.mm:831]
21:51:18     INFO -  nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:602]
21:51:18     INFO -  NS_ProcessPendingEvents(nsIThread*, unsigned int) [obj-firefox/xpcom/build/nsThreadUtils.cpp:188]
21:51:18     INFO -  nsBaseAppShell::NativeEventCallback() [widget/xpwidgets/nsBaseAppShell.cpp:98]
21:51:18     INFO -  nsAppShell::ProcessGeckoEvents(void*) [widget/cocoa/nsAppShell.mm:388]
21:51:18     INFO -  CoreFoundation + 0x12841
21:51:18     INFO -  CoreFoundation + 0x12165
21:51:18     INFO -  CoreFoundation + 0x354e5
21:51:18     INFO -  CoreFoundation + 0x34dd2
21:51:18     INFO -  HIToolbox + 0x5f774
21:51:18     INFO -  HIToolbox + 0x5f454
21:51:18     INFO -  HIToolbox + 0x5f3a3
21:51:18     INFO -  AppKit + 0x156fa3
21:51:18     INFO -  -AppKit + 0x156862
21:51:18     INFO -  -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] [widget/cocoa/nsAppShell.mm:164]
21:51:18     INFO -  -AppKit + 0x14dc03
21:51:18     INFO -  nsAppShell::Run() [widget/cocoa/nsAppShell.mm:741]
21:51:18     INFO -  nsAppStartup::Run() [toolkit/components/startup/nsAppStartup.cpp:289]
21:51:18     INFO -  XREMain::XRE_mainRun() [toolkit/xre/nsAppRunner.cpp:3878]
21:51:18     INFO -  XREMain::XRE_main(int, char**, nsXREAppData const*) [toolkit/xre/nsAppRunner.cpp:3945]
21:51:18     INFO -  XRE_main [toolkit/xre/nsAppRunner.cpp:4146]
21:51:18     INFO -  main [browser/app/nsBrowserApp.cpp:271]
21:51:18     INFO -  [Parent 888] ###!!! ABORT: You can't dereference a NULL nsCOMPtr with operator->().: 'mRawPtr != 0', file ../../../dist/include/nsCOMPtr.h, line 801
21:51:21  WARNING -  TEST-UNEXPECTED-FAIL | /tests/content/media/webspeech/recognition/test/test_call_start_from_end_handler.html | Exited with code 1 during test run
21:51:21     INFO -  INFO | automation.py | Application ran for: 0:22:13.728296
21:51:21     INFO -  INFO | zombiecheck | Reading PID log: /var/folders/jd/xd6ldtt56nlfkbk3n8fl9sb400000w/T/tmpGgaF5tpidlog
21:51:33  WARNING -  PROCESS-CRASH | /tests/content/media/webspeech/recognition/test/test_call_start_from_end_handler.html | application crashed [@ mozalloc_abort(char const*)]
21:51:33     INFO -  Crash dump filename: /var/folders/jd/xd6ldtt56nlfkbk3n8fl9sb400000w/T/tmpWJ90NB/minidumps/D76A8D4C-26F3-48AE-A3F8-1CEFC947CE76.dmp
21:51:33     INFO -  Operating system: Mac OS X
21:51:33     INFO -                    10.8.0 12A269
21:51:33     INFO -  CPU: amd64
21:51:33     INFO -       family 6 model 42 stepping 7
21:51:33     INFO -       8 CPUs
21:51:33     INFO -  Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
21:51:33     INFO -  Crash address: 0x0
21:51:33     INFO -  Thread 0 (crashed)
21:51:33     INFO -   0  libmozalloc.dylib!mozalloc_abort(char const*) [mozalloc_abort.cpp:648b0cd18883 : 30 + 0x0]
21:51:33     INFO -      rbx = 0x00007fff777f6c68   r12 = 0x0000000103698100
21:51:33     INFO -      r13 = 0x00000001036cbe50   r14 = 0x00007fff5fbfb6b0
21:51:33     INFO -      r15 = 0x00007fff777f6c68   rip = 0x00000001000aaaa4
21:51:33     INFO -      rsp = 0x00007fff5fbfb660   rbp = 0x00007fff5fbfb670
21:51:33     INFO -      Found by: given as instruction pointer in context
21:51:33     INFO -   1  XUL!NS_DebugBreak [nsDebugImpl.cpp:648b0cd18883 : 387 + 0x7]
21:51:33     INFO -      rip = 0x0000000102aeccf2   rsp = 0x00007fff5fbfb690
21:51:33     INFO -      Found by: stack scanning
21:51:33     INFO -   2  XUL!RDFServiceImpl::GetAnonymousResource(nsIRDFResource**)::gChars + 0x6cb
21:51:33     INFO -      rip = 0x00000001037f9a8c   rsp = 0x00007fff5fbfb698
21:51:33     INFO -      Found by: stack scanning
Assignee: nobody → ehsan
Blocks: webaudio
Crash Signature: [@ mozalloc_abort(char const*) | NS_DebugBreak | RDFServiceImpl::GetAnonymousResource(nsIRDFResource**)::gChars]
I guess I'll need to rip out the Command class into mozilla::dom to see if I can get line information out of NS_ASSERTION backtraces.
Whiteboard: [leave open]
(In reply to :Ehsan Akhgari (needinfo? me!) from comment #2)
> I guess I'll need to rip out the Command class into mozilla::dom to see if I
> can get line information out of NS_ASSERTION backtraces.

https://hg.mozilla.org/integration/mozilla-inbound/rev/7c244b521e54
This is a dupe of bug 866108.  In debug builds, we abort before trying to dereference the null pointer.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Whiteboard: [leave open]
I backed out the investigation patch that I landed here: https://hg.mozilla.org/integration/mozilla-inbound/rev/065b1e02a5b1
Mass moving Web Audio bugs to the Web Audio component.  Filter on duckityduck.
Component: Video/Audio → Web Audio
Whiteboard: [blocking-webaudio-]
You need to log in before you can comment on or make changes to this bug.