Camel Failure on reduced TCP windows - GNOME BUG bae0c64

Bug #1442756 reported by James
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
evolution-data-server (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
Fix Released
Undecided
Unassigned

Bug Description

[ Description ]

Sometimes evolution can fail to send messages while appearing to do so successfully. This is likely to happen with emails with attachments.

[ QA ]

This will be easiest if you already experience the bug. Try to send many mails with attachments. Make sure they all get sent all the time.

[ Development fix ]

This patch is in ≥ wily

[ Regression potential ]

The function now returns -1 in some situations. Hopefully all callers are OK with that.

[ Original description ]

After digging, identified same in Gnome evolution data server bug bae0c64 which has had patch produced - https://git.gnome.org/browse/evolution-data-server/commit/?id=bae0c64

Originally identified as Evolution not sending emails with attachments. There was no error to screen, message was stored in SENT folder. Mail was never sent. Mail server shows receipt of data error on transmission.

Error logging to console produces:
(evolution:14998): camel-WARNING **: CamelStreamFilter::write() reported failure without setting its GError
(evolution:14998): camel-WARNING **: CamelStreamFilter::write() reported failure without setting its GError
(evolution:14998): camel-WARNING **: CamelStreamFilter::write() reported failure without setting its GError
(evolution:14998): camel-WARNING **: CamelDataWrapper::write_to_stream_sync() reported failure without setting its GError
(evolution:14998): camel-WARNING **: CamelDataWrapper::decode_to_stream_sync() reported failure without setting its GError
(evolution:14998): camel-WARNING **: CamelMimePart::write_to_stream_sync() reported failure without setting its GError
(evolution:14998): camel-WARNING **: CamelMultipart::write_to_stream_sync() reported failure without setting its GError
(evolution:14998): camel-WARNING **: CamelMimeMessage::write_to_stream_sync() reported failure without setting its GError
(evolution:14998): camel-WARNING **: CamelSmtpTransport::send_to_sync() reported failure without setting its GError

Message is stored in sent folder, Mail server reports error on receive of data. Evolution produces no error.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evolution-data-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexander Koenig (alex-lisas) wrote :

Unfortunately I just noticed that I am affected by this, too. Rebuilding evolution-data-server_3.12.11-0ubuntu1 with the patch provided by James does indeed fix the error. Please consider releasing an updated libcamel package with the fix applied - claiming to have sent email that has not been sent is really a nasty thing to do! I'm adding the patch as it can be found in the Fedora F21 package.

Revision history for this message
Alexander Koenig (alex-lisas) wrote :

Sorry, forgot to add the Fedora patch before hitting 'Post'. The patch is identical to the git commit referred by James.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "F21 patch to fix camel" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Iain Lane (laney) wrote :

Which version of evolution-data-server are you seeing the problem in?

Revision history for this message
Iain Lane (laney) wrote :

Looks like vivid's.

Revision history for this message
Iain Lane (laney) wrote :

I uploaded this to the stable update queue now. Once it's accepted you'll get a message & then can grab and test it fixes the problem for you.

Really sorry for the delay.

description: updated
Changed in evolution-data-server (Ubuntu):
status: Confirmed → Fix Released
Changed in evolution-data-server (Ubuntu Vivid):
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello James, or anyone else affected,

Accepted evolution-data-server into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/evolution-data-server/3.12.11-0ubuntu1.15.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in evolution-data-server (Ubuntu Vivid):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Alexander Koenig (alex-lisas) wrote :

Updated to build 3.12.11-0ubuntu1.15.04.1 and successfully sent an email with 0.5MB attachment, which would have failed with the unpatched version before. So from my point of view the fix works as expected.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-data-server - 3.12.11-0ubuntu1.15.04.1

---------------
evolution-data-server (3.12.11-0ubuntu1.15.04.1) vivid; urgency=medium

  * Add patch for GNOME bug #749292 (SMTP connection lost while reading
    message data) (LP: #1442756)

 -- Iain Lane <email address hidden> Thu, 17 Sep 2015 11:06:16 +0100

Changed in evolution-data-server (Ubuntu Vivid):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for evolution-data-server has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.