zmtrigger.pl dying with exit code 9
Posted: Thu Sep 06, 2012 6:48 pm
I'm running 1.25.0 on Centos 5. I've installed it roughly according to this guide:
http://www.zoneminder.com/wiki/index.php/CentOS
I'm using zmtrigger.pl for around 6 Axis cameras per this guide:
http://www.zoneminder.com/wiki/index.ph ... nDetection
Intermittently, I'd say around 30 minutes after starting zmtrigger.pl, it will exit with status 9 and report:
variable is not a string at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Memory/Mapped.pm line 109
That line is doing munmap( ${$monitor->{MMap}} );
Unfortunately, I'm not too much of a perl wizard, but I've tried putting some checks to make sure $monitor->{MMap} is defined, but that didn't seem to help.
Anyone have any ideas on the root cause, or a better check to make sure it doesn't blow up? I'd like to get to the bottom of it instead of just making a cron job to constantly restart zmtrigger...
http://www.zoneminder.com/wiki/index.php/CentOS
I'm using zmtrigger.pl for around 6 Axis cameras per this guide:
http://www.zoneminder.com/wiki/index.ph ... nDetection
Intermittently, I'd say around 30 minutes after starting zmtrigger.pl, it will exit with status 9 and report:
variable is not a string at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Memory/Mapped.pm line 109
That line is doing munmap( ${$monitor->{MMap}} );
Unfortunately, I'm not too much of a perl wizard, but I've tried putting some checks to make sure $monitor->{MMap} is defined, but that didn't seem to help.
Anyone have any ideas on the root cause, or a better check to make sure it doesn't blow up? I'd like to get to the bottom of it instead of just making a cron job to constantly restart zmtrigger...