[Pkg-javascript-devel] Bug#922075: Bug#922075: npm: segfault during extract on i386
Jérémy Lal
kapouer at melix.org
Fri Apr 5 18:39:09 BST 2019
Le ven. 5 avr. 2019 à 18:31, Bernhard Übelacker <bernhardu at mailbox.org> a
écrit :
> 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)
>
That's odd ! We should have the same options ?
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.
>
That's surely very hard to catch since v8 is generating assembly on the fly.
I'll try to get some info from upstream.
Jérémy
>
>
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190405/567eb120/attachment.html>
More information about the Pkg-javascript-devel
mailing list