Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2006 19:48:58 +0100
From:      Jonathan Weiss <jw@innerewut.de>
To:        pav@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   Re: Problem with recent Ruby update and Rails/Lighttpd
Message-ID:  <43CFDF1A.3020303@innerewut.de>
In-Reply-To: <1137695693.54667.3.camel@localhost>
References:  <43CEE3F7.40101@innerewut.de> <1137695693.54667.3.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Pav Lucistnik wrote:
> Jonathan Weiss píše v čt 19. 01. 2006 v 01:57 +0100:
>> Cheers,
>>
>> After updating to Ruby 1.8.4 on a 6-STABLE machine I'm getting this
>> error with Lighttpd 1.4.8/Rails 1.0:
>>
>> /usr/local/lib/ruby/1.8/monitor.rb:218: [BUG] cross-thread violation on
>> rb_thread_schedule()
>> ruby 1.8.4 (2005-12-24) [i386-freebsd6]
>>
>> I get this sporadicly on the console that started lighttpd. Nothing
>> crashes but this error keeps coming up.
> 
> Does it affect the served pages?
> 

I am not sure, the pages are served correctly but every where and then I 
get an empty page and this in logs:

Mysql::Error (Can't connect to local MySQL server through socket 
'/tmp/mysql.sock' (2)):
 
/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:316:in 
`real_connect'
...
..
.

I'am not sure if this is related but I never got these errors on a 
Debian box where the application resided until recently.

> You may also try to reinstall ruby without pthreads and see if that
> helps.
> 

I will try this.

Thanks,
Jonathan


-- 
Jonathan Weiss
http://blog.innerewut.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43CFDF1A.3020303>