Skip to content

Some weird crash in extreme cases #12

@valera-rozuvan

Description

@valera-rozuvan

I am getting the following error is some cases. I haven't been able to pin point exactly when.

(node:21139) UnhandledPromiseRejectionWarning: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
    at doWrite (_stream_writable.js:406:19)
    at writeOrBuffer (_stream_writable.js:394:5)
    at Socket.Writable.write (_stream_writable.js:294:11)
    at e.value (/home/ubuntu/dev/proj-01/node_modules/node-uci/lib/index.js:1:152712)
    at e.<anonymous> (/home/ubuntu/dev/proj-01/node_modules/node-uci/lib/index.js:1:158159)
    at b (/home/ubuntu/dev/proj-01/node_modules/node-uci/lib/index.js:1:10260)
    at Generator._invoke (/home/ubuntu/dev/proj-01/node_modules/node-uci/lib/index.js:1:10048)
    at Generator.e.(anonymous function) [as next] (/home/ubuntu/dev/proj-01/node_modules/node-uci/lib/index.js:1:10439)
    at o (/home/ubuntu/dev/proj-01/node_modules/node-uci/lib/index.js:1:25705)
    at /home/ubuntu/dev/proj-01/node_modules/node-uci/lib/index.js:1:25846
    at new Promise (<anonymous>)
    at new t (/home/ubuntu/dev/proj-01/node_modules/node-uci/lib/index.js:1:5155)
    at e.<anonymous> (/home/ubuntu/dev/proj-01/node_modules/node-uci/lib/index.js:1:25640)
    at e.<anonymous> (/home/ubuntu/dev/proj-01/node_modules/node-uci/lib/index.js:1:158435)
    at Timeout.setTimeout [as _onTimeout] (/home/ubuntu/dev/proj-01/main.js:99:33)
    at ontimeout (timers.js:436:11)
(node:21139) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:21139) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Do you have any idea what this might be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions