Package: npm Version: 5.8.0+ds6-3 Severity: normal I get a repeatable segfault from npm install by doing the following on i386 (deleting the local .npm and node_modules dirs is not needed to reproduce).
-*- $ rm -rf .npm/ $ rm -rf node_modules/ $ npm --verbose install electron-spellchecker@1.1.2 npm info it worked if it ends with ok npm WARN npm npm does not support Node.js v10.15.1 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ npm verb cli [ '/usr/bin/node', npm verb cli '/usr/bin/npm', npm verb cli '--verbose', npm verb cli 'install', npm verb cli 'electron-spellchecker@1.1.2' ] npm info using npm@5.8.0 npm info using node@v10.15.1 npm verb config Skipping project config: /home/tpikonen/.npmrc. (matches userconfig) npm verb npm-session 07474421384f9f89 npm http fetch GET 200 https://registry.npmjs.org/electron-spellchecker 259ms npm http fetch GET 200 https://registry.npmjs.org/bcp47 118ms npm http fetch GET 200 https://registry.npmjs.org/debug 189ms npm http fetch GET 200 https://registry.npmjs.org/electron-remote 192ms npm http fetch GET 200 https://registry.npmjs.org/@paulcbetts%2fcld 227ms npm http fetch GET 200 https://registry.npmjs.org/keyboard-layout 227ms npm http fetch GET 200 https://registry.npmjs.org/spawn-rx 104ms npm http fetch GET 200 https://registry.npmjs.org/pify 241ms npm http fetch GET 200 https://registry.npmjs.org/lru-cache 247ms npm http fetch GET 200 https://registry.npmjs.org/@paulcbetts%2fspellchecker 258ms npm http fetch GET 200 https://registry.npmjs.org/debug/-/debug-2.6.9.tgz 97ms npm http fetch GET 200 https://registry.npmjs.org/rxjs-serial-subscription 321ms npm http fetch GET 200 https://registry.npmjs.org/pify/-/pify-2.3.0.tgz 100ms npm http fetch GET 200 https://registry.npmjs.org/rxjs 421ms npm http fetch GET 200 https://registry.npmjs.org/spawn-rx/-/spawn-rx-2.0.12.tgz 204ms npm http fetch GET 200 https://registry.npmjs.org/underscore 51ms npm http fetch GET 200 https://registry.npmjs.org/glob 54ms npm http fetch GET 200 https://registry.npmjs.org/ms 35ms npm http fetch GET 200 https://registry.npmjs.org/ms/-/ms-2.0.0.tgz 42ms npm http fetch GET 200 https://registry.npmjs.org/lodash.get 51ms npm http fetch GET 200 https://registry.npmjs.org/xmlhttprequest 57ms npm http fetch GET 200 https://registry.npmjs.org/hashids 68ms npm http fetch GET 200 https://registry.npmjs.org/symbol-observable 33ms npm http fetch GET 200 https://registry.npmjs.org/nan 49ms npm http fetch GET 200 https://registry.npmjs.org/event-kit 59ms npm http fetch GET 200 https://registry.npmjs.org/yallist 36ms npm http fetch GET 200 https://registry.npmjs.org/pseudomap 43ms npm http fetch GET 200 https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz 36ms npm http fetch GET 200 https://registry.npmjs.org/lodash.assign 39ms npm verb correctMkdir /home/tpikonen/.npm/_locks correctMkdir not in flight; initializing npm verb makeDirectory /home/tpikonen/.npm/_locks creation not in flight; initializing npm verb lock using /home/tpikonen/.npm/_locks/staging-1ec0d591837db4e7.lock for /home/tpikonen/node_modules/.staging npm http fetch GET 200 https://registry.npmjs.org/hashids/-/hashids-1.2.2.tgz 316ms npm http fetch GET 200 https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz 313ms npm http fetch GET 200 https://registry.npmjs.org/event-kit/-/event-kit-2.5.3.tgz 320ms npm http fetch GET 200 https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz 316ms npm http fetch GET 200 https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz 322ms npm WARN tar write after end npm http fetch GET 200 https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz 497ms Segmentation fault.] / extract:brace-expansion: sill extract brace-expansion@1.1.11 extracted to /home/tpikonen/node_modules/.staging/brace-expansion-3f1cd090 -*- On repeated runs the package being extracted is not always the same, but the segfault happens when the first package is extracted. This bug is probably not in npm, but in the interpreter. I'll let you sort that out though. Here's my /proc/cpuinfo for reference: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz stepping : 6 microcode : 0xc7 cpu MHz : 1333.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fdiv_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow dtherm bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf bogomips : 4322.57 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 4.9.0-8-686-pae (SMP w/2 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages npm depends on: ii ca-certificates 20190110 ii node-abbrev 1.1.1-1 ii node-ansi 0.3.0-2 ii node-ansi-regex 3.0.0-1 ii node-ansistyles 0.1.3-1 ii node-aproba 1.2.0-1 ii node-archy 1.0.0-1 ii node-bluebird 3.5.1+dfsg2-2 ii node-boxen 1.2.2-1 ii node-cacache 11.3.2-2 ii node-call-limit 1.1.0-1 ii node-chownr 1.1.1-1 ii node-config-chain 1.1.11-1 ii node-detect-indent 5.0.0-1 ii node-detect-newline 2.1.0-1 ii node-editor 1.0.0-1 ii node-encoding 0.1.12-2 ii node-errno 0.1.4-1 ii node-from2 2.3.0-1 ii node-fs-vacuum 1.2.10-2 ii node-fs-write-stream-atomic 1.0.10-4 ii node-glob 7.1.3-2 ii node-graceful-fs 4.1.11-1 ii node-gyp 3.8.0-4 ii node-has-unicode 2.0.1-2 ii node-hosted-git-info 2.7.1-1 ii node-iferr 1.0.2-1 ii node-import-lazy 3.0.0.REALLY.2.1.0-1 ii node-inflight 1.0.6-1 ii node-inherits 2.0.3-1 ii node-ini 1.3.5-1 ii node-is-npm 1.0.0-1 ii node-json-parse-better-errors 1.0.2-2 ii node-jsonstream 1.3.2-1 ii node-latest-version 3.1.0-1 ii node-lazy-property 1.0.0-3 ii node-libnpx 10.2.0-2 ii node-lockfile 1.0.4-1 ii node-lru-cache 5.1.1-3 ii node-mississippi 3.0.0-1 ii node-mkdirp 0.5.1-1 ii node-move-concurrently 1.0.1-2 ii node-nopt 3.0.6-3 ii node-normalize-package-data 2.4.0-1 ii node-npm-package-arg 6.0.0-2 ii node-npmlog 4.1.2-1 ii node-once 1.4.0-3 ii node-opener 1.4.3-1 ii node-osenv 0.1.5-1 ii node-path-is-inside 1.0.2-1 ii node-promise-inflight 1.0.1-1 ii node-promzard 0.3.0-1 ii node-qw 1.0.1-1 ii node-read 1.0.7-1 ii node-read-package-json 2.0.13-1 ii node-request 2.88.1-2 ii node-resolve-from 4.0.0-1 ii node-retry 0.10.1-1 ii node-rimraf 2.6.2-1 ii node-safe-buffer 5.1.2-1 ii node-semver 5.5.1-1 ii node-semver-diff 2.1.0-2 ii node-sha 2.0.1-1 ii node-slide 1.1.6-2 ii node-sorted-object 2.0.1-1 ii node-ssri 5.2.4-2 ii node-stream-iterate 1.2.0-4 ii node-strip-ansi 4.0.0-1 ii node-tar 4.4.6+ds1-3 ii node-text-table 0.2.0-2 ii node-uid-number 0.0.6-1 ii node-unique-filename 1.1.0+ds-2 ii node-unpipe 1.0.0-1 ii node-validate-npm-package-name 3.0.0-1 ii node-which 1.3.0-2 ii node-wrappy 1.0.2-1 ii node-write-file-atomic 2.3.0-1 ii node-xdg-basedir 3.0.0-1 ii nodejs 10.15.1~dfsg-2 npm recommends no packages. npm suggests no packages. -- no debconf information