Bug 4039 - 3.13.2 kills 3.16.0-1 (?)
Summary: 3.13.2 kills 3.16.0-1 (?)
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.16.0
Hardware: PC Linux
: P3 blocker
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2018-06-16 01:07 UTC by zctemhei
Modified: 2018-09-17 13:24 UTC (History)
0 users

See Also:


Attachments

Description zctemhei 2018-06-16 01:07:53 UTC
I have Ubuntu Xenial with claws-mail 3.13.2 on one partition, Ubuntu Bionic with claws-mail 3.16.0 on the second and a single /home on the third partition.

After installation on Bionic claws-mail 3.16.0 ran fine and remerd the settings from Xenial times. When I booted Xenial after that, Claws mail had 'forgotten' all passwords and it can't keep them no more.

Since having booted Xenial claws-mail on Bionic won't start anymore:

~ $ claws-mail
~/.claws-mail/mimetmp/.comments: unlink: Ist ein Verzeichnis

(claws-mail:2609): Claws-Mail-CRITICAL **: 00:46:05.130: imap_item_get_path: assertion 'folder_path != NULL' failed
folder.c:3967 Condition path != NULL failed
traceback:
0:      claws-mail() [0x492059]
1:      claws-mail() [0x49523f]
2:      claws-mail(folder_item_get_msg_list+0x78) [0x495b78]
3:      claws-mail() [0x49ee58]
4:      claws-mail() [0x49f557]
5:      claws-mail(gtk_sctree_insert_gnode+0x113) [0x645d53]
6:      claws-mail(gtk_sctree_insert_gnode+0x1b4) [0x645df4]
7:      claws-mail(folderview_set+0x22a) [0x4a191a]
8:      claws-mail() [0x4a1d80]
9:      claws-mail() [0x5e7ec7]
10:     /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x54) [0x7fd18798c6b4]
11:     claws-mail(hooks_invoke+0x59) [0x5e85b9]
12:     claws-mail(folder_add+0xb8) [0x48f1a8]
13:     claws-mail(folder_read_list+0x68) [0x493608]
14:     claws-mail(main+0xb15) [0x4493f5]
15:     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fd18689eb97]
16:     claws-mail(_start+0x2a) [0x44b16a]


(claws-mail:2609): Claws-Mail-CRITICAL **: 00:46:05.136: imap_item_get_path: assertion 'folder_path != NULL' failed
folder.c:3991 Condition path != NULL failed
traceback:
0:      claws-mail() [0x492359]
1:      claws-mail() [0x49524f]
2:      claws-mail(folder_item_get_msg_list+0x78) [0x495b78]
3:      claws-mail() [0x49ee58]
4:      claws-mail() [0x49f557]
5:      claws-mail(gtk_sctree_insert_gnode+0x113) [0x645d53]
6:      claws-mail(gtk_sctree_insert_gnode+0x1b4) [0x645df4]
7:      claws-mail(folderview_set+0x22a) [0x4a191a]
8:      claws-mail() [0x4a1d80]
9:      claws-mail() [0x5e7ec7]
10:     /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x54) [0x7fd18798c6b4]
11:     claws-mail(hooks_invoke+0x59) [0x5e85b9]
12:     claws-mail(folder_add+0xb8) [0x48f1a8]
13:     claws-mail(folder_read_list+0x68) [0x493608]
14:     claws-mail(main+0xb15) [0x4493f5]
15:     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fd18689eb97]
16:     claws-mail(_start+0x2a) [0x44b16a]

msgcache.c:586 Condition cache_file != NULL failed
traceback:
0:      claws-mail(msgcache_read_cache+0xe95) [0x4eee75]
1:      claws-mail() [0x49526b]
2:      claws-mail(folder_item_get_msg_list+0x78) [0x495b78]
3:      claws-mail() [0x49ee58]
4:      claws-mail() [0x49f557]
5:      claws-mail(gtk_sctree_insert_gnode+0x113) [0x645d53]
6:      claws-mail(gtk_sctree_insert_gnode+0x1b4) [0x645df4]
7:      claws-mail(folderview_set+0x22a) [0x4a191a]
8:      claws-mail() [0x4a1d80]
9:      claws-mail() [0x5e7ec7]
10:     /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_hook_list_marshal+0x54) [0x7fd18798c6b4]
11:     claws-mail(hooks_invoke+0x59) [0x5e85b9]
12:     claws-mail(folder_add+0xb8) [0x48f1a8]
13:     claws-mail(folder_read_list+0x68) [0x493608]
14:     claws-mail(main+0xb15) [0x4493f5]
15:     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fd18689eb97]
16:     claws-mail(_start+0x2a) [0x44b16a]


(claws-mail:2609): Claws-Mail-CRITICAL **: 00:46:05.141: imap_item_get_path: assertion 'folder_path != NULL' failed
Speicherzugriffsfehler (Speicherabzug geschrieben)
~ $ 

This thing feels like a bug to me. But I'd like to state, that I'm simply user.
Comment 1 Paul 2018-06-16 09:18:58 UTC
That'll be because the saved password format changed in 3.14.0. The release notes held the detail.

If your problem occurred on upgrading then that would be something could and should be fixed, but since you downgraded then that is not possible without time travel.
Comment 2 zctemhei 2018-06-16 23:41:38 UTC
So obviously it was a mistake to access the profile again with the old version of claws-mail after the newer one in Bionic had been run. 

Is there any way to unbreak the profile for the further and exclusive use with 3.16.0 and later versions?
Comment 3 Andrej Kacian 2018-06-17 01:02:28 UTC
In accountrc, increase "protocol" number for each account which should not be POP3.
In clawsrc, "autochk_interval" is in seconds in new version, so for your old version, change it back to minutes (e.g. change 60 to 1).

Your passwords should still be in old weak encrypted form in file passwordrc (unless you changed them when running the new version, in which case they are encrypted in new, stronger form, which the old version can't read). You will have to match them by account number, and move the "!xxxxxxx" strings back to accountrc, as "password=!xxxxxxx".
Comment 4 Andrej Kacian 2018-06-17 01:03:34 UTC
(In reply to comment #3)
> In accountrc, increase "protocol" number for each account which should not be POP3.

That should read "... increase by two ...", sorry.
Comment 5 zctemhei 2018-09-17 13:24:48 UTC
Hi Andrej, thank you for your kind advice!

Two things I want to mention, in case somebody else has to go that route too:

1) I had to increase protocoll number from 0 to 3, to have IMAP instead of POP back again.

2) Could not find a file passwordrc, but one called passwordstorerc. Seemd to be the right one.

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