It's hard to tell without logs. Get logs!
Post them either here or to one of the devs.
https://wiki.miranda-ng.org/Network_logCareful as they may contain sensitive information. Make sure to enable core logging - if miranda crashes, that will probably be the important log.
Also, make sure you don't overwrite the log on startup, so maybe disable your script for now, until you have successfully captured a log!
That said, that version seems fairly old, try latest. I haven't had a crash in forever.