Thread Crashes

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Thread Crashes

Stefan Bühlmann
Hello,

we have a large batch processing application we run on Ubuntu and
FreeBSD. On FreeBSD we get the following crashes very often (~1x per
day) on Ubuntu nearly never (1x per month):

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Thread.Thread_internal (System.Threading.Thread,System.MulticastDelegate) <0xffffffff>                                            |
  at System.Threading.Thread.Start () <0x001a7>                                                                                                                                     |
  at ourcode <0x001ba>

I already tested a lot however I found nothing which helped so far.

Kind Regards

Stefan
_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list
Reply | Threaded
Open this post in threaded view
|

Re: Thread Crashes

Rodrigo Kumpera
Can you produce the native backtrace by installing gdb.


On Thu, Aug 14, 2014 at 8:20 AM, Stefan Bühlmann <[hidden email]> wrote:
Hello,

we have a large batch processing application we run on Ubuntu and
FreeBSD. On FreeBSD we get the following crashes very often (~1x per
day) on Ubuntu nearly never (1x per month):

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Thread.Thread_internal (System.Threading.Thread,System.MulticastDelegate) <0xffffffff>                                            |
  at System.Threading.Thread.Start () <0x001a7>                                                                                                                                     |
  at ourcode <0x001ba>

I already tested a lot however I found nothing which helped so far.

Kind Regards

Stefan
_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list


_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list
Reply | Threaded
Open this post in threaded view
|

Re: Thread Crashes

Stefan Bühlmann
I do not have a native backtrace but:


* Assertion at wait.c:230, condition `thr_ret == 0' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Thread.Thread_internal
(System.Threading.Thread,System.MulticastDelegate) <0xffffffff>
  at System.Threading.Thread.Start () <0x001a7>
  at test.MainClass.Main (string[]) <0x00199>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xffffffff>

=================================================================
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.
=================================================================

Code to reproduce:

http://pastebin.com/ie7ZcXkT

Mono Version:

Mono JIT compiler version 3.4.0 (tarball Thu Jun 12 20:16:37 CEST 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notification:  kqueue
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen

-- Stefan

On 18.08.2014 18:12, Rodrigo Kumpera wrote:

> Can you produce the native backtrace by installing gdb.
>
>
> On Thu, Aug 14, 2014 at 8:20 AM, Stefan Bühlmann
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     Hello,
>
>     we have a large batch processing application we run on Ubuntu and
>     FreeBSD. On FreeBSD we get the following crashes very often (~1x per
>     day) on Ubuntu nearly never (1x per month):
>
>       at <unknown> <0xffffffff>
>       at (wrapper managed-to-native)
>     System.Threading.Thread.Thread_internal
>     (System.Threading.Thread,System.MulticastDelegate) <0xffffffff>    
>                                           |
>       at System.Threading.Thread.Start () <0x001a7>                    
>                                                                        
>                                                |
>       at ourcode <0x001ba>
>
>     I already tested a lot however I found nothing which helped so far.
>
>     Kind Regards
>
>     Stefan
>     _______________________________________________
>     Mono-list maillist  -  [hidden email]
>     <mailto:[hidden email]>
>     http://lists.ximian.com/mailman/listinfo/mono-list
>
>

_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list
Reply | Threaded
Open this post in threaded view
|

Re: Thread Crashes

Rodrigo Kumpera
You can by installing gdb on the machine.


On Mon, Aug 18, 2014 at 1:15 PM, Stefan Bühlmann <[hidden email]> wrote:
I do not have a native backtrace but:


* Assertion at wait.c:230, condition `thr_ret == 0' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Thread.Thread_internal
(System.Threading.Thread,System.MulticastDelegate) <0xffffffff>
  at System.Threading.Thread.Start () <0x001a7>
  at test.MainClass.Main (string[]) <0x00199>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xffffffff>

=================================================================
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.
=================================================================

Code to reproduce:

http://pastebin.com/ie7ZcXkT

Mono Version:

Mono JIT compiler version 3.4.0 (tarball Thu Jun 12 20:16:37 CEST 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notification:  kqueue
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen

-- Stefan

On 18.08.2014 18:12, Rodrigo Kumpera wrote:
> Can you produce the native backtrace by installing gdb.
>
>
> On Thu, Aug 14, 2014 at 8:20 AM, Stefan Bühlmann
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     Hello,
>
>     we have a large batch processing application we run on Ubuntu and
>     FreeBSD. On FreeBSD we get the following crashes very often (~1x per
>     day) on Ubuntu nearly never (1x per month):
>
>       at <unknown> <0xffffffff>
>       at (wrapper managed-to-native)
>     System.Threading.Thread.Thread_internal
>     (System.Threading.Thread,System.MulticastDelegate) <0xffffffff>
>                                           |
>       at System.Threading.Thread.Start () <0x001a7>
>
>                                                |
>       at ourcode <0x001ba>
>
>     I already tested a lot however I found nothing which helped so far.
>
>     Kind Regards
>
>     Stefan
>     _______________________________________________
>     Mono-list maillist  -  [hidden email]
>     <mailto:[hidden email]>
>     http://lists.ximian.com/mailman/listinfo/mono-list
>
>



_______________________________________________
Mono-list maillist  -  [hidden email]
http://lists.ximian.com/mailman/listinfo/mono-list