[Mono-list] Mono 2.0 under Ubuntu 7.10 - Thread (nil) may have been prematurely finalized
SnoopyP
snoopy.pfeffer at yahoo.com
Sat Oct 18 07:55:27 EDT 2008
I have installed Mono 2.0 under Ubuntu 7.10 using the following description:
http://srackham.wordpress.com/2008/10/08/installing-mono-20-on-ubuntu-710/
When I try to compile software, I get such error messages from time to time.
The more mono applications run the more often I seem to get this error
message.
================================================================= [nant]
/media/data/Software/Linux/OpenSim/opensim_6887/OpenSim/ScriptEngine/Engines/DotNetEngine/OpenSim.ScriptEngine.Engines.DotNetEngine.dll.build
build
Buildfile:
file:///media/data/Software/Linux/OpenSim/opensim_6887/OpenSim/ScriptEngine/Engines/DotNetEngine/OpenSim.ScriptEngine.Engines.DotNetEngine.dll.build
Target framework: Mono 2.0 Profile
Target(s) specified: build
build:
[echo] Build Directory is
/media/data/Software/Linux/OpenSim/opensim_6887/OpenSim/ScriptEngine/Engines/DotNetEngine/bin/Debug
[csc] Compiling 2 files to
'/media/data/Software/Linux/OpenSim/opensim_6887/OpenSim/ScriptEngine/Engines/DotNetEngine/bin/Debug/OpenSim.ScriptEngine.Engines.DotNetEngine.dll'.
[csc] **
(/usr/local/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe:31799): WARNING **:
Thread (nil) may have been prematurely finalized
[csc] **
(/usr/local/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe:31799): WARNING **:
Thread (nil) may have been prematurely finalized
[csc] Stacktrace:
[csc] **
(/usr/local/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe:31799): WARNING **:
Thread (nil) may have been prematurely finalized
[csc] **
(/usr/local/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe:31799): WARNING **:
Thread (nil) may have been prematurely finalized
[csc] Native stacktrace:
[csc] /usr/local/bin/mono [0x806df64]
[csc] /usr/local/bin/mono [0x8088011]
[csc] [0xb7f60440]
[csc] /usr/local/bin/mono [0x813f025]
[csc] /usr/local/bin/mono(mono_once+0x96) [0x8150406]
[csc] /usr/local/bin/mono [0x813edfa]
[csc] /usr/local/bin/mono(mono_runtime_init+0xcf)
[0x80be2ef]
[csc] /usr/local/bin/mono [0x81740d3]
[csc] /usr/local/bin/mono(mono_main+0x3b2) [0x805b512]
[csc] /usr/local/bin/mono [0x805abc2]
[csc]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7d0c450]
[csc] /usr/local/bin/mono [0x805ab31]
[csc] Debug info from gdb:
[csc] Cannot access memory at address 0x1
[csc] [Thread debugging using libthread_db enabled]
[csc] [New Thread 0xb7cb4960 (LWP 31799)]
[csc] [New Thread 0xb7f4cb90 (LWP 31802)]
[csc] 0xb7f60410 in __kernel_vsyscall ()
[csc] 2 Thread 0xb7f4cb90 (LWP 31802) 0xb7f60410 in
__kernel_vsyscall ()
[csc] 1 Thread 0xb7cb4960 (LWP 31799) 0xb7f60410 in
__kernel_vsyscall ()
[csc] Thread 2 (Thread 0xb7f4cb90 (LWP 31802)):
[csc] #0 0xb7f60410 in __kernel_vsyscall ()
[csc] #1 0xb7e77196 in nanosleep () from
/lib/tls/i686/cmov/libpthread.so.0
[csc] #2 0x08154e71 in collection_thread (unused=0x0) at
collection.c:34
[csc] #3 0xb7e6f4fb in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
[csc] #4 0xb7dcce5e in clone () from
/lib/tls/i686/cmov/libc.so.6
[csc] Thread 1 (Thread 0xb7cb4960 (LWP 31799)):
[csc] #0 0xb7f60410 in __kernel_vsyscall ()
[csc] #1 0xb7e7699b in read () from
/lib/tls/i686/cmov/libpthread.so.0
[csc] #2 0x0806e072 in mono_handle_native_sigsegv
(signal=11, ctx=0xb7b83d0c) at mini-exceptions.c:1327
[csc] #3 0x08088011 in
mono_arch_handle_altstack_exception (sigctx=0xb7b83d0c,
fault_addr=0xb78c01cc, stack_ovf=0) at exceptions-x86.c:855
[csc] #4 <signal handler called>
[csc] #5 0x08152e1e in _wapi_handle_new_from_offset
(type=WAPI_HANDLE_PROCESS, offset=264, timestamp=1) at
../../mono/io-layer/atomic.h:94
[csc] #6 0x0813f025 in process_set_current () at
processes.c:1248
[csc] #7 0x08150406 in mono_once (once=0x827af0c,
once_init=0x813ef70 <process_set_current>) at mono-mutex.c:80
[csc] #8 0x0813edfa in GetCurrentProcess () at
processes.c:1324
[csc] #9 0x080be2ef in mono_runtime_init (domain=0x34ee0,
start_cb=0x8173220 <mono_thread_start_cb>, attach_cb=0x8173270
<mono_thread_attach_cb>)
[csc] at appdomain.c:176
[csc] #10 0x081740d3 in mini_init (filename=0xbff1f656
"/usr/local/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe", runtime_version=0x0)
at mini.c:14280
[csc] #11 0x0805b512 in mono_main (argc=3,
argv=0xbff1e404) at driver.c:1438
[csc] #12 0x0805abc2 in main (argc=) at main.c:30
[csc] #0 0xb7f60410 in __kernel_vsyscall ()
[csc]
=================================================================
[csc] Got a SIGSEGV while executing native code. This
usually indicates
[csc] a fatal error in the mono runtime or one of the
native libraries
[csc] used by your application.
[csc]
=================================================================
It looks like that this is somehow linked with the files in ~/.wapi
Does anybody know how I can fix this problem? Thanks in advance!
Snoopy
p.s. I even tried the SVN version of Mono 2.0, but thes result is the same.
--
View this message in context: http://www.nabble.com/Mono-2.0-under-Ubuntu-7.10---Thread-%28nil%29-may-have-been-prematurely-finalized-tp20046299p20046299.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list