Closed Bug 1747894 Opened 2 years ago Closed 2 years ago

Reproducible Assertion failure: mUsage == mDEBUGUsage, at dom/localstorage/ActorsParent.cpp:7327

Categories

(Core :: Storage: localStorage & sessionStorage, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1749007

People

(Reporter: emilio, Unassigned)

References

Details

I hit this when debugging bug 1746084.

(rr) p mUsage
$1 = 298
(rr) p mDEBUGUsage
$2 = 327

I'll try to upload a pernosco trace.

Stack is:

(rr) bt
#0  mozilla::dom::(anonymous namespace)::PrepareDatastoreOp::GetResponse(mozilla::dom::LSRequestResponse&) (this=0x7f2a469b6000, aResponse=...) at /home/emilio/src/moz/gecko-6/dom/localstorage/ActorsParent.cpp:7327
#1  0x00007f2a6aa4e5f8 in mozilla::dom::(anonymous namespace)::LSRequestBase::SendResults() (this=0x7f2a469b6000) at /home/emilio/src/moz/gecko-6/dom/localstorage/ActorsParent.cpp:6327
#2  mozilla::dom::(anonymous namespace)::LSRequestBase::Run() (this=this@entry=0x7f2a469b6000) at /home/emilio/src/moz/gecko-6/dom/localstorage/ActorsParent.cpp:6366
#3  0x00007f2a6aa52192 in mozilla::dom::(anonymous namespace)::LSRequestBase::FinishInternal() (this=0x7f2a469b6000) at /home/emilio/src/moz/gecko-6/dom/localstorage/ActorsParent.cpp:6311
#4  0x00007f2a6aa51d52 in non-virtual thunk to mozilla::dom::(anonymous namespace)::LSRequestBase::RecvFinish() () at /home/emilio/src/moz/gecko-6/dom/localstorage/ActorsParent.cpp:6435
#5  0x00007f2a68343596 in mozilla::dom::PBackgroundLSRequestParent::OnMessageReceived(IPC::Message const&) (this=0x7f2a469b6040, msg__=...) at PBackgroundLSRequestParent.cpp:190
#6  0x00007f2a68357736 in mozilla::ipc::PBackgroundParent::OnMessageReceived(IPC::Message const&) (this=0x7f2a355d5600, msg__=...) at PBackgroundParent.cpp:3418
#7  0x00007f2a67f7ab5c in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) (this=0x7f2a355d56f8, aProxy=0x7f2a3223d820, aMsg=...) at /home/emilio/src/moz/gecko-6/ipc/glue/MessageChannel.cpp:2043
#8  0x00007f2a67f79d2c in mozilla::ipc::MessageChannel::DispatchMessage(IPC::Message&&) (this=this@entry=0x7f2a355d56f8, aMsg=...) at /home/emilio/src/moz/gecko-6/ipc/glue/MessageChannel.cpp:1968
#9  0x00007f2a67f7a34c in mozilla::ipc::MessageChannel::RunMessage(mozilla::ipc::MessageChannel::MessageTask&) (this=0x7f2a355d56f8, aTask=...) at /home/emilio/src/moz/gecko-6/ipc/glue/MessageChannel.cpp:1827
#10 0x00007f2a67f7a63b in mozilla::ipc::MessageChannel::MessageTask::Run() (this=0x7f2a30358570) at /home/emilio/src/moz/gecko-6/ipc/glue/MessageChannel.cpp:1855
#11 0x00007f2a677fcf84 in nsThread::ProcessNextEvent(bool, bool*) (this=0x7f2a52f06350, aMayWait=false, aResult=0x7f2a4fc51a97) at /home/emilio/src/moz/gecko-6/xpcom/threads/nsThread.cpp:1177
#12 0x00007f2a67800f84 in NS_ProcessNextEvent(nsIThread*, bool) (aThread=0x7f2a746f1540 <_IO_stdfile_2_lock>, aThread@entry=0x7f2a52f06350, aMayWait=false) at /home/emilio/src/moz/gecko-6/xpcom/threads/nsThreadUtils.cpp:467
#13 0x00007f2a67f7d672 in mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) (this=0x7f2a5301a4c0, aDelegate=0x7f2a4fc51bb0) at /home/emilio/src/moz/gecko-6/ipc/glue/MessagePump.cpp:300
#14 0x00007f2a67ef133f in MessageLoop::RunInternal() (this=this@entry=0x7f2a4fc51bb0) at /home/emilio/src/moz/gecko-6/ipc/chromium/src/base/message_loop.cc:331
#15 0x00007f2a67ef128f in MessageLoop::RunHandler() (this=0x7f2a4fc51bb0) at /home/emilio/src/moz/gecko-6/ipc/chromium/src/base/message_loop.cc:324
#16 MessageLoop::Run() (this=0x7f2a4fc51bb0) at /home/emilio/src/moz/gecko-6/ipc/chromium/src/base/message_loop.cc:306
#17 0x00007f2a677fa10a in nsThread::ThreadFunc(void*) (aArg=<optimized out>) at /home/emilio/src/moz/gecko-6/xpcom/threads/nsThread.cpp:391
#18 0x00007f2a7446f450 in _pt_root (arg=0x7f2a530bfee0) at /home/emilio/src/moz/gecko-6/nsprpub/pr/src/pthreads/ptthread.c:201
#19 0x00007f2a74588762 in start_thread (arg=<optimized out>) at pthread_create.c:442
#20 0x00007f2a7460c264 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

But that's probably not all that helpful.

This might be useful? https://pernos.co/debug/atybp9QRVgorABBItyw6mA/index.html

Jan, ni?ing you because of similar bug 1541681, but feel free to forward / what not.

Flags: needinfo?(jvarga)

I hit this when debugging bug 1746228, too. (I reliably hit this fatal assertion when visiting https://clixo.com/product/rainbow-pack/ in an opt+debug build.)

See Also: → 1749007
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jvarga)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.