[erlang-questions] Re: Erlang/OTP R14B01 has been released

Wallentin Dahlberg <>
Mon Dec 13 16:52:00 CET 2010


I cannot reproduce this on my gentoo or ubuntu machines either. (Not
surprising since that would have halted the daily tests).

Zvi (or anyone else that can reproduce this), could you send a stacktrace or
a core-file of said segfault?

Björn-Egil
Erlang/OTP

2010/12/13 Raimo Niskanen
<<raimo%>
>

> On Mon, Dec 13, 2010 at 02:17:14PM +0200, Zvi . wrote:
> > On Mon, Dec 13, 2010 at 12:38 PM, Raimo Niskanen <
> > <raimo%>
> <raimo%<raimo%>
> >
> > > wrote:
> >
> > > On Sun, Dec 12, 2010 at 09:32:33AM -0800, Zvi wrote:
> > > > Hi,
> > > >
> > > > running new inet:getifaddrs/0 on my Ubuntu machine results in
> > > > segfault:
> > >
> > > Which Ubuntu is it, and what configure flags did you use?
> >
> >
> > Ubuntu 10.04
> >
> > just:
> >
> > ./configure
> > make
> > sudo make install
>
> Interesting...
> The 10.04 LTS in our lab does not dump core for inet:getifaddrs().
> What does this produce for you (mine below, obscured):
> 1> inet:getiflist().
> {ok,["lo","eth0"]}
> 2> [{If,element(2,inet:ifget(If,
> [flags,hwaddr,addr,netmask,broadaddr]))}||If<-element(2,inet:getiflist())].
> [{"lo",
>  [{flags,[up,loopback,running]},
>   {hwaddr,[0,0,0,0,0,0]},
>   {addr,{127,0,0,1}},
>   {netmask,{255,0,0,0}},
>   {broadaddr,{0,0,0,0}}]},
>  {"eth0",
>  [{flags,[up,broadcast,running,multicast]},
>   {hwaddr,[11,11,11,11,11,11]},
>   {addr,{111,111,111,111}},
>   {netmask,{255,255,255,0}},
>   {broadaddr,{111,111,111,255}}]}]
>
> And this (mine below, obscured):
> $ ifconfig -a
> eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
>          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx
>  Mask:255.255.255.0
>          inet6 addr: fec0::xxx:xxxx:xxxx:xxxx/64 Scope:Site
>          inet6 addr: fe80::xxx:xxxx:xxxx:xxxx/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:14963366 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:9774540 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:7565200376 (7.5 GB)  TX bytes:2829650336 (2.8 GB)
>
> lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          inet6 addr: ::1/128 Scope:Host
>          UP LOOPBACK RUNNING  MTU:16436  Metric:1
>          RX packets:791285307 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:791285307 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:142265685102 (142.2 GB)  TX bytes:142265685102 (142.2 GB)
>
> $ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=10.04
> DISTRIB_CODENAME=lucid
> DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"
>
> $ uname -a # Allthough this was in one of your previous mails
> Linux halfling 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC
> 2010 x86_64 GNU/Linux
>
> --
>
> / Raimo Niskanen, Erlang/OTP, Ericsson AB
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>
>


More information about the erlang-questions mailing list