From owner-freebsd-mono@FreeBSD.ORG Thu Aug 14 16:48:39 2014 Return-Path: Delivered-To: freebsd-mono@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C797DF3 for ; Thu, 14 Aug 2014 16:48:39 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE0362011 for ; Thu, 14 Aug 2014 16:48:38 +0000 (UTC) Received: from [192.168.0.18] ([80.219.253.122]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lq9se-1Wn3Iq0uuW-00dryY for ; Thu, 14 Aug 2014 18:48:36 +0200 Message-ID: <53ECE863.9090209@gmx.net> Date: Thu, 14 Aug 2014 18:48:35 +0200 From: =?UTF-8?B?U3RlZmFuIELDvGhsbWFubg==?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-mono@freebsd.org Subject: Thread Crash X-Provags-ID: V03:K0:tlILzqu8Jevh0ZudJvKiGW/edtZ+dDIByeJk0TbjySAn5plgg6C kNZAXPEE6vbbA1Qqcm72+yO/OGAtVyCB+SmMsEMeFIo+KuOX3+qYNIAK+M4gm58b+5x9zrc D3owimegKQjBlmaQUUeiz9vE0p/+sAFb2d4C6MXF9MYpKjrnqzvXZTU3VTiJzFDems3D9xO xIEhsUj7VCEV9LaGu1UHg== X-UI-Out-Filterresults: notjunk:1; Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2014 16:48:39 -0000 Hi, we use a large batch processing application written in C# on FreeBSD via Mono. Often we get the following crashes: * Assertion at wait.c:230, condition `thr_ret == 0' not met Stacktrace: at <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) .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 Any ideas how to fix? -- Stefan