Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Mar 2015 15:31:14 +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-8Pz4LnPg1q@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

Marcin Cie=C5=9Blak <saper@saper.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|New                         |Closed

--- Comment #1 from Marcin Cie=C5=9Blak <saper@saper.info> ---
So, managed to get a backtrace:

(gdb) bt
#0  0x0888d9ad in uv_interface_addresses (addresses=3D0xffffcb68,
count=3D0xffffcb64) at ../deps/uv/src/unix/freebsd.c:380
#1  0x0882b2ed in GetInterfaceAddresses (args=3D@0xffffcba0) at
../src/node_os.cc:237
#2  0x083c138d in v8::internal::FunctionCallbackArguments::Call
(this=3D0xffffcc30, f=3D0x882b2a0 <GetInterfaceAddresses>) at
../deps/v8/src/arguments.cc:33
#3  0x083ea953 in Builtin_HandleApiCall (args_length=3D2, args_object=3D0xf=
fffccac,
isolate=3D0x29018800) at ../deps/v8/src/builtins.cc:1144

(gdb) print *ent
$2 =3D {ifa_next =3D 0x29c6c01c, ifa_name =3D 0x29c6c36e "\006\003\006", if=
a_flags =3D
34883, ifa_addr =3D 0x29c6c150, ifa_netmask =3D 0x0, ifa_dstaddr =3D 0x0,=20
  ifa_data =3D 0x29c6c154}

also "ifconfig -a" looks strange in this jail:

# ifconfig -a
: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
        inet 213.239.217.105 netmask 0xffffffe0 broadcast 213.239.217.127
        inet 213.239.217.125 netmask 0xffffffe0 broadcast 213.239.217.127
ifconfig: ioctl(SIOCGIFINFO_IN6): Device not configured
: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST>
        inet 127.0.0.1 netmask 0xff000000=20
ifconfig: ioctl(SIOCGIFINFO_IN6): Device not configured

I think data returned by getifaddrs(3) are bogus and this is bug 178881

*** This bug has been marked as a duplicate of bug 178881 ***

--=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-8Pz4LnPg1q>