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

Jbrowse 2.7.0 crash #3979

Closed
tobyjhunt opened this issue Oct 12, 2023 · 16 comments
Closed

Jbrowse 2.7.0 crash #3979

tobyjhunt opened this issue Oct 12, 2023 · 16 comments
Labels
bug Something isn't working

Comments

@tobyjhunt
Copy link

I was running the previous desktop JBrowse version on Ubuntu (22.04.3 LTS) with no issues. However having updated to 2.7.0 JBrowse is now crashing every time I try to open it with the following error message:

toby@ubu20-n-91c8254442:~/Documents/jbrowse$ ./jbrowse-desktop-v2.7.0-linux.AppImage
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Checking for update
Checking for update...
Update for version 2.7.0 is not available (latest version: 2.7.0, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null
[14210:1012/154054.972040:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[14210:1012/154058.090432:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[14210:1012/154102.405344:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

Is this a bug with the new JBrowse version or an issue with something else on my laptop?

Many thanks for your help,

Toby.

To Reproduce

Expected behavior

Screenshots

Version:

2.7.0

If you're using the desktop version, tell us what OS are you using (e.g. MacOS
Catalina).

Ubuntu 22.04.3 LTS

If you're using the web version, tell us what browser you are using (e.g.
Chrome)
-->

Additional context

@tobyjhunt tobyjhunt added the bug Something isn't working label Oct 12, 2023
@cmdcolin
Copy link
Collaborator

that is odd. are you able to downgrade to redownload the v2.6.3 and run that appimage file? And you are seeing that the GUI does not pop up at all? I am able to launch the AppImage on my Ubuntu machine (23.04, but i would be surprised if the os version matters)

The console log output from launching the AppImage for me is as follows

% ./jbrowse-desktop-v2.7.0-linux.AppImage
Checking for update
Checking for update...
[308613:1012/105121.654535:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[308613:1012/105121.660853:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
Update for version 2.7.0 is not available (latest version: 2.7.0, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null



the console output is pretty similar to yours, but your VSync errored 3 times. wonder if that causes the issue, or something else. some people suggest that they get this message but the app runs as normal here electron/electron#32760

@cmdcolin
Copy link
Collaborator

the vsync could be a red herring. if there is some sort of crash, it may be something else, as that thread seems to indicate that people can still run their apps fine, they just get those console messages

@tobyjhunt
Copy link
Author

tobyjhunt commented Oct 12, 2023 via email

@tobyjhunt
Copy link
Author

tobyjhunt commented Oct 12, 2023 via email

@cmdcolin
Copy link
Collaborator

the AppImage for the last version before v2.7.0 is v2.6.3 and is available here https://github.com/GMOD/jbrowse-components/releases/tag/v2.6.3

@cmdcolin
Copy link
Collaborator

I will try and see if I can test Ubuntu 22. If you have a screen recording video of this happening i'd be curious also. I don't think that "devtools" are available in the production builds of JBrowse Desktop currently which could help access any javascript errors. I will see if we can enable that for our next release...

@tobyjhunt
Copy link
Author

tobyjhunt commented Oct 13, 2023 via email

@cmdcolin
Copy link
Collaborator

thanks so much for the screen recording. i'm still not exactly sure what the issue is but a similar issue reported here...

bitwarden/clients#6560

will keep an eye on this!

@cmdcolin
Copy link
Collaborator

people in this thread electron/electron#32760 suggest maybe downgrading to electron 25 may help. we upgraded from electron 25 to 26 between v2.6.3 and v2.7.0

@cmdcolin
Copy link
Collaborator

@tobyjhunt would you be able to test this AppImage that i uploaded to google drive? it is the same code as v2.7.0 essentially but uses electron v25 instead of v26

here is a link

https://drive.google.com/file/d/1RCHnHhgj0hlsRtusj3eKOs_6CnUZAQbq/view?usp=sharing

@tobyjhunt
Copy link
Author

tobyjhunt commented Oct 16, 2023 via email

@cmdcolin
Copy link
Collaborator

@tobyjhunt would you be able to also test this version of the AppImage? it upgrades electron to 27 instead of downgrades to 25

https://drive.google.com/file/d/1mAmSJYtYrAEFzocgMnbxYZYOrodR1DVc/view?usp=sharing

@tobyjhunt
Copy link
Author

tobyjhunt commented Oct 18, 2023 via email

@tobyjhunt
Copy link
Author

tobyjhunt commented Oct 18, 2023 via email

@cmdcolin
Copy link
Collaborator

awesome, thanks. I tried to add a little code to reduce the debug output in the console. maybe can optimistically close this issue for now. thanks for testing!

@cmdcolin
Copy link
Collaborator

v2.7.1 now released with electron v27, hopefully helps with this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants