[Bug 534389] [NEW] mono.spec won't build

Patryk Zawadzki patrys at pld-linux.org
Mon Mar 8 14:52:58 CET 2010


Public bug reported:

Th and Titanium ship mono 2.0.x. Newer software needs mono-options from
mono 2.2+.

Trying to build 2.6.1 (current mono.spec HEAD) on x86:

Making all in docs
make[2]: Entering directory `/home/users/patrys/rpm/BUILD/mono-2.6.1/docs'
cd . && /usr/bin/make PROFILE=net_1_1 -f docs.make topdir=../mcs convert.exe
make[3]: Entering directory `/home/users/patrys/rpm/BUILD/mono-2.6.1/docs'
MCS     [net_1_1] convert.exe
**
ERROR:threads.c:4125:get_execution_context_addr: assertion failed: (offset)
Stacktrace:


Native stacktrace:

Cannot open assembly '../mcs/class/lib/net_1_1/mcs.exe': No such file or directory.
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x80ce36e]
	[0xb786b410]
	/usr/lib/libglib-2.0.so.0(+0x599cd) [0xb77e49cd]
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x819dcde]
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x819dd15]
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x81a091c]
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x81d23de]
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x81ec67b]
	/lib/libpthread.so.0(+0x571f) [0xb776b71f]
	/lib/libc.so.6(clone+0x5e) [0xb76c7ebe]

Debug info from gdb:

[Thread debugging using libthread_db enabled]
[New Thread 0xb67f0b70 (LWP 5910)]
[New Thread 0xb784bb70 (LWP 5909)]
[New Thread 0xb75c5b70 (LWP 5908)]
0xb786b430 in __kernel_vsyscall ()
  4 Thread 0xb75c5b70 (LWP 5908)  0xb786b430 in __kernel_vsyscall ()
  3 Thread 0xb784bb70 (LWP 5909)  0xb786b430 in __kernel_vsyscall ()
  2 Thread 0xb67f0b70 (LWP 5910)  0xb786b430 in __kernel_vsyscall ()
* 1 Thread 0xb75c66f0 (LWP 5896)  0xb786b430 in __kernel_vsyscall ()

Thread 4 (Thread 0xb75c5b70 (LWP 5908)):
#0  0xb786b430 in __kernel_vsyscall ()
#1  0xb776fa95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x081eb4ad in GC_wait_marker () at pthread_support.c:1785
#3  0x081e68fd in GC_help_marker (my_mark_no=3) at mark.c:1116
#4  0x081ec141 in GC_mark_thread (id=0x0) at pthread_support.c:548
#5  0xb776b71f in start_thread () from /lib/libpthread.so.0
#6  0xb76c7ebe in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb784bb70 (LWP 5909)):
#0  0xb786b430 in __kernel_vsyscall ()
#1  0xb7772f96 in nanosleep () from /lib/libpthread.so.0
#2  0x081b837d in collection_thread (unused=0x0) at collection.c:34
#3  0xb776b71f in start_thread () from /lib/libpthread.so.0
#4  0xb76c7ebe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb67f0b70 (LWP 5910)):
#0  0xb786b430 in __kernel_vsyscall ()
#1  0xb77727bb in read () from /lib/libpthread.so.0
#2  0x080ce4ff in mono_handle_native_sigsegv (signal=6, ctx=0xb67efd2c)
    at mini-exceptions.c:1809
#3  <signal handler called>
#4  0xb786b430 in __kernel_vsyscall ()
#5  0xb7625577 in raise () from /lib/libc.so.6
#6  0xb7626aae in abort () from /lib/libc.so.6
#7  0x00000000 in ?? ()

Thread 1 (Thread 0xb75c66f0 (LWP 5896)):
#0  0xb786b430 in __kernel_vsyscall ()
#1  0xb776fdc2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x081bcbd9 in _wapi_handle_timedwait_signal_handle (handle=0x409, 
    timeout=0xbfac93f8, alertable=1, poll=0) at handles.c:1609
#3  0x081cfda1 in WaitForSingleObjectEx (handle=0x409, timeout=2000, 
    alertable=1) at wait.c:207
#4  0x0812dc15 in mono_domain_finalize (domain=0x34e70, timeout=2000)
    at gc.c:378
#5  0x080596d0 in mini_cleanup (domain=0x34e70) at mini.c:5521
#6  0x080aef06 in mono_main (argc=12, argv=0xbfac9624) at driver.c:1696
#7  0x08058fad in main (argc=12, argv=0xbfac9624) at main.c:34

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Abort

** Affects: pld-linux
     Importance: Undecided
         Status: New

-- 
mono.spec won't build
https://bugs.launchpad.net/bugs/534389
You received this bug notification because you are subscribed to PLD
Linux.

Status in PLD Linux Distribution: New

Bug description:
Th and Titanium ship mono 2.0.x. Newer software needs mono-options from mono 2.2+.

Trying to build 2.6.1 (current mono.spec HEAD) on x86:

Making all in docs
make[2]: Entering directory `/home/users/patrys/rpm/BUILD/mono-2.6.1/docs'
cd . && /usr/bin/make PROFILE=net_1_1 -f docs.make topdir=../mcs convert.exe
make[3]: Entering directory `/home/users/patrys/rpm/BUILD/mono-2.6.1/docs'
MCS     [net_1_1] convert.exe
**
ERROR:threads.c:4125:get_execution_context_addr: assertion failed: (offset)
Stacktrace:


Native stacktrace:

Cannot open assembly '../mcs/class/lib/net_1_1/mcs.exe': No such file or directory.
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x80ce36e]
	[0xb786b410]
	/usr/lib/libglib-2.0.so.0(+0x599cd) [0xb77e49cd]
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x819dcde]
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x819dd15]
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x81a091c]
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x81d23de]
	/home/users/patrys/rpm/BUILD/mono-2.6.1/mono/mini/mono() [0x81ec67b]
	/lib/libpthread.so.0(+0x571f) [0xb776b71f]
	/lib/libc.so.6(clone+0x5e) [0xb76c7ebe]

Debug info from gdb:

[Thread debugging using libthread_db enabled]
[New Thread 0xb67f0b70 (LWP 5910)]
[New Thread 0xb784bb70 (LWP 5909)]
[New Thread 0xb75c5b70 (LWP 5908)]
0xb786b430 in __kernel_vsyscall ()
  4 Thread 0xb75c5b70 (LWP 5908)  0xb786b430 in __kernel_vsyscall ()
  3 Thread 0xb784bb70 (LWP 5909)  0xb786b430 in __kernel_vsyscall ()
  2 Thread 0xb67f0b70 (LWP 5910)  0xb786b430 in __kernel_vsyscall ()
* 1 Thread 0xb75c66f0 (LWP 5896)  0xb786b430 in __kernel_vsyscall ()

Thread 4 (Thread 0xb75c5b70 (LWP 5908)):
#0  0xb786b430 in __kernel_vsyscall ()
#1  0xb776fa95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x081eb4ad in GC_wait_marker () at pthread_support.c:1785
#3  0x081e68fd in GC_help_marker (my_mark_no=3) at mark.c:1116
#4  0x081ec141 in GC_mark_thread (id=0x0) at pthread_support.c:548
#5  0xb776b71f in start_thread () from /lib/libpthread.so.0
#6  0xb76c7ebe in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb784bb70 (LWP 5909)):
#0  0xb786b430 in __kernel_vsyscall ()
#1  0xb7772f96 in nanosleep () from /lib/libpthread.so.0
#2  0x081b837d in collection_thread (unused=0x0) at collection.c:34
#3  0xb776b71f in start_thread () from /lib/libpthread.so.0
#4  0xb76c7ebe in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb67f0b70 (LWP 5910)):
#0  0xb786b430 in __kernel_vsyscall ()
#1  0xb77727bb in read () from /lib/libpthread.so.0
#2  0x080ce4ff in mono_handle_native_sigsegv (signal=6, ctx=0xb67efd2c)
    at mini-exceptions.c:1809
#3  <signal handler called>
#4  0xb786b430 in __kernel_vsyscall ()
#5  0xb7625577 in raise () from /lib/libc.so.6
#6  0xb7626aae in abort () from /lib/libc.so.6
#7  0x00000000 in ?? ()

Thread 1 (Thread 0xb75c66f0 (LWP 5896)):
#0  0xb786b430 in __kernel_vsyscall ()
#1  0xb776fdc2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x081bcbd9 in _wapi_handle_timedwait_signal_handle (handle=0x409, 
    timeout=0xbfac93f8, alertable=1, poll=0) at handles.c:1609
#3  0x081cfda1 in WaitForSingleObjectEx (handle=0x409, timeout=2000, 
    alertable=1) at wait.c:207
#4  0x0812dc15 in mono_domain_finalize (domain=0x34e70, timeout=2000)
    at gc.c:378
#5  0x080596d0 in mini_cleanup (domain=0x34e70) at mini.c:5521
#6  0x080aef06 in mono_main (argc=12, argv=0xbfac9624) at driver.c:1696
#7  0x08058fad in main (argc=12, argv=0xbfac9624) at main.c:34

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Abort




More information about the pld-bugs mailing list