Closed
Bug 1111952
Opened 10 years ago
Closed 3 years ago
[TaskTracer] Assertion failure: !sTraceInfoTLS, at mozilla-central/tools/profiler/GeckoTaskTracer.cpp:204
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: gyeh, Unassigned)
References
Details
Reporter | ||
Comment 1•10 years ago
|
||
I also got the following warnings: I/Gecko ( 915): [915] WARNING: NS_ENSURE_TRUE(IsInitialized()) failed: file ../../../../../mozilla-central/tools/profiler/GeckoTaskTracer.cpp, line 224 I/Gecko ( 915): [915] WARNING: NS_ENSURE_TRUE(info) failed: file ../../../../../mozilla-central/tools/profiler/GeckoTaskTracer.cpp, line 273 I/Gecko ( 915): [915] WARNING: Tried to RegisterCallback without an AtExitManager: file ../../../../../mozilla-central/ipc/chromium/src/base/at_exit.cc, line 40 I/Gecko ( 915): [Child 915] WARNING: NS_ENSURE_TRUE(IsInitialized()) failed: file ../../../../../mozilla-central/tools/profiler/GeckoTaskTracer.cpp, line 224 I/Gecko ( 915): [Child 915] WARNING: NS_ENSURE_TRUE(info) failed: file ../../../../../mozilla-central/tools/profiler/GeckoTaskTracer.cpp, line 273 I/Gecko ( 915): [Child 915] WARNING: NS_ENSURE_TRUE(IsInitialized()) failed: file ../../../../../mozilla-central/tools/profiler/GeckoTaskTracer.cpp, line 224 I/Gecko ( 915): [Child 915] WARNING: NS_ENSURE_TRUE(info) failed: file ../../../../../mozilla-central/tools/profiler/TracedTaskCommon.cpp, line 24 I/Gecko ( 915): [Child 915] WARNING: NS_ENSURE_TRUE(IsInitialized()) failed: file ../../../../../mozilla-central/tools/profiler/GeckoTaskTracer.cpp, line 224 I/Gecko ( 915): [Child 915] WARNING: NS_ENSURE_TRUE(IsInitialized()) failed: file ../../../../../mozilla-central/tools/profiler/GeckoTaskTracer.cpp, line 224 I/Gecko ( 915): [Child 915] WARNING: NS_ENSURE_TRUE(IsInitialized()) failed: file ../../../../../mozilla-central/tools/profiler/GeckoTaskTracer.cpp, line 224 I/Gecko ( 915): [Child 915] WARNING: NS_ENSURE_TRUE(IsInitialized()) failed: file ../../../../../mozilla-central/tools/profiler/GeckoTaskTracer.cpp, line 224 I/Gecko ( 915): [Child 915] WARNING: NS_ENSURE_TRUE(IsInitialized()) failed: file ../../../../../mozilla-central/tools/profiler/GeckoTaskTracer.cpp, line 224
Reporter | ||
Updated•10 years ago
|
Comment 2•9 years ago
|
||
This is critical because otherwise task tracer couldn't be used with DEBUG enabled. If those methods are called before IsInitialized() they shouldn't use NS_ENSURE_TRUE but if (!IsInitialized()) return;
Comment 3•9 years ago
|
||
I am going to fix this in bug 1095433 by introducing ENSURE_TRUE_VOID() which is the counterpart of NS_ENSURE_TRUE_VOID() without the warning in the debug build.
Task Tracer was removed in bug 1715257.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•