Deadlock in XMPPConnection while login and parsing stream features

Description

The Tigase XMPP server offers in-band registration in the authenticated XML stream. This causes a deadlock in the XMPPConnection by trying to get the AccountManager while it is blocked by the login method. The bug prevent to use Smack and Spark with an Tigase server.

Details see http://www.igniterealtime.org/community/message/191633#191633

Environment

None

Attachments

1

Activity

Show:

September 24, 2010 at 5:26 AM

Actually I take this back.
I've tracked the problem and discovered that it seems tigase never sends a 'session' stream feature, only register and bind. eg:

<stream:features><register xmlns="http://jabber.org/features/iq-register"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>

If I force the client to ignore the fact it never saw this feature and assume it exists then everything works.

September 24, 2010 at 1:18 AM

This problem has returned
I just checked out the latest trunk (in order to try the new pubsub stuff)
and this problem exists again. I can login against tigase with my older version, but not with the latest trunk.

Guenther Niess August 29, 2009 at 11:53 PM

After a second review and long testing I committed the patch to r11227.

Guenther Niess June 23, 2009 at 2:20 PM

Thanks in advance for having a look at this issue.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created June 9, 2009 at 5:32 PM
Updated October 7, 2013 at 2:35 AM
Resolved August 29, 2009 at 11:53 PM