Open mashirozx opened 5 years ago
遭遇类似问题。
$ ./ieaseMusic-1.3.2-linux-x86_64.AppImage
(node:23817) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Segmentation fault (core dumped)
$ lsb_release -a
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial
$ node --version
v11.2.0
GDB观察
(gdb) r
Starting program: ./ieaseMusic-1.3.2-linux-x86_64.AppImage
...
Thread 1 "ieaseMusic" received signal SIGSEGV, Segmentation fault.
0x0000000004b4b984 in accelerator_util::GenerateAcceleratorTable(std::__1::map<ui::Accelerator, accelerator_util::MenuItem, std::__1::less<ui::Accelerator>, std::__1::allocator<std::__1::pair<ui::Accelerator const, accelerator_util::MenuItem> > >*, atom::AtomMenuModel*) ()
(gdb) bt
#0 0x0000000004b4b984 in accelerator_util::GenerateAcceleratorTable(std::__1::map<ui::Accelerator, accelerator_util::MenuItem, std::__1::less<ui::Accelerator>, std::__1::allocator<std::__1::pair<ui::Accelerator const, accelerator_util::MenuItem> > >*, atom::AtomMenuModel*) ()
#1 0x0000000004b49c95 in atom::RootView::RegisterAcceleratorsWithFocusManager(atom::AtomMenuModel*) ()
#2 0x0000000004b31f7b in atom::NativeWindowViews::SetMenu(atom::AtomMenuModel*) ()
#3 0x0000000004b1a015 in atom::api::TopLevelWindow::SetMenu(v8::Isolate*, v8::Local<v8::Value>) ()
#4 0x0000000004afbacb in mate::internal::Dispatcher<void (atom::api::TopLevelWindow*, v8::Isolate*, v8::Local<v8::Value>)>::DispatchToCallback(v8::FunctionCallbackInfo<v8::Value> const&) ()
#5 0x00007ffff7163ccc in ?? () from /tmp/.mount_ieaseMAjUcKd/libnode.so
#6 0x00007ffff71b50c5 in ?? () from /tmp/.mount_ieaseMAjUcKd/libnode.so
#7 0x00007ffff71b4799 in ?? () from /tmp/.mount_ieaseMAjUcKd/libnode.so
#8 0x000010d35e20443d in ?? ()
#9 0x000010d35e204381 in ?? ()
#10 0x00007fffffffc930 in ?? ()
#11 0x0000000000000006 in ?? ()
#12 0x00007fffffffc9e8 in ?? ()
#13 0x000010d35e2145f7 in ?? ()
#14 0x00003b11eb9822e1 in ?? ()
strace记录已附上: strace.log
系统信息: