Closed Bug 1050993 Opened 12 years ago Closed 1 year ago

Assertion failure in TimeStamp::operator-: "Cannot compute with aOther null value"

Categories

(Core :: Layout, defect)

ARM
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: botond, Unassigned)

Details

While playing with the test case posted in https://bugzilla.mozilla.org/show_bug.cgi?id=1050789#c5 on a B2G debug build, I encountered the following assertion: Program received signal SIGSEGV, Segmentation fault. 0xb4a2bd94 in mozilla::TimeStamp::operator- (this=<optimized out>, aOther=<optimized out>) at ../../dist/include/mozilla/TimeStamp.h:305 305 MOZ_ASSERT(!aOther.IsNull(), "Cannot compute with aOther null value"); (gdb) i s #0 0xb4a2bd94 in mozilla::TimeStamp::operator- (this=<optimized out>, aOther=<optimized out>) at ../../dist/include/mozilla/TimeStamp.h:305 #1 0xb58fbb6c in mozilla::layout::ScrollbarActivity::UpdateOpacity (this=0xb2e2bac0, aTime=...) at ../../../layout/generic/ScrollbarActivity.cpp:366 #2 0xb58fbe82 in mozilla::layout::ScrollbarActivity::WillRefresh (this=0xb2e2bac0, aTime=...) at ../../../layout/generic/ScrollbarActivity.cpp:137 #3 0xb588a010 in nsRefreshDriver::Tick (this=0xb2f1c540, aNowEpoch=<optimized out>, aNowTime=...) at ../../../layout/base/nsRefreshDriver.cpp:1119 #4 0xb588ab48 in mozilla::RefreshDriverTimer::Tick (this=0xb233bd00) at ../../../layout/base/nsRefreshDriver.cpp:162 #5 0xb4a6549a in nsTimerImpl::Fire (this=0xb283ce20) at ../../../xpcom/threads/nsTimerImpl.cpp:618 #6 0xb4a6561e in nsTimerEvent::Run (this=0xb2317130) at ../../../xpcom/threads/nsTimerImpl.cpp:711 #7 0xb4a62f6e in ProcessNextEvent (aResult=0xbefa4cb7, aMayWait=true, this=0xb3a48880) at ../../../xpcom/threads/nsThread.cpp:766 #8 nsThread::ProcessNextEvent (this=0xb3a48880, aMayWait=<optimized out>, aResult=0xbefa4cb7) at ../../../xpcom/threads/nsThread.cpp:685 #9 0xb4a77084 in NS_ProcessNextEvent (aThread=0xb3a48880, aMayWait=<optimized out>) at /home/botond/dev/mozilla/central/xpcom/glue/nsThreadUtils.cpp:265 #10 0xb4c26b6e in mozilla::ipc::MessagePump::Run (this=0xb3a01c70, aDelegate=0xbefa4e10) at ../../../ipc/glue/MessagePump.cpp:140 #11 0xb4c14ace in MessageLoop::RunInternal (this=0xbefa4e10) at ../../../ipc/chromium/src/base/message_loop.cc:229 #12 0xb4c14ae6 in RunHandler (this=0xbefa4e10) at ../../../ipc/chromium/src/base/message_loop.cc:222 #13 MessageLoop::Run (this=0xbefa4e10) at ../../../ipc/chromium/src/base/message_loop.cc:196 #14 0xb5552fc2 in nsBaseAppShell::Run (this=0xb2eb0760) at /home/botond/dev/mozilla/central/widget/xpwidgets/nsBaseAppShell.cpp:164 #15 0xb5b7f422 in XRE_RunAppShell () at ../../../toolkit/xre/nsEmbedFunctions.cpp:698 #16 0xb4c26c4a in mozilla::ipc::MessagePumpForChildProcess::Run (this=0xb3a01c70, aDelegate=0xbefa4e10) at ../../../ipc/glue/MessagePump.cpp:272 #17 0xb4c14ace in MessageLoop::RunInternal (this=0xbefa4e10) at ../../../ipc/chromium/src/base/message_loop.cc:229 #18 0xb4c14ae6 in RunHandler (this=0xbefa4e10) at ../../../ipc/chromium/src/base/message_loop.cc:222 #19 MessageLoop::Run (this=0xbefa4e10) at ../../../ipc/chromium/src/base/message_loop.cc:196 #20 0xb5b7f2e8 in XRE_InitChildProcess (aArgc=<optimized out>, aArgv=<optimized out>, aProcess=<optimized out>) at ../../../toolkit/xre/nsEmbedFunctions.cpp:535 #21 0x000092ae in content_process_main (argc=7, argv=0xbefa5904) at ../../../ipc/app/../contentproc/plugin-container.cpp:147
Severity: normal → S3

The STR here are not applicable any more (they involve B2G).

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.