[Mono-dev] Assert: condition `ret == 0' not met
Rodrigo Kumpera
kumpera at gmail.com
Mon Jan 13 23:07:05 UTC 2014
Are you trying to build mono/master without any changes? That has not
happen with our bots at xamarin.
On Mon, Jan 13, 2014 at 4:47 PM, Bassam Tabbara <bassam at symform.com> wrote:
> Hello,
>
> I’m seeing the following exception while building MCS from the latest in
> master. This is on my mac (OSX 10.9). Any thoughts?
>
> System.Collections.Concurrent/BlockingCollection.cs(396,9): warning
> CS0219: The variable `index' is assigned but its value is never used
> System.Diagnostics/TraceImpl.cs(44,15): warning CS0649: Field
> `System.Diagnostics.TraceImplSettings.AutoFlush' is never assigned to, and
> will always have its default value `false'
> Compilation succeeded - 5 warning(s)
> * Assertion at gc.c:1216, condition `ret == 0' not met
>
> Stacktrace:
>
> at <unknown> <0xffffffff>
> at (wrapper managed-to-native) System.Environment.Exit (int) <0xffffffff>
> at Mono.CSharp.Driver.Main (string[]) <0x002b3>
> at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object
> (object,intptr,intptr,intptr) <0xffffffff>
>
> Native stacktrace:
>
> 0 mono 0x0000000109261dfb
> mono_handle_native_sigsegv + 363
> 1 libsystem_platform.dylib 0x00007fff88bf05aa
> _sigtramp + 26
> 2 libsystem_c.dylib 0x00007fff81b9ed8b
> __sprintf_chk + 153
> 3 libsystem_c.dylib 0x00007fff81b7abba abort +
> 125
> 4 mono 0x00000001093eee11
> monoeg_g_logv + 161
> 5 mono 0x00000001093eef4f
> monoeg_assertion_message + 143
> 6 mono 0x0000000109365524
> mono_gc_cleanup + 260
> 7 mono 0x000000010935bc1e
> mono_runtime_cleanup + 14
> 8 mono 0x00000001091d900c
> mini_cleanup + 956
> 9 mono 0x00000001092e6525
> ves_icall_System_Environment_Exit + 37
> 10 ??? 0x00000001119d2324 0x0 +
> 4590478116
> 11 mono 0x00000001091d88f5
> mono_jit_runtime_invoke + 1653
> 12 mono 0x000000010936871b
> mono_runtime_invoke + 107
> 13 mono 0x000000010936e726
> mono_runtime_exec_main + 374
> 14 mono 0x00000001092358d9
> mono_main + 6121
> 15 mono 0x00000001091cc6ec main +
> 588
> 16 libdyld.dylib 0x00007fff8d2195fd start +
> 1
> 17 ??? 0x000000000000001b 0x0 + 27
>
> Debug info from gdb:
>
> Process 93570 stopped
> * thread #1: tid = 0x250792, 0x00007fff8da88e22
> libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread, stop
> reason = signal SIGSTOP
> thread #2: tid = 0x2507a0, 0x00007fff8da88e6a
> libsystem_kernel.dylib`__workq_kernreturn + 10
> thread #3: tid = 0x2507a1, 0x00007fff8da89662
> libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager
> thread #4: tid = 0x2507a2, 0x00007fff8da88e6a
> libsystem_kernel.dylib`__workq_kernreturn + 10
> (lldb) * thread #1: tid = 0x250792, 0x00007fff8da88e22
> libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread, stop
> reason = signal SIGSTOP
> frame #0: 0x00007fff8da88e22 libsystem_kernel.dylib`__wait4 + 10
> frame #1: 0x0000000109261ed4
> mono`mono_handle_native_sigsegv(signal=<unavailable>, ctx=<unavailable>) +
> 580 at mini-exceptions.c:2299
> frame #2: 0x00007fff88bf05aa libsystem_platform.dylib`_sigtramp + 26
> frame #3: 0x00007fff8da88867 libsystem_kernel.dylib`__pthread_kill + 11
> frame #4: 0x00007fff81b9ed8b libsystem_c.dylib`__sprintf_chk + 153
> frame #5: 0x00007fff81b7abba libsystem_c.dylib`abort + 125
> frame #6: 0x00000001093eee11
> mono`monoeg_g_logv(log_domain=<unavailable>, log_level=<unavailable>,
> format=<unavailable>, args=<unavailable>) + 161 at goutput.c:175
> frame #7: 0x00000001093eef4f
> mono`monoeg_assertion_message(format=<unavailable>) + 143 at goutput.c:195
> frame #8: 0x0000000109365524 mono`mono_gc_cleanup + 260 at gc.c:1216
> frame #9: 0x000000010935bc1e
> mono`mono_runtime_cleanup(domain=<unavailable>) + 14 at appdomain.c:354
> frame #10: 0x00000001091d900c
> mono`mini_cleanup(domain=0x00007fb070501350) + 956 at mini.c:7626
> frame #11: 0x00000001092e6525
> mono`ves_icall_System_Environment_Exit(result=0) + 37 at icall.c:6517
> frame #12: 0x00000001119d2324
> frame #13: 0x00000001091d88f5
> mono`mono_jit_runtime_invoke(method=<unavailable>, obj=0x0000000000000000,
> params=<unavailable>, exc=<unavailable>) + 1653 at mini.c:6654
> frame #14: 0x000000010936871b
> mono`mono_runtime_invoke(method=0x00007fb0705025b0, obj=0x0000000000000000,
> params=0x00007fff56a33d68, exc=0x0000000000000000) + 107 at object.c:2828
> frame #15: 0x000000010936e726
> mono`mono_runtime_exec_main(method=0x00007fb0705025b0, args=<unavailable>,
> exc=0x0000000000000000) + 374 at object.c:4053
> frame #16: 0x00000001092358d9 mono`mono_main [inlined]
> main_thread_handler + 6121 at driver.c:1066
> frame #17: 0x00000001092358a2 mono`mono_main(argc=24,
> argv=<unavailable>) + 6066 at driver.c:2014
> frame #18: 0x00000001091cc6ec mono`main [inlined]
> mono_main_with_options(argv=<unavailable>, argc=<unavailable>) + 549 at
> main.c:98
> frame #19: 0x00000001091cc4c7 mono`main(argc=<unavailable>,
> argv=<unavailable>) + 39 at main.c:133
> frame #20: 0x00007fff8d2195fd libdyld.dylib`start + 1
>
> thread #2: tid = 0x2507a0, 0x00007fff8da88e6a
> libsystem_kernel.dylib`__workq_kernreturn + 10
> frame #0: 0x00007fff8da88e6a libsystem_kernel.dylib`__workq_kernreturn
> + 10
> frame #1: 0x00007fff8cbcbf08 libsystem_pthread.dylib`_pthread_wqthread
> + 330
> frame #2: 0x00007fff8cbcefb9 libsystem_pthread.dylib`start_wqthread +
> 13
>
> thread #3: tid = 0x2507a1, 0x00007fff8da89662
> libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager
> frame #0: 0x00007fff8da89662 libsystem_kernel.dylib`kevent64 + 10
> frame #1: 0x00007fff8f61543d libdispatch.dylib`_dispatch_mgr_invoke +
> 239
> frame #2: 0x00007fff8f615152 libdispatch.dylib`_dispatch_mgr_thread +
> 52
>
> thread #4: tid = 0x2507a2, 0x00007fff8da88e6a
> libsystem_kernel.dylib`__workq_kernreturn + 10
> frame #0: 0x00007fff8da88e6a libsystem_kernel.dylib`__workq_kernreturn
> + 10
> frame #1: 0x00007fff8cbcbf08 libsystem_pthread.dylib`_pthread_wqthread
> + 330
> frame #2: 0x00007fff8cbcefb9 libsystem_pthread.dylib`start_wqthread +
> 13
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140113/78e32b31/attachment.html>
More information about the Mono-devel-list
mailing list