Bug 672369

Summary: [abrt] evolution-2.32.1-1.fc14: ____strtoull_l_internal: Process /usr/bin/evolution was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Duarte Diogo <diogo>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: a.lathrop, lucilanga, mbarnes, mcrha, torsten.decker
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:a9d56e1f7906650f1f4c4fd09f20dc9a76d46d7b
Fixed In Version: evolution-data-server-2.91.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-25 06:38:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Duarte Diogo 2011-01-24 23:32:27 UTC
abrt version: 1.1.14
architecture: x86_64
Attached file: backtrace
cmdline: evolution
component: evolution
crash_function: ____strtoull_l_internal
executable: /usr/bin/evolution
kernel: 2.6.35.9-64.fc14.x86_64
package: evolution-2.32.1-1.fc14
rating: 4
reason: Process /usr/bin/evolution was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1295911920
uid: 500

How to reproduce
-----
1.I have Evolution opened in the background. It closed without doing something
2.I already try to remove rspam plugin
3.I already installed the developement version, but it's the same

Comment 1 Duarte Diogo 2011-01-24 23:32:30 UTC
Created attachment 475078 [details]
File: backtrace

Comment 2 Duarte Diogo 2011-01-25 00:11:22 UTC
Error in point 3 - I installed evolution-dataserver 2.32.1-2.fc14 from updates-testing repo.
Already try to install evolution 2.32.0-2, but returns the same error

Comment 3 Milan Crha 2011-01-25 06:38:11 UTC
Thanks for a bug report. This is crashing because of broken folders.db file, some value didn't write to the database, and as NULL passed to strtoul it crashes. This was fixed in [1].

This seems to be in your
~/.local/share/evolution/mail/local/folders.db
in the Inbox table, the UID column is probably NULL. You have two options:
a) move away that folders.db file when evolution is not running and it'll be regenerated the next start. This solution has a disadvantage, you may lose labels and similar tags on your local messages, as these are stored in this file
b) remove only broken rows from the Inbox table there. You can do that either in some UI sqlite3 table editor like sqliteman or run a command like this in the terminal (I hope I didn't do a typo in it):
   $ sqlite3 ~/.local/share/evolution/mail/local/folders.db "DELETE FROM 'Inbox' WHERE uid IS NULL;"
Though before running it do a backup of the folders.db file, just in case.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=573125

Comment 4 Duarte Diogo 2011-01-25 08:38:32 UTC
Thanks! Removing the folders.db works for me.
If Evolution returns a simple error message, the solution for this issue will be much more easy

Comment 5 Milan Crha 2011-01-26 05:20:27 UTC
Yup, I agree. The upstream fix ignores these errors gracefully, which means you may not see this again.

Comment 6 Milan Crha 2011-01-27 06:53:09 UTC
*** Bug 672979 has been marked as a duplicate of this bug. ***

Comment 7 Milan Crha 2011-04-12 05:03:25 UTC
*** Bug 695305 has been marked as a duplicate of this bug. ***