Adium

Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#6217 closed defect

AIM contacts mysteriously disappeared

Reported by: jsquyres Owned by: nobody
Milestone: Component: Service/AIM
Version: 1.1.2 Severity: normal
Keywords: contact disappeared missing buddies gone Cc:
Patch Status:

Description

Greetings Adiumx developers, and congrats on 1.0 -- it rocks!

Short version

I'm having a problem that mysteriously started first thing yesterday morning (Friday, 2 Feb 2007) -- before upgrading to v1.0. I've been using adium for AIM and sametime for [literally] years and this just started yesterday morning. When I opened my MacBook Pro from sleeping overnight, Adium signed in as normal to both Sametime and AIM, but none of my AIM contacts show up (and none of them can see me). iChat with my same AIM account works just fine, so I don't think my AIM account is hosed.

After upgrading to v1.0, the issue is exactly the same, unfortunately.

Longer version / detailed

From ReportingBugs:

Summary

Adium reports that I am logged into AIM, but my contact list does not show up (even if I show my offline contacts) and none of my contacts can see me online. iChat with the same AIM account works fine. Indeed, if I fire up iChat and login while Adium is logged in to AIM, Adium is knocked off AIM (and vice versa). So they are definitely using the same AIM account.

Steps to reproduce:

  1. Start Adium
  2. Login to AIM
  3. No contacts show up, no AIM contacts can see me online

This happens every time I start adium, so it's extremely reproducible.

Versions:

  • Adium: yesterday it was the most recent before 1.0 (I'm sorry, I don't remember the exact version number). Today it is 1.0. The issue is exactly the same in both. I am not using SVN versions.
  • OS X: 10.4.8

Console.app output:

Doesn't look like there's anything odd here -- this output is from opening Console, launching Adium, and logging into AIM:

2007-02-03 07:37:53.208 GrowlHelperApp[474] 2007-02-03 07:37:53 -0500 Adium registered
2007-02-03 07:37:53.218 GrowlHelperApp[474] 2007-02-03 07:37:53 -0500 Growl: Application re-registered (Adium registered) - Priority 0
2007-02-03 07:37:58.501 GrowlHelperApp[474] 2007-02-03 07:37:58 -0500 Adium: Jeff Squyres (connected) - Priority 0

Language:

US English.

Other things I've tried:

Per TroubleshootingTips:

  1. I tried renaming my preferences (both $HOME/Library/Application Support/Adium 2.0 and $HOME/Library/Preferences/com.adiumX.adiumX.plist) and launching Adium afresh. I go through the startup to give Adium my AIM username and password, and the same thing happened (no contacts show, no one can see me online). Since this did nothing, I put my preferences back.
  2. I rebooted my MBP and logged in again and started Adium; same problem.
  3. I logged out of OS X and logged in as a new user and launched Adium, put in my AIM username and password, and the same problem occurred.
  4. Mac-arena on #adium asked me to show my offline contacts when this problem occurs. I did, but nothing shows up -- it's like Adium does not see my contact list at all.

From these points, I (who know nothing about how IM works) kinda assume that the problem is with how Adium is loading my AIM account. I'm not entirely sure why this just started happening out of the blue -- I didn't change anything w.r.t. my AIM account between when I closed it Thursday night and opened it Friday morning.

Other random facts:

My AIM privacy settings are set that only those on my buddy list can see me. iChat continues to work just fine (can see my entire contact list, other contacts can see/message me, etc.). Mac-arena on #adium mentioned that this problem sounds familiar, but you've never been able to track it down.

Please let me know what I can do to help -- I'm a POSIX programmer (although I've done no Mac/GUI programming), so if there's anything I can do anything to help, don't hesitate to ask.

That's all I can think of...

Attachments (6)

adium-wrong-contact-counts.png (96.4 KB) - added by jsquyres 7 years ago.
Adium showing wrong contact counts (only Samtime online; AOL and Jabber are offline -- contact names obscured for privacy)
adium-aol-offline.png (112.0 KB) - added by jsquyres 7 years ago.
Adium showing the right contact counts, but incorrectly showing all AOL contacts as offline (verified that several of those AOL contacts are online via iChat -- contact names obscured for privacy)
adium.log.anonymous.gz (12.9 KB) - added by jsquyres 7 years ago.
Anonymized debug log showing AIM contacts disappearing, reappearing
anonymize-adium-debug-log.pl (8.4 KB) - added by jsquyres 7 years ago.
anonymize-adium-blist-xml.pl (3.1 KB) - added by jsquyres 7 years ago.
adium-logs.tgz (6.4 KB) - added by jsquyres 7 years ago.

Download all attachments as: .zip

Change History (41)

comment:1 Changed 7 years ago by jsquyres

Blast! Somehow my AIM contact list just reappeared in Adium (I know, that's a good thing, but now I can't help you figure out what the problem is...).

I was using iChat yesterday and today since Adium wasn't working for me. I tried Adium several times throughout yesterday, but still always got the same problem. Ditto this morning -- I flipped back and forth between iChat and Adium several times and had consistent results (iChat worked, Adium didn't).

After filing the ticket, I was poking around in iChat to see if there was a way to export my buddy list (Just In Case(tm)). I did the following:

  1. Launch iChat, login to AIM
  2. Show offline contacts
  3. Open all groups
  4. Notice that my privacy settings were not "only those on my buddy list can see me online" as I reported in the initial ticket (doh!), so I changed them to be so
  5. Quit iChat
  6. Launch Adium

Suddenly my AIM contact list is back in Adium. [shrug]

So I guess this ticket can be closed; sorry I wasn't much more help -- perhaps the above steps can shed some illumination...?

comment:2 Changed 7 years ago by boredzo

I say we leave this ticket open, since there are other people having this problem (I can think of one offhand who emailed feedback).

comment:3 Changed 7 years ago by jsquyres

FWIW, this problem mysteriously happened again this morning. I was using Adium v1.0.1 just fine last night; I closed the lid and put the laptop to sleep when I left work. When I opened my MBP up this morning and resumed from sleep, AOL shows that it's online but I can't see any of my contacts (I can see online contacts in other services, so I know Adium is generally working). If I pull up iChat and login to AOL, I get an Adium message that AOL bumped me because I'm now logged into multiple places and then I can see all my AOL contacts in iChat.

So Adium seems to be talking to AOL properly, but somehow just not showing the contacts.

Is there anything you want me to try now that this is happening again?

comment:4 Changed 7 years ago by jsquyres

I tried again this morning and the issue is still happening. However, as we saw last time, this issue may mysteriously disappear at any time. So let me know if there's anything I can do to help track this down... (iChat is getting kinda old; I'd really prefer to return to my Adiummy! :-) )

comment:5 Changed 7 years ago by jsquyres

Doh -- problem now disappeared. :-(

However, the solution was similar to last time (albiet accidental this time...). I viewed my AOL privacy settings, changed them, and then restarted Adium. Boom -- all my AOL contacts now show up in Adium.

[shrug]

comment:6 Changed 7 years ago by jsquyres

  • Patch Status set to None
  • Version changed from 1.0 to 1.0.2

It happened again this morning -- same symptoms that I have already described above. It initially happened in 1.0.1; I upgraded to 1.0.2 and the same problem is occurring.

I notice one additional fact that may be helpful: I had Adium sign off of AOL but still stay online in Samtime. I notice that the contact counts in my Adium window are wrong -- I'll attach a screenshot to show what I mean (contact names obscured). I have 2 contact groups that include Samtime, AOL, and Jabber contacts. I am only online via Samtime; AOL and Jabber are offline. However, I see the following:

  • OSL group shows "(0 of 3)", but there are only 2 contacts shown.
  • Open MPI group shows "(1 of 8)", but there are only 3 contacts shown.

If I take AOL back online, although I don't see any of my AOL contacts online, the group counts change as follows:

  • OSL group shows "(0 of 4)", and all 4 of my contacts are shown (including the AOL contacts, but they are shown as offline)
  • Open MPI group shows "(1 of 26)", and all 26 of my contacts are showing (including the AOL contacts, but they are shown as offline).

NOTE: This is different behavior than I previously reported! Before, my AOL contacts would not show up at all -- now they show up as offline. Note that I checked with iChat -- despite the fact that Adium is showing all my AOL contacts offline, there are actually 10 online in my Open MPI group and 1 online in the OSL group.

The same solution as before fixed the problem; I went into iChat, changed my privacy settings to "allow anoyone" and then back to "only allow people on my buddy list", closed iChat, re-opened Adium, and then all my AOL contacts are there (and listed online as they should be).

Changed 7 years ago by jsquyres

Adium showing wrong contact counts (only Samtime online; AOL and Jabber are offline -- contact names obscured for privacy)

Changed 7 years ago by jsquyres

Adium showing the right contact counts, but incorrectly showing all AOL contacts as offline (verified that several of those AOL contacts are online via iChat -- contact names obscured for privacy)

comment:7 Changed 7 years ago by kfconme

I believe I have a similar problem. 1.0.2... Nothing with my contact numbers or list not appearing, but I'll have two contacts on my list that are always dissapearing. When I go to "show offline contacts" they are no longer on my list... I have to re-add them to my contact list and simply wait a couple days for it to happen again.

comment:8 Changed 7 years ago by jas8522

  • Milestone set to Known problems which need steps to reproduce

Hopefully this will be solved without the steps, but I'm going to set it to that for now...

comment:9 Changed 7 years ago by jsquyres

FWIW, it happened again this morning: I had adium open for a long time, manually marked as "offline". I then moved to one of my "available" status messages and all 3 of my services logged in (Jabber, AIM, Samtime). AIM confirms that it's online, but no contacts are showing.

comment:10 Changed 7 years ago by jsquyres

One more item for today -- I have noticed that changing the AOL privacy settings in Adium has exactly the same effect as changing the privacy settings in iChat (i.e., fixing the problem). No need to go through iChat.

Specifically, if I'm in the "bad" state (AOL is online but no contacts showing), I go into File->Privacy settings, chang the settings for my AOL account to "allow anyone...". Then I take my AOL account offline in Adium and then take it back online, and all my contacts show up. Same effect as closing Adium, opening iChat, changing privacy settings in iChat, closing iChat, and then re-opening Adium.

I'm assuming that this is somewhat irrelevant -- that changing the privacy settings from any client would cause Adium to refresh some [assumedly corrupted] internal/cached AIM data. But I thought I'd send along this tidbit anyway...

comment:11 Changed 7 years ago by jsquyres

FWIW, this has now happened about 3-4 more times since my last post 5 days ago (including just a few minutes ago).

Is there any additional data that I can gather for you guys when this happens? I'm a programmer, so if you'd like me to install a copy of Adum with debugging symbols, perhaps I could attach with gdb or something and poke around to see if there's any corrupted data or somesuch...?

comment:12 follow-up: Changed 7 years ago by jas8522

  • Keywords contact disappeared added
  • Milestone changed from Known problems which need steps to reproduce to Needs feedback from users

jsquyres, the beta version enables debugging which you can view from the Adium menu -> debug window and enable logging if you wish.

Hopefully when this happens you may be able to see something about a corrupt list or contact or something similar... you can attach the log and/or console output here.

comment:13 in reply to: ↑ 12 Changed 7 years ago by jsquyres

Replying to jas8522:

jsquyres, the beta version enables debugging which you can view from the Adium menu -> debug window and enable logging if you wish.

Hopefully when this happens you may be able to see something about a corrupt list or contact or something similar... you can attach the log and/or console output here.

Awesome; will do.

FWIW, the console output didn't show anything interesting (see my original report). Does it show more in debug mode?

comment:14 follow-up: Changed 7 years ago by jas8522

Ahh yeah, I missed that - debug log usually shows alot more, but I'm not sure how detailed the debug info is for fire imports... guess we'll find out! :)

comment:15 in reply to: ↑ 14 Changed 7 years ago by jsquyres

Replying to jas8522:

Ahh yeah, I missed that - debug log usually shows alot more, but I'm not sure how detailed the debug info is for fire imports... guess we'll find out! :)

Er... Fire imports? I'm not a Fire user...

(I'm assuming that this is simply a symptom of "reading too many trac ticket e-mails in one day"-itis ;-) )

comment:16 Changed 7 years ago by jas8522

Whoah, is it ever... lol I meant reading/merging/importing of the contact list, hahaha.

comment:17 Changed 7 years ago by jsquyres

Bingo -- we have a winner. I have a full and complete debug log (from $HOME/Library/Logs/Adium/<today>.log) that shows:

  1. Launch Adium; AIM shows logged in, but contacts are not displayed
  2. Change my privacy settings to "allow anyone"
  3. Go offline on AIM
  4. Change my status to a custom "available" setting (oops -- I thought that would re-log me in to AIM)
  5. Change my AIM status to a custom "available" setting; it logs me back in
  6. All my AIM contacts now show up

However, I notice that the debug log shows *everything* about all my contacts, etc. I'm happy to share this with the developers as long as it is not posted to any public web site (i.e., I'm reluctant to post it on the ticket here).

Would someone mind contacting me via e-mail, point me to something that verifies that you're one of the Adium developers, and I'll be happy to e-mail you the debug log? Or perhaps just give me some advice on how to anonymize the log, and then I'll be happy to post it here...?

Thanks!

comment:18 follow-up: Changed 7 years ago by evands

Thanks, jsquyres. That's totally reasonable. You can send it to us at feedback@… (address mentioned on ContactUs), a private developers-only mailing list, or you can email it to me directly and I'll forwad it to that list. Please be sure to reference this ticket number (#6217).

What is your privacy setting *before* switching it to "allow anyone"?

Changed 7 years ago by jsquyres

Anonymized debug log showing AIM contacts disappearing, reappearing

comment:19 Changed 7 years ago by jsquyres

While I was sitting in an airport yesterday waiting for a flight, I hacked up a perl script to anonymize the Adium log. I'm sure it's not complete (it only supports Jabber, AIM, and Sametime -- the protocols I'm using -- and it only anonymizes the strings that appeared in my log, so I'm sure it's not complete).

If anyone cares, I uploaded the script to this ticket -- feel free to use/expand it if it's useful to the Adium project.

I also uploaded an anonymous version of the log showing my Adium contacts that disappeared and then re-appeared.

comment:20 in reply to: ↑ 18 Changed 7 years ago by jsquyres

Replying to evands:

Thanks, jsquyres. That's totally reasonable. You can send it to us at feedback@… (address mentioned on ContactUs), a private developers-only mailing list, or you can email it to me directly and I'll forwad it to that list. Please be sure to reference this ticket number (#6217).

Sorry -- I had a problem with my e-mail and I didn't see this reply until after I had uploaded an anonymized version of my log.

Do you still want me to send the full log to you, or is the anonymized one sufficient?

What is your privacy setting *before* switching it to "allow anyone"?

Only allow contacts on my buddy list.

comment:21 Changed 7 years ago by jas8522

  • Milestone changed from Needs feedback from users to Needs Feedback - Received

comment:22 Changed 7 years ago by jas8522

  • Milestone changed from Needs Feedback - Received to Needs feedback from users
  • pending set to 1

jsquyres,

It's been a while... with any luck this has already been solved. Have you had any trouble like this with the 1.1.x series? The latest AdiumBeta?

comment:23 Changed 7 years ago by jsquyres

  • pending changed from 1 to 0

This problem has unfortunately not disappeared; it happened as recently as a week or two ago (v1.1.1 or 1.1.2 -- I honestly don't remember which).

Ah ha -- I just launched Adium to check the version that I have installed and the problem happened right now with version 1.1.2. So unfortunately, this problem still exists. :-\

Is the beta sufficiently different than v1.1.2? Do you want me to use this on a daily basis? The problem is fairly random when it occurs -- I don't have any controls over when it happens.

comment:24 Changed 7 years ago by jas8522

  • Milestone changed from Needs feedback from users to Needs dev review
  • Version changed from 1.0.2 to 1.1.2

comment:25 Changed 7 years ago by jsquyres

Just for a periodic checkin...

The problem is still occurring in Leopard / Adium v1.1.3 (i.e., it happened to me this morning, as well as last week, when I was still using Tiger).

comment:26 follow-up: Changed 7 years ago by jas8522

  • Milestone changed from Needs dev review to Needs feedback from users

jsquyres: next time this happens, take a look in the blist.xml file found in ~/Library/Application Support/Adium 2.0/Users/Default/libpurple. See if the contacts appear there (while Adium is running and not showing the buddies).

That debug log shows Sametime and Jabber accounts as well - do the contacts appear from those? It would be good if you could get us a debug log of only the AIM connection. Hold down shift on startup and then tell Adium to connect to AIM and post that debug log so we don't see the sametime and jabber connections.

It seems like this might be a corrupt server side contact list or a particular buddy causing a problem with Adium. That way if the buddy is offline or online when you sign in, it might work fine.... I'm just taking guesses here though.

The debug log shows many groups (I assume you have quite a few?) It might be having a tough time synchronizing all of them with the local groups.

Another thing to try: if you have access to a Windows install or Linux, try the latest release of Pidgin and see if the same thing occurs.

comment:27 Changed 7 years ago by jas8522

Oh, I suggest using the 1.2 AdiumBeta to get the debug log.

comment:28 in reply to: ↑ 26 Changed 7 years ago by jsquyres

Replying to jas8522:

jsquyres: next time this happens, take a look in the blist.xml file found in ~/Library/Application Support/Adium 2.0/Users/Default/libpurple. See if the contacts appear there (while Adium is running and not showing the buddies).

Greetings, and thanks for the reply.

I got the latest Adium Beta (1.2b7 as of this writing) before testing any of this stuff in order to give you the best info. Let me know if there's anything else I can do.

Before running any of these tests, I launched ichat and verified that a whole bunch of my AOL contacts were indeed online.

I then launched Adium 1.2b7 with the shift key down and then manually set myself as "active" in the AOL account only. I can see that in .../libpurple, there is a blist.xml that contains information of all of my AOL contacts. I have anonymized the blist.xml file and attached it so that you can see it.

Note that I have stopped using Jabber, so it only has AOL and Sametime/meanwhile contacts.

That debug log shows Sametime and Jabber accounts as well - do the contacts appear from those?

Yes, the Sametime/meanwhile contacts always show up. It's only the AOL contacts that sometimes do not appear.

It would be good if you could get us a debug log of only the AIM connection. Hold down shift on startup and then tell Adium to connect to AIM and post that debug log so we don't see the sametime and jabber connections.

I'll attach that (anonymized) debug log. I let it run for about 30 mins just to see if anything enlightening appeared over time.

I updated my debug log anonymizer script and created a trivial blist.xml anonymizer; I'll attach all of these in case they're helpful to anyone else.

It seems like this might be a corrupt server side contact list or a particular buddy causing a problem with Adium. That way if the buddy is offline or online when you sign in, it might work fine.... I'm just taking guesses here though.

I tend to think not -- again, this is just guessing, but note that earlier in the ticket I specify that the way to "fix" this problem when it occurs is to go change my privacy settings and relaunch Adium. Then all my AOL contacts show up. If you do this within the span of a few seconds (which is what I usually do when this happens -- i.e., launch Adium, don't see any of my AOL contacts, change my privacy settings, re-launch Adium -- all within 10-30 seconds or so), then the set of AOL contacts that are online are the same between the two launches of Adium.

But who knows. :-)

The debug log shows many groups (I assume you have quite a few?) It might be having a tough time synchronizing all of them with the local groups.

Yes, I have several groups. FWIW, this problem only occurs a few times a month.

Another thing to try: if you have access to a Windows install or Linux, try the latest release of Pidgin and see if the same thing occurs.

Ah ha! Excellent suggestion, and perhaps this is good news for the Adium developers and bad news for the Pidgin developers -- I got the same results in Pidgin 2.3.1/Windows. Specifically:

  1. Launch ichat and verify that a whole bunch of my AOL contacts are online. Quit ichat.
  2. Launch Adium and see that my Sametime contacts show, but my AOL contacts do not. Quit adium.
  3. Launch Pidgin 2.3.1/Windows and see that my AOL contacts do not show. Quit Pidgin.
  4. Repeat all of the above just to be sure. Same results.
  5. Launch Adium, change my AOL privacy settings. Quit Adium.
  6. Launch Adium, see that all my AOL contacts now show up. Quit Adium.
  7. Launch Pidgin 2.3.1/Windows and see that all my AOL contacts now show up.

So perhaps this is a libpurple problem...?

More specifically -- here's one more tidbit (I'm not sure that this has been mentioned before): in Pidgin, the buddies are there, but they are marked as offline. Specifically, if I enable showing of offline contacts, they all show up but are marked as offline.

Changed 7 years ago by jsquyres

Changed 7 years ago by jsquyres

Changed 7 years ago by jsquyres

comment:29 Changed 7 years ago by jas8522

  • Milestone changed from Needs feedback from users to Waiting on libpurple

jsquyres, it definitely seems Libpurple related - something to do with the privacy settings syncing with the AIM server perhaps. Since you can describe what is wrong and the steps you've taken to troubleshoot it best, I suggest creating a ticket in the Pidgin trac and link it to this one so that the Pidgin devs can read all the details, debug logging, etc.

The only existing ticket I could find over there was for contacts that had actually set themselves to appear offline, in which case it would be the same in iChat and all other AIM clients, so seemingly not this particular problem.

comment:30 Changed 7 years ago by jsquyres

Pidgin / libpurple ticket filed: http://developer.pidgin.im/ticket/4518

comment:31 Changed 7 years ago by jas8522

  • Keywords missing buddies gone added

Just adding a few keywords to make it easier to find ;)

comment:32 Changed 7 years ago by eadg145

I just found this ticket while doing a search for a problem I am experiencing. I have a similar occurrence on my machine (Mac OS 10.4.11). My problem is similar also to ticket #8710, which also references this ticket.

After upgrading to Adium 1.0, I found that a particular user disappeared from my active contacts list. I did not enter a ticket at that time. I am not certain how that user connects; it may be an AOL IM account. The user does use iChat as his client. Several Adium upgrades later, my contact magically reappeared, and now we can chat again. All appeared to be well for awhile.

Now I find (in the last two versions) that a DIFFERENT user has disappeared. She also uses iChat as her client, but the account is definitely a .mac account. We have each deleted each other in our contact lists, and re-added our information. However, neither of us sees the other one online. If I switch to iChat, we see each other.

So all this adds to the description of the problem is that if it's the same problem, it is NOT restricted to AIM contacts, and the number of users who disappears is not always the complete set of users of a particular type. It appears completely random from my viewpoint.

And of course, this is kinda making me nuts... <g>

Afternote: I keep my Adium client up-to-date with the latest release.

comment:33 Changed 6 years ago by djmori

comment:34 Changed 5 years ago by zacw

  • Status changed from new to closed

Closing all "waiting on libpurple" tickets. There's no reason to keep them around as open, and largely go ignored anyway. File a ticket at http://developer.pidgin.im for any functionality you want to see.

comment:35 Changed 5 years ago by anonymous

  • Milestone Waiting on libpurple deleted

Milestone Waiting on libpurple deleted

Note: See TracTickets for help on using tickets.