Hello,
To administrator: Sorry if this is not proper forum, feel free to move this post.
A little history:
I was getting many "WAR [buffer overrun at . . .", after investigate a bit, found that always and only happens when zmaudit.pl was working. My Zoneminder was using "fast delete events" and ran each 600 seconds zmaudit.pl so i did change to disable "fast delete" and to execute zmaudit.pl each 24 hours.
After referred changes, i began to get "Cant execute: MySQL server has gone away" each time zmaudit.pl began to work. To test, againg change zmaudit.pl execution from 24 hours to 6 hours because Mysql server has a default timeout connection of 8 hours. Now this problem is solved and only get "ERR [Can't insert event: MySQL server has gone away]" and a backtrace, eventually from some cameras after a long inactivity time.
In some post i have read that this must not happens but it is my experience.