Browser crashes on close when new tab page extension with offscreen is enabled

161 views
Skip to first unread message

Lobanov Ivan

unread,
Sep 20, 2024, 12:39:57 PMSep 20
to Chromium Extensions
I have a new tab page extension that uses an offscreen document. When there are NTP tabs, an offscreen is created, when there are none of them, an offscreen is being closed.

The problem is that: First I open a lot of NTP tabs and some others (google.com | chrome://extensions, whatever). After that, I close my browser, and when I reopen it, a warning appears about incorrectly closing the browser with a suggestion to restore previously closed tabs. Crash on close does not happens every time. 

There is no such problem if the extension is disabled. How do I debug it?

woxxom

unread,
Sep 20, 2024, 2:24:30 PMSep 20
to Chromium Extensions, Lobanov Ivan
Do you see 100% CPU consumption for your extension in Chrome's task manager or in the OS task manager? If so, there may be an infinite loop. Otherwise, it's a bug in Chrome and you can report it from chrome://crashes or do it manually in https://crbug.com or bisect it yourself. 
Reply all
Reply to author
Forward
0 new messages