Skip to content

Segmentation fault when debugging a worker from vscode #46280

Open
@Nautigsam

Description

@Nautigsam

Version

19.0.1 and 19.4.0

Platform

Linux charlie 6.1.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 21 Dec 2022 22:27:55 +0000 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

  • Run npm run debug on this sample repo
  • Attach to this process with vscode (v1.74.2)
  • Continue the execution

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior?

Run the worker code with no error.

What do you see instead?

A segmentation fault.

Additional information

This seems linked to the presence of a private class member in the worker. If I comment out the definition of the member, the segmentation fault stops occurring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    inspectorIssues and PRs related to the V8 inspector protocol

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions