STATUS_ACCESS_VIOLATION

113 views
Skip to first unread message

Jairo Contreras

unread,
Apr 24, 2023, 4:22:27 PM4/24/23
to Chromium Extensions
https://chrome.google.com/webstore/detail/set-as-desktop-background/kpnohlcoegedfpikkadcoljdjnijbelp

when you use my extension while the options page (main.html) is open, the page crashes and gives an error code: STATUS_ACCESS_VIOLATION

my extension still works as intended

any suggestions on how to fix this issue?

Oliver Dunk

unread,
Apr 25, 2023, 10:33:33 AM4/25/23
to Jairo Contreras, Chromium Extensions
Hi Jairo,

Looking over your code, I think you might've found a bug! Thanks for sharing this.

Specifically passing invalid JSON from a native messaging host to the extension seems to crash the extension process. I've opened the following to track it: https://bugs.chromium.org/p/chromium/issues/detail?id=1439827

Could you try returning an empty JSON string ("{}") to see if that helps?
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/f7d2567a-6eb9-447b-8bcb-5fe051cce8d8n%40chromium.org.

Jairo Contreras

unread,
Apr 25, 2023, 12:57:40 PM4/25/23
to Chromium Extensions, Oliver Dunk, Chromium Extensions, Jairo Contreras
very nice! problem solved
Reply all
Reply to author
Forward
0 new messages