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 Report β€” V8 fatal error when debugging #3248

Open
brettwillis opened this issue Dec 16, 2024 · 0 comments
Open

πŸ› Bug Report β€” V8 fatal error when debugging #3248

brettwillis opened this issue Dec 16, 2024 · 0 comments

Comments

@brettwillis
Copy link

brettwillis commented Dec 16, 2024

When developing a worker locally, I've started encountering fatal errors that happen only when a debugger is attached. There are certain points in the JS code where the debugger cannot step over without triggering the fatal error. When the debugger is not attached, execution proceeds fine.

Wrangler version 3.95.0

The worker responds with:

503
Your worker restarted mid-request. Please try sending the request again. Only GET or HEAD requests are retried automatically.

And the following in the logs (no stack trace):

✘ [ERROR] workerd/jsg/setup.c++:38: fatal: V8 fatal error; location = :0; message = Check failed: needs_context && current_scope_ == closure_scope_ && current_scope_->is_function_scope() && !function_.is_null() implies function_->context() != *context_.

  *** Received signal #6: Abort trap: 6
  stack:



Can you tell me what other information you need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant