[Mono-dev] Occasional native stack trace in mono

Zoltan Varga vargaz at gmail.com
Wed Aug 5 09:05:53 EDT 2009


Hi,

   This happens during shutdown, mono asks the finalizer thread to stop, but
it doesn't
stop, most likely because a finalizer goes into an infinite loop or
something, so we
continue with the shutdown, freeing stuff which are still used, causing
errors like the one
below.

                 Zoltan


> ** (MpkCollector.exe:2950): WARNING **: Shutting down finalizer thread
> timed out.
> **
> ERROR:error.c:70:SetLastError: assertion failed: (ret == 0)
> Stacktrace:
>
>   at MpkCollector.RequestThread (object) <0xffffffff>
>   at MpkCollector.RequestThread (object) <0x003aa>
>   at (wrapper runtime-invoke) object.runtime_invoke_void__this___object
> (object,intptr,intptr,intptr) <0xffffffff>
>
> Native stacktrace:
>
>         mono [0x80c9019]
>         [0xb7eed440]
>         /lib/i686/cmov/libc.so.6(abort+0x188) [0xb7caa008]
>         /usr/lib/libglib-2.0.so.0(g_assertion_message+0x10c) [0xb7e8b46c]
>         /usr/lib/libglib-2.0.so.0 [0xb7e8b98d]
>         mono [0x8199075]
>         mono [0x819c359]
>         mono(mono_monitor_enter+0x194) [0x8137ac4]
>         [0xb7afaa74]
>         [0xb7830086]
>         mono(mono_runtime_delegate_invoke+0x34) [0x810f5c4]
>         mono [0x80ff94f]
>         mono [0x819ab16]
>         mono [0x81c2b6a]
>         /lib/i686/cmov/libpthread.so.0 [0xb7e0a4e5]
>         /lib/i686/cmov/libc.so.6(clone+0x5e) [0xb7d6010e]
>
> Debug info from gdb:
>
>
> =================================================================
> 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.
> =================================================================
>
> --
> Maciej Paszta
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
> Todaj another software on a machin running the same environment got native
stack trace:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090805/7f440141/attachment-0001.html 


More information about the Mono-devel-list mailing list