Check the size of the mmap file before mmaping it.  If the mmap file 0 ( can happen with remote cameras that can't be reached because it is offline ) we get sigbus.  I think the mmap succeeds, but is zero sized, so the first access causes SIGBUS.
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder