Fix wrong code landed as bustage fix in bug 1825809.
Categories
(MailNews Core :: General, defect)
Tracking
(thunderbird_esr102 unaffected)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr102 | --- | unaffected |
People
(Reporter: max.m, Assigned: KaiE)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1825809 +++
https://hg.mozilla.org/comm-central/rev/f4a1c6f61865 appears to be wrong.
After a var.forget() the variable can't be dereferenced any more. This leads to crashes:
https://treeherder.mozilla.org/jobs?repo=comm-central&selectedTaskRun=bK_PZktlRGyl7wq1EegQsA.0
https://treeherder.mozilla.org/jobs?repo=comm-central&selectedTaskRun=cstxhfhaREWgoGK_PpLu6g.0
Assertion failure: mRawPtr != nullptr (You can't dereference a NULL RefPtr with operator->().), at /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:354)
| Assignee | ||
Comment 1•3 years ago
|
||
Yes, sorry, I should have reviewed more carefully.
I'll work on a fix.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/4f4463bed7ff
Don't use .forget() on objects that are referenced later. r=leftmostcat
Updated•3 years ago
|
Updated•3 years ago
|
Description
•