evolus / pencil

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.
http://pencil.evolus.vn
GNU General Public License v2.0
9.04k stars 717 forks source link

SIGTRAP crash on Debian 10 #703

Open rhizome opened 2 years ago

rhizome commented 2 years ago
[~/src/tools/pencil]$ npm install

> postinstall
> install-app-deps

  • please use as subcommand: electron-builder install-app-deps
  • electron-builder version=20.28.4
  • loaded configuration file=package.json ("build" field)
  • installing production dependencies platform=linux arch=x64 appDir=~/src/tools/pencil/app

up to date, audited 404 packages in 9s

6 packages are looking for funding
  run `npm fund` for details

30 vulnerabilities (26 moderate, 4 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
[~/src/tools/pencil]$ npm start

> start
> ./node_modules/.bin/electron ./app

[27011:1120/123257.779697:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that ~/src/tools/pencil/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.
~/src/tools/pencil/node_modules/electron/dist/electron exited with signal SIGTRAP
[~/src/tools/pencil]$ [27013:0100/000000.856650:ERROR:zygote_linux.cc(646)] write: Broken pipe (32)

chrome-sandbox perms:

-rwxr-xr-x 1 eric eric 50592 Nov 20 12:14 ./node_modules/electron/dist/chrome-sandbox

Some filepaths obfuscated. Can't change ownership without sudo, but it's not mentioned in the README so I assume it shouldn't be necessary.