[Bsd-sharp-list] pthread problems

Robert Wojciechowski robertw at ssginnovations.com
Fri Dec 29 11:44:51 MST 2006


> Hm.. i remember seen something similar, ones i run mono on current.
> 
> But after some updates from the system and mono, it disapeared.
> 
> Cannot reproduce it over here anymore
> 
> Can you show your system/kernel version specific mono version, and
> assemly you are running?
> 

This is a RELENG_6 kernel & world from December 21st on i386 and a
-RELEASE build on amd64:

[dev2:~]> uname -a
FreeBSD dev2.ssgi.local 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Thu
Dec 21 03:49:59 EST 2006
root at dev2.ssgi.local:/usr/obj/usr/src/sys/DEV2  i386

[ey2:~]> uname -a
FreeBSD ey2.expressyard.com 6.1-RELEASE FreeBSD 6.1-RELEASE #13: Thu May
11 22:58:05 EDT 2006
root at ey2.expressyard.com:/usr/src/sys/amd64/compile/EY  amd64

Mono is version 1.2.2.1 on both boxes:

[dev2:~]> mono -V
Mono JIT compiler version 1.2.2.1, (C) 2002-2006 Novell, Inc and
Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Disabled:      none

I can exhibit the problem by writing a simple program such as:

  using System;
  
  class EntryPoint {
    static void Main(string[] args) {
      Console.WriteLine("hello world");
    } 
  }

and compiling with mcs/gmcs like so to get the error:

[dev2:~]> mcs test.cs
Thread 81e7e00 has exited with leftover thread-specific data after 4
destructor iterations

Of course I get the error when I execute it, too:

[dev2:~]> mono test.exe
hello world
Thread 81e7e00 has exited with leftover thread-specific data after 4
destructor iterations

So it seems to be happening with the latest RELENG_6 and mono releases
and is very easily duplicated on multiple servers over here. Weird huh?

-- Robert


More information about the Bsd-sharp-list mailing list