Bug 2989 - Segfault at startup because of corrupted folderlist.xml
Summary: Segfault at startup because of corrupted folderlist.xml
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.8.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2013-08-09 16:56 UTC by gillux
Modified: 2013-08-28 07:42 UTC (History)
0 users

See Also:


Attachments
Console output and backtrace (2.73 KB, application/octet-stream)
2013-08-09 16:56 UTC, gillux
no flags Details
The corrupted folderlist.xml that makes claws-mail to segfault. I obfuscated the folder names and email addresses. (7.72 KB, text/plain)
2013-08-09 16:59 UTC, gillux
no flags Details

Description gillux 2013-08-09 16:56:50 UTC
Created attachment 1291 [details]
Console output and backtrace

After a machine crash, the contents of my folderlist.xml have been corrupted. As a result, claws-mail was unable to start, quitting with a segfault. I'm using claws-mail 3.8.0 on Ubuntu 12.04. Replacing the folderlist.xml file with its backup folderlist.xml.bak solved the problem.
Comment 1 gillux 2013-08-09 16:59:25 UTC
Created attachment 1292 [details]
The corrupted folderlist.xml that makes claws-mail to segfault. I obfuscated the folder names and email addresses.
Comment 2 users 2013-08-28 07:29:05 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=2a7215624b2cc2c505497328eff4250d898aba13
Merge: bd24c37 e377eee
Author: Colin Leroy <colin@colino.net>
Date:   Wed Aug 28 07:29:03 2013 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=e377eee114ead1ecafd829a5937869e9bead2584
Author: Paul <paul@claws-mail.org>
Date:   Wed Aug 28 06:27:58 2013 +0100

    fix bug 2989, 'Segfault at startup because of corrupted folderlist.xml'
Comment 3 users 2013-08-28 09:01:05 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=ecaeb6fe1612396e6a6227dda66461c5dfb1017d
Merge: 2a72156 f8d35f8
Author: Colin Leroy <colin@colino.net>
Date:   Wed Aug 28 09:01:03 2013 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=f8d35f8d40194ac94ee4e8503e8ff8a3480b6284
Author: Paul <paul@claws-mail.org>
Date:   Wed Aug 28 08:00:29 2013 +0100

    revert part of last commit
    
    bug 2989 remains fixed in as much as the segfault is prevented

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