[MlMt] Bundle command causes crash when triggered by rule

Matthias Schmidt beta at admilon.net
Tue Sep 12 17:53:40 EDT 2023


Hi,

this is just a guess into the wilde:

do you check your pointers if they are valid and if the data type is valid?
Because nul pointers (etc) mostly cause a crash

cheers
Matthias

On 10 Sep 2023, at 22:42, Thomas Reintjes via mailmate wrote:

> Hi,
>
> I made [this bundle](https://github.com/tomtjes/Addy.io.mmBundle) to
> change some headers of certain emails. It works as expected when applied
> from the Commands menu. However, when I use a smart mailbox and create a
> rule to execute the command, MailMate crashes. Here’s what I see on
> the console:
>
>
> ```
> Updated headers: from original-from original-reply-to original-to
> reply-to to
> Pointers (0x0,0x0,0x0):
> Decoded size: 0
> Number of subparts: 0
> Fatal: Not decoded and no pointers available.
> 0x0,0x0,0x0
> [1]    59072 abort
> /Applications/MailMate.app/Contents/MacOS/MailMate
> ```
>
> Is this a bug? Is it a flaw in my bundle? Can anyone give me a clue?
>
> Best,
> Thomas

> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20230912/787d537b/attachment.htm>


More information about the mailmate mailing list