Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yomitan crashes on Google Chrome multiple times an hour #922

Open
AdriGrana opened this issue May 12, 2024 · 5 comments
Open

Yomitan crashes on Google Chrome multiple times an hour #922

AdriGrana opened this issue May 12, 2024 · 5 comments
Labels
kind/bug The issue or PR is regarding a bug

Comments

@AdriGrana
Copy link

AdriGrana commented May 12, 2024

Description
Yomitan crashes completely every 20 minutes or so (sometimes it doesn't for multiple hours, so it's really inconsistent). I cannot find any patterns to what else I am doing that would cause it, so it could well be that other extensions or programms would interfere since I did not have this issue in the past. I always have a Yomitan search window open, so not sure that has anything to do with it. Here the latest errors:

image
image
image
image
image
image
image

If there is any more information you need please tell me and I shall provide it!

System
Windows 10
AMD Ryzen 7800X3D
Nvidia RTX4080
32GB RAM 5200MT/s (DDR5)

Browser version
Chrome is up to date
Version 124.0.6367.202 (Official Build) (64-bit)

Yomitan version
Extension version: Yomitan 24.4.16.0

Exported settings file
yomitan-settings-2024-05-12-19-20-32.json

@AdriGrana AdriGrana added the kind/bug The issue or PR is regarding a bug label May 12, 2024
@Kuuuube
Copy link
Member

Kuuuube commented May 12, 2024

I suspect this is already fixed on master. There should be a new pre release put out soon you can test with.

But also try clearing the errors and then as soon as this happens send the errors. Chrome stores errors for a very long time so there's no guarantee most of those have anything to do with this issue.

@AdriGrana
Copy link
Author

Thanks for the fast reply!

Great to hear that it should already be fixed, I'll test it out as soon as the pre-release is out and report back if it still persists!

@AdriGrana
Copy link
Author

AdriGrana commented May 17, 2024

@Kuuuube It seems like even with the newest prereleas build (24.5.14.0) it still crashes pretty often.

So to not waste anyones time, what would you or anyone else need to know to properly tell why it's crashing on my machine? Is there some guide I can walk through perhaps?

I am good with technology and a programmer myelf but come from a completely different field than web applications, but if you tell me what I need to provide you, even if it is more techincal I think I can do that (just tell me the key stuff you need basically, the rest I can research and figure out myself and provide you). For example, could I somehow monitor Yomitan while it's running and log everything so you could exactly see where it fails?

I would appreciate any kind of help a lot!

Chrome stores errors for a very long time so there's no guarantee most of those have anything to do with this issue.

Also forgot to mention, the errors above were already very fresh and happened within a few hours, so it's not something that has been liying there for weeks or months

@Kuuuube
Copy link
Member

Kuuuube commented May 17, 2024

This may be due to manifest v3 and the newer rules around background services (the Extension context invalidated error is probably it dying).

I'm not exactly sure what is causing this or if theres a good solution to it but someone in the TMW discord server mentioned these steps a bit ago that could help:

Go to chrome://extensions/
Click the service worker link for Yomitan
You will need to keep this window opened and do this again every time you close the browser.

Since this seems to be something only few users are experiencing there may be some browser settings you've changed that makes cleaning up background services more aggressive. Not sure.

@AdriGrana
Copy link
Author

Thanks for the very fast reply, really appreciate it!

Having the worker open also doesn't really solve this issue, it keeps crashing equally often. Anything else I can do one my side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug The issue or PR is regarding a bug
Projects
None yet
Development

No branches or pull requests

2 participants