Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Mar 2015 17:52:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198350] [www/node] segfault when installing npm on 8.4, 9.3 on i386
Message-ID:  <bug-198350-13-ll0whVhyWx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198350-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198350-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198350

--- Comment #3 from Marcin Cie=C5=9Blak <saper@saper.info> ---
The best way to test this is to query "os.networkInterfaces()" in node

On 8.4 and 9.3 i386 os.networkInterfaces() crashes the process, on
10.1 it just gives incorrect results.

Here's output from 10.1 i386 jail (running on amd64 kernel):

> os.networkInterfaces()
{ /* .. */
  lo0:=20
   [ { address: '<unknown sa family>',
       netmask: '255.255.255.224',
       family: '<unknown>',
       mac: '00:00:00:00:00:00',
       internal: true },
     { address: '<unknown sa family>',
       netmask: '255.255.255.224',
       family: '<unknown>',
       mac: '00:00:00:00:00:00',
       internal: true },
     { address: '127.0.0.1',
       netmask: '255.0.0.0',
       family: 'IPv4',
       mac: '00:00:00:00:00:00',
       internal: true } ] }

correct output:
{ /* .. */
  lo0:=20
   [ { address: '::1',
       netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
       family: 'IPv6',
       mac: '00:00:00:00:00:00',
       scopeid: 0,
       internal: true },
     { address: 'fe80::1',
       netmask: 'ffff:ffff:ffff:ffff::',
       family: 'IPv6',
       mac: '00:00:00:00:00:00',
       scopeid: 2,
       internal: true },
     { address: '127.0.0.1',
       netmask: '255.0.0.0',
       family: 'IPv4',
       mac: '00:00:00:00:00:00',
       internal: true } ] }

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198350-13-ll0whVhyWx>