Bug 2063

Summary: glib assertion in GRelation use in imap.c
Product: Claws Mail (GTK 2) Reporter: Anatoly Bashmakov <anatoly.bashmakov>
Component: FilteringAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 3.7.3   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Result of "claws-mail --debug"
none
"claws-mail --debug"
none
possible fix
none
claws-mail --debug none

Description Anatoly Bashmakov 2009-11-22 02: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 04:47:11 UTC
The file you attached is corrupted and unreadable.
Comment 2 Anatoly Bashmakov 2009-11-22 13:55:17 UTC
Created attachment 768 [details]
"claws-mail --debug"

reattached as text/plain
Comment 3 Anatoly Bashmakov 2009-11-22 19: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 08: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 13: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 18: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'