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

[BUG] A JavaScript error occured in the main process in touch mode after waking up the computer #1114

Open
JingshanDu opened this issue Jun 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JingshanDu
Copy link

JingshanDu commented Jun 18, 2024

Describe the bug
After upgrading to v3, if Deckboard runs in touch mode, there's a good chance the error message below will pop up after Windows wakes up from sleep:

A JavaScript error occurred in the main process

Uncaught Exception:
Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect
usage of Node.js internals.
Please open an issue with this stack trace at https://github.com/nodejs/node/issues

at new NodeError (node:internal/errors:406:5)
at assert (node:internal/assert:14:11)
at internalConnectMultiple (node:net:1118:3)
at afterConnectMultiple (node:net:1667:5)

I never saw this error with version 2.x.

To Reproduce
Steps to reproduce the behavior:

  1. Run deckboard in touch mode on Windows
  2. Sleep and wake up Windows
  3. See the error at a probability.

Expected behavior
No error occurs.

Screenshots
Screenshot 2024-06-18 100356

Server App (please complete the following information):

  • OS: Windows 11
  • Version 3.0.0

Client App (please complete the following information):
Not applicable

Required files

  • database.db (located in C:\Users%USER%\deckboard)
  • log.log (located in located in C:\Users%USER%\AppData\Roaming\Deckboard)
    database and log.zip

Additional context
Add any other context about the problem here.

@JingshanDu JingshanDu added the bug Something isn't working label Jun 18, 2024
@hexandcube
Copy link

This also seems to happen after the graphics driver crashes

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