Crashes during and after large inter-server move
-
benny
Sorry about the trouble! Which revision of MailMate are you running? Was it the same revision which crashed? Do you use a Contact Name in the Software Update preferences pane (or the General preferences pane in older releases)?
I think it might be an issue that is solvable without rebuilding the database, but I first need to make sure I'm looking at your crash reports.
-
Steve Dorner
I use "Steve Dorner <REDACTED>" in the contact pane. I'm running Version 1.14 (5757), which was the one that crashed.
-
benny
Hmm, I don't seem to have the crash reports. The last one is from December 4th (and this is a single one). (Maybe there's an issue with my crash reporter system.)
In any case, let me know what this shows:
ls -al ~/Library/Application\ Support/MailMate/Database.noindex/Sets -
Steve Dorner
sdMini.local:01-07 7% ls -al ~/Library/Application\ Support/MailMate/Database.noindex/Sets
total 4272 drwx------ 4 sdorner admin 128 Jan 11 08:02 . drwx------ 5 sdorner admin 160 Jan 11 08:02 .. -rw------- 1 sdorner admin 540396 Jan 11 08:02 Msgs.ids -rw------- 1 sdorner admin 1643240 Jan 11 08:02 Parts.idsI brought it back up this morning to see if I could get another crashlog. It ran fine with the Gmail account offline. I brought that online. The activity viewer was I think showing it continuing with the large server move. It stayed up for 2-3 minutes, and then crashed. I tried to paste the crashlog in here, but it's evidently too big.
I relaunched it, got a notification that my crash information had been sent to you, and then it crashed within 30 seconds. I will send you both crashlogs via the feedback address.
My machines are both experiencing occasional (1 per week or so) kernel panics, but this feels like a specific problem in MailMate; or perhaps this is MailMate exercising the Bad Thing that is lurking in my system.
-
Steve Dorner
I really needed MailMate back on my mini. I deleted the account and re-added it. It said something about 9K local messages would be lost; that was the remainder of the inter-server move, and I let it "delete" them.
HOWEVER, it is currently uploading lots of messages, so I'm not convinced that it actually tossed all those local messages. It will be interesting to see if it crashes when this completes.
-
benny
- State changed from new to cantreproduce
As our email correspondence likely indicated I was kind of out of ideas, but I'll review it again to see if I missed something.
I hope you did not lose anything or now have a new issue with lots of duplicates. In the latter case, “Edit ▸ Select Duplicates” might be helpful.
-
Steve Dorner
Thanks; I was unaware of Select Duplicates, that's awesome!
After removing and re-adding the Google account, still crashing.
I rebuilt the database from the local data. Still crashing.
I rebuilt the database from the server. Still crashing.
I'm contemplating some more drastic surgery; removing the account, quitting MailMate, then opening its files and mucking about in its brain; maybe removing ~/Library/MailMate/Messages.noindex/ ?
-
Steve Dorner
Oops, markup ate "name-of-gmail-account" in angle brackets from my pathname above.
-
benny
Quick idea: You can try renaming the
~/Library/Application Support/MailMatefolder to temporarily start over with a clean MailMate. Then add the Gmail account to see if it crashes in this “clean” state. You can rename back if needed.(Given that I've not seen this issue before I'm pretty sure it's a bug in r5757. It's likely that the public release wouldn't crash, but that doesn't help fix the bug.)
Cutting edge release might not fix the main issue, but it does fix an issue with rebuilding database from cache: https://updates.mailmate-app.com/x86_64/archives/MailMate_r5761.tbz
(Note that the cutting edge release does not currently support updating itself due to missing setup on the server.)
-
Steve Dorner
I have tried going back to the public release, and it still crashed--but that was before all the rebuilding. MailMate (same version) continues to run fine on my Air with the same accounts. There's something I really really need in this latest release; I forget now what it is.
-
Steve Dorner
Well, after a long time downloading a LOT of messages, it comes up and stays up on a fresh directory. I'm going to try removing just the one account's directory from the other folder, and see how that goes.
-
Steve Dorner
Not well.
-
benny
You might already have seen this, but that is not possible. In fact, I'm not sure what would happen. It's all or nothing I'm afraid.
The best you can do is to delete everything but the main
*.plistfiles. That way you keep the settings and all of the accounts “just” need to re-fetch all emails :-|At least I now know that the problem is somehow related to the state of the database...
-
benny
I see you figured it out before I committed the reply :)
(The database has a “monolithic” design. I don't think I realized that the average MailMate user would have a lot of accounts and that it would be quite important to make single account deletion/creation/rebuilding efficient.)
-
Steve Dorner
Well...
I did that and it still crashed. Just copied over the plist files from the folder and let it go.
So next thing I'm going to do is copy of the plist files from my Air, where things are stable, and see how THAT goes.
-
benny
Argh, sorry to hear that. The Air is also using r5757?
Another approach would be to see if the issue is somehow related to a specific mailbox within the Gmail account. You can take a subset of IMAP mailboxes offline after adding an account, e.g., only synchronizing the INBOX at first. Then take the mailboxes online in smaller batches (depending on how many you have).
(I really should try to make a debug release providing more output around the crash point, but I have some other issues I have to attend to first.)
-
benny
Also, is the Air running the same macOS version?
-
Steve Dorner
Yes, the Air and the Mini are both the same OS & MailMate. The plist files from the Air seem to work fine on the Mini, so problem "solved." I did keep copies of everything if you want to try something in future.
-
benny
Thanks! Have you kept an entire MailMate folder which reproduces the issue?
Could you compare the
Sources.plistfile to see what kind of differences exist between the two setups. I'm thinking maybe the issue is related to the handling of[Gmail]/All Mail(which is a nightmare, but it should of course not crash). -
Steve Dorner
Yes, I have the full folder. Also, I did change some tags before all this happened, and there was some whining from gmail about an invalid "ToDo" tag that made little sense to me.
Here's a diff of both Sources and Tags, for what they're worth:sdMini.local:~ 1% diff /Users/sdorner/Library/Application\ Support/MailMate/Sources.plist /Users/sdorner/Library/Application\ Support/MailMate-old/Sources.plist 2c2 < { MRUPort = "143"; --- > { MRUPort = "993"; 9,11c9,11 < idle_minutes = "1"; < name = "Francine"; < port = "143"; --- > idle_minutes = "3"; > name = "ACT-SO"; > port = "993"; 13,14c13,14 < serverURL = "imap://f.maxwell%40sandiegonaacp.org@sandiegonaacp.org"; < smtp = "smtp://f.maxwell%40sandiegonaacp.org@sandiegonaacp.org"; --- > serverURL = "imap://actso%40sandiegonaacp.org@sandiegonaacp.org"; > smtp = "smtp://actso%40sandiegonaacp.org@sandiegonaacp.org"; 23c23 < idle_minutes = 8; --- > idle_minutes = 5; 25c25 < port = "993"; --- > port = "143"; 31,39c31,40 < clientUnsubscribedMailboxNames = ( "[Gmail]/All Mail", "[Gmail]/Important", "[Gmail]/Starred" ); < derivedAccountHostname = ":true"; < derivedAccountUsername = ":true"; < derivedSMTPHostname = ":true"; < derivedSMTPUsername = ":true"; < idle_minutes = 6; < name = "Personal GMail"; < "oauth2" = ":true"; < requireSSL = ":true"; --- > clientUnsubscribedMailboxNames = ( "Bill", "Info", "Kill", "NAACPVIP", "Secy", "ToDo", "VIP", "[Gmail]/All Mail", "[Gmail]/Important", > "[Gmail]/Starred" > ); > derivedAccountHostname = :true; > derivedAccountUsername = :true; > derivedSMTPHostname = :true; > derivedSMTPUsername = :true; > name = "inlaetabilis@gmail.com"; > port = ""; > portSelection = "automatic"; 50c51 < idle_minutes = "2"; --- > idle_minutes = 5; 59,60c60,61 < derivedAccountHostname = ":true"; < derivedAccountUsername = ":true"; --- > derivedAccountHostname = ":false"; > derivedAccountUsername = ":false"; 63,67c64,69 < idle_minutes = 5; < name = "Mac.com"; < requireSSL = ":true"; < serverURL = "imap://sdorner%40mac.com@imap.mail.me.com"; < smtp = "smtp://sdorner%40mac.com@smtp.mail.me.com"; --- > idle_minutes = "15"; > name = "iCloud"; > port = ""; > portSelection = "automatic"; > serverURL = "imap://sdorner@p57-imap.mail.me.com"; > smtp = "smtp://sdorner@p57-smtp.mail.me.com"; 69,70c71,74 < { MRUPort = "143"; < clientUnsubscribedMailboxNames = ( "INBOX/Archive", "INBOX", "INBOX/Junk", "INBOX/spam" ); --- > { MRUPort = "993"; > clientUnsubscribedMailboxNames = ( "INBOX/spam", "INBOX/Archive", "INBOX/Sent Messages", "INBOX/Junk", "INBOX/Drafts", > "INBOX/Trash" > ); 76c80 < idle_minutes = 14; --- > idle_minutes = "8"; 78c82 < port = "993"; --- > port = "143"; sdMini.local:~ 2% diff /Users/sdorner/Library/Application\ Support/MailMate/Tags.plist /Users/sdorner/Library/Application\ Support/MailMate-old/Tags.plist 25c25 < <string>Secy</string> --- > <string>Bill</string> 27c27 < <string>Secy</string> --- > <string>Bill</string> 29c29 < <string>
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.