Cannot view events that have only 1 alarmed frame

Forum for questions and support relating to the 1.30.x releases only.
Locked
vertigeaux
Posts: 6
Joined: Mon Jun 20, 2016 6:50 pm

Cannot view events that have only 1 alarmed frame

Post by vertigeaux »

If an event has 2 or more alarm frames, it plays back fine, but if there is only 1 alarm frame I get the "broken image" image. The images exist on the hard drive, and I can even click the "Frames" link and view each frame individually. The event just won't play back.

Possibly related, I cannot view the "Stills" for any event, regardless of the number of alarmed frames. In this case I don't get the "broken" image, I just get the controls with a blank space where the images should be.

When I click an event that has only 1 alarm frame, I get this in the log:

Code: Select all

2016-06-20 14:03:06.006753	zms	21729	INF	addr2line -e /usr/local/libexec/zoneminder/cgi-bin/nph-zms 0x4ab249 0x7fb233fb9cb0 0x7fb231519051 0x7fb231e015d0 0x4531cf 0x4aeec1 0x417d96 0x7fb2314b27ed 0x418b71	zm_signal.cpp	110
2016-06-20 14:03:05.962305	zms	21729	INF	Backtrace complete, please execute the following command for more information	zm_signal.cpp	109
2016-06-20 14:03:05.912272	zms	21729	ERR	Backtrace 8: /usr/local/libexec/zoneminder/cgi-bin/nph-zms() [0x418b71]	zm_signal.cpp	102
2016-06-20 14:03:05.861942	zms	21729	ERR	Backtrace 7: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fb2314b27ed]	zm_signal.cpp	102
2016-06-20 14:03:05.811843	zms	21729	ERR	Backtrace 6: /usr/local/libexec/zoneminder/cgi-bin/nph-zms(main+0x7c6) [0x417d96]	zm_signal.cpp	102
2016-06-20 14:03:05.753398	zms	21729	ERR	Backtrace 5: /usr/local/libexec/zoneminder/cgi-bin/nph-zms(_ZN10StreamBase11loadMonitorEi+0x21) [0x4aeec1]	zm_signal.cpp	102
2016-06-20 14:03:05.703229	zms	21729	ERR	Backtrace 4: /usr/local/libexec/zoneminder/cgi-bin/nph-zms(_ZN7Monitor4LoadEjbNS_7PurposeE+0x26f) [0x4531cf]	zm_signal.cpp	102
2016-06-20 14:03:05.653209	zms	21729	ERR	Backtrace 3: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSsC2EPKcRKSaIcE+0x30) [0x7fb231e015d0]	zm_signal.cpp	102
2016-06-20 14:03:05.605941	zms	21729	ERR	Backtrace 2: /lib/x86_64-linux-gnu/libc.so.6(+0x88051) [0x7fb231519051]	zm_signal.cpp	102
2016-06-20 14:03:05.552948	zms	21729	ERR	Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7fb233fb9cb0]	zm_signal.cpp	102
2016-06-20 14:03:05.503347	zms	21729	ERR	Backtrace 0: /usr/local/libexec/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP7siginfoPv+0x69) [0x4ab249]	zm_signal.cpp	102
2016-06-20 14:03:05.452164	zms	21729	ERR	Signal address is 0x303830, from 0x7fb231519051	zm_signal.cpp	81
2016-06-20 14:03:05.345516	zms	21729	ERR	Got signal 11 (Segmentation fault), crashing	zm_signal.cpp	50
Executing the addr2line command returns an unhelpful series of ??:0.


Other information that is probably helpful is I am running on Ubuntu 12.04. I had to jump through some hoops to get apache, php, and zm updated, but all appears well except for this issue.
vertigeaux
Posts: 6
Joined: Mon Jun 20, 2016 6:50 pm

Re: Cannot view events that have only 1 alarmed frame

Post by vertigeaux »

After some fiddling, I think I have discovered that the key is not 1 alarm frame, but a total frame count of 11. I had my pre- and post- frame counts set to 5, and every time there was 1 alarm frame (total 11 frames) I could not view the replay. However, setting the pre- and post- frames to 6 (total of 13 frames), or 4 (total 9 frames), or 5 and 4 (total 10 frames), I could view the events just fine with no errors in the log. When I set them to 6 and 4, again for a total of 11 frames, I cannot view the stream.

Does anyone else have trouble viewing events consisting of 11 frames? Or is it something weird with my setup and I should just set my pre/post frames higher and forget about it?
Locked