Closed Bug 1426178 Opened 6 years ago Closed 4 years ago

Assertion failure: mRawPtr != nullptr (You can't dereference a NULL nsCOMPtr with operator->().), at /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr.h:801

Categories

(Core :: Disability Access APIs, defect)

59 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1427811
Tracking Status
firefox59 --- affected

People

(Reporter: jkratzer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

Attached file trigger.html
Found while fuzzing mozilla-central rev 7c4579e705c4.  

Testcase was found to only reproduce reliably on an ec2 spot instance.  Testcase also requires the fuzzPriv extension which can be found at the following URL:
https://github.com/MozillaSecurity/fuzzpriv

rax = 0x0000000000000000   rdx = 0x0000000000000000
rcx = 0x00007f173512f2ad   rbx = 0x0000000000000001
rsi = 0x00007f17353fe770   rdi = 0x00007f17353fd540
rbp = 0x00007fff52a0b170   rsp = 0x00007fff52a0b170
r8 = 0x00007f17353fe770    r9 = 0x00007f17366f5740
r10 = 0x000000000000002e   r11 = 0x0000000000000000
r12 = 0x00007fff52a0b1c0   r13 = 0x00007f1715547b00
r14 = 0x00007f1713c9fae0   r15 = 0x00007f1715382940
rip = 0x00007f17249f63b2
OS|Linux|0.0.0 Linux 4.4.0-1041-aws #50-Ubuntu SMP Wed Nov 15 22:18:17 UTC 2017 x86_64
CPU|amd64|family 6 model 63 stepping 2|8
GPU|||
Crash|SIGSEGV|0x0|0
0|0|libxul.so|nsCOMPtr<nsINode>::operator->|hg:hg.mozilla.org/integration/mozilla-inbound:xpcom/base/nsCOMPtr.h:1e2457625325|800|0x5
0|1|libxul.so|mozilla::a11y::RootAccessible::ProcessDOMEvent|hg:hg.mozilla.org/integration/mozilla-inbound:accessible/generic/RootAccessible.cpp:1e2457625325|285|0xc
0|2|libxul.so|mozilla::a11y::NotificationController::WillRefresh|hg:hg.mozilla.org/integration/mozilla-inbound:accessible/base/NotificationController.cpp:1e2457625325|835|0x5
0|3|libxul.so|nsRefreshDriver::Tick|hg:hg.mozilla.org/integration/mozilla-inbound:layout/base/nsRefreshDriver.cpp:1e2457625325|1862|0xd
0|4|libxul.so|mozilla::RefreshDriverTimer::TickRefreshDrivers|hg:hg.mozilla.org/integration/mozilla-inbound:layout/base/nsRefreshDriver.cpp:1e2457625325|306|0xf
0|5|libxul.so|mozilla::RefreshDriverTimer::Tick|hg:hg.mozilla.org/integration/mozilla-inbound:layout/base/nsRefreshDriver.cpp:1e2457625325|328|0x12
0|6|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver|hg:hg.mozilla.org/integration/mozilla-inbound:layout/base/nsRefreshDriver.cpp:1e2457625325|769|0x5
0|7|libxul.so|mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync|hg:hg.mozilla.org/integration/mozilla-inbound:layout/base/nsRefreshDriver.cpp:1e2457625325|583|0xc
0|8|libxul.so|mozilla::layout::VsyncChild::RecvNotify|hg:hg.mozilla.org/integration/mozilla-inbound:layout/ipc/VsyncChild.cpp:1e2457625325|68|0x9
0|9|libxul.so|mozilla::layout::PVsyncChild::OnMessageReceived|s3:gecko-generated-sources:06086093ccb59dd5a99cf8c9f9fb7f4860fd8ddbfd516af5e5b3508be62029679421dcf2abdf6b1c945b6a054050bd403c9574aad49f857cb4a31d3f4cf56b9a/ipc/ipdl/PVsyncChild.cpp:|155|0xf
0|10|libxul.so|mozilla::ipc::MessageChannel::DispatchAsyncMessage|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/glue/MessageChannel.cpp:1e2457625325|2110|0x6
0|11|libxul.so|mozilla::ipc::MessageChannel::DispatchMessage|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/glue/MessageChannel.cpp:1e2457625325|2040|0xb
0|12|libxul.so|mozilla::ipc::MessageChannel::RunMessage|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/glue/MessageChannel.cpp:1e2457625325|1886|0xb
0|13|libxul.so|mozilla::ipc::MessageChannel::MessageTask::Run|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/glue/MessageChannel.cpp:1e2457625325|1919|0xc
0|14|libxul.so|nsThread::ProcessNextEvent|hg:hg.mozilla.org/integration/mozilla-inbound:xpcom/threads/nsThread.cpp:1e2457625325|1039|0x15
0|15|libxul.so|NS_ProcessNextEvent|hg:hg.mozilla.org/integration/mozilla-inbound:xpcom/threads/nsThreadUtils.cpp:1e2457625325|508|0x11
0|16|libxul.so|mozilla::ipc::MessagePump::Run|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/glue/MessagePump.cpp:1e2457625325|97|0xa
0|17|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/chromium/src/base/message_loop.cc:1e2457625325|326|0x17
0|18|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/chromium/src/base/message_loop.cc:1e2457625325|319|0x8
0|19|libxul.so|nsBaseAppShell::Run|hg:hg.mozilla.org/integration/mozilla-inbound:widget/nsBaseAppShell.cpp:1e2457625325|157|0xd
0|20|libxul.so|XRE_RunAppShell|hg:hg.mozilla.org/integration/mozilla-inbound:toolkit/xre/nsEmbedFunctions.cpp:1e2457625325|875|0x11
0|21|libxul.so|mozilla::ipc::MessagePumpForChildProcess::Run|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/glue/MessagePump.cpp:1e2457625325|269|0x5
0|22|libxul.so|MessageLoop::RunInternal|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/chromium/src/base/message_loop.cc:1e2457625325|326|0x17
0|23|libxul.so|MessageLoop::Run|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/chromium/src/base/message_loop.cc:1e2457625325|319|0x8
0|24|libxul.so|XRE_InitChildProcess|hg:hg.mozilla.org/integration/mozilla-inbound:toolkit/xre/nsEmbedFunctions.cpp:1e2457625325|701|0x8
0|25|firefox|content_process_main|hg:hg.mozilla.org/integration/mozilla-inbound:ipc/contentproc/plugin-container.cpp:1e2457625325|63|0x14
0|26|firefox|main|hg:hg.mozilla.org/integration/mozilla-inbound:browser/app/nsBrowserApp.cpp:1e2457625325|280|0x11
0|27|libc-2.23.so||||0x20830
0|28|firefox|MOZ_ReportAssertionFailure|hg:hg.mozilla.org/integration/mozilla-inbound:mfbt/Assertions.h:1e2457625325|165|0x5
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: