Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197606 - dev-ruby/xmpp4r is broken. Please bump to xmpp4r-0.3.2
Summary: dev-ruby/xmpp4r is broken. Please bump to xmpp4r-0.3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 09:38 UTC by Christian Zuckschwerdt
Modified: 2008-02-20 12:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Zuckschwerdt 2007-10-31 09:38:37 UTC
dev-ruby/xmpp4r from portage crashes on xml problems with ruby's REXML. Known threading problems with ruby-1.8.6 make it hang most times.

Please bump xmpp4r to 0.3.2.

Reproducible: Always




Simply renaming xmpp4r-0.3.1.ebuild to xmpp4r-0.3.2.ebuild works fine for me.
Comment 1 Hans de Graaff gentoo-dev Security 2007-11-01 20:12:31 UTC
dev-ruby/xmpp4r-0.3.2 is now in CVS, thanks for the report.
Comment 2 Damon 2008-02-20 12:24:01 UTC
I seem to still be having this problem with 0.3.2. It doesn't appear as any data is coming back from the TCP socket.

04:21:59 TLSv1: OpenSSL handshake in progress
04:22:19 TLSv1: restarting parser
04:22:19 SENDING:
    <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='gmail.com' xml:lang='en' version='1.0' >
04:22:19 EXCEPTION:
    NoMethodError
    undefined method `[]' for nil:NilClass
    /usr/lib64/ruby/1.8/rexml/source.rb:150:in `initialize'
    /usr/lib64/ruby/1.8/rexml/source.rb:16:in `new'
    /usr/lib64/ruby/1.8/rexml/source.rb:16:in `create_from'
    /usr/lib64/ruby/1.8/rexml/parsers/baseparser.rb:130:in `stream='
    /usr/lib64/ruby/1.8/rexml/parsers/baseparser.rb:107:in `initialize'
    /usr/lib64/ruby/1.8/rexml/parsers/sax2parser.rb:11:in `new'
    /usr/lib64/ruby/1.8/rexml/parsers/sax2parser.rb:11:in `initialize'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/streamparser.rb:40:in `new'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/streamparser.rb:40:in `parse'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:75:in `start'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:72:in `initialize'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:72:in `new'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:72:in `start'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/connection.rb:102:in `start'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:86:in `start'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/connection.rb:156:in `starttls'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/connection.rb:92:in `accept_features'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/connection.rb:63:in `connect'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:71:in `connect'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:58:in `connect'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:56:in `each'
    /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:56:in `connect'
    twitter_test.rb:19
Exception caught in Parser thread! (NoMethodError)
/usr/lib64/ruby/1.8/rexml/source.rb:150:in `initialize'
/usr/lib64/ruby/1.8/rexml/source.rb:16:in `new'
/usr/lib64/ruby/1.8/rexml/source.rb:16:in `create_from'
/usr/lib64/ruby/1.8/rexml/parsers/baseparser.rb:130:in `stream='
/usr/lib64/ruby/1.8/rexml/parsers/baseparser.rb:107:in `initialize'
/usr/lib64/ruby/1.8/rexml/parsers/sax2parser.rb:11:in `new'
/usr/lib64/ruby/1.8/rexml/parsers/sax2parser.rb:11:in `initialize'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/streamparser.rb:40:in `new'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/streamparser.rb:40:in `parse'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:75:in `start'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:72:in `initialize'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:72:in `new'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:72:in `start'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/connection.rb:102:in `start'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:86:in `start'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/connection.rb:156:in `starttls'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/connection.rb:92:in `accept_features'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/connection.rb:63:in `connect'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:71:in `connect'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:58:in `connect'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:56:in `each'
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:56:in `connect'
twitter_test.rb:19
04:22:19 STARTTLS:
    Failure: stopping only thread
    	note: use sleep to stop forever
04:22:19 SENDING:
    <iq type='set' id='1302' xmlns='jabber:client'><query xmlns='jabber:iq:auth'><username>*removed*</username><digest>*removed*</digest><resource>Testing</resource></query></iq>
/usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/semaphore.rb:24:in `wait': Interrupt
	from /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/semaphore.rb:24:in `wait'
	from /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/semaphore.rb:23:in `synchronize'
	from /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/semaphore.rb:23:in `wait'
	from /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:284:in `wait'
	from /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:349:in `send'
	from /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/stream.rb:379:in `send_with_id'
	from /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:184:in `auth_nonsasl'
	from /usr/lib64/ruby/gems/1.8/gems/xmpp4r-0.3.2/lib/xmpp4r/client.rb:113:in `auth'
	from twitter_test.rb:20