Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

MailMate freeze on AddressBookSourceSync

#265

Hi Benny,

I have a problem related to CardDAV and AddressBookSourceSync. The server I host my CardDAV info on is down for maintenance reasons for a few days. But it appears MailMate does not like that at all. In fact, I cannot use MailMate since it immediately goes into spinning beachball mode after launch trying to sync contacts with the non-existant server. Mail.app handles it fine on the other hand, so I am not completely stranded for now. The Console output is a follows:

16.07.12 08:19:49,534 AddressBookSourceSync: [CardDAVPlugin-ERROR] -getPrincipalInfo:[_controller supportsRequestCompressionAtURL:http://alex@babylondreams.dyndns.org:8008/principals/__uids__/0BB3CF7A-0484-4A34-9095-EE8D7ADE3874/] Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo=0x7fc10a00c2c0 {NSUnderlyingError=0x10be5b5f0 "Could not connect to the server.", NSErrorFailingURLStringKey=http://alex@babylondreams.dyndns.org:8008/principals/__uids__/0BB3CF7A-0484-4A34-9095-EE8D7ADE3874/, NSErrorFailingURLKey=http://alex@babylondreams.dyndns.org:8008/principals/__uids__/0BB3CF7A-0484-4A34-9095-EE8D7ADE3874/, NSLocalizedDescription=Could not connect to the server.}

Reported by Alexander Kucera · July 16th, 2012 @ 07:21 AM

State: accepted
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    MailMate does not have any influence on how this CardDAVPlugin behaves, but maybe MailMate does not like some response from the AddressBook and this is when MailMate hangs (or maybe there is some completely different reason). Could you send me a full hang report (by email if you like)?

    July 16th, 2012 @ 07:26 AM

  2. Alexander Kucera
    Alexander Kucera

    I don't think I can actually. I cannot find a crash report. Only the Console output. I am Force Quitting MailMate. It is just waiting for input by the Sync, but locking the UI in the process. So it technically hasn't crashed or is not hanging I suppose.

    July 16th, 2012 @ 07:44 AM

  3. benny
    benny

    After force quitting you should be be able to find a hang report in the Console app. Note that they may be listed separately from the crash reports.

    When does MailMate hang? When composing a message or earlier?

    July 16th, 2012 @ 07:50 AM

  4. benny
    benny

    Also, are you running MailMate on Lion or Snow Leopard?

    July 16th, 2012 @ 07:51 AM

  5. benny
    benny

    The reason I am asking is that on 10.6 (Snow Leopard), MailMate has to use non-public API to be able to access non-local addresses in the AddressBook. Fortunately, it is possible to disable the hack as follows:

    defaults write com.freron.MailMate DisableNonLocalAddressBooks -bool YES
    

    It has no effect on 10.7.

    July 16th, 2012 @ 07:55 AM

  6. Alexander Kucera
    Alexander Kucera

    Earlier. During checking for new messages. I get the new messages (I see the inbox counter go up in the sidebar tree view), but then it hangs.

    I am running the latest build of Lion with all updates applied.

    Also, I don't quite know where to look for the hang report. All I get after Force Quitting is this in the All Messages section of the Console:

    16.07.12 08:54:37,951 com.apple.launchd.peruser.501: ([0x0-0x204204].com.freron.MailMate[63713]) Exited: Killed: 9
    

    July 16th, 2012 @ 07:57 AM

  7. benny
    benny

    Ok, maybe the AddressBook plugin is not why MailMate hangs. Try disabling your network connection and see if MailMate still hangs if your accounts are not synchronized.

    For hang reports, check the following locations on disk:

    /Library/Logs/DiagnosticReports/
    /Users/<username>/Library/Logs/DiagnosticReports/
    

    July 16th, 2012 @ 08:06 AM

  8. Alexander Kucera
    Alexander Kucera

    Disabled my WiFi connection and MailMate starts and doesn't hang.

    Also, no reports having to do with either AddressBookSync or MailMate in either location I'm afraid.

    July 16th, 2012 @ 08:13 AM

  9. Alexander Kucera
    Alexander Kucera

    Ok, just re-enabled my WiFi and MailMate was still running. It immediately went into spinning beachball mode again and I get AddressBookSync errors in the Console again.

    July 16th, 2012 @ 08:14 AM

  10. benny
    benny

    Try that again, but before enabling wifi, take the accounts in MailMate offline. If MailMate does not crash when enabling wifi then take the accounts online one-by-one.

    What revision of MailMate are you using? (See it in the About window.)

    July 16th, 2012 @ 08:17 AM

  11. Alexander Kucera
    Alexander Kucera

    One by one worked. The problem account was the servers main account, which I only use to catch all the server logs that get sent there. All other accounts from that server work fine.

    Still no logs though.

    I'm on the latest version Version 1.4.2 (2952)

    July 16th, 2012 @ 08:29 AM

  12. benny
    benny
    • State changed from new to accepted

    Ok, it may not be the account that is the problem, but the account implicitly triggers another problem when a message is downloaded.

    I should have asked you to do this earlier: Open the Activity Monitor application, locate MailMate, and hit “Sample Process”. Send me the result. It is basically the same information as a hang report would provide.

    When I have that information I'll provide you with a special debug-version of MailMate in order to locate the exact problem.

    Thanks for your patience.

    July 16th, 2012 @ 08:35 AM

  13. Alexander Kucera
    Alexander Kucera

    No worries. I'll do that tonight when I get home.

    July 16th, 2012 @ 08:56 AM

  14. Alexander Kucera
    Alexander Kucera

    Sent you a process sample via e-mail.

    July 16th, 2012 @ 08:51 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.