Bug 2954 - Crash in "Save Image As" for HTML message
Summary: Crash in "Save Image As" for HTML message
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/Fancy (show other bugs)
Version: 3.9.2
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2013-07-01 18:18 UTC by Michael Schwendt
Modified: 2013-07-12 10:40 UTC (History)
0 users

See Also:


Attachments

Description Michael Schwendt 2013-07-01 18:18:50 UTC
https://bugzilla.redhat.com/979700 (original report for Fedora 18 and Claws Mail 3.8.1, but reproducible with Fedora 19 and Claws Mail 3.9.2)

Test file: https://bugzilla.redhat.com/attachment.cgi?id=767430

Steps to reproduce:
1. Download test message file and store it in local MH folder.
2. Display text/html part of test message with Fancy plugin enabled. You should see an image of the Seattle Space Needle.
3. Right-click the image, choose "Save Image As".
4. File dialog opens. Enter a valid folder and filename. Click "Save" button.
5. Crash

download_file_curl() will run into curl error condition 3 and will try to display an alertpanel_error.


cur_link = (null)
* No URL set!
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
claws-mail: xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)
Comment 1 users 2013-07-12 10:24:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=50116eb9aed6b5294cb30317e83ea388a9e41434
Author: Paul <paul@claws-mail.org>
Date:   Fri Jul 12 09:23:43 2013 +0100

    fix bug 2954, 'Crash in "Save Image As" for HTML message'
    
    note: this patch prevents the crash but does not implement saving images

Note You need to log in before you can comment on or make changes to this bug.