Skip to content

Segmentation fault on Windows 11 #471

@danie007

Description

@danie007
  • Version: 23.0.3
  • Target: Windows 11 Pro Insider Preview

Error Message

$ electron-webpack dev
error Command failed with exit code 3221225477.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
/c/Users/*/AppData/Roaming/npm/yarn: line 14:  1789 Segmentation fault      node "$basedir/node_modules/yarn/bin/yarn.js" "$@"

On win11, I often observe this error while starting our Electron application. When I try this exact code in Ubuntu22.04 it's working perfectly.

On Windows, if I repeat (2 or 3 times) it'll start the app, hence it's occasionally (but frequently) failing.

I use yarn to manage the commands and I'm not sure whether it's an issue with yarn or electron-webpack

Any help would be highly appreciable, thanks in advance.

I've also raised this command on electron repo: electron/electron#35295

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions