Segfault when trying to stream some events

Forum for questions and support relating to the 1.29.x releases only.
Locked
ptietjens
Posts: 2
Joined: Wed Mar 01, 2017 6:59 pm

Segfault when trying to stream some events

Post by ptietjens »

Running ZoneMinder 1.29.0 installed on Debian 8 "the easy way" per the wiki.

Some of the events on our ZM install are not streamable - though they exist and I can download video of them. Strangely, some of the earlier events seem to stream fine.

In the logs, this is the error that occurs when trying to stream the event:

Code: Select all

ERR [Got signal 11 (Segmentation fault), crashing]
ERR [Signal address is (nil), from 0x7fbb3378cc3a]
ERR [Backtrace 0: /usr/lib/zoneminder/cgi-bin/nph-zms(_Z14zm_die_handleriP9siginfo_tPv+0x78) [0x7fbb3767f028]]
ERR [Backtrace 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7fbb368b28d0]]
ERR [Backtrace 2: /lib/x86_64-linux-gnu/libc.so.6(strlen+0x2a) [0x7fbb3378cc3a]]
ERR [Backtrace 3: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSsC2EPKcRKSaIcE+0x21) [0x7fbb3408dc31]]
ERR [Backtrace 4: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN7Monitor4LoadEjbNS_7PurposeE+0x282) [0x7fbb37624952]]
ERR [Backtrace 5: /usr/lib/zoneminder/cgi-bin/nph-zms(_ZN10StreamBase11loadMonitorEi+0x2e) [0x7fbb3768128e]]
ERR [Backtrace 6: /usr/lib/zoneminder/cgi-bin/nph-zms(main+0xdd5) [0x7fbb375e78c5]]
ERR [Backtrace 7: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fbb3372cb45]]
ERR [Backtrace 8: /usr/lib/zoneminder/cgi-bin/nph-zms(+0x1e2d7) [0x7fbb375e82d7]]
INF [Backtrace complete, please execute the following command for more information]
INF [addr2line -e /usr/lib/zoneminder/cgi-bin/nph-zms 0x7fbb3767f028 0x7fbb368b28d0 0x7fbb3378cc3a 0x7fbb3408dc31 0x7fbb37624952 0x7fbb3768128e 0x7fbb375e78c5 0x7fbb3372cb45 0x7fbb375e82d7]

Code: Select all

addr2line -e /usr/lib/zoneminder/cgi-bin/nph-zms 0x7fbb3767f028 0x7fbb368b28d0 0x7fbb3378cc3a 0x7fbb3408dc31 0x7fbb37624952 0x7fbb3768128e 0x7fbb375e78c5 0x7fbb3372cb45 0x7fbb375e82d7
??:0
??:0
??:0
??:0
??:0
??:0
??:0
??:0
??:0
GoogleFu and checking paths, etc, hasn't gotten me far, so I'm now asking for help!
Last edited by ptietjens on Fri Mar 10, 2017 8:49 pm, edited 1 time in total.
ptietjens
Posts: 2
Joined: Wed Mar 01, 2017 6:59 pm

Re: Segfault when trying to stream some events

Post by ptietjens »

After some more investigation:

If I back up to a smaller event (on some cameras < 15s, on others < 8s) and select "Gapless" then the web page will display all events without fail. If I navigate directly to the event I get the broken image icon and segfault in the logs. /frustrating

Edit 3/10: Of interest - enabling debugging prevents the malfunction and most events can be streamed.
Locked