Bug 206470 - STP regularly gets to 100% CPU even when all tabs closed
Summary: STP regularly gets to 100% CPU even when all tabs closed
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari Technology Preview
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-18 03:25 PST by Nigel Jones
Modified: 2020-04-22 00:24 PDT (History)
4 users (show)

See Also:


Attachments
process sample (139.72 KB, text/plain)
2020-01-18 03:25 PST, Nigel Jones
no flags Details
spindump (4.28 MB, text/plain)
2020-01-18 03:26 PST, Nigel Jones
no flags Details
process listing (226.42 KB, image/png)
2020-01-18 03:27 PST, Nigel Jones
no flags Details
image of browser - showing just a few tabs (226.85 KB, image/png)
2020-01-18 03:27 PST, Nigel Jones
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nigel Jones 2020-01-18 03:25:27 PST
Created attachment 388142 [details]
process sample

Every few days I notice STP spinning a core, ie taking 100% CPU. This is not in the process listing as a 'page', but just 'Safari Technology Preview' - ie the main process. It occurs about once or twice a week. I use STP almost exclusively for my web browsing.

I'm using STP 98 on MacOS 10.15.3 Beta (19D62e) - though I've seen the same behaviour for a month or so.

I will attach a spindump and sample - since from a user's perspective I have no idea of what may be causing this - a particular site, plugin or similar. Maybe synchronization.
Comment 1 Nigel Jones 2020-01-18 03:26:05 PST
Created attachment 388143 [details]
spindump
Comment 2 Nigel Jones 2020-01-18 03:27:08 PST
Created attachment 388144 [details]
process listing
Comment 3 Nigel Jones 2020-01-18 03:27:32 PST
Created attachment 388145 [details]
image of browser - showing just a few tabs
Comment 4 Nigel Jones 2020-01-18 03:28:54 PST
Closing all tabs except this one - no change
Comment 5 Nigel Jones 2020-01-18 03:30:16 PST
Closed all tabs - problem remained. Exited process, relaunched STP, and CPU useage back to normal
Comment 6 Alexey Proskuryakov 2020-01-18 23:14:18 PST
Sample and spindump implicate RemoteWebInspector.
Comment 7 Radar WebKit Bug Importer 2020-01-18 23:14:36 PST
<rdar://problem/58717053>
Comment 8 BJ Burg 2020-04-21 15:52:05 PDT
Nigel, we haven't seen many reports of this. Have you encountered it recently with newer STP? If so, please file a report at https://feedbackassistant.apple.com and include a sysdiagnose so I can see webinspectord logs around when the spin starts. Please post the feedback ID here so I can correlate. Thanks!
Comment 9 Nigel Jones 2020-04-22 00:24:09 PDT
I have not seen this in the last 2 months... will open again if I do see issues, suggest closed now