From: "Iñaki Baz Castillo" Date: 2008-10-06T01:03:50+09:00 Subject: Re: stream closed (IOError) El Domingo, 5 de Octubre de 2008, Eric Will escribió: > On Sun, Oct 5, 2008 at 11:46 AM, Yukihiro Matsumoto wrote: > > I don't think we can trust line numbers here, maybe due to bugs. The > > back trace does not make sense at all. > > [...] > > stream.rb:230 is not within ioloop; xmppd:20 does not call ioloop. > > The fact rescue does not catch the exception also suggest the wrong > > line numbers. How about stopping using timer library, as a start? > > Hey matz. Thanks for your help. Everything is within ioloop. > bin/xmppd:20 is `XMPPd.instance.ioloop` > When I don't use the timers, this doesn't happen. In fact, it doesn't > happen until I use that specific Timer to do connection timeouts in > lib/xmppd.rb. Not sure if your problem could be related to this post: http://blog.headius.com/2008/02/rubys-threadraise-threadkill-timeoutrb.html -- Iñaki Baz Castillo