-
Notifications
You must be signed in to change notification settings - Fork 63
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
Comments
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
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 |
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 |
Hello,
many thanks for the quick reply! I did wonder about redownloading the old
version but couldn't find it, could you provide a link?
Cheers,
Toby.
…On Thu, 12 Oct 2023 at 15:56, Colin Diesh ***@***.***> wrote:
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
<electron/electron#32760>
—
Reply to this email directly, view it on GitHub
<#3979 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCPRIW5MYCHK542HJ26FL3X7AALHANCNFSM6AAAAAA55XZZEY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Apologies - I should have added that the GUI does pop up but goes blank
upon moving the mouse. Additionally I see exactly the same issue on a
colleague's machine (also running Ubuntu 22).
Thank you.
…On Thu, 12 Oct 2023 at 15:56, Colin Diesh ***@***.***> wrote:
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
<electron/electron#32760>
—
Reply to this email directly, view it on GitHub
<#3979 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCPRIW5MYCHK542HJ26FL3X7AALHANCNFSM6AAAAAA55XZZEY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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 |
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... |
Hi Colin,
I can confirm that v2.6.3 works absolutely fine and as expected. Upon
opening I get prompted to
update to the new version (which is what I did yesterday) as per the
screenshot below. However if I click 'no' I can load up a session and
navigate around as normal.
[image: Screenshot from 2023-10-13 08-56-06.png]
Attempting to open up v2.7.0 still throws the same errors though. As
requested please find a screen recording here:
https://drive.google.com/file/d/1-e19laQ4YNc6grk9mPbE1bFCvEAWIGdW/view?usp=sharing
As you can see the homepage initially loads up but when I mouse click into
the window it goes blank and remains unresponsive. This throws up the first
of the vsync errors. A new vsync error is recorded every time I mouse click
between the terminal and the Jbrowse window. After the 3rd time no more
vsync errors are displayed no matter how many more times I navigate between
windows.
I hope this is of some help.
Cheers,
Toby.
…On Thu, 12 Oct 2023 at 16:51, Colin Diesh ***@***.***> wrote:
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...
—
Reply to this email directly, view it on GitHub
<#3979 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCPRITZJQJ6DNVZUNDFGJ3X7AGWLANCNFSM6AAAAAA55XZZEY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
thanks so much for the screen recording. i'm still not exactly sure what the issue is but a similar issue reported here... will keep an eye on this! |
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 |
@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 |
Hi Colin,
yep, can confirm that the test version (v2.7.1 pre-release) does not crash
and works as expected. Throws up a minor error upon opening about not being
on GitHub (screenshot below), but guess that is to be expected.
So it seems like electron was the issue. Many thanks for your quick help
with this!
Cheers,
Toby.
[image: Screenshot from 2023-10-16 08-53-00.png]
…On Fri, 13 Oct 2023 at 23:41, Colin Diesh ***@***.***> wrote:
@tobyjhunt <https://github.com/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
—
Reply to this email directly, view it on GitHub
<#3979 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCPRIQAG3JBFCRZEHXHFVDX7G7QDANCNFSM6AAAAAA55XZZEY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@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 |
Hi Colin,
yep, can confirm that this version (v2.7.1-prerelease.2) also seems to work
absolutely fine on Ubuntu 22. Obviously electron 26 was the spanner in the
works!
Cheers,
Toby.
…On Tue, 17 Oct 2023 at 16:35, Colin Diesh ***@***.***> wrote:
@tobyjhunt <https://github.com/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
—
Reply to this email directly, view it on GitHub
<#3979 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCPRIXNUQ2UDEBKHXBFBK3X72QTRAVCNFSM6AAAAAA55XZZE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRWGY3TAMRZGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi Colin,
I've just noticed that while the JBrowse GUI appears to be working fine
with this new version, I get the following errors in my terminal, including
the vsync issues that I saw with the original crashing - please see below.
Cheers,
Toby.
***@***.***:~/Documents/jbrowse$
… ./jbrowse-desktop-v2.7.1-prerelease.2-linux.AppImage
Checking for update
Checking for update...
Error: Error: No published versions on GitHub
at newError
(/tmp/.mount_jbrowsks3IYd/resources/app.asar/node_modules/builder-util-runtime/out/index.js:47:19)
at GitHubProvider.getLatestVersion
(/tmp/.mount_jbrowsks3IYd/resources/app.asar/node_modules/electron-updater/out/providers/GitHubProvider.js:94:55)
at process.processTicksAndRejections
(node:internal/process/task_queues:95:5)
at async AppImageUpdater.getUpdateInfoAndProvider
(/tmp/.mount_jbrowsks3IYd/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:319:19)
at async AppImageUpdater.doCheckForUpdates
(/tmp/.mount_jbrowsks3IYd/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:333:24)
Error in auto-updater: Error: No published versions on GitHub
(node:134714) UnhandledPromiseRejectionWarning: Error: No published
versions on GitHub
at newError
(/tmp/.mount_jbrowsks3IYd/resources/app.asar/node_modules/builder-util-runtime/out/index.js:47:19)
at GitHubProvider.getLatestVersion
(/tmp/.mount_jbrowsks3IYd/resources/app.asar/node_modules/electron-updater/out/providers/GitHubProvider.js:94:55)
at process.processTicksAndRejections
(node:internal/process/task_queues:95:5)
at async AppImageUpdater.getUpdateInfoAndProvider
(/tmp/.mount_jbrowsks3IYd/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:319:19)
at async AppImageUpdater.doCheckForUpdates
(/tmp/.mount_jbrowsks3IYd/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:333:24)
(Use `jbrowse-desktop --trace-warnings ...` to show where the warning was
created)
(node:134714) UnhandledPromiseRejectionWarning: Unhandled promise
rejection. This error originated either by throwing inside of an async
function without a catch block, or by rejecting a promise which was not
handled with .catch(). To terminate the node process on unhandled promise
rejection, use the CLI flag `--unhandled-rejections=strict` (see
https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode).
(rejection id: 1)
[134751:1018/093741.827456:ERROR:gl_surface_presentation_helper.cc(260)]
GetVSyncParametersIfAvailable() failed for 1 times!
[134751:1018/093745.791434:ERROR:gl_surface_presentation_helper.cc(260)]
GetVSyncParametersIfAvailable() failed for 2 times!
[134751:1018/093745.799628:ERROR:gl_surface_presentation_helper.cc(260)]
GetVSyncParametersIfAvailable() failed for 3 times!
On Wed, 18 Oct 2023 at 09:41, Toby Hunt ***@***.***> wrote:
Hi Colin,
yep, can confirm that this version (v2.7.1-prerelease.2) also seems to
work absolutely fine on Ubuntu 22. Obviously electron 26 was the spanner in
the works!
Cheers,
Toby.
On Tue, 17 Oct 2023 at 16:35, Colin Diesh ***@***.***>
wrote:
> @tobyjhunt <https://github.com/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
>
> —
> Reply to this email directly, view it on GitHub
> <#3979 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ADCPRIXNUQ2UDEBKHXBFBK3X72QTRAVCNFSM6AAAAAA55XZZE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRWGY3TAMRZGI>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
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! |
v2.7.1 now released with electron v27, hopefully helps with this issue :) |
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
The text was updated successfully, but these errors were encountered: