After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641334 - Retrieved messages are added twice to the chat in msn
Retrieved messages are added twice to the chat in msn
Status: RESOLVED NOTGNOME
Product: empathy
Classification: Core
Component: Chat
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-03 11:42 UTC by Axel Lewenhaupt
Modified: 2011-03-19 18:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log of telepathy-butterfly (97.78 KB, text/x-log)
2011-02-07 17:29 UTC, randompspam
Details
mission-control debug log (82.19 KB, text/x-log)
2011-02-07 17:49 UTC, randompspam
Details
Log of telepathy-butterfly (139.88 KB, text/x-log)
2011-03-03 22:24 UTC, randompspam
Details
Mission-control debug log (77.46 KB, text/x-log)
2011-03-03 22:25 UTC, randompspam
Details
empathy debug log (121.48 KB, text/x-log)
2011-03-03 22:26 UTC, randompspam
Details
Conversation log (679 bytes, text/plain)
2011-03-03 22:27 UTC, randompspam
Details
telepathy-butterfly log (139.88 KB, text/x-log)
2011-03-10 23:02 UTC, randompspam
Details
telepathy-butterfly log (174.42 KB, text/x-log)
2011-03-10 23:04 UTC, randompspam
Details
Conversation log (2.53 KB, text/plain)
2011-03-10 23:05 UTC, randompspam
Details
empathy debug log (97.85 KB, text/x-log)
2011-03-10 23:05 UTC, randompspam
Details
Mission-control debug log (79.96 KB, text/x-log)
2011-03-10 23:06 UTC, randompspam
Details
Output from dbus-monitor part 1 (942.89 KB, text/plain)
2011-03-12 17:27 UTC, randompspam
Details
Output from dbus-monitor part 2 (869.72 KB, text/plain)
2011-03-12 17:29 UTC, randompspam
Details

Description Axel Lewenhaupt 2011-02-03 11:42:56 UTC
Every now and then messages are added twice and when it happens all messages retrieved are added twice in that chat. It can look like this:
Me: Hello!
Other: Hi!
       HI!
Me: How are you?
Other: fine
       fine
       and you?
       and you?
...
I'm using Ubuntu 10.10. I'm sad to say that I don't have the slightest idea of how to reproduce this bug.
Comment 1 Guillaume Desmottes 2011-02-03 14:06:14 UTC
Does it happen only with MSN? If yes, that's probably a telepathy-butterfly bug that should be reported on bugs.freedesktop.org.

Anyway, when it happends, could you please grab logs from the help - debug menu and attach the Empathy and Butterfly ones?
Comment 2 randompspam 2011-02-07 17:29:20 UTC
Created attachment 180320 [details]
Log of telepathy-butterfly

This is the log from telepathy-butterfly from one instance when the bug occurred. From what I can tell it started at 06/02/11 20:14:20 in the log but I can't be sure. The only thing I've changed in the file is the names of people.
Comment 3 randompspam 2011-02-07 17:49:24 UTC
Created attachment 180321 [details]
mission-control debug log

This is the log from the mission-control process which was recorded at the same time as the log I've uploaded from telepathy-butterfly.

I get the impression that this bug occurs when I open new chat windows or when people sign in although it is very intermittent. In addition I've only seen it mentioned on the internet in relation to msn accounts.
Comment 4 Guillaume Desmottes 2011-02-08 08:51:05 UTC
mission-control logs are not so useful, but the Empathy one is. Also, could you please tell us which messages have been displayed twice?
Comment 5 randompspam 2011-02-08 18:00:18 UTC
I'm not sure how to get the Empathy debug log. In the debug window the only logs I can see are for 'mission-control', butterfly, 'Empathy.FileTransfer', 'Logger' and 'Vino'.

The messages that were displayed twice were all those from 'contact1' from 06/02/11 20:14:30 onwards. I would attach logs of the conversation from the logger but it doesn't seem to have saved them. Anyway, here's the section of the butterfly debug log where it first appears:

"butterfly/textchannel-INFO: 06/02/11 20:14:30.691133: User <ButterflyContactHandle id=15 name='contact1@hotmail.co.uk'> is typing
butterfly/textchannel-INFO: 06/02/11 20:14:30.691560: User <ButterflyContactHandle id=15 name='contact1@hotmail.co.uk'> is typing
papyon/papyon.transport-DEBUG: 06/02/11 20:14:31.113099: <<< MSG contact1@hotmail.co.uk contact1 175
	X-MMS-IM-Format: 'FN=Cambria; EF=B; CO=d06abc; CS=0; PF=12'\r\n
	Content-Type: 'text/plain; charset=UTF-8'\r\n
	MIME-Version: '1.0'\r\n
	\r\n
	wooah, you had an actual dream!
butterfly/textchannel-INFO: 06/02/11 20:14:31.113974: User <ButterflyContactHandle id=15 name='contact1@hotmail.co.uk'> sent a message
butterfly/textchannel-INFO: 06/02/11 20:14:31.114682: User <ButterflyContactHandle id=15 name='contact1@hotmail.co.uk'> sent a message"

So the duplicate messages don't seem to be to do with papyon which only shows the message once but the repeated 'butterfly/textchannel' sections which presumably are communicated to empathy and cause the message to be repeated. In addition the conversation I was having with 'contact2' wasn't affected.
Comment 6 Guillaume Desmottes 2011-02-09 11:22:16 UTC
Empathy.FileTransfer is the one containing the empathy logs (yeah it's a bit miss named).
Comment 7 randompspam 2011-03-03 22:24:53 UTC
Created attachment 182408 [details]
Log of telepathy-butterfly

I don't think this contains logs from the relevant time, even though I saved it after the bug occurred and it contains logs from before...
Comment 8 randompspam 2011-03-03 22:25:46 UTC
Created attachment 182409 [details]
Mission-control debug log
Comment 9 randompspam 2011-03-03 22:26:28 UTC
Created attachment 182410 [details]
empathy debug log
Comment 10 randompspam 2011-03-03 22:27:51 UTC
Created attachment 182411 [details]
Conversation log
Comment 11 randompspam 2011-03-03 22:48:26 UTC
Sorry for the delay, I haven't had much of a chance to save any logs of the bug occurring until recently - it's very intermittent. The conversation log is a copy of the messages from the empathy window and contains the times the messages were sent, and were the only ones which the bug affected.
Comment 12 Guillaume Desmottes 2011-03-04 09:49:29 UTC
Hum the butterfly log doesn't match the other one. I don't see any of the messages exchanged in it.
Comment 13 randompspam 2011-03-04 16:35:20 UTC
Yeah, although it was saved at the same time as the other logs and something was logged right at the end of the file after the previous messages had been sent. Presumably this is due to a separate bug, since in the butterfly log I uploaded before, the messages were logged. I'll save and upload the logs when the message duplication happens again and hopefully it'll work properly then, although I've had this problem a couple of times now.
Comment 14 randompspam 2011-03-10 23:02:56 UTC
Created attachment 183099 [details]
telepathy-butterfly log
Comment 15 randompspam 2011-03-10 23:04:57 UTC
Created attachment 183100 [details]
telepathy-butterfly log
Comment 16 randompspam 2011-03-10 23:05:20 UTC
Created attachment 183101 [details]
Conversation log
Comment 17 randompspam 2011-03-10 23:05:48 UTC
Created attachment 183102 [details]
empathy debug log
Comment 18 randompspam 2011-03-10 23:06:11 UTC
Created attachment 183103 [details]
Mission-control debug log
Comment 19 randompspam 2011-03-10 23:12:13 UTC
OK, hopefully this new set of logs will be suitable. I've uploaded a new set of logs with most the telepathy-butterfly stuff present. It seems it wasn't recording any of the conversation I had with the contact until I opened the debug window, although it has recorded things from before that. Anyway, there is still a large section of the conversation present after it started recording properly.
Comment 20 Guillaume Desmottes 2011-03-11 14:21:30 UTC
Humm I still don't find anything helping in the logs :(

Next time the bug happen, can you please start "dbus-monitor", receive a (duplicate) message  and attach the output please?
Comment 21 randompspam 2011-03-12 17:27:43 UTC
Created attachment 183223 [details]
Output from dbus-monitor part 1
Comment 22 randompspam 2011-03-12 17:29:17 UTC
Created attachment 183224 [details]
Output from dbus-monitor part 2

Here's the dbus-monitor output. The original file was too big apparently so I've split it into two sections. I've also saved the other logs but again the telepathy-butterfly one isn't complete. I can upload them if necessary though.
Comment 23 Guillaume Desmottes 2011-03-14 09:26:47 UTC
Ok, so it seems that the messages are duplicated by Butterfly. Can you please open telepathy-butterfly bug on bugs.freedesktop.org, attach the D-Bus logs and link this bug?