Skip to content

Electron crashes under WSL (Bash on Windows) #6722

Closed

Description

@kurisubrooks
  • Electron version: v1.3.2
  • Operating system: Linux running Unity under VcXsrv (X Server)

Now, I understand that WSL is not a supported platform, but I thought the bug might be relevant on some particular Linux Distros that don't meet all package requirements. I'd be happy to provide you with any information if you'd like to setup an environment for testing this.

The given error is:

[15826:0804/155819:FATAL:render_sandbox_host_linux.cc(40)]
    Check failed: 0 == shutdown(renderer_socket_, SHUT_RD). shutdown: Invalid argument

#0 0x000001e038ee <unknown>
#1 0x000001e194fb <unknown>
#2 0x000001e19abd <unknown>
#3 0x00000288cfc2 <unknown>
#4 0x000002658599 <unknown>
#5 0x00000265eb5f <unknown>
#6 0x000002657c36 <unknown>
#7 0x0000011fe197 <unknown>
#8 0x0000011fcc70 <unknown>
#9 0x0000033a3350 main
#10 0x7ff453701f45 __libc_start_main
#11 0x00000056f089 <unknown>

Screenshot:

image

inb4 "closed due to lol"

Activity

  1. zcbenz commented on Aug 4, 2016

    @zcbenz
    Contributor

    [15826:0804/155819:FATAL:render_sandbox_host_linux.cc(40)]
    Check failed: 0 == shutdown(renderer_socket_, SHUT_RD). shutdown: Invalid argument

    WSL doesn't fully implement the shutdown system call, and it triggered an assertion in Chromium. I suggest reporting this to Microsoft instead.

  2. kurisubrooks commented on Aug 4, 2016

    @kurisubrooks
    Author

    Thanks for your comment, i've created an issue with Microsoft.

  3. justinmchase commented on Oct 18, 2017

    @justinmchase

    Any update on this @kurisubrooks?

    I'm attempting to use nightmarejs through bash on windows and it appears to just hang. This would be very useful from a xplat perspective.

  4. kurisubrooks commented on Oct 18, 2017

    @kurisubrooks
    Author

    Haven't had the chance to check this lately. Windows 10 Fall Creators Update released today, perhaps they've fixed some bugs under WSL?

  5. justinmchase commented on Oct 18, 2017

    @justinmchase

    Maybe, it wasn't crashing for me but it was hanging. I definitely could be doing it wrong though. Found this while searching and was just trying to see if anyone has found the magic combination yet.

  6. WSLUser commented on Dec 18, 2017

    @WSLUser

    Specific bug that prevents this from working natively has been known for quite some time in this comment in WSL/2293 Is it possible investigate this and provide a reasonably quick solution?

  7. abalter commented on Jul 6, 2018

    @abalter

    I'm having the same problem: #13566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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