#265 accepted
Alexander Kucera

MailMate freeze on AddressBookSourceSync

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

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.}

Comments and changes to this ticket

  • benny

    benny July 16th, 2012 @ 07:26 AM

    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)?

  • Alexander Kucera

    Alexander Kucera July 16th, 2012 @ 07:44 AM

    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.

  • benny

    benny July 16th, 2012 @ 07:50 AM

    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?

  • benny

    benny July 16th, 2012 @ 07:51 AM

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

  • benny

    benny July 16th, 2012 @ 07:55 AM

    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.

  • Alexander Kucera

    Alexander Kucera July 16th, 2012 @ 07:57 AM

    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
    
  • benny

    benny July 16th, 2012 @ 08:06 AM

    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/
    
  • Alexander Kucera

    Alexander Kucera July 16th, 2012 @ 08:13 AM

    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.

  • Alexander Kucera

    Alexander Kucera July 16th, 2012 @ 08:14 AM

    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.

  • benny

    benny July 16th, 2012 @ 08:17 AM

    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.)

  • Alexander Kucera

    Alexander Kucera July 16th, 2012 @ 08:29 AM

    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)

  • benny

    benny July 16th, 2012 @ 08:35 AM

    • 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.

  • Alexander Kucera

    Alexander Kucera July 16th, 2012 @ 08:56 AM

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

  • Alexander Kucera

    Alexander Kucera July 16th, 2012 @ 08:51 PM

    Sent you a process sample via e-mail.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages