From owner-freebsd-ruby@FreeBSD.ORG Tue Jun 5 18:04:25 2012 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 828581065670; Tue, 5 Jun 2012 18:04:25 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 285838FC22; Tue, 5 Jun 2012 18:04:25 +0000 (UTC) Received: from orion.swifttest.com (unknown [74.3.97.52]) by mx0.deglitch.com (Postfix) with ESMTPA id DA01B8FC2B; Tue, 5 Jun 2012 22:04:23 +0400 (MSK) Received: from orion.swifttest.com (localhost [127.0.0.1]) by orion.swifttest.com (Postfix) with SMTP id CBA125C52; Tue, 5 Jun 2012 11:01:12 -0700 (PDT) Date: Tue, 5 Jun 2012 11:01:12 -0700 From: Stanislav Sedov To: Romain =?UTF-8?B?VGFydGnDqHJl?= Message-Id: <20120605110112.92eb2334.stas@FreeBSD.org> In-Reply-To: <20120605094209.GB45332@FreeBSD.org> References: <4FC96D45.8080904@FreeBSD.org> <20120601193059.af9201da.stas@FreeBSD.org> <4FCD51E4.4030309@FreeBSD.org> <20120605085202.GI85127@deviant.kiev.zoral.com.ua> <07758721-BD54-4732-9B17-83D4CCCF55E0@freebsd.org> <20120605094209.GB45332@FreeBSD.org> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Konstantin Belousov , ports@freebsd.org, ruby@freebsd.org, Steve Wills Subject: Re: Ruby 1.9 as default X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 18:04:25 -0000 On Tue, 5 Jun 2012 11:42:09 +0200 Romain Tarti=C3=A8re mentioned: > On Tue, Jun 05, 2012 at 02:04:33AM -0700, Stanislav Sedov wrote: > > Actually, the problem I'm trying to debug right now is more weird. > > When I run mono via system(3) from the ruby 1.9 process (I mean, > > exactly system(3), not via some ruby wrapper) twice, it hangs on some > > umtx the second time. This works all the time. > >=20 > > I'm still trying to track it down in mono, though it's not clear how > > this can happen at all. Isn't execve(2) used by system(3) is supposed > > to clear everything (mutexes at least)? >=20 > Hum... mono hanging... I experience this with Banshee this is why it s > marked IGNORE: > http://www.freshports.org/multimedia/banshee/ >=20 > I used to see the mono process in the "STOP" state, but last time I > tried it was in the "umtx" state. Requesting a backtrace from mono make > it abort, attaching gdb to it also fails. The problem happenning after > a random amount of time (a few minutes, a few hours) I have not been > able de localise the source of the problem yet. If you have > experiencing the same problem but can reproduce it, it's a HUGE step > forward! Can you please provide me a minimal working example ? I tried > to jack something but it works as expected :-/ >=20 Hi! Sounds similar. Unfortunately, my app is proprietary. I'll try to prepare some smaller test case today. --=20 Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail=20 /\ www.asciiribbon.org - against proprietary attachments