Closed Bug 2088209 Opened 17 days ago Closed 16 days ago

Forward as inline fails silently from Sent folder (Gmail IMAP) — NS_ERROR_OUT_OF_MEMORY in OpenComposeWindow

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 159
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2088260

People

(Reporter: m.mazzanti, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

Steps to reproduce

Hello everyone,

On Thunderbird 159 (Windows) with a Gmail account over IMAP, I have the following problem: forwarding a message as inline from the Sent folder does nothing — no compose window opens and no error message is shown on screen.

What works and what doesn't:

Inline forward from the Inbox: WORKS
Inline forward from the Sent folder: DOES NOT WORK (silent failure)
Forward as attachment from the Sent folder: WORKS

Configure a Gmail account using IMAP.
Select a message in the Sent folder (Posta inviata).
Click the Forward button (also reproducible from the context menu).

Actual results

Nothing happens: no compose window, no error dialog.

The following error appears in the Error Console (Ctrl+Shift+J) upon clicking Forward:

Uncaught (in promise) NS_ERROR_OUT_OF_MEMORY: Component returned failure code:
0x8007000e (NS_ERROR_OUT_OF_MEMORY) [nsIMsgComposeService.OpenComposeWindow]

ComposeMessage chrome://messenger/content/mailCommands.js:443
_composeMsgByType chrome://messenger/content/mailCommon.js:898

Expected results

Expected Results
The compose window should open with the message quoted inline, as it does when forwarding from the Inbox.

Tests Already Performed (all without success)
Folder Properties → Repair Folder
Manual deletion of the .msf files of the Sent folder (regenerated on restart)
Copied 5–10 messages into an empty local test folder: the problem persists (so it is NOT related to the folder's size/volume)
Tried both the toolbar button and the context menu
Workaround
Setting "Forward messages: As attachment" (Settings → General), which works correctly.

Additional Notes
The error signature is identical to bug 2036765 ("Forwarding/Redirecting fails with NS_ERROR_OUT_OF_MEMORY"), but that one was reported on Exchange and was fixed in 151/152, while I am seeing this on 159 with Gmail IMAP. Could this be a related regression?

Thanks for your attention, Michele

Bug Report — Thunderbird (Bugzilla submission)
Summary / Title
Forward as inline fails silently from Sent folder (Gmail IMAP) — NS_ERROR_OUT_OF_MEMORY in OpenComposeWindow

Description
Hello everyone,

On Thunderbird 159 (Windows) with a Gmail account over IMAP, I have the following problem: forwarding a message as inline from the Sent folder does nothing — no compose window opens and no error message is shown on screen.

What works and what doesn't:

Inline forward from the Inbox: WORKS
Inline forward from the Sent folder: DOES NOT WORK (silent failure)
Forward as attachment from the Sent folder: WORKS
Steps to Reproduce
Configure a Gmail account using IMAP.
Select a message in the Sent folder (Posta inviata).
Click the Forward button (also reproducible from the context menu).
Actual Results
Nothing happens: no compose window, no error dialog.

The following error appears in the Error Console (Ctrl+Shift+J) upon clicking Forward:

Uncaught (in promise) NS_ERROR_OUT_OF_MEMORY: Component returned failure code:
0x8007000e (NS_ERROR_OUT_OF_MEMORY) [nsIMsgComposeService.OpenComposeWindow]

ComposeMessage chrome://messenger/content/mailCommands.js:443
_composeMsgByType chrome://messenger/content/mailCommon.js:898
Expected Results
The compose window should open with the message quoted inline, as it does when forwarding from the Inbox.

Tests Already Performed (all without success)
Folder Properties → Repair Folder
Manual deletion of the .msf files of the Sent folder (regenerated on restart)
Copied 5–10 messages into an empty local test folder: the problem persists (so it is NOT related to the folder's size/volume)
Tried both the toolbar button and the context menu
Workaround
Setting "Forward messages: As attachment" (Settings → General), which works correctly.

Additional Notes
The error signature is identical to bug 2036765 ("Forwarding/Redirecting fails with NS_ERROR_OUT_OF_MEMORY"), but that one was reported on Exchange and was fixed in 151/152, while I am seeing this on 159 with Gmail IMAP. Could this be a related regression?

Thanks for your attention, Michele

On Thunderbird 159 Release 64bit (Windows 10 Pro 64bit)

Hello,

I have tested this issue on Wn 11 version 25H2(OS Build 26200.9457) and macOS Tahoe 26.7.1 and couldn’t reproduce this issue.
I had already configured two Gmail accounts via IMAP.
I selected a message in the Sent folder and clicked Forward, both using the toolbar button and the context menu, with Forward messages: Inline enabled.
In both cases, the compose window opened correctly with the original message quoted inline, as expected.
I also checked the Error Console (Ctrl+Shift+J), but no errors were logged.
I then copied some messages into Local folder and repeated the previous steps, the compose window opened correctly with the original message quoted inline as expected.
I then created a new profile and tried the scenarios once again, and everything worked as expected.

Does it still fail in Troubleshoot Mode?

This is very likely the same issue as bug 2088260 which has just been fixed for 161.

Status: UNCONFIRMED → RESOLVED
Closed: 16 days ago
Duplicate of bug: 2088260
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.