After upgrade to 1.35.X, event playback causes crash

Previous development branch now released as 1.36
Locked
bertrams
Posts: 5
Joined: Sun May 17, 2020 9:02 pm

After upgrade to 1.35.X, event playback causes crash

Post by bertrams »

This happened on two separate machines, both Ubuntu 18.04. Installed via apt with this repo:
http://ppa.launchpad.net/iconnor/zonemi ... ter/ubuntu bionic main

Event playback was working fine on both systems and the only changes made was doing 'apt-get upgrade', which updated Zoneminder and some other packages.

Now when I try to play back an event on either machine, The playback freezes after the first frame and I see the following in /var/log/syslog:

Code: Select all

May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Got signal 6 (Aborted), crashing]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Signal address is 0x2100001286, from 0x7f0e4b6a9e97]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 0: /usr/lib/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x78) [0x558fe81c57c8]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f0e4f73d890]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 2: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f0e4b6a9e97]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 3: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f0e4b6ab801]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 4: /lib/x86_64-linux-gnu/libc.so.6(+0x89897) [0x7f0e4b6f4897]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 5: /lib/x86_64-linux-gnu/libc.so.6(+0x9090a) [0x7f0e4b6fb90a]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 6: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4cc) [0x7f0e4b702e1c]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 7: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN11EventStream9sendFrameEi+0x4ba) [0x558fe8146b0a]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 8: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN11EventStream9runStreamEv+0x9c2) [0x558fe8148e72]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 9: /usr/lib/zoneminder/cgi-bin/nph-zms(main+0xa7b) [0x558fe812cafb]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 10: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f0e4b68cb97]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 11: /usr/lib/zoneminder/cgi-bin/nph-zms(_start+0x2a) [0x558fe812e59a]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Got signal 11 (Segmentation fault), crashing]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Signal address is 0x7f0e3a15b038, from 0x7f0e4b70298d]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 0: /usr/lib/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x78) [0x558fe81c57c8]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f0e4f73d890]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 2: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x3d) [0x7f0e4b70298d]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 3: /lib/x86_64-linux-gnu/libc.so.6(+0x43041) [0x7f0e4b6ae041]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 4: /lib/x86_64-linux-gnu/libc.so.6(+0x4313a) [0x7f0e4b6ae13a]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 5: /usr/lib/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x399) [0x558fe81c5ae9]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 6: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f0e4f73d890]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 7: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f0e4b6a9e97]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 8: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f0e4b6ab801]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 9: /lib/x86_64-linux-gnu/libc.so.6(+0x89897) [0x7f0e4b6f4897]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 10: /lib/x86_64-linux-gnu/libc.so.6(+0x9090a) [0x7f0e4b6fb90a]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 11: /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4cc) [0x7f0e4b702e1c]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 12: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN11EventStream9sendFrameEi+0x4ba) [0x558fe8146b0a]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 13: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN11EventStream9runStreamEv+0x9c2) [0x558fe8148e72]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 14: /usr/lib/zoneminder/cgi-bin/nph-zms(main+0xa7b) [0x558fe812cafb]]
May 17 17:08:07 HTPC zms_e63842[4742]: ERR [zms_e63842] [Backtrace 15: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f0e4b68cb97]]
This happens in both Firefox and Chrome. If anyone has suggestions on how to correct or further diagnose please let me know. I've run mysqlcheck on the database and no crashed tables were found. Thanks!
bertrams
Posts: 5
Joined: Sun May 17, 2020 9:02 pm

Re: After upgrade to 1.35.X, event playback causes crash

Post by bertrams »

I was able to fix this by basically messing around with stuff. I removed a second instance of default storage which looked to be invalid, changed from HTTP 1.0 to 1.1, and also switched all 3 of my cameras to use their secondary image streams which are a bit lower in resolution. I'm not sure which of these things fixed it. Also not sure why any changes were needed at all since everything worked fine prior to the version upgrade on both systems.
bertrams
Posts: 5
Joined: Sun May 17, 2020 9:02 pm

Re: After upgrade to 1.35.X, event playback causes crash

Post by bertrams »

After updating again today via apt-get, I can again play back higher res events. Nothing else has changed so I have to assume that one of the recent commits fixed whatever my issue was
Locked