[Users] [Bug 3668] New: sometimes claws forget the read-status of messages

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Sat Aug 13 15:05:32 CEST 2016


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3668

            Bug ID: 3668
           Summary: sometimes claws forget the read-status of messages
    Classification: Unclassified
           Product: Claws Mail
           Version: 3.14.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: UI/Message List
          Assignee: users at lists.claws-mail.org
          Reporter: c.buhtz at posteo.jp

This bug was discussed on the mailniglist before.
Entry-post from July:
http://lists.claws-mail.org/pipermail/users/2016-July/016979.html
posts from August:
http://lists.claws-mail.org/pipermail/users/2016-August/016982.html

More then one person in different cases is affected by this bug. But currently
claws don't give enough debug information for a deeper analysis. Because of
that I opened a feature request ("More detailed debug output in folderview.c"),
too.

Currently I am using Claws 3.14 on a Siduction GNU/Linux (which is Debian
unstable).
But this problem happend always in Claws 3.9 (Ubuntu Trusty) and 3.13.

Sometimes (but not exact reproducable) it forget the read status of messages:
When I start claws, it shows me INBOX with 2 unread meassages in
the left folder tree. But when I click on INBOX to show the messages in
it some of the older messages in it (sometimes all) turn to unread.
Sometimes the folder is 100% read. But clicking on it a bunch of mails it it
turn unread.

This problem comes from time to time but not so often. I am not able to
reproduce it for sure. That is why I am not sure what causes that problem.

I tried to delete all dot-files and rebuild the tree. The problem is still
there.

My special use scenario:
I use the same Claws "instance" on two machines! This means I sync the
~/.claws-box and ~/.claws-mail folders between two machines. The last
years I used the Ubuntu Trusty claws version (quite old) for that.
I had the same problems there.
I don't use them as the same time! I switch between a desktop pc and a
laptop. When switching I start a sync process (with Unison) by myself.
This work really well. But only the thing with unread messages.
You can see in the mailinglist thread (see link above) that I checked that sync
process.
It is working and not the root of the problem. Other person describe similar
problems
in different sceniarios.

This is the current debug output when clicking on the folder "notify". You can
see there is not enough information. It would be the best if you could modfiy
claws that it can give a better debug output. I would provide it then here. You
can open a seperate git-branch if you want. I will use it.

folderview.c:2205:Folder notify is selected
folderview.c:2221:Öffne Ordner notify...
mh.c:228:MH scan required, folder updated:
/home/user/.claws-box/MYMAIL at WORLD.NET/notify (1470324057 > 1470323949)
folder.c:2152:Scanning folder notify for cache changes.
mh.c:298:mh_get_num_list(): Scanning notify ...
current dir: /home/user/.MyAppData/claws-box/MYMAIL at WORLD.NET/notify
mh.c:1420:MH: forced mtime of notify to 1470324057
msgcache.c:605:    Reading swapped message cache from
/home/user/.claws-box/MYMAIL at WORLD.NET/notify/.claws_cache...
msgcache.c:621:using Noop Converter
msgcache.c:793:done. (283 items read)
msgcache.c:794:Cache size: 283 messages, 105710 bytes
msgcache.c:824:reading swapped mark file.
msgcache.c:918:reading swapped tags file.
folder.c:2709:TIMING folder_item_read_cache : 0s001ms
folder.c:2570:Total cache memory usage: 105710
msgcache.c:277:TIMING msgcache_get_msg_list : 0s000ms
msgcache.c:197:Cache size: 282 messages, 105347 bytes
folder.c:2288:Remembering message 4779 to update...
msgcache.c:197:Cache size: 281 messages, 104985 bytes
folder.c:2288:Remembering message 4784 to update...
msgcache.c:197:Cache size: 280 messages, 104623 bytes
folder.c:2288:Remembering message 4785 to update...
msgcache.c:197:Cache size: 279 messages, 104273 bytes
folder.c:2288:Remembering message 4786 to update...
msgcache.c:197:Cache size: 278 messages, 103911 bytes
folder.c:2288:Remembering message 4792 to update...
msgcache.c:197:Cache size: 277 messages, 103549 bytes
folder.c:2288:Remembering message 4795 to update...
msgcache.c:197:Cache size: 276 messages, 103186 bytes
folder.c:2288:Remembering message 4796 to update...
msgcache.c:197:Cache size: 275 messages, 102824 bytes
folder.c:2288:Remembering message 4797 to update...
msgcache.c:197:Cache size: 274 messages, 102461 bytes
folder.c:2288:Remembering message 4798 to update...
msgcache.c:197:Cache size: 273 messages, 102102 bytes
folder.c:2288:Remembering message 4802 to update...
msgcache.c:197:Cache size: 272 messages, 101734 bytes
[...SNIPPED...]
folder.c:2288:Remembering message 5047 to update...
msgcache.c:197:Cache size: 153 messages, 57064 bytes
folder.c:2288:Remembering message 5048 to update...
hooks.c:71:registed new hook for 'avatar_header_update' as id 1
codeconv.c:1509:current locale: de_DE.utf8
msgcache.c:173:Cache size: 154 messages, 57427 bytes
msgcache.c:173:Cache size: 155 messages, 57789 bytes
msgcache.c:173:Cache size: 156 messages, 58151 bytes
msgcache.c:173:Cache size: 157 messages, 58501 bytes
msgcache.c:173:Cache size: 158 messages, 58863 bytes
msgcache.c:173:Cache size: 159 messages, 59225 bytes
msgcache.c:173:Cache size: 160 messages, 59588 bytes
msgcache.c:173:Cache size: 161 messages, 59950 bytes
[...SNIPPED...]
msgcache.c:173:Cache size: 282 messages, 105360 bytes
msgcache.c:173:Cache size: 283 messages, 105710 bytes
folder.c:1213:Counting total number of messages...
main.c:895:The name com.google.code.Awn was not provided by any .service files
folder.c:4420:processing notify
folder.c:4423:called inc_lock (lock count 1)
msgcache.c:277:TIMING msgcache_get_msg_list : 0s000ms
filtering.c:198:checking 283 messages
filtering.c:235:no more messages to move/copy/del
folder.c:4474:called inc_unlock (lock count 0)
folder.c:2042:TIMING folder_item_open : 0s231ms
summaryview.c:1035:showing both
summaryview.c:1248:called inc_lock (lock count 1)
summaryview.c:1346:Ordner notify wird durchsucht ...
msgcache.c:277:TIMING msgcache_get_msg_list : 0s000ms
summaryview.c:1210:TIMING summary_check_consistency : 0s000ms
summaryview.c:1458:TIMING summary_show removing hidden: 0s000ms
summaryview.c:3128:    Setting summary from message data...
procmsg.c:301:TIMING procmsg_get_thread_tree thread by subject: 0s001ms
procmsg.c:311:TIMING procmsg_get_thread_tree : 0s005ms
summaryview.c:3169:TIMING summary_set_ctree_from_list threaded: 0s014ms
summaryview.c:3216:done.
summaryview.c:3219:    msgid hash table size = 283
summaryview.c:3222:    subject hash table size = 0
summaryview.c:2990:Sorting summary...summaryview.c:3004:done.
summaryview.c:3011:TIMING summary_sort : 0s035ms
summaryview.c:3238:TIMING summary_set_ctree_from_list bold_unread: 0s000ms
summaryview.c:3243:TIMING summary_set_ctree_from_list : 0s054ms
    message/rfc822 (offset:0 length:2417 encoding: 6)
        text/plain (offset:2002 length:415 encoding: 1)
procmsg.c:1928:Setting flags for message 5048 in folder notify
folder.c:1213:Counting total number of messages...
main.c:895:The name com.google.code.Awn was not provided by any .service files
    message/rfc822 (offset:0 length:2417 encoding: 6)
        text/plain (offset:2002 length:415 encoding: 1)
textview.c:712:TIMING textview_add_part : 0s074ms
textview.c:1181:Viewing text content of type: plain (length: 415)
textview.c:828:TIMING textview_add_part : 0s056ms
textview.c:845:TIMING recursive_add_parts : 0s056ms
textview.c:891:TIMING recursive_add_parts : 0s131ms
textview.c:651:TIMING textview_show_part : 0s132ms
summaryview.c:3459:flags: doing unset now
procmsg.c:1971:Unsetting flags for message 5048 in folder notify
folder.c:1213:Counting total number of messages...
main.c:895:The name com.google.code.Awn was not provided by any .service files
summaryview.c:3664:TIMING summary_display_msg_full : 0s171ms
summaryview.c:1583:
summaryview.c:1588:called inc_unlock (lock count 0)
summaryview.c:1589:TIMING summary_show : 0s457ms
folder.c:2570:Total cache memory usage: 105710
folderview.c:2283:TIMING folderview_selected : 0s707ms
folderview.c:2159:newly selected 0x9ac69c0, opened 0x9ac69c0
folderview.c:2163:TIMING folderview_selected : 0s000ms
main.c:2092:exiting
msgcache.c:277:TIMING msgcache_get_msg_list : 0s000ms
procmsg.c:1971:Unsetting flags for message 4779 in folder notify
procmsg.c:1971:Unsetting flags for message 4784 in folder notify
procmsg.c:1971:Unsetting flags for message 4785 in folder notify
procmsg.c:1971:Unsetting flags for message 4786 in folder notify
procmsg.c:1971:Unsetting flags for message 4792 in folder notify
procmsg.c:1971:Unsetting flags for message 4795 in folder notify
procmsg.c:1971:Unsetting flags for message 4796 in folder notify
procmsg.c:1971:Unsetting flags for message 4797 in folder notify
procmsg.c:1971:Unsetting flags for message 4798 in folder notify
procmsg.c:1971:Unsetting flags for message 4802 in folder notify
procmsg.c:1971:Unsetting flags for message 4803 in folder notify
[...SNIPPED...]
procmsg.c:1971:Unsetting flags for message 5045 in folder notify
procmsg.c:1971:Unsetting flags for message 5046 in folder notify
procmsg.c:1971:Unsetting flags for message 5047 in folder notify
folder.c:1213:Counting total number of messages...
main.c:895:The name com.google.code.Awn was not provided by any .service files
mh.c:236:MH scan not required: /home/user/.claws-box/MYMAIL at WORLD.NET/notify
(1470324057 <= 1470324057)
folder.c:2734:Save cache for folder #mh/MYMAIL at WORLD.NET/notify
msgcache.c:1189:    Writing message cache to
/home/user/.claws-box/MYMAIL at WORLD.NET/notify/.claws_cache.new and
/home/user/.claws-box/MYMAIL at WORLD.NET/notify/.claws_mark.new...
msgcache.c:1270:done.
msgcache.c:1271:TIMING msgcache_write : 0s011ms
mh.c:1420:MH: forced mtime of notify to 1470324157
folder.c:1213:Counting total number of messages...
main.c:895:The name com.google.code.Awn was not provided by any .service files
mh.c:236:MH scan not required: /home/user/.claws-box/MYMAIL at WORLD.NET/notify
(1470324157 <= 1470324157)
msgcache.c:277:TIMING msgcache_get_msg_list : 0s000ms
mh.c:1355:wrote unseen sequence: 'unseen: 4779 4784-4786 4792 4795-4798
4802-4806 4817 4820 4827-4828 4832-4841 4849-4850 4855-4866 4870-4873 4881-4883
4886 4891-4894 4901-4910 4915-4921 4926-4932 4936-4937 4953 4956-4966 4978-4983
4991-4992 4994-4995 4997-5001 5003-5006 5009-5013 5015 5019-5025 5030-5032
5035-5036 5042-5047'
mh.c:1388:TIMING mh_write_sequences : 0s001ms
mh.c:1420:MH: forced mtime of notify to 1470324157
hooks.c:90:unregisted hook 1 in 'folder_item_update'
hooks.c:90:unregisted hook 1 in 'folder_update'
main.c:1602:shutting down
mh.c:228:MH scan required, folder updated:
/home/user/.claws-box/MYMAIL at WORLD.NET/queue (1470324047 > 1470257953)
folder.c:2734:Save cache for folder #mh/MYMAIL at WORLD.NET/queue
msgcache.c:1189:    Writing message cache to (null) and (null)...
msgcache.c:1270:done.
msgcache.c:1271:TIMING msgcache_write : 0s000ms
mh.c:236:MH scan not required: /home/user/.claws-box/MYMAIL at WORLD.NET/notify
(1470324157 <= 1470324157)
folder.c:2734:Save cache for folder #mh/MYMAIL at WORLD.NET/notify
msgcache.c:1189:    Writing message cache to (null) and (null)...
msgcache.c:1270:done.
[...SNIPPED...]
msgcache.c:1270:done.
msgcache.c:1271:TIMING msgcache_write : 0s000ms
prefs_gtk.c:288:Found [Common]
prefs_gtk.c:332:Configuration is saved.
addressbook.c:4430:Saving address books...
addressbook.c:4433:Exporting addressbook to file...
plugin.c:286:removing /usr/lib/i386-linux-gnu/claws-mail/plugins/pgpinline.so
rdeps
plugin.c:286:removing /usr/lib/i386-linux-gnu/claws-mail/plugins/pgpmime.so
rdeps
plugin.c:286:removing /usr/lib/i386-linux-gnu/claws-mail/plugins/pgpcore.so
rdeps
plugin.c:290: rdep /usr/lib/i386-linux-gnu/claws-mail/plugins/pgpmime.so: (nil)
plugin.c:290: rdep /usr/lib/i386-linux-gnu/claws-mail/plugins/pgpinline.so:
(nil)
prefs_gpg.c:587:set GPG_AGENT_INFO=/home/user/.gnupg/S.gpg-agent:0:1
hooks.c:90:unregisted hook 1 in
'address_completion_build_address_list_hooklist'
autocompletion.c:123:PGP address autocompletion hook unregistered
plugin.c:286:removing
/usr/lib/i386-linux-gnu/claws-mail/plugins/address_keeper.so rdeps
hooks.c:90:unregisted hook 1 in 'compose_check_before_send'
address_keeper.c:271:Address Keeper plugin unloaded
plugin.c:286:removing /usr/lib/i386-linux-gnu/claws-mail/plugins/fancy.so rdeps
prefs.c:310:Found [fancy]
hooks.c:90:unregisted hook 1 in 'avatar_image_render'
prefs_themes.c:414:Finished preferences for themes.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list