Segmentation fault when skipping

Forum for questions and support relating to the 1.30.x releases only.
Locked
moorsey
Posts: 53
Joined: Sun Jan 03, 2010 8:56 am

Segmentation fault when skipping

Post by moorsey »

Morning,

I have an odd error, which only seems to occur when skipping events on one of my cameras.

Only happens when I skip backwards (not rewind, but to previous 10 minute event) and it is also not reproducable 100% of the time.

Skipping forwards never causes the error and also can't replicate on my other three cameras.

Error shows in the log as follows when the crash happens:

Code: Select all

2017-10-11 09:38:52.827820	zms		10255	INF	addr2line -e /usr/lib/zoneminder/cgi-bin/nph-zms 0x7f5ca28a9fe2 0x7f5ca170b330 0x7f5ca2824a33 0x7f5ca28af563 0x7f5ca2830878 0x7f5ca2811a50 0x7f5c9ecbef45 0x7f5ca28125f7	zm_signal.cpp	110
2017-10-11 09:38:52.810737	zms		10255	INF	Backtrace complete, please execute the following command for more information	zm_signal.cpp	109
2017-10-11 09:38:52.793697	zms		10255	ERR	Backtrace 7: /usr/lib/zoneminder/cgi-bin/nph-zms(+0x205f7) [0x7f5ca28125f7]	zm_signal.cpp	102
2017-10-11 09:38:52.776582	zms		10255	ERR	Backtrace 6: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f5c9ecbef45]	zm_signal.cpp	102
2017-10-11 09:38:52.759485	zms		10255	ERR	Backtrace 5: /usr/lib/zoneminder/cgi-bin/nph-zms(main+0xce0) [0x7f5ca2811a50]	zm_signal.cpp	102
2017-10-11 09:38:52.742520	zms		10255	ERR	Backtrace 4: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN11EventStream9runStreamEv+0x98) [0x7f5ca2830878]	zm_signal.cpp	102
2017-10-11 09:38:52.725434	zms		10255	ERR	Backtrace 3: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN10StreamBase17checkCommandQueueEv+0x123) [0x7f5ca28af563]	zm_signal.cpp	102
2017-10-11 09:38:52.708342	zms		10255	ERR	Backtrace 2: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN11EventStream14processCommandEPKN10StreamBase6CmdMsgE+0x193) [0x7f5ca2824a33]	zm_signal.cpp	102
2017-10-11 09:38:52.691216	zms		10255	ERR	Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330) [0x7f5ca170b330]	zm_signal.cpp	102
2017-10-11 09:38:52.674294	zms		10255	ERR	Backtrace 0: /usr/lib/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x72) [0x7f5ca28a9fe2]	zm_signal.cpp	102
2017-10-11 09:38:52.657088	zms		10255	ERR	Signal address is 0x7f5ca2aebff8, from 0x7f5ca2824a33	zm_signal.cpp	81
2017-10-11 09:38:52.635656	zms		10255	ERR	Got signal 11 (Segmentation fault), crashing	zm_signal.cpp	50
2017-10-11 09:38:39.555650	web_php		25315	ERR	Timed out waiting for msg /var/run/zm/zms-974241s.sock	/usr/share/zoneminder/www/includes/functions.php	2033
Visually, playback stops/locks up, closing the playback window and re-opening an event carries on fine.

Running the suggested command gives the following:

Code: Select all

addr2line -e /usr/lib/zoneminder/cgi-bin/nph-zms 0x7f5ca28a9fe2 0x7f5ca170b330 0x7f5ca2824a33 0x7f5ca28af563 0x7f5ca2830878 0x7f5ca2811a50 0x7f5c9ecbef45 0x7f5ca28125f7

??:0
??:0
??:0
??:0
??:0
??:0
??:0
??:0
Any thoughts much appreciated

ZM version is 1.30.4
Locked