Bug 4430 - Reading plaintext message hangs
Summary: Reading plaintext message hangs
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI/Message View (show other bugs)
Version: 3.17.8
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
: 4463 4476 4507 4552 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-11 15:43 UTC by Emilian
Modified: 2021-11-30 09:41 UTC (History)
4 users (show)

See Also:


Attachments

Description Emilian 2021-01-11 15:43:13 UTC
I'm using Claws Mail
version 3.17.8 on Linux

In last 4 month I received 3 messages, that I canno read. When click on them in message list then Claws-mail hangs.
When launched with --debug it looks like this:

procheader.c:174:generic_get_one_field: empty line
procheader.c:174:generic_get_one_field: empty line
procheader.c:174:generic_get_one_field: empty line
    message/rfc822 (offset:0 length:9754 encoding: 6)
        multipart/alternative (offset:4657 length:5097 encoding: 6)
            text/plain (offset:4784 length:970 encoding: 3)
            text/html (offset:5881 length:3831 encoding: 3)
procmsg.c:1952:Setting flags for message 34446 in folder inbox/gmail
procheader.c:174:generic_get_one_field: empty line
procheader.c:174:generic_get_one_field: empty line
procheader.c:174:generic_get_one_field: empty line
    message/rfc822 (offset:0 length:9754 encoding: 6)
        multipart/alternative (offset:4657 length:5097 encoding: 6)
            text/plain (offset:4784 length:970 encoding: 3)
            text/html (offset:5881 length:3831 encoding: 3)
hooks.c:70:registered new hook for 'avatar_header_update' as id 1
procheader.c:174:generic_get_one_field: empty line
messageview.c:1291:found part 6/alternative
procheader.c:197:generic_get_one_field: empty line
textview.c:692:TIMING textview_add_part : 0s000ms
textview.c:658:TIMING textview_add_part : 0s000ms
textview.c:1165:Viewing text content of type: plain (length: 822)


I located files related to this messages on a disk. I copied it to another account. And they can be easily opened. 

Removing all plugins doesn't help.
Comment 1 Paul 2021-03-18 09:02:08 UTC
*** Bug 4463 has been marked as a duplicate of this bug. ***
Comment 2 Paul 2021-04-21 13:25:39 UTC
There have been 2 or 3 reports about this in addition to yours. Example messages have been provided, but every time the messages open exactly as normal for me.
I'm inclined to close this bug report as WORKSFORME, but will leave it open for now just in case some useful information can be provided.
Comment 3 Emilian 2021-04-21 14:02:35 UTC
It happens from time to time on current versions as well.
If You could describe me step how to better debug it. Then I can do it as well.
Comment 4 Paul 2021-05-17 17:20:12 UTC
*** Bug 4476 has been marked as a duplicate of this bug. ***
Comment 5 Paul 2021-05-17 17:22:37 UTC
(In reply to Emilian from comment #3)

It's possible that the bug is in pango. Here I am using 1.48. If you are not using this version of pango, upgrade it and test.
Comment 6 Paul 2021-07-16 10:36:25 UTC
*** Bug 4507 has been marked as a duplicate of this bug. ***
Comment 7 Tim Pollard 2021-07-16 11:44:42 UTC
Since Bug 4507 which I reported does appear to be a duplicate of this bug; I'll add some extra notes here:

I am using Pango 1.48, and I made sure I had the latest version (1.48.7) for my distro installed and restarted Claws, and still saw the issue.

Also I see the following in the --debug output for a message that hangs:

> procheader.c:197:generic_get_one_field: empty line
> textview.c:692:TIMING textview_add_part : 0s000ms
> textview.c:658:TIMING textview_add_part : 0s000ms
> textview.c:1165:Viewing text content of type: plain (length: 580)

And the following for a nearly identical message which doesn't hang:

> procheader.c:197:generic_get_one_field: empty line
> textview.c:692:TIMING textview_add_part : 0s000ms
> textview.c:658:TIMING textview_add_part : 0s000ms
> textview.c:1165:Viewing text content of type: plain (length: 580)
> textview.c:788:TIMING textview_add_part : 0s002ms
> textview.c:805:TIMING recursive_add_parts : 0s002ms
> textview.c:851:TIMING recursive_add_parts : 0s002ms
> textview.c:851:TIMING recursive_add_parts : 0s002ms
> textview.c:631:TIMING textview_show_part : 0s002ms
Comment 8 Paul 2021-11-30 09:41:53 UTC
*** Bug 4552 has been marked as a duplicate of this bug. ***

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