react-explorer icon indicating copy to clipboard operation
react-explorer copied to clipboard

Dev: crash when exiting

Open warpdesign opened this issue 6 years ago • 2 comments

The following exception is thrown from time to time when attempting to exit the app by clicking on the close button (may happen in other situation as well):

/Users/leo/dev/react-explorer/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Helper.app/Contents/MacOS/Electron Helper[69504]: ../../vendor/node/src/fs_event_wrap.cc:91:static void node::(anonymous namespace)::FSEventWrap::GetInitialized(const FunctionCallbackInfo<v8::Value> &): Assertion `wrap != nullptr' failed.
 1: node::Abort() [/Users/leo/dev/react-explorer/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 2: node::Assert(char const* const (*) [4]) [/Users/leo/dev/react-explorer/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 3: _register_fs_event_wrap() [/Users/leo/dev/react-explorer/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 4: v8::internal::VirtualMemory::TakeControl(v8::internal::VirtualMemory*) [/Users/leo/dev/react-explorer/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 5: v8::internal::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, v8::internal::BasicBlockProfiler const&) [/Users/leo/dev/react-explorer/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 6: v8::internal::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, v8::internal::BasicBlockProfiler const&) [/Users/leo/dev/react-explorer/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 7: v8::internal::Object::GetProperty(v8::internal::LookupIterator*) [/Users/leo/dev/react-explorer/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 8: v8::internal::Isolate::fuzzer_rng() [/Users/leo/dev/react-explorer/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
 9: v8::internal::Isolate::fuzzer_rng() [/Users/leo/dev/react-explorer/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib]
10: 0x1761f841fd
exit request and no force: sending back exitRequest
exit request and no force: sending back exitRequest
^Cbefore quit

When this happens, the app refuses to quit (the windows stay opened).

warpdesign avatar May 13 '19 13:05 warpdesign

Apparently it happens in packaged version as well so this should be fixed for v2 final release.

warpdesign avatar May 30 '19 09:05 warpdesign

Cannot reproduce anymore: will reopen if it happens again.

warpdesign avatar Nov 14 '22 15:11 warpdesign