Assertion failure: false (Tried and failed to create an XPCOM log), at src/xpcom/base/nsTraceRefcnt.cpp:715 and crash when "XPCOM_MEM_BLOAT_LOG" contains a unicode character
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
People
(Reporter: whimboo, Assigned: froydnj)
References
(Blocks 2 open bugs)
Details
(Keywords: assertion, crash)
Attachments
(4 files)
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Comment 3•7 years ago
|
||
Reporter | ||
Comment 4•7 years ago
|
||
Reporter | ||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Reporter | ||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Reporter | ||
Comment 9•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 10•7 years ago
|
||
Assignee | ||
Comment 11•7 years ago
|
||
Assignee | ||
Comment 12•7 years ago
|
||
Assignee | ||
Comment 13•7 years ago
|
||
Reporter | ||
Comment 14•7 years ago
|
||
Assignee | ||
Comment 15•7 years ago
|
||
Reporter | ||
Comment 16•7 years ago
|
||
Reporter | ||
Comment 17•7 years ago
|
||
Reporter | ||
Comment 18•7 years ago
|
||
Assignee | ||
Comment 19•7 years ago
|
||
Reporter | ||
Comment 20•7 years ago
|
||
Assignee | ||
Comment 21•7 years ago
|
||
Assignee | ||
Comment 22•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Assignee | ||
Comment 25•7 years ago
|
||
Comment 26•7 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Reporter | ||
Comment 28•7 years ago
|
||
Reporter | ||
Comment 29•7 years ago
|
||
Reporter | ||
Comment 30•7 years ago
|
||
Assignee | ||
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
Reporter | ||
Comment 33•7 years ago
|
||
Comment 34•7 years ago
|
||
Assignee | ||
Comment 35•7 years ago
|
||
Comment 36•7 years ago
|
||
bugherder |
Reporter | ||
Comment 37•7 years ago
|
||
Reporter | ||
Comment 38•7 years ago
|
||
Assignee | ||
Comment 39•7 years ago
|
||
Assignee | ||
Comment 40•7 years ago
|
||
Reporter | ||
Comment 41•7 years ago
|
||
Assignee | ||
Comment 42•7 years ago
|
||
Reporter | ||
Comment 43•7 years ago
|
||
Reporter | ||
Comment 44•7 years ago
|
||
Reporter | ||
Comment 45•7 years ago
|
||
Assignee | ||
Comment 46•7 years ago
|
||
Reporter | ||
Comment 47•6 years ago
|
||
Comment 48•6 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:froydnj, maybe it's time to close this bug?
Reporter | ||
Comment 49•6 years ago
|
||
No, this is still a problem given that nothing landed here. Maybe we should remove the intermittent-failure keyword.
Assignee | ||
Comment 50•6 years ago
|
||
We should leave this bug open. It might not belong in XPCOM, though.
(In reply to Henrik Skupin (:whimboo) [⌚️UTC+1] from comment #47)
Nathan, so how would this look like with Python3? I tried several ways but I
cannot pass-in a UTF-8 encoded string as environment variable to
subprocess.Popen()
. Do you have some code which clearly works for you?
Attached is the Python code I used to generate the output in comment 46 with the C++ program already attached in this bug; Python3 seems to translate UTF-8 encoded values into UTF-16 values suitable to retrieve with wgetenv
with subprocess.Popen()
for me.
Assignee | ||
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 52•5 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:froydnj, maybe it's time to close this bug?
Assignee | ||
Updated•5 years ago
|
Comment 53•5 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:froydnj, maybe it's time to close this bug?
Assignee | ||
Comment 54•4 years ago
|
||
I guess we can freely use Python3 now, so we can make this issue go away?
Comment 55•4 years ago
|
||
The leave-open keyword is there and there is no activity for 6 months.
:nika, maybe it's time to close this bug?
Reporter | ||
Comment 56•4 years ago
|
||
As it looks like this seems to work nowadays with a Firefox Nightly debug build:
XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to ./firefox-log♥.txt_tab_pid83770
Not sure what else needs to be done in Gecko specifically. Maybe we should close as WFM?
Reporter | ||
Comment 57•4 years ago
|
||
Actually we landed a patch for Firefox 61 about 3 years ago (see comment 39), and the bug was kept open due to remaining issues when running Firefox through mozprocess. I think we should better get this bug marked as fixed, and file a new bug in case problems remain with Python 3.
Updated•4 years ago
|
Description
•