This page is no longer maintained — Please continue to the home page at www.scala-lang.org

[bug] fsc hangs if eth0 is not present

2 replies
baltazar.bz
Joined: 2011-08-09,
User offline. Last seen 42 years 45 weeks ago.

Hello, friends.

Today I noticed a bug in fsc which is not new according to this
thread: http://permalink.gmane.org/gmane.comp.lang.scala/13306.
However, it's still not fixed in my version of scala.

It happened that I have two network ethernet cards and only one of
them is in use. This card is logically named "eth1" and is the only
functioning card at the moment (I don't use another one). Thereby I
don't have eth0 in my system.

In this configuration fsc always hanged when I tried to launch it. Not
knowing where to dig, the first thing I did was logging strace output:
https://gist.github.com/1134616

After some googling, I decided to change eth1 to eth0 according to
this guide: https://wiki.archlinux.org/index.php/Rename_network_interfaces

This helped and fsc now works fine.

Software versions:
$ fsc -verbose
Fast Scala compiler version 2.9.0.r0-b20110527012134 -- Copyright
2002-2011, LAMP/EPFL

$ java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.3)
(ArchLinux-6.b22_1.10.3-1-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

baltazar.bz
Joined: 2011-08-09,
User offline. Last seen 42 years 45 weeks ago.
[bug] fsc hangs if eth0 is not present

Hello, friends.

Today I noticed a bug in fsc which is not new according to this
thread: http://permalink.gmane.org/gmane.comp.lang.scala/13306.
However, it's still not fixed in my version of scala.

It happened that I have two network ethernet cards and only one of
them is in use. This card is logically named "eth1" and is the only
functioning card at the moment (I don't use another one). Thereby I
don't have eth0 in my system.

In this configuration fsc always hanged when I tried to launch it. Not
knowing where to dig, the first thing I did was logging strace output:
https://gist.github.com/1134616

After some googling, I decided to change eth1 to eth0 according to
this guide: https://wiki.archlinux.org/index.php/Rename_network_interfaces

This helped and fsc now works fine.

Software versions:
$ fsc -verbose
Fast Scala compiler version 2.9.0.r0-b20110527012134 -- Copyright
2002-2011, LAMP/EPFL

$ java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.3)
(ArchLinux-6.b22_1.10.3-1-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

Al Thompson
Joined: 2011-08-09,
User offline. Last seen 42 years 45 weeks ago.
Re: [bug] fsc hangs if eth0 is not present
I think I have seen similar breakage when hacking Scala on MacBook Pro.Still looking for a workaround...

On Tue, Aug 9, 2011 at 10:24 AM, baltazar.bz <baltazar [dot] bz [at] gmail [dot] com> wrote:
Hello, friends.


Today I noticed a bug in fsc which is not new according to this
thread: http://permalink.gmane.org/gmane.comp.lang.scala/13306.
However, it's still not fixed in my version of scala.

It happened that I have two network ethernet cards and only one of
them is in use. This card is logically named "eth1" and is the only
functioning card at the moment (I don't use another one). Thereby I
don't have eth0 in my system.

In this configuration fsc always hanged when I tried to launch it. Not
knowing where to dig, the first thing I did was logging strace output:
https://gist.github.com/1134616

After some googling, I decided to change eth1 to eth0 according to
this guide: https://wiki.archlinux.org/index.php/Rename_network_interfaces

This helped and fsc now works fine.

Software versions:
$ fsc -verbose
Fast Scala compiler version 2.9.0.r0-b20110527012134 -- Copyright
2002-2011, LAMP/EPFL

$ java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.3)
(ArchLinux-6.b22_1.10.3-1-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland