Ongoing Segfaults 1.30.4

Forum for questions and support relating to the 1.30.x releases only.
Locked
kevrm
Posts: 5
Joined: Sun Dec 17, 2017 3:26 pm

Ongoing Segfaults 1.30.4

Post by kevrm »

Version v1.30.4, fresh install on a decent server bare metal system load < 1.2

I have two cameras that have a slightly weak wifi signal, and they are dropping to blue/idle in the monitor after segfault, but what's interesting is the events (morecord) are still capturing images fairly consistently. I've dropped the frame rate down to 5.

Two questions:
1) Is there a solution for the segfaults? Segfaults are certainly not a configuration issue, that's a bug.
2) Why would zoneminder capture event images consistently but the monitor not be happy?

cameras are amcrest pro hd.

Code: Select all

Dec 17 09:40:40 SecCamSrv zms[7178]: ERR [Got empty memory map file size 0, is the zmc process for this monitor running?]
Dec 17 09:40:40 SecCamSrv zms[7178]: ERR [Got signal 11 (Segmentation fault), crashing]
Dec 17 09:40:40 SecCamSrv zms[7178]: ERR [Signal address is (nil), from 0x55cf6b0c7d9d]
Dec 17 09:40:40 SecCamSrv zms[7178]: ERR [Backtrace 0: /usr/lib/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x78) [0x55cf6b11afa8]]
Dec 17 09:40:40 SecCamSrv zms[7178]: ERR [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f7b81e7b390]]
Dec 17 09:40:40 SecCamSrv zms[7178]: ERR [Backtrace 2: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZNK7Monitor6GetFPSEv+0xd) [0x55cf6b0c7d9d]]
Dec 17 09:40:40 SecCamSrv zms[7178]: ERR [Backtrace 3: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN13MonitorStream9runStreamEv+0x48) [0x55cf6b0d4a38]]
Dec 17 09:40:40 SecCamSrv zms[7178]: ERR [Backtrace 4: /usr/lib/zoneminder/cgi-bin/nph-zms(main+0xb9e) [0x55cf6b09b06e]]
Dec 17 09:40:40 SecCamSrv zms[7178]: ERR [Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f7b7e56c830]]
Dec 17 09:40:40 SecCamSrv zms[7178]: ERR [Backtrace 6: /usr/lib/zoneminder/cgi-bin/nph-zms(_start+0x29) [0x55cf6b09bf69]]
Dec 17 09:40:40 SecCamSrv zms[7178]: INF [Backtrace complete, please execute the following command for more information]
Dec 17 09:40:40 SecCamSrv zms[7178]: INF [addr2line -e /usr/lib/zoneminder/cgi-bin/nph-zms 0x55cf6b11afa8 0x7f7b81e7b390 0x55cf6b0c7d9d 0x55cf6b0d4a38 0x55cf6b09b06e 0x7f7b7e56c830 0x55cf6b09bf69]
Dec 17 09:40:40 SecCamSrv zmwatch[5892]: ERR [Memory map file '/dev/shm/zm.mmap.3' should have been 896 but was instead 0]
Dec 17 09:40:40 SecCamSrv zmwatch[5892]: INF [Restarting capture daemon for BackDoor, shared data not valid]
Dec 17 09:40:40 SecCamSrv zmdc[5798]: INF ['zmc -m 3' starting at 17/12/17 09:40:40, pid = 7181]
Dec 17 09:40:40 SecCamSrv zmdc[7181]: INF ['zmc -m 3' started at 17/12/17 09:40:40]
Dec 17 09:40:40 SecCamSrv zmdc[5798]: ERR ['zmc -m 3' exited abnormally, exit status 255]
Dec 17 09:40:41 SecCamSrv web_php[6917]: ERR [socket_sendto( /var/run/zm/zms-100206s.sock ) failed: Connection refused]
Dec 17 09:40:44 SecCamSrv web_php[6917]: ERR [Socket /var/run/zm/zms-100206s.sock does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms exited early.  Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly.  Make sure that ZM is actually recording.  If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.]
Dec 17 09:40:47 SecCamSrv web_php[2559]: ERR [Socket /var/run/zm/zms-100206s.sock does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms exited early.  Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly.  Make sure that ZM is actually recording.  If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.]
Dec 17 09:40:49 SecCamSrv zmc_m2[7161]: ERR [Open video took more than 10 seconds.]
Dec 17 09:40:49 SecCamSrv zmc_m2[7161]: ERR [Unable to open input rtsp://u:pwd@192.168.1.211:554/cam/realmonitor?channel=1&subtype=0 due to: Connection timed out]
Dec 17 09:40:50 SecCamSrv web_php[2315]: ERR [Socket /var/run/zm/zms-100206s.sock does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms exited early.  Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly.  Make sure that ZM is actually recording.  If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.]
Dec 17 09:40:50 SecCamSrv zmwatch[5892]: INF [Restarting capture daemon for BackDoor, shared data not valid]
Dec 17 09:40:50 SecCamSrv zmdc[5798]: INF ['zmc -m 3' starting at 17/12/17 09:40:50, pid = 7188]
Dec 17 09:40:50 SecCamSrv zmdc[7188]: INF ['zmc -m 3' started at 17/12/17 09:40:50]
Dec 17 09:40:51 SecCamSrv zmc_m3[7188]: INF [Starting Capture version 1.30.4]
Dec 17 09:40:51 SecCamSrv zmc_m3[7188]: INF [Priming capture from rtsp://u:pwd@192.168.1.212:554/cam/realmonitor?channel=1&subtype=0]
Dec 17 09:40:53 SecCamSrv web_php[7155]: ERR [Socket /var/run/zm/zms-100206s.sock does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms exited early.  Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly.  Make sure that ZM is actually recording.  If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.]
Dec 17 09:40:53 SecCamSrv zms[7190]: ERR [Terminating, last frame sent time 1513525253.232677 secs more than maximum of 10.000000]
Dec 17 09:40:56 SecCamSrv web_php[6911]: ERR [Socket /var/run/zm/zms-100206s.sock does not exist.  This file is created by zms, and since it does not exist, either zms did not run, or zms exited early.  Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly.  Make sure that ZM is actually recording.  If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.]

bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Ongoing Segfaults 1.30.4

Post by bbunge »

Linux distro and version? Instructions you used to install Zoneminder?
kevrm
Posts: 5
Joined: Sun Dec 17, 2017 3:26 pm

Re: Ongoing Segfaults 1.30.4

Post by kevrm »

Locked