[Users] [Bug 3476] New: loading remote content causes claws to hang and consume 200% CPU

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Jul 22 17:16:54 CEST 2015


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

            Bug ID: 3476
           Summary: loading remote content causes claws to hang and
                    consume 200% CPU
    Classification: Unclassified
           Product: Claws Mail
           Version: 3.11.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: UI/Message View
          Assignee: users at lists.claws-mail.org
          Reporter: dieter at plaetinck.be

Created attachment 1546
  -->
http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1546&action=edit
email triggering the issue

i have a few emails that cause claws to use 200% cpu and hang
 the last thing i see is that it shows the html of the email but gets stuck at
50% loading in the little loading indicator bottom right.
using fancy plugin with remote content enabled. turning off remote content does
not trigger the same issue. example email is attached.

i've attached relevant snippets of an irc convo below:


10:26:10 < Dieterbe> claws: http://pastie.org/10305930
10:27:28 < Dieterbe> that's the output when i open the email message and when
it gets stuck at 200% cpu

10:29:31 < Dieterbe> i just verified those 3 external png's, as well as the
local html file, do exist and the images load fine with curl.
10:32:42 <@claws> perhaps it's a problem with webkit's handling of NSPlugin
Wrapper
10:39:12 < Dieterbe> or maybe claws flips out when
`fancy_viewer.c:383:navigation requested to about:blank` happens?

11:11:08 < Dieterbe> FWIW using strace shows a continuous stream of messages
like
11:11:09 < Dieterbe> [pid  3110] recvmsg(4, 0x7ffd924d0dd0, 0) = -1 EAGAIN
(Resource temporarily unavailable)
11:11:09 < Dieterbe> [pid  3110] poll([{fd=4, events=POLLIN}, {fd=5,
events=POLLIN|POLLPRI}, {fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8,
events=POLLIN}, {fd=11, events=POLLIN}, 
                     {fd=13, events=POLLIN}], 7, 33) = 0 (Timeout)
11:11:22 < Dieterbe> those 2 over and over


11:30:19 < Dieterbe> i think the nspluginwrapper thing was a rabbit hole
11:31:26 <@claws> you mean it has nothing to do with the real problem?
11:31:37 < Dieterbe> i solved /usr/lib/nspluginwrapper/i386/linux/npviewer by
installing nspluginwrapper but then it complained about missing
/opt/mozilla/lib/plugins/libflashplayer.so 
                     which neither flashplugin or lib32-flashplugin resolved
11:32:14 < Dieterbe> claws: i don't know that. i suspect they might be
unrelated. but even if they were related i'm stuck down that path anyway



11:40:12 <@claws> just enabling remote content causes the problem - no plugins
or javascript
11:40:28 <@claws> although they make it worse
11:40:58 <@claws> it won't die with plugins enabled, just sticks at 50% loaded
and lots of CPU without
14:48:48 <@claws> i've been busy working (real life work), but just stopped for
a little look. haven't been able to determine anything except those 3 remote
images cause a problem. no idea 
                  why
14:49:45 < Dieterbe> k
14:49:52 < Dieterbe> let me know if i can do anything to help
14:50:50 <@claws> in the meantime, turn off auto-loading of remote content (you
always want this off, anyway!!), these 3 images add absolutely nothing to that
message
14:53:33 <@claws> could well be only something that can be fixed in webkit
14:54:09 <@claws> but that's just a hunch right now

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



More information about the Users mailing list