[Pkg-javascript-devel] Bug#922075: Bug#922075: npm: segfault during extract on i386
Bernhard Übelacker
bernhardu at mailbox.org
Fri Apr 5 17:31:09 BST 2019
Hello Jérémy,
sorry for the delay.
> So if i run qemu with the first P6 cpu that comes to mind, pentiumpro,
> npm install electron-spellchecker at 1.1.2
> no longer crashes.
>
> That doesn't prove there is no crash on a supported cpu, but that's a start.
> Comparing the flags and address sizes might help.
> Also upstream nodejs does not support 32bit cpu on linux platform.
Unfortunately my debian QEmu does not have a cpu "pentiumpro".
(qemu-system-i386 -cpu help)
I tried to debug it at real hardware, which also supports rr [1].
Unfortunately there I hit a bug in rr that rr-upstream fixed very fast [2].
At this real hardware [3] I could reproduce this bug with i386 userlands
runnning at amd64- or i386-kernel. I assume that should be a supported CPU.
I tried to follow that value 0x1085, that is shown in the original report
and in all my debugging attempts, by reverse debugging.
But unfortunately that led to no certain findings.
Kind regards,
Bernhard
[1] https://rr-project.org/
[2] https://github.com/mozilla/rr/issues/2342
[3] Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 36 bits physical, 48 bits virtual
Vendor ID: GenuineIntel
CPU family: 6
Model name: Intel(R) Pentium(R) CPU B950 @ 2.10GHz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugging_4.txt.gz
Type: application/gzip
Size: 36223 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190405/fbacdf57/attachment.gz>
More information about the Pkg-javascript-devel
mailing list