Extension install causes UniversalExceptionRaise: (os/kern) failure (5)

1,269 views
Skip to first unread message

Craig Lurey

unread,
Feb 24, 2023, 10:55:51 AM2/24/23
to Chromium Extensions
Chrome crashes for several users across Mac and Windows at one of our enterprise customers after just installing our MV2 extension.

Running Chrome from the terminal with --enable-logging --v=1 produces the following error:

(before installing extension)
Class WebSwapCGLLayer is implemented in both <blah> and <blah>. One of the two will be used...
Failed to load theme data pack
Could not load theme image ... (read error)

(after installing extension)
[0223/160900.326085:WARNING:crash_report_exception_handler.cc(235)] UverversalExceptionRaise: (os/kern) failure (5)

The extension does not even start processing. After a few seconds of installing, Chrome crashes. Unable to repro in our test environment.

Any suggestions are appreciated




Oliver Dunk

unread,
Feb 24, 2023, 11:06:35 AM2/24/23
to Craig Lurey, Chromium Extensions
Hi Craig,

To confirm, this only impacts one customer and this is their first time using your extension? Just want to get a feeling for if this is more likely to be an environment issue or something in a recent Chrome update (both of which are interesting to us!).

And since the error sounds theme related, have you checked to make sure they don't have any themes installed?

I see some related Chrome bugs but nothing that seems recent or points to an immediate solution.

Oliver Dunk | DevRel, Chrome Extensions | https://developer.chrome.com/ | London, GB


--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/96d2cd42-95d9-48c6-a053-4a61080d0e77n%40chromium.org.

Craig Lurey

unread,
Feb 24, 2023, 12:13:08 PM2/24/23
to Chromium Extensions, Oliver Dunk, Chromium Extensions, Craig Lurey
Hey Oliver, it started happening for them last week and the crash occurs about 5 seconds into launching Chrome (if the extension is installed), and it also crashes immediately upon installation of the extension. When installing the extension, you know it's going to happen because the icon in the toolbar hangs and after 5 seconds it blows up.  It also happens for older versions of our extension that manually loaded, so it does seem to be related to a recent Chrome update. Existing users and new users are affected at this customer's environment. We tested that theme pack but couldn't repro. Re-installing Chrome and resetting profiles has no effect, still crashes. I'll ask them to remove the Google theme pack to see if it's related to that.

Oliver Dunk

unread,
Feb 24, 2023, 12:45:14 PM2/24/23
to Craig Lurey, Chromium Extensions
Hi Craig,

Thanks for the extra context. I'm definitely curious if removing any theme packs helps - that definitely seems like the obvious thing to rule out first.

If it doesn't, please do file a Chrome bug so we can track this there. I have also mentioned this to the team so I'll update this thread if I hear anything interesting.

Oliver Dunk | DevRel, Chrome Extensions | https://developer.chrome.com/ | London, GB
Reply all
Reply to author
Forward
0 new messages