[Mono-list] Mono crash on Xandros (ASUS eeepc)

Deadalus.ai deadalus.ai at gmail.com
Fri Feb 29 23:53:46 EST 2008


 Hi.
 
I am having difficulties with the mono compiler hanging after an initial
first use.
 
I have written a short C# program which is tested and working:
 
Code:
//hello.cs
//Hello world in C#
class Hello {
    static void Main()
    {
    System.Console.WriteLine("Hello world!");
    test t = new test();
    System.Console.WriteLine(t.add(2,3).ToString());
    }
}
 
class test {
    public test()
    {
  //empty constructor
    }
     
    public int add(int inval, int outval)
    {
  return(inval + outval);
    }
}

 
On booting my machine, I run:
 
Code:
/home/user/source> mcs hello.cs

 
This will usually compile correctly, creating 'hello.exe' in the source
directory. However, if I attempt to recompile the source, or attempt to run:
 
Code:
/home/user/source> mono hello.exe

 
then mono hangs.
I then run the following in another terminal:
 
Code:
/home/user/source> ps e | grep mono

 
producing:
 
Code:
8037 pts/1    Zl+    0:00 [mono] <defunct>
 8252 pts/2    R+     0:00 grep mono

 
I am then able to kill the mono process, but running mono again will  fail.
 
On a reboot, I am able to either compile once or run a program once, before
the error occurs again.
 
I suspect another process I do not know about is causing this problem.
 
Please help me understand this error, and fix it.
-deadalus 
-- 
View this message in context: http://www.nabble.com/Mono-crash-on-Xandros-%28ASUS-eeepc%29-tp15772680p15772680.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list