Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Uncaught Error: UnknownSystemError: Unknown system error, uv_pipe_open #6632

Closed

Description

@jhong99

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.196.0
System: Mac OS X 10.9.5
Thrown From: Atom Core

Stack Trace

Uncaught Error: UnknownSystemError: Unknown system error, uv_pipe_open

At net.js:137

Error: UnknownSystemError: Unknown system error, uv_pipe_open
  at Error (native)
  at new Socket (net.js:137:18)
  at createWritableStdioStream (node.js:519:18)
  at process.stdout (node.js:558:16)
  at ReadStream.Readable.pipe (_stream_readable.js:470:31)
  at /Users/hj/tools/Atom.app/Contents/Resources/app.asar/node_modules/fs-plus/lib/fs-plus.js:281:29
  at /Users/hj/tools/Atom.app/Contents/Resources/app.asar/node_modules/fs-plus/node_modules/mkdirp/index.js:38:26
  at FSReqWrap.oncomplete (fs.js:77:15)

Commands

Config

{}

Installed Packages

# User
No installed packages

# Dev
No dev packages

Activity

  1. izuzak commented on May 4, 2015

    @izuzak
    Contributor

    Just noticed electron/electron#1429 (comment) from @zcbenz:

    The UnknownSystemError means something between OS X and Electron has interrupted the system call, it could be virus scanner or firewall software.

    @kevinsawicki @zcbenz Should we be catching this in Atom somehow or is this a wontfix?

  2. kevinsawicki commented on May 7, 2015

    @kevinsawicki
    Contributor

    Should we be catching this in Atom somehow or is this a wontfix?

    Probably be catching it, though the stack trace makes it difficult to know where in atom/atom it came from.

  3. Ivshti commented on May 8, 2015

    @Ivshti

    I can confirm that Mavericks has this while Yosemite does not. It's also pretty critical JS stops executing on this exception. I tried catching uncaughtException and it still doesn't help.

  4. Ivshti commented on May 8, 2015

    @Ivshti

    @zcbenz and everyone in the thread: it seems that the issue, at least for me, is induced by opening sockets with node.js net in the main app process. Particularly the single-instance pattern.

    Without that, everything works fine.

  5. Ivshti commented on May 8, 2015

    @Ivshti

    It's definitely related to using node.js system I/O functionalities in the main process. Weird that it's Mavericks only (at least that we know of)

  6. ZECTBynmo commented on Jul 23, 2015

    @ZECTBynmo

    +1

  7. justinmchase commented on Jul 23, 2015

    @justinmchase

    👍

    I am also hitting this. I have a debugged it down to a specific line of code:

    screen shot 2015-07-23 at 3 29 04 pm

    I am using the remote module in this second window to communicate via ipc with another window. This same code does work in windows I can confirm. This appears to blowing up when attempting to create a pipe, I'm not sure to where.

    $ electron --version
    v0.29.2
    $ uname -a
    Darwin Macintosh.local 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64
    

    Does anyone have a workaround?

  8. spprasad commented on Nov 3, 2015

    @spprasad

    +1

  9. stale commented on Aug 29, 2017

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  10. lock commented on Mar 30, 2018

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  11. locked and limited conversation to collaborators on Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions