Closed Bug 1736527 Opened 3 years ago Closed 1 year ago

Crash in [@ OOM | large | xul.dll] - message with many image files causes high memory usage

Categories

(Thunderbird :: General, defect)

Thunderbird 91
x86
Windows 10
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: yaron, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

4.81 MB, application/octet-stream
Details

Crash report: https://crash-stats.mozilla.org/report/index/f2afb7dd-b988-4706-9646-928b30211018

MOZ_CRASH Reason: MOZ_CRASH(OOM)

Top 10 frames of crashing thread:

0 xul.dll xul.dll@0x44249 
1 xul.dll xul.dll@0x801e1 
2 xul.dll xul.dll@0x68a32 
3 xul.dll xul.dll@0x23f6d02 
4 xul.dll xul.dll@0x23cafe0 
5 xul.dll xul.dll@0x24d6078 
6 xul.dll xul.dll@0x24621c4 
7 xul.dll xul.dll@0x2495841 
8 xul.dll xul.dll@0x24621a6 
9 xul.dll xul.dll@0x2508869 

This crash happens when trying to view a specific message which have ~70 images. After clicking on the message thunderbird hangs for a few miutes before crashing. I can forward the message if that can help.

Does it also happen after doing Help > Troubleshoot mode?

You can forward the message (including headers) to me, and Ben at benc@thunderbird.net

Keywords: crash

I tried with troubleshoot mode as well. By the way, I am able to read the message on Thunderbird 78.13.0 on Ubuntu 20.04 (which obviously doesn't have any AV software). I will forward the email.

Attached file badmessage.txt

The linux install is likely 64bit.

Have you tried the 64 bit WIndows build from https://www.thunderbird.net/en-US/thunderbird/all/ ?
Install in the same location as your current thunderbird program directory.
(bp-f2afb7dd-b988-4706-9646-928b30211018 is 32bit WIndows build)

Flags: needinfo?(yaron)

I installed 91.2.1 64 bit version and upgraded from 8Gb to 16Gb RAM. Thunderbird still chokes on this specific message (it can take a few minutes with TB being unresponsive and I cannot even access the menus). The memory upgrade stopped the crashes. I suspect that something in the message (an image or a link) is the problem. Or it might be related to TrendMicro AV which is taking time to scan the message (disabling the AV is not an option because this is mandatory in my organization). Have you tried reading the message and see if you can reproduce the problem?

Flags: needinfo?(yaron)

32bit crashes for me https://crash-stats.thunderbird.net/report/bp-3b234843-c5d9-4c4d-b3a6-dd97e1220130
64bit on Mac and Windows does not crash for me.

So yes, something(s) in the message are causing high memory usage. 2-3GB to open/render it. But I played with the message - turning off LTR and right align seems to cut the render time by more than half, but did not noticeably reduce the memory usage.

FWIW the message is almost 80k lines, with 70 images and >700 cid: image references. I'd bet that is related to the memory usage. And ...

I removed the png files from the end of the message, amounting to ~30k lines, and the message renders almost immediately with no massive memory increase. Several users have reported crashes for messages with many images.

Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
Summary: Crash in [@ OOM | large | xul.dll] → Crash in [@ OOM | large | xul.dll] - message with many image files causes high memory usage
See Also: → 1741136

Yaron,
Does it happen for you with version 102?

Flags: needinfo?(yaron)
Depends on: 1556748

Yaron reports "still using TB (on Windows 10 and Ubuntu 20.04, both on 102). I just checked with a similar message to those crashed my TB and it seems to be working OK."

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(yaron)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: