apparition47 / MailTrackerBlockerApp

Email tracker, read receipt and spy pixel blocking macOS Mail extension
https://apps.apple.com/us/app/mailtrackerblocker/id6450760473
24 stars 0 forks source link

[FB12794488] Mailtrackerblocker crashes mail on macOS Ventura 13.5 #1

Closed paulcorn closed 3 months ago

paulcorn commented 11 months ago

I deleted mailtrackerblocker 0.7.16, restarted my macbook pro (Intel 2020), installed the 1.01 version from Macapp store

Mail app crashes every time on opening

report included here: Translated Report.docx

apparition47 commented 11 months ago

Ahh that's disappointing to hear.

I noticed you have another mail plugin enabled. I'm wondering if there's some negative interaction there. You can remove it from: /Users/USER/Library/Application Support/Mail/Plug-ins/

paulcorn commented 11 months ago

You are right. There is an incompatibility between the plugin (sideloadlyplugin.mailbundle) and your 1.01 mail extension.

When I disable the sideloadlyplugin.mailbundle and install the 1.01 extension, mail.app works fine.

greetings

paulcorn commented 11 months ago

Sorry

And another disappointment: after opening the mail.app a few times crashes again occur (with the sideloadlyplugin.mailbundle disabled and the 1.01 extension installed). I even deleted the sideloadly plugin from my system and kept the extension installed: crashes again.

i include the report here:

apparition47 commented 11 months ago

As a quick sanity check, could I ask you to remove MailTrackerBlocker then install this sample mail extension that I compiled from Apple's MailKit developer docs? You can unzip then drag it into Applications then enable it in Mail. Trying to isolate if it's a MailKit issue or not. Let me know if it crashes or not.

paulcorn commented 11 months ago

I removed MailTrackerBlocker as You asked. Then I unzipped and installed the sample mail extension in Applications and enabled it in Mail.app. The second time and all the consecutive times I opened Mail.app, it crashed. I include the report here.

apparition47 commented 11 months ago

I've been trying to reproduce your crash on various machines to no avail.

I filed an Apple Developer Support ticket about this crash last week but they need more complete logs captured at the time of the crash, namely, the sysdiagnose and the System Information Report files. If you're able to, you can capture those two files and either email them to me or file it directly to Apple (letting me know the Feedback ID afterwards) so I can send a reply. I can completely understand if that's a bit too much work to ask of you.

And based on the result of your test, I suspect there's an issue somewhere in your MailData that is preventing your setup from working with these Mail Extensions. That sample Apple Mail extension you tried doesn't really do anything, which is even more bizarre when it crashes. Short of deleting that entire folder and redownloading all your emails again, I'm not really sure how to fix it or what is causing it (might be better on macOS Sonoma?). So at this point, with respect to your time and effort, I think it's best to ask Apple for a refund in the meanwhile.

paulcorn commented 11 months ago

Stubborn me.

I can provide You with the two files Apple asks for.

Do I delete all mail plugins and install the MailTrackerBlocker 1.01 extension or the sample mail extension?

apparition47 commented 11 months ago

Really appreciate it. Could you run it with just the sample mail extension?

apparition47 commented 11 months ago

Crashed Thread: 11 Dispatch queue: IMAPNetworkTaskHandler queue (QOS: BACKGROUND)

Another user on Sonoma beta 3 reported the same crash as you.

Crashed Thread: 7 Dispatch queue: MCTaskHandler queue (QOS: BACKGROUND)

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Mail [2744]

Application Specific Information: abort() called

Grabbed another Mac and managed to reproduce this crash that seems to happen a few seconds after launch while downloading emails from scratch. It is slightly different in that yours crashes under IMAPNetworkTaskHandler queue and yours occurs immediately on startup.

Sent this one Apple under FB12794488.

paulcorn commented 11 months ago

Thanks for the info. I hereby want to upload the two large "sysdiagnose" files (one before and one after the mail crash), but the files are too big (2 x 347 MB and only 25 MB allowed). Can I use WeTransfer where 2GB is allowed, and mail them both to notifications@github.com?

apparition47 commented 11 months ago

Got it. Thanks for the assistance. I've attached your dumps to my inquiries with Apple. Fingers crossed.

apparition47 commented 10 months ago

Just as an update for late readers of this thread, this issue appears to be on the Mail-side of things so we'll ultimately need Apple's intervention for a fix. Mail extensions should not cause the Mail app to crash.

If you're experiencing this issue, please file feedbacks directly to Apple referencing bug ticket FB12794488 so they can prioritize this issue.

apparition47 commented 3 months ago

Issue has been resolved in Sonoma 14.3.