Any events prior to this works fine, generates thumbnails, etc, etc.
Examination of /var/log/messages shows my two sequential attempts to view the streaming mjpeg video.
Code: Select all
Nov 7 11:30:41 camserver zms[14226]: ERR [Got signal (Segmentation fault), crashing]
Nov 7 11:30:41 camserver zms[14226]: ERR [Signal address is (nil), from 0x8055584 ]
Nov 7 11:30:41 camserver zms[14226]: ERR [Backtrace: /var/www/cgi-bin/zms [0x8055584]]
Nov 7 11:30:41 camserver zms[14226]: ERR [Backtrace: /var/www/cgi-bin/zms [0x8055584]]
Nov 7 11:30:41 camserver zms[14226]: ERR [Backtrace: /var/www/cgi-bin/zms [0x804ab48]]
Nov 7 11:30:41 camserver zms[14226]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xe0) [0xc03f70]]
Nov 7 11:30:41 camserver zms[14226]: ERR [Backtrace: /var/www/cgi-bin/zms(__gxx_personality_v0+0x1e5) [0x804a0f1]]
Nov 7 11:31:16 camserver zms[14235]: ERR [Got signal (Segmentation fault), crashing]
Nov 7 11:31:16 camserver zms[14235]: ERR [Signal address is (nil), from 0x8055584 ]
Nov 7 11:31:16 camserver zms[14235]: ERR [Backtrace: /var/www/cgi-bin/zms [0x8055584]]
Nov 7 11:31:16 camserver zms[14235]: ERR [Backtrace: /var/www/cgi-bin/zms [0x8055584]]
Nov 7 11:31:16 camserver zms[14235]: ERR [Backtrace: /var/www/cgi-bin/zms [0x804ab48]]
Nov 7 11:31:16 camserver zms[14235]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xe0) [0xc03f70]]
Nov 7 11:31:16 camserver zms[14235]: ERR [Backtrace: /var/www/cgi-bin/zms(__gxx_personality_v0+0x1e5) [0x804a0f1]]
Code: Select all
11/07/07 12:37:48.864013 zms[14508].INF-zm_debug.c/304 [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log.14508]
11/07/07 12:37:48.864094 zms[14508].DB1-zms.cpp/84 [Query: mode=jpeg&event=246107&frame=1&scale=100&rate=100&maxfps=10&rand=1194464268]
11/07/07 12:37:48.864461 zms[14508].ERR-zm_signal.cpp/77 [Got signal (Segmentation fault), crashing]
11/07/07 12:37:48.864496 zms[14508].ERR-zm_signal.cpp/89 [Signal address is (nil), from 0x8055584
]
11/07/07 12:37:48.864592 zms[14508].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/zms [0x8055584]]
11/07/07 12:37:48.864613 zms[14508].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/zms [0x8055584]]
11/07/07 12:37:48.864631 zms[14508].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/zms [0x804ab48]]
11/07/07 12:37:48.864649 zms[14508].ERR-zm_signal.cpp/116 [Backtrace: /lib/libc.so.6(__libc_start_main+0xe0) [0xc03f70]]
11/07/07 12:37:48.864667 zms[14508].ERR-zm_signal.cpp/116 [Backtrace: /var/www/cgi-bin/zms(__gxx_personality_v0+0x1e5) [0x804a0f1]]
11/07/07 12:37:48.864685 zms[14508].INF-zm_signal.cpp/117 [Backtrace complete]
Then addr2line for more info
Code: Select all
[root@camserver log]# addr2line -e /var/www/cgi-bin/zms 0x8055584 0x804ab48 0x804a0f1
/usr/include/stdlib.h:336
/root/ZoneMinder-1.22.3/src/zms.cpp:256
??:0
Code: Select all
Event::StreamEvent( event, frame, scale, rate, maxfps );
Code: Select all
Id Name Monitor Cause Time Duration Frames Alarm Total Avg. Max.
246107 New Event FrontDesk Motion 10/24 10:55:13 0.00 0 0 0
There are other incidents of this happening, but none were resolved or the solution didn't work in this case. (probably because of the empty database event info).