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

Zvi . zvi.avraham@REDACTED
Mon Dec 13 19:55:54 CET 2010


When I'm offline it works:

[~]$ erl
Erlang R14B01 (erts-5.8.2) [source] [smp:2:2] [rq:2] [async-threads:0]
[hipe] [kernel-poll:false]

Eshell V5.8.2  (abort with ^G)
1> inet:getifaddrs().
{ok,[{"lo",
      [{flags,[up,loopback,running]},
       {hwaddr,[0,0,0,0,0,0]},
       {addr,{127,0,0,1}},
       {netmask,{255,0,0,0}},
       {addr,{0,0,0,0,0,0,0,1}},
       {netmask,{65535,65535,65535,65535,65535,65535,65535,
                 65535}}]},
     {"eth1",
      [{flags,[up,broadcast,running,multicast]},
       {hwaddr,[0,36,XX,XX,XX,XX]}]},
     {"wlan1",
      [{flags,[broadcast,multicast]},
       {hwaddr,[0,33,XX,XX,XX,XX]}]}]}
2>

[~]$ ifconfig
eth1      Link encap:Ethernet  HWaddr 00:24:XX:XX:XX:XX
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Memory:f6fe0000-f7000000

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:3718 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3718 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:282439 (282.4 KB)  TX bytes:282439 (282.4 KB)


It only happens when I'm online with wireless modem on my laptop:

[~]$ erl
Erlang R14B01 (erts-5.8.2) [source] [smp:2:2] [rq:2] [async-threads:0]
[hipe] [kernel-poll:false]

Eshell V5.8.2  (abort with ^G)
1> inet:getifaddrs().
Segmentation fault
[~]$

[~]$ ifconfig
eth1      Link encap:Ethernet  HWaddr 00:24:XX:XX:XX:XX
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Memory:f6fe0000-f7000000

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:4336 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4336 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:330061 (330.0 KB)  TX bytes:330061 (330.0 KB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:95.XX.XXX.XXX  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:18 errors:2 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:3705 (3.7 KB)  TX bytes:5864 (5.8 KB)

Hope this helps,
Zvi


On Mon, Dec 13, 2010 at 12:38 PM, Raimo Niskanen <
raimo+erlang-questions@REDACTED<raimo%2Berlang-questions@REDACTED>
> 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?
>
> >
> > [~]$ erl
> > Erlang R14B01 (erts-5.8.2) [source] [smp:2:2] [rq:2] [async-threads:0]
> > [hipe] [kernel-poll:false]
> >
> > Eshell V5.8.2  (abort with ^G)
> > 1>
> > 1> inet:getifaddrs().
> > Segmentation fault
> > [~]$
> >
> > [~]$ uname -a
> > Linux XXXXXXX 2.6.32-26-generic-pae #48-Ubuntu SMP Wed Nov 24 10:31:20
> > UTC 2010 i686 GNU/Linux
> >
> > Zvi
> >
> > On Dec 8, 4:49 pm, Kenneth Lundin <kenneth.lun...@REDACTED> wrote:
> > > Erlang/OTP R14B01 has been released.
> > >
> > > This release is mainly a stabilization of the R14B01 release (but there
> are
> > > some new functionality as well).
> > >
> > > You can find the README file for the release at
> > >
> > > http://www.erlang.org/download/otp_src_R14B01.readme
> > >
> > > The source distribution and binary distribution for Windows can be
> > > downloaded from
> > >
> > >
> http://www.erlang.org/download/otp_src_R14B01.tar.gzhttp://www.erlang.org/download/otp_win32_R14B01.exe
> > >
> > > The distribution can also be downloaded using the BitTorrent
> > > protocol. Use the following torrent files to download the source
> > > distribution and binary distribution for Windows:
> > >
> > >
> http://www.erlang.org/download/otp_src_R14B01.tar.gz.torrenthttp://www.erlang.org/download/otp_win32_R14B01.exe.torrent
> > >
> > > Note: To unpack the TAR archive you need a GNU TAR compatible program.
> > >
> > > For installation instructions please read the README file that is part
> > > of the distribution.
> > >
> > > The on-line documentation can be found at:http://www.erlang.org/doc/
> > > You can also download the complete HTML documentation or the Unix
> manual files
> > >
> > >
> http://www.erlang.org/download/otp_doc_html_R14B01.tar.gzhttp://www.erlang.org/download/otp_doc_man_R14B01.tar.gz
> > >
> > > We also want to thank those that sent us patches, suggestions and bug
> > > reports,
> > >
> > > The Erlang/OTP Team
> > > Kenneth Lundin, Erlang/OTP, Ericsson AB
> > >
> > > ________________________________________________________________
> > > erlang-questions (at) erlang.org mailing list.
> > > Seehttp://www.erlang.org/faq.html
> > > To unsubscribe; mailto:erlang-questions-unsubscr...@REDACTED
> >
> > ________________________________________________________________
> > erlang-questions (at) erlang.org mailing list.
> > See http://www.erlang.org/faq.html
> > To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
> >
>
> --
>
> / Raimo Niskanen, Erlang/OTP, Ericsson AB
>


More information about the erlang-questions mailing list