Bug 1352271

Summary: Busy-loop when printing specifically formatted HTML message
Product: [Fedora] Fedora Reporter: Matt Burgess <matthew>
Component: evolutionAssignee: Milan Crha <mcrha>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: lucilanga, mbarnes, mcrha, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: evolution-3.20.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-04 10:34:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Email that hangs Evolution when trying to print none

Description Matt Burgess 2016-07-03 08:28:09 UTC
Created attachment 1175459 [details]
Email that hangs Evolution when trying to print

Description of problem:

When trying to print certain emails, Evolution simply hangs, then the 'Evolution is not responding' dialog is shown and I have to 'Force Quit' in order to restart Evolution.

Version-Release number of selected component (if applicable):

3.20.3-1.fc24

How reproducible:

This doesn't happen on all emails, but on emails which do trigger the issue, it happens 100% of the time (i.e. repeatedly trying to print affected emails will always hang Evolution).
 

Steps to Reproduce:
1. Import the attached mbox file into Evolution
2. Try to print the email

Actual results:

The Evolution UI instantly becomes unresponsive, and after a minute or so, the 'Evolution is not responding' dialog is displayed.

Expected results:

The Print dialog box should be displayed.

Additional info:

Comment 1 Milan Crha 2016-07-04 10:34:43 UTC
Thanks for a bug report and test data. I'm able to reproduce the issue too. It's caused by a bug in the evolution, when a specific formatting is used in the HTML file. I fixed it for the next release.

Created commit 76e9eec in evo master (3.21.4+) [1]
Created commit f51d544 in evo gnome-3-20 (3.20.4+)

[1] https://git.gnome.org/browse/evolution/commit/?id=76e9eec