Proper way to deactivate a broken camera in 1.37
Posted: Sun Nov 13, 2022 4:25 pm
One of my cameras is dead for a couple of weeks and was submitted to repair. After disconnecting the camera, I've got a lot of errors in the log and decided to deactivate it temporary. As the Function was replaced with Capturing, Analysing and Record in the 1.37, I've changed follow settings:
What is a proper way to disable temporary a camera in the v1.37? Perhaps it make sense to add a general check, like "if Capturing = None, then don't try to decode, analyse or record the stream" for using property Capturing as a camera "master switch".
- Set Capturing to None at Source tab
- Set Motion Detection to None at Analysis tab
- Set Recording to None at Recording tab
Code: Select all
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 INF Backtrace complete, please execute the following command for more information: addr2line -e /usr/lib/zoneminder/cgi-bin/zms 0x561859b0f5a4 0x7f926a917420 0x561859abd301 0x561859ac2571 0x561859a4c7c6 0x7f9269c2d083 0x561859a4e08e zm_signal.cpp 108
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 ERR Backtrace 6: /usr/lib/zoneminder/cgi-bin/zms(+0x4108e) [0x561859a4e08e] zm_signal.cpp 101
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 ERR Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f9269c2d083] zm_signal.cpp 101
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 ERR Backtrace 4: /usr/lib/zoneminder/cgi-bin/zms(main+0x1676) [0x561859a4c7c6] zm_signal.cpp 101
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 ERR Backtrace 3: /usr/lib/zoneminder/cgi-bin/zms(+0xb5571) [0x561859ac2571] zm_signal.cpp 101
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 ERR Backtrace 2: /usr/lib/zoneminder/cgi-bin/zms(+0xb0301) [0x561859abd301] zm_signal.cpp 101
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 ERR Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420) [0x7f926a917420] zm_signal.cpp 101
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 ERR Backtrace 0: /usr/lib/zoneminder/cgi-bin/zms(+0x1025a4) [0x561859b0f5a4] zm_signal.cpp 101
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 ERR Signal address is 0x4, from 0x561859abd301 zm_signal.cpp 80
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 ERR Got signal 11 (Segmentation fault), crashing zm_signal.cpp 50
11/13/22, 6:55:00 PM GMT+3 zms_m4 13729 INF Monitor 4 has capturing == NONE. Will not be able to connect to it.