I'm still on this, i just hadn't really time to work on it.
You would be in the best position to narrow down the cause, since you are able to reproduce the crash. An example of something you could do is try trimming stuff out of your events. Does it still crash when you remove the [kill] tag? If you remove the [filter] (and change "id=Maeblie" to "id=$unit.id")? Try to get the event as simple as possible so others don't end up following red herrings.
Then (getting back to gfgtdf's advice) try putting the simplified event into an add-on consisting of a single scenario, something along the lines of:
Ok, so i tried filtering which part of the wml caused that error, and removed them one for one. It's actually the [kill] tag. without it, it worked good. I then changed the id=Maeblie to id=$unit.id and then the [kill] tag worked fine without an error. I still hadn't time do make a new add-on,which replicates it, but i'll do think of doing it.