Bug 23678 - NewTubes returns empty list when re-joining
Summary: NewTubes returns empty list when re-joining
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/ca...
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-09-03 03:35 UTC by Marc Maurer
Modified: 2009-09-09 04:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Log from the original initiator side (114.61 KB, text/plain)
2009-09-03 03:38 UTC, Marc Maurer
Details
Log from the original joiner side (132.57 KB, text/plain)
2009-09-03 03:39 UTC, Marc Maurer
Details

Description Marc Maurer 2009-09-03 03:35:47 UTC
I added some code to AbiCollab to let a collaborative Write session
continue when the session initiator disconnects. However, I seem to have
a problem rejoining an activity. This is what I do:

1. Start Write
2. Share it
3. Let someone join
4. Close write (the one that initiated the share)
5. Rejoin the still running session

Now a "ListTubes"[1] call on the existing tube channel will return no
tubes in the callback. Why is that? 

It's especially weird since it WILL return a tube when you fire up
another jhbuild/XO and join that session. ListTubes just seems to turn
into a 'no-op' when you join on a machine that was already part of the
session before.
Comment 1 Marc Maurer 2009-09-03 03:38:43 UTC
Created attachment 29168 [details]
Log from the original initiator side

This is the gabble log from the initiator/rejoining side.

Before rejoining, I exitted the 'jhbuild environment' and re-started again. I did this because I did not see the shared Write in the neighborhood after closing it on the inititator's side. The attached log belongs to this 'session'.
Comment 2 Marc Maurer 2009-09-03 03:39:48 UTC
Created attachment 29169 [details]
Log from the original joiner side

This is the log from the joining party, who remained in the session while the initiator left and tried to rejoin.
Comment 3 Marc Maurer 2009-09-06 06:58:03 UTC
FYI: this does work correctly with salut, so the bug isn't an AbiCollab/Write bug.
Comment 4 Guillaume Desmottes 2009-09-09 03:14:02 UTC
Got it. Gabble wrongly assumes that muc D-Bus tubes are outgoing ones if we initiate them which is not true if you re-join a muc and one of your old tube is still there.

Working on a fix.
Comment 6 Guillaume Desmottes 2009-09-09 04:12:35 UTC
Fixed in master (future 0.9) and the stable 0.8 branch (future 0.8.3).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.