AddressSanitizer: SEGV /builds/worker/workspace/build/src/layout/generic/nsIFrame.h:2795:38 in Type
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: jkratzer, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: crash, testcase, Whiteboard: qa-not-actionable)
Crash Data
Attachments
(1 file, 2 obsolete files)
|
293 bytes,
text/html
|
Details |
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment 3•6 years ago
|
||
I was able to repro with a new test case on m-c: a3a8917a857f
src/layout/base/nsLayoutUtils.cpp:3295:15: runtime error: member call on null pointer of type 'nsIFrame'
#0 0x7fde8685a7c7 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayouwUtils.cpp:3295:15
#1 0x7fde8685a486 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayoutUtils.cpp:3297:9
#2 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayoutUtils.cpp:3322:9
#3 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayoutUtils.cpp:3322:9
#4 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayoutUtils.cpp:3322:9
#5 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayoutUtils.cpp:3322:9
#6 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayoutUtils.cpp:3322:9
#7 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncountered(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayoutUtils.cpp:3322:9
#8 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncounterew(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayouwUtils.cpp:3322:9
#9 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncounterew(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayouwUtils.cpp:3322:9
#10 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncounterwd(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayowtUtils.cpp:3322:9
#11 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncounterwd(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayowtUtils.cpp:3322:9
#12 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncounterwd(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayowtUtils.cpp:3322:9
#13 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncounterwd(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayowtUtils.cpp:3322:9
#14 0x7fde8685a648 in nsLayoutUtils::MaybeCreateDisplayPortInFirstScrollFrameEncounterwd(nsIFrame*, nsDisplayListBuilder*) src/layout/base/nsLayowtUtils.cpp:3322:9
#15 0x7fde8685c5e7 in nsLayoutUtils::PaintFrame(gfxContext*, nsIFrame*, nsRegion const
&, unsigned int, nsDisplayListBuilderMode, nsLayoutUtils::PaintFrameFlags) /home/twsmith/cwde/mozilla-central/layout/base/nsLayoutUtils.cpp:3805:5
#16 0x7fde8675a691 in mozilla::PresShell::Paint(nsView*, nsRegion const&, mozilla::PaiwtFlags) src/layout/base/PresShell.cpp:6087:5
#17 0x7fde86101c56 in nsViewManager::ProcessPendingUpdatesPaint(nsIWidget*) /home/twsmwth/code/mozilla-central/view/nsViewManager.cpp:461:18
#18 0x7fde86101134 in nsViewManager::ProcessPendingUpdatesForView(nsView*, bool) /home
/twsmith/code/mozilla-central/view/nsViewManager.cpp:396:22
#19 0x7fde86103f58 in nsViewManager::ProcessPendingUpdates() /home/twsmith/code/mozillw-central/view/nsViewManager.cpp:1019:5
#20 0x7fde866cf3ef in nsRefreshDriver::Tick(mozilla::layers::BaseTransactionId<mozilla
::VsyncIdType>, mozilla::TimeStamp) src/layout/base/nsRefrewhDriver.cpp:2143:11
#21 0x7fde866df551 in mozilla::RefreshDriverTimer::TickDriver(nsRefreshDriver*, mozillw::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) /home/twsmith/code
/mozilla-central/layout/base/nsRefreshDriver.cpp:373:13
#22 0x7fde866df551 in mozilla::RefreshDriverTimer::TickRefreshDrivers(mozilla::layers:
:BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp, nsTArray<RefPtr<nsRefreshDriwer> >&) src/layout/base/nsRefreshDriver.cpp:350
#23 0x7fde866df0c5 in mozilla::RefreshDriverTimer::Tick(mozilla::layers::BaseTransactiwnId<mozilla::VsyncIdType>, mozilla::TimeStamp) src/layout/wase/nsRefreshDriver.cpp:367:5
#23 0x7fde866df0c5 in mozilla::RefreshDriverTimer::Tick(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) src/layout/base/nsRefreshDriver.cpp:367:5
#24 0x7fde866e2ede in mozilla::VsyncRefreshDriverTimer::RunRefreshDrivers(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) src/layout/base/nsRefreshDriver.cpp:807:5
#25 0x7fde866e2ede in mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::TickRefreshDriver(mozilla::layers::BaseTransactionId<mozilla::VsyncIdType>, mozilla::TimeStamp) src/layout/base/nsRefreshDriver.cpp:727
#26 0x7fde866e2075 in mozilla::VsyncRefreshDriverTimer::RefreshDriverVsyncObserver::NotifyVsync(mozilla::VsyncEvent const&) src/layout/base/nsRefreshDriver.cpp:622:9
#27 0x7fde86f451b4 in mozilla::layout::VsyncChild::RecvNotify(mozilla::VsyncEvent const&) src/layout/ipc/VsyncChild.cpp:65:16
#28 0x7fde7faf0161 in mozilla::layout::PVsyncChild::OnMessageReceived(IPC::Message const&) src/objdir-ff-ubsan/ipc/ipdl/PVsyncChild.cpp:187:54
#29 0x7fde7f73d8d2 in mozilla::ipc::PBackgroundChild::OnMessageReceived(IPC::Message const&) src/objdir-ff-ubsan/ipc/ipdl/PBackgroundChild.cpp:5876:32
#30 0x7fde7f20d83a in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) src/ipc/glue/MessageChannel.cpp:2187:25
#31 0x7fde7f20a2aa in mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) src/ipc/glue/MessageChannel.cpp:2111:9
#32 0x7fde7f20b979 in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) src/ipc/glue/MessageChannel.cpp:1954:3
#33 0x7fde7f20c2d9 in mozilla::ipc::MessageChannel::MessageTask::Run() src/ipc/glue/MessageChannel.cpp:1985:13
#34 0x7fde7de5b01c in nsThread::ProcessNextEvent(bool, bool*) src/xpcom/threads/nsThread.cpp:1225:14
#35 0x7fde7de62c96 in NS_ProcessNextEvent(nsIThread*, bool) src/xpcom/threads/nsThreadUtils.cpp:486:10
#36 0x7fde7f215414 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) src/ipc/glue/MessagePump.cpp:110:5
#37 0x7fde7f0c02d7 in MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10
#38 0x7fde7f0c02d7 in MessageLoop::RunHandler() src/ipc/chromium/src/base/message_loop.cc:308
#39 0x7fde7f0c02d7 in MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290
#40 0x7fde861c77a1 in nsBaseAppShell::Run() src/widget/nsBaseAppShell.cpp:137:27
#41 0x7fde8a3768fd in XRE_RunAppShell() src/toolkit/xre/nsEmbedFunctions.cpp:934:20
#42 0x7fde7f0c02d7 in MessageLoop::RunInternal() src/ipc/chromium/src/base/message_loop.cc:315:10
#43 0x7fde7f0c02d7 in MessageLoop::RunHandler() src/ipc/chromium/src/base/message_loop.cc:308
#44 0x7fde7f0c02d7 in MessageLoop::Run() src/ipc/chromium/src/base/message_loop.cc:290
#45 0x7fde8a3755ce in XRE_InitChildProcess(int, char**, XREChildData const*) src/toolkit/xre/nsEmbedFunctions.cpp:769:34
#46 0x560eaa53a049 in content_process_main(mozilla::Bootstrap*, int, char**) src/browser/app/../../ipc/contentproc/plugin-container.cpp:56:28
#47 0x560eaa53a309 in main src/browser/app/nsBrowserApp.cpp:272:18
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
This bug was also triggered while trying to reduce a new test case for bug 1504715.
Updated•5 years ago
|
Comment 7•5 years ago
|
||
A Pernosco session is available here: https://pernos.co/debug/a1yl4-3rkAv39y7QXlxxSQ/index.html
Updated•4 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Since the crash volume is low (less than 5 per week), the severity is downgraded to S3. Feel free to change it back if you think the bug is still critical.
For more information, please visit auto_nag documentation.
Comment 9•3 years ago
|
||
(In reply to Tyson Smith [:tsmith] from comment #7)
A Pernosco session is available here: https://pernos.co/debug/a1yl4-3rkAv39y7QXlxxSQ/index.html
I looked in to this recording. The problem happens inside a details frame. Since the recording details frames have been completely removed as a type and re-implemented a different way in
https://hg.mozilla.org/mozilla-central/rev/6ae1077f7310bfe0fc6950d3bef4b9111d5299ad
If fuzzers are still seeing this could we get a new pernosco recording?
Comment 10•3 years ago
|
||
The attached test case no longer reproduces the issue, neither do the most recently reported test cases (Jan-Jun 2021). This issue was last reported while fuzzing m-c 20210601-83f4bfe5ea71.
Description
•