Bug 1710408 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I got this assertion error when running rr to debug my failing test.

Full backtrace:
#01: ProfiledThreadData::NotifyUnregistered(unsigned long) (/home/julien/travail/git/mozilla-central/tools/profiler/core/ProfiledThreadData.h:59)
#02: ActivePS::UnregisterThread(PSAutoLock const&, RegisteredThread*) (/home/julien/travail/git/mozilla-central/tools/profiler/core/platform.cpp:0)
#03: profiler_unregister_thread() (/home/julien/travail/git/mozilla-central/tools/profiler/core/platform.cpp:5322)
#04: nsThread::ThreadFunc(void*) (/home/julien/travail/git/mozilla-central/xpcom/threads/nsThread.cpp:433)
#05: _pt_root (/home/julien/travail/git/mozilla-central/nsprpub/pr/src/pthreads/ptthread.c:204)
#06: ??? (/lib/x86_64-linux-gnu/libpthread.so.0 + 0x7fa3)
#07: clone (/lib/x86_64-linux-gnu/libc.so.6 + 0xf94cf)

I'll share the pernosco link when I'll have it.
I got this assertion error when running rr to debug my failing test:

"Assertion failure: !mBufferPositionWhenReceivedJSContext (JSContext should have been cleared before the thread was unregistered), at tools/profiler/core/ProfiledThreadData.h:61" when adding a marker with rr in chaos mode

Full backtrace:
#01: ProfiledThreadData::NotifyUnregistered(unsigned long) (/home/julien/travail/git/mozilla-central/tools/profiler/core/ProfiledThreadData.h:59)
#02: ActivePS::UnregisterThread(PSAutoLock const&, RegisteredThread*) (/home/julien/travail/git/mozilla-central/tools/profiler/core/platform.cpp:0)
#03: profiler_unregister_thread() (/home/julien/travail/git/mozilla-central/tools/profiler/core/platform.cpp:5322)
#04: nsThread::ThreadFunc(void*) (/home/julien/travail/git/mozilla-central/xpcom/threads/nsThread.cpp:433)
#05: _pt_root (/home/julien/travail/git/mozilla-central/nsprpub/pr/src/pthreads/ptthread.c:204)
#06: ??? (/lib/x86_64-linux-gnu/libpthread.so.0 + 0x7fa3)
#07: clone (/lib/x86_64-linux-gnu/libc.so.6 + 0xf94cf)

I'll share the pernosco link when I'll have it.
I got this assertion error when running rr to debug my failing test:

"Assertion failure: !mBufferPositionWhenReceivedJSContext (JSContext should have been cleared before the thread was unregistered), at tools/profiler/core/ProfiledThreadData.h:61"

Full backtrace:
#01: ProfiledThreadData::NotifyUnregistered(unsigned long) (/home/julien/travail/git/mozilla-central/tools/profiler/core/ProfiledThreadData.h:59)
#02: ActivePS::UnregisterThread(PSAutoLock const&, RegisteredThread*) (/home/julien/travail/git/mozilla-central/tools/profiler/core/platform.cpp:0)
#03: profiler_unregister_thread() (/home/julien/travail/git/mozilla-central/tools/profiler/core/platform.cpp:5322)
#04: nsThread::ThreadFunc(void*) (/home/julien/travail/git/mozilla-central/xpcom/threads/nsThread.cpp:433)
#05: _pt_root (/home/julien/travail/git/mozilla-central/nsprpub/pr/src/pthreads/ptthread.c:204)
#06: ??? (/lib/x86_64-linux-gnu/libpthread.so.0 + 0x7fa3)
#07: clone (/lib/x86_64-linux-gnu/libc.so.6 + 0xf94cf)

I'll share the pernosco link when I'll have it.

Back to Bug 1710408 Comment 0