Thunderbird Crash in [@ nsTArray_Impl<T>::~nsTArray_Impl | mozilla::dom::MozQueryInterface::~MozQueryInterface] saving file that was successfully saved.
Categories
(MailNews Core :: MIME, defect)
Tracking
(thunderbird_esr153 unaffected, thunderbird158 fixed, thunderbird159 fixed, thunderbird160 fixed)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr153 | --- | unaffected |
| thunderbird158 | --- | fixed |
| thunderbird159 | --- | fixed |
| thunderbird160 | --- | fixed |
People
(Reporter: wsmwk, Unassigned)
References
(Regression)
Details
(Keywords: crash, regression)
Crash Data
"appears" to be new crash signature with 156.0.
Crash report: https://crash-stats.mozilla.org/report/index/b87f1327-3b91-4489-adb0-b19910260916
User comment "Unable to save name of a TXT copy. However, an EML copy was fine."
Related to Bug 1547541 ? Thunderbird Crash in [@ shutdownhang | NtUserPeekMessage | _PeekMessage] via mozilla::widget::WinUtils::PeekMessage (password?)
Reason:
EXCEPTION_ACCESS_VIOLATION_READ
Top 10 frames:
0 xul.dll nsTArray_base<nsTArray_RelocateUsingMemutils>::IsEmpty() const xpcom/ds/nsTArray.h:368
0 xul.dll nsTArray_Impl<nsID, nsTArrayInfallibleAllocator>::~nsTArray_Impl() xpcom/ds/nsTArray.h:894
0 xul.dll mozilla::dom::MozQueryInterface::~MozQueryInterface() dom/base/MozQueryInterface.h:29
0 xul.dll std::default_delete<mozilla::dom::MozQueryInterface>::operator()(mozilla::dom... /builds/worker/fetches/vs/VC/Tools/MSVC/14.51.36231/include/memory:3338
0 xul.dll std::unique_ptr<mozilla::dom::MozQueryInterface, std::default_delete<mozilla:... /builds/worker/fetches/vs/VC/Tools/MSVC/14.51.36231/include/memory:3456
0 xul.dll mozilla::SegmentedVector<std::unique_ptr<mozilla::dom::MozQueryInterface, std... mfbt/SegmentedVector.h:75
0 xul.dll mozilla::SegmentedVector<std::unique_ptr<mozilla::dom::MozQueryInterface, std... mfbt/SegmentedVector.h:248
1 xul.dll mozilla::dom::DeferredFinalizerImpl<mozilla::dom::MozQueryInterface>::Deferre... dom/bindings/BindingUtils.h:2968
2 xul.dll mozilla::IncrementalFinalizeRunnable::ReleaseNow(bool) xpcom/base/CycleCollectedJSRuntime.cpp:1955
3 xul.dll mozilla::CycleCollectedJSContext::AfterProcessTask(unsigned int) xpcom/base/CycleCollectedJSContext.cpp:542
Comment 1•2 months ago
|
||
Unfortunately, no good leads.
Comment 2•2 months ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #1)
Unfortunately, no good leads.
Well, the regression window is b1 -> b2 contains only bug 2067655 in comm/, but that does not really fit with the user comment. Could also be Gecko.
| Reporter | ||
Comment 3•2 months ago
|
||
(In reply to Max Emig [:maxe] from comment #2)
(In reply to Magnus Melin [:mkmelin] from comment #1)
Unfortunately, no good leads.
Well, the regression window is b1 -> b2 contains only bug 2067655 in comm/, but that does not really fit with the user comment. Could also be Gecko.
156.0b1 was only out for a day before 156.0b2 got released, so we can't count on that regression range. Plus the crash rate is so low that it's possible the bug existed somewhere in 155.
But:
- bp-5c7fcabf-ff73-4270-93da-11bf30260921 "Crash occurred after saving message as HTML and getting message saying it could not be so saved and I should check my filename, yet it was there on disk."
- the same person also crashed strlen | nsCharTraits<T>::length bp-65d3c03b-2fea-4f00-92f0-4e6890260921 "Crash occurred after saving message as HTML."
That signature strlen | nsCharTraits<T>::length does originate in 156.0b1 bp-05898481-76af-4fff-ab1a-99aee0260903 with (luckily) a user comment "Attempted to save an e-mail to a Dropbox folder as an HTML file." And has a much higher crash rate.
There are so far no crashes for 157 beta.
Could the regressor be Bug 2066300 - More MIME code should use safer methods for parsing and creating URL parameters ?
| Reporter | ||
Comment 4•2 months ago
|
||
TBD if fixed in 156.0.1 by Bug 2068022 - PROCESS-CRASH - application crashed [@ strlen] | comm/mail/components/compose/test/browser/browser_sendMessage_progress.js
Comment 5•2 months ago
|
||
This is the top crash for 156.0.1
Comment 6•2 months ago
|
||
But nothing in 157 beta, which releases Tues as 157.0
| Reporter | ||
Comment 7•2 months ago
|
||
(In reply to Corey Bryant from comment #6)
But nothing in 157 beta, which releases Tues as 157.0
True.
I've been wondering if this is related to nsMailboxProtocol::Initialize crashes. Will need to see when release happens. bp-985a7293-f800-48fa-9b12-412150260922 is 157.0b2
Comment 8•1 month ago
|
||
Bug 2066300 made Save As -> File (html or txt) of local messages on Windows fail in the old broken MimeExternalObject attachment-box code, which then double-freed. I removed that code entirely in bug 2068939, fully unaware of the regression that had just happened.
No more crashes in the new release, ESR unaffected, good enough for me.
Description
•