Bug 2063 - glib assertion in GRelation use in imap.c
Summary: glib assertion in GRelation use in imap.c
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Filtering (show other bugs)
Version: 3.7.3
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2009-11-22 03:13 UTC by Anatoly Bashmakov
Modified: 2009-11-26 08:36 UTC (History)
0 users

See Also:


Attachments
Result of "claws-mail --debug" (14.37 KB, application/gzip)
2009-11-22 03:13 UTC, Anatoly Bashmakov
no flags Details
"claws-mail --debug" (299.65 KB, text/plain)
2009-11-22 14:55 UTC, Anatoly Bashmakov
no flags Details
possible fix (4.20 KB, patch)
2009-11-25 09:54 UTC, Colin Leroy
no flags Details | Diff
claws-mail --debug (152.61 KB, application/octet-stream)
2009-11-25 14:44 UTC, Anatoly Bashmakov
no flags Details

Description Anatoly Bashmakov 2009-11-22 03:13:06 UTC
Created attachment 767 [details]
Result of "claws-mail --debug"

I have gmail account and claws-mail crashes after I try to manual filter messages. Imap account in claws. When I execute "claws-mail --debug" in terminal, I got

GLib:ERROR:grel.c:303:g_relation_select_tuple: assertion failed: (tuple_key == tuple_value)
Aborted

Full log attached. If you need some additional info please tell me.
Comment 1 Salvatore De Paolis 2009-11-22 05:47:11 UTC
The file you attached is corrupted and unreadable.
Comment 2 Anatoly Bashmakov 2009-11-22 14:55:17 UTC
Created attachment 768 [details]
"claws-mail --debug"

reattached as text/plain
Comment 3 Anatoly Bashmakov 2009-11-22 20:34:01 UTC
Some additional info. The issue appears only on manual moving mail. Imap filtering on new messages works just fine. So it's probably imap implementation related. I created test account on gmail and copy some messages there, so you can check it. Login testclaws, pass clawstest. After creating imap account in claws-mail, just try to move all mail from INBOX to inbox/my. Result: claws-mail crashes.
Comment 4 Colin Leroy 2009-11-25 09:54:03 UTC
Created attachment 773 [details]
possible fix

Hi,

Can you try this patch ? (and upload the --debug output using it even if it works)

Thanks!
Comment 5 Anatoly Bashmakov 2009-11-25 14:44:44 UTC
Created attachment 774 [details]
claws-mail --debug

Hello, Colin.

Seems like your patch fixes the problem. Thank you VERY much!
Debug attached.
Comment 6 users 2009-11-25 19:02:34 UTC
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.colino.net/claws-mail/

2009-11-25 [colin]	3.7.3cvs21

	* src/imap.c
		Fix bug 2063, 'glib assertion in GRelation use in 
		imap.c'

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