node-archiver icon indicating copy to clipboard operation
node-archiver copied to clipboard

Error: async hook stack has become corrupted

Open sgehrman opened this issue 5 years ago • 3 comments

This worked for years, but now I'm getting a crash. v 3.0.0

My code is identical to your example code in README. I'm compressing a directory.

Error: async hook stack has become corrupted (actual: 13677, expected: 0) 1: node::Environment::AsyncHooks::pop_async_id(double) [/home/sgehrman/github/electron-store/node_modules/electron/dist/libnode.so] 2: node::InternalCallbackScope::Close() [/home/sgehrman/github/electron-store/node_modules/electron/dist/libnode.so] 3: node::InternalCallbackScope::~InternalCallbackScope() [/home/sgehrman/github/electron-store/node_modules/electron/dist/libnode.so] 4: node::InternalMakeCallback(node::Environment*, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value, node::async_context) [/home/sgehrman/github/electron-store/node_modules/electron/dist/libnode.so] 5: node::MakeCallback(v8::Isolate, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value, node::async_context) [/home/sgehrman/github/electron-store/node_modules/electron/dist/libnode.so] 6: node::Environment::CheckImmediate(uv_check_s) [/home/sgehrman/github/electron-store/node_modules/electron/dist/libnode.so] 7: 0x7fbeacb89fe4 [/home/sgehrman/github/electron-store/node_modules/electron/dist/libnode.so] 8: uv_run [/home/sgehrman/github/electron-store/node_modules/electron/dist/libnode.so] 9: atom::NodeBindings::UvRunOnce() [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 10: 0x4734984 [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 11: 0x45457f2 [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 12: 0x4734984 [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 13: 0x477bede [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 14: 0x477c547 [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 15: 0x477caba [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 16: 0x4797bc5 [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 17: 0x32bba08 [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 18: 0x388a0f9 [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 19: 0x388b118 [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 20: 0x252ffa4 [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 21: 0x388b934 [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 22: main [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101] 23: __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6] 24: _start [/home/sgehrman/github/electron-store/node_modules/electron/dist/electron --type=renderer --no-sandbox --service-pipe-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --lang=en-US --app-path=/home/sgehrman/github/electron-store --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=4 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=D983A5CB3099A80CBD7EEF8ED47A6E22 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101]

sgehrman avatar Nov 08 '18 10:11 sgehrman

?

sgehrman avatar Nov 21 '18 03:11 sgehrman

still doesn't work

sgehrman avatar Dec 13 '18 09:12 sgehrman

seems to work now. Not sure if node was updated or what...

sgehrman avatar Mar 01 '19 22:03 sgehrman