Ruby 1.9 as default

Stanislav Sedov stas at FreeBSD.org
Tue Jun 5 18:04:25 UTC 2012


On Tue, 5 Jun 2012 11:42:09 +0200
Romain Tartière <romain at FreeBSD.org> 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.
> > 
> > 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)?
> 
> Hum... mono hanging... I experience this with Banshee this is why it s
> marked IGNORE:
> http://www.freshports.org/multimedia/banshee/
> 
> 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 :-/
> 

Hi!

Sounds similar.  Unfortunately, my app is proprietary.  I'll try to
prepare some smaller test case today.

-- 
Stanislav Sedov
ST4096-RIPE

()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


More information about the freebsd-ports mailing list