Opened 2 years ago

Last modified 6 days ago

#18122 reopened bug

Web+: curlThread sometimes pegs CPU

Reported by: humdinger Owned by: pulkomandy
Priority: normal Milestone: R1/beta6
Component: Kits/Web Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev56578+46, 64bit.

Often when browsing the web and you follow some link, the window remains empty, the progress bar is stuck, and a "curlThread" in the WebPositive team is pegging a core. Sometimes simply clicking the link again loads the page alright, sometimes it just times out.

Attachments (2)

WebPositive-1193-debug-18-12-2022-18-41-04.report (26.6 KB ) - added by humdinger 2 years ago.
WebPositive-curl-thread-exploding.png (38.2 KB ) - added by grexe 4 weeks ago.
curl Thread exploding

Download all attachments as: .zip

Change History (14)

comment:1 by pulkomandy, 2 years ago

Can you attach the Debugger to the thread while it's in this state, and get a backtrace in a debug report?

comment:2 by humdinger, 2 years ago

Attached, one debugged curlThread. I get those more often when browsing subredits under https://old.reddit.com/ . Also, funnily enough, when trying to attach this report to the ticket...

comment:3 by pulkomandy, 2 years ago

It is in http2_recv in curl. If that's always the case, maybe we should disable http2 in curl until it is fixed?

comment:4 by humdinger, 2 years ago

I took 3 such debug reports and they all looked similar.

in reply to:  3 comment:5 by humdinger, 2 years ago

Replying to pulkomandy:

It is in http2_recv in curl. If that's always the case, maybe we should disable http2 in curl until it is fixed?

Has anyone tried that yet? This curlThread cpu pegging is the most annoying issue when using Web+ by a very large margin...

comment:6 by pulkomandy, 20 months ago

I have updated curl, did that fix it? We were using a quite old version of it.

comment:7 by humdinger, 20 months ago

I recently changed from beta4 to a nightly Haiku and haven't seen this issue since. I planned to wait on your next HaikuWebKit release to go through my Web+ tickets...

Aside from the little kinks (that you have already fixed) and being a bit more sluggish at times, the Web+ experience appears to have improved nicely. Thanks!

comment:8 by pulkomandy, 20 months ago

Milestone: UnscheduledR1/beta5
Resolution: fixed
Status: newclosed

Ok then, closing for now, we can reopen if it happens again.

comment:9 by grexe, 3 months ago

I just experienced high CPU load on the curl thread again, using latest nightly hrev58388.

comment:10 by grexe, 4 weeks ago

please reopen, still experiencing this issue on latest nightly hrev58572 Screenshot attached.

I think downloading images directly via URL triggers it, got this several times now, e.g. opening the data URL

https://sen-labs.org/images/pkg-book.png

Last edited 4 weeks ago by grexe (previous) (diff)

by grexe, 4 weeks ago

curl Thread exploding

comment:11 by waddlesplash, 4 weeks ago

Resolution: fixed
Status: closedreopened

comment:12 by waddlesplash, 6 days ago

Milestone: R1/beta5R1/beta6
Note: See TracTickets for help on using tickets.