ZM 1.24.1 Seg Faults
Posted: Thu Mar 19, 2009 12:28 pm
Hi Everyone.
I recently installed v1.24.1 and started migrating from my working 1.22.3 install.
The new config consists of:
- CentOS 5.2 32-bit. Both OS and ZM 1.24.1 installed as per procedures posted on the ZM Wiki.
- I had to use git (as per ffmpeg's web site) to download the ffmpeg sources as the svn method failed to compile properly.
ZM was compiled without any issues and the install process was a lot smoother than 1.22.
- I'm using Toshiba IKWB-15A IP Camera (work fine under 1.22) and have ported over my control script to module for 1.24 (currently testing).
Here are the issues:
1. (not major, but a pain): The new (ajax) web interface has some issues with Safari (Mac OS X - 10.5.6). Specifically with zone creation -- can't create / modify zones -- seems to be referencing # on the page. Firefox 3.0 works fine. Given that Safari & FF share / based on the same rendering engine, perhaps it's a quick fix. BTW: Safari is also available for Windows.
One more note: ZM 1.22 had no issues with Safari.
2. (major) zmc seems to repeatedly crash. Below are logs. Every 5-10 seconds or so the two monitors that I'm running go black for a second until the daemons are restarted. Seg. Faults - Signal 11.
Steps done thus far:
- Increase shared memory values in /etc/sysctl.conf:
- Cleared value for PATH_MAP (Options --> Path)
- A few reboots.
zm_debug.log (level 9)
Here's /var/log/messages:
I recently installed v1.24.1 and started migrating from my working 1.22.3 install.
The new config consists of:
- CentOS 5.2 32-bit. Both OS and ZM 1.24.1 installed as per procedures posted on the ZM Wiki.
- I had to use git (as per ffmpeg's web site) to download the ffmpeg sources as the svn method failed to compile properly.
ZM was compiled without any issues and the install process was a lot smoother than 1.22.
- I'm using Toshiba IKWB-15A IP Camera (work fine under 1.22) and have ported over my control script to module for 1.24 (currently testing).
Here are the issues:
1. (not major, but a pain): The new (ajax) web interface has some issues with Safari (Mac OS X - 10.5.6). Specifically with zone creation -- can't create / modify zones -- seems to be referencing # on the page. Firefox 3.0 works fine. Given that Safari & FF share / based on the same rendering engine, perhaps it's a quick fix. BTW: Safari is also available for Windows.
One more note: ZM 1.22 had no issues with Safari.
2. (major) zmc seems to repeatedly crash. Below are logs. Every 5-10 seconds or so the two monitors that I'm running go black for a second until the daemons are restarted. Seg. Faults - Signal 11.
Steps done thus far:
- Increase shared memory values in /etc/sysctl.conf:
Code: Select all
# Controls the maximum shared segment size, in bytes
#kernel.shmmax = 4294967295
# Controls the maximum number of shared memory segments, in pages
#kernel.shmall = 268435456
# ZoneMinder specific shared memory settings
kernel.shmall = 4294967295
kernel.shmmax = 4294967295
- Cleared value for PATH_MAP (Options --> Path)
- A few reboots.
zm_debug.log (level 9)
Code: Select all
03/19/09 08:11:24.377172 zmc_m1[13852].DB4-zm_remote_camera_http.cpp/839 [Got content length subheader ' 42090']
03/19/09 08:11:24.377213 zmc_m1[13852].DB3-zm_remote_camera_http.cpp/865 [Got boundary '--TOSHIBA_IK-WB15_getstream.cgi...']
03/19/09 08:11:24.377256 zmc_m1[13852].DB3-zm_remote_camera_http.cpp/871 [Got subcontent length '42090']
03/19/09 08:11:24.377297 zmc_m1[13852].DB3-zm_remote_camera_http.cpp/878 [Got subcontent type 'image/jpeg']
03/19/09 08:11:24.377372 zmc_m1[13852].DB3-zm_remote_camera_http.cpp/165 [Socket closed]
03/19/09 08:11:24.377736 zmc_m1[13852].INF-zm_signal.cpp/72 [Got signal 11 (Segmentation fault), crashing]
03/19/09 08:11:24.377880 zmc_m1[13852].ERR-zm_signal.cpp/84 [Signal address is 0xdfcd7e6c, from 0x8079055]
03/19/09 08:11:24.378290 zmc_m1[13852].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x8079055]]
03/19/09 08:11:24.378384 zmc_m1[13852].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x8079055]]
03/19/09 08:11:24.378472 zmc_m1[13852].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x807a25c]]
03/19/09 08:11:24.378551 zmc_m1[13852].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x807bfba]]
03/19/09 08:11:24.378645 zmc_m1[13852].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x806d31a]]
03/19/09 08:11:24.378731 zmc_m1[13852].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x804cfa2]]
03/19/09 08:11:24.378774 zmc_m1[13852].ERR-zm_signal.cpp/122 [Backtrace: /lib/libc.so.6(__libc_start_main+0xdc) [0x5efdec]]
03/19/09 08:11:24.378902 zmc_m1[13852].ERR-zm_signal.cpp/122 [Backtrace: /usr/local/bin/zmc [0x804c741]]
03/19/09 08:11:24.378988 zmc_m1[13852].INF-zm_signal.cpp/125 [Backtrace complete, please execute the following command for more information]
03/19/09 08:11:24.379066 zmc_m1[13852].INF-zm_signal.cpp/126 [addr2line -e /usr/local/bin/zmc 0x8079055 0x8079055 0x807a25c 0x807bfba 0x806d31a 0x804cfa2 0x5efdec 0x804c741]
tail: zm_debug.log: file truncated
03/19/09 08:11:34.135618 zmc_m2[13875].INF-zm_debug.c/292 [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
03/19/09 08:11:34.137164 zmc_m2[13875].DB1-zm_monitor.cpp/2260 [Got 1 monitors]
03/19/09 08:11:34.139044 zmc_m2[13875].DB2-zm_remote_camera_http.cpp/68 [Request: GET /user/cgi-bin/getstream.cgi?11&&&&0&1&0&0&0 HTTP/1.1
User-Agent: ZoneMinder/1.24.1
Code: Select all
Mar 19 08:13:00 sv01 zmc_m2[13892]: INF [Got signal 11 (Segmentation fault), crashing]
Mar 19 08:13:00 sv01 zmc_m2[13892]: ERR [Signal address is 0xdfe4cfdc, from 0x8079055]
Mar 19 08:13:00 sv01 zmc_m2[13892]: ERR [Backtrace: /usr/local/bin/zmc [0x8079055]]
Mar 19 08:13:00 sv01 zmc_m2[13892]: ERR [Backtrace: /usr/local/bin/zmc [0x8079055]]
Mar 19 08:13:00 sv01 zmc_m2[13892]: ERR [Backtrace: /usr/local/bin/zmc [0x807a25c]]
Mar 19 08:13:00 sv01 zmc_m2[13892]: ERR [Backtrace: /usr/local/bin/zmc [0x807bfba]]
Mar 19 08:13:00 sv01 zmc_m2[13892]: ERR [Backtrace: /usr/local/bin/zmc [0x806d31a]]
Mar 19 08:13:00 sv01 zmc_m2[13892]: ERR [Backtrace: /usr/local/bin/zmc [0x804cfa2]]
Mar 19 08:13:00 sv01 zmc_m2[13892]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xdc) [0x5efdec]]
Mar 19 08:13:00 sv01 zmc_m2[13892]: ERR [Backtrace: /usr/local/bin/zmc [0x804c741]]
Mar 19 08:13:00 sv01 zmc_m2[13892]: INF [Backtrace complete, please execute the following command for more information]
Mar 19 08:13:00 sv01 zmc_m2[13892]: INF [addr2line -e /usr/local/bin/zmc 0x8079055 0x8079055 0x807a25c 0x807bfba 0x806d31a 0x804cfa2 0x5efdec 0x804c741]
Mar 19 08:13:00 sv01 zmdc[2137]: ERR ['zmc -m 2' exited abnormally, exit status 11]
Mar 19 08:13:06 sv01 zmwatch[2183]: INF [Restarting capture daemon for Back-NE, time since last capture 6 seconds (1237464786-1237464780)]
Mar 19 08:13:06 sv01 zmdc[2137]: INF ['zmc -m 2' starting at 09/03/19 08:13:06, pid = 13902]
Mar 19 08:13:06 sv01 zmdc[13902]: INF ['zmc -m 2' started at 09/03/19 08:13:06]
Mar 19 08:13:06 sv01 zmc_m2[13902]: INF [Debug Level = 0, Debug Log = <none>]
Mar 19 08:13:06 sv01 zmwatch[2183]: INF ['zmc -m 2' starting at 09/03/19 08:13:06, pid = 13902]
Mar 19 08:13:06 sv01 zmc_m2[13902]: INF [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
Mar 19 08:13:07 sv01 zmc_m2[13902]: INF [Starting Capture]
Mar 19 08:13:22 sv01 zmc_m1[13897]: INF [Got signal 11 (Segmentation fault), crashing]
Mar 19 08:13:22 sv01 zmc_m1[13897]: ERR [Signal address is 0xdfa283bc, from 0x8079055]
Mar 19 08:13:22 sv01 zmc_m1[13897]: ERR [Backtrace: /usr/local/bin/zmc [0x8079055]]
Mar 19 08:13:22 sv01 zmc_m1[13897]: ERR [Backtrace: /usr/local/bin/zmc [0x8079055]]
Mar 19 08:13:22 sv01 zmc_m1[13897]: ERR [Backtrace: /usr/local/bin/zmc [0x807a25c]]
Mar 19 08:13:22 sv01 zmc_m1[13897]: ERR [Backtrace: /usr/local/bin/zmc [0x807bfba]]
Mar 19 08:13:22 sv01 zmc_m1[13897]: ERR [Backtrace: /usr/local/bin/zmc [0x806d31a]]
Mar 19 08:13:22 sv01 zmc_m1[13897]: ERR [Backtrace: /usr/local/bin/zmc [0x804cfa2]]
Mar 19 08:13:22 sv01 zmc_m1[13897]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xdc) [0x5efdec]]
Mar 19 08:13:22 sv01 zmc_m1[13897]: ERR [Backtrace: /usr/local/bin/zmc [0x804c741]]
Mar 19 08:13:22 sv01 zmc_m1[13897]: INF [Backtrace complete, please execute the following command for more information]
Mar 19 08:13:22 sv01 zmc_m1[13897]: INF [addr2line -e /usr/local/bin/zmc 0x8079055 0x8079055 0x807a25c 0x807bfba 0x806d31a 0x804cfa2 0x5efdec 0x804c741]
Mar 19 08:13:22 sv01 zmdc[2137]: ERR ['zmc -m 1' exited abnormally, exit status 11]
Mar 19 08:13:32 sv01 zmc_m2[13902]: INF [Got signal 11 (Segmentation fault), crashing]
Mar 19 08:13:32 sv01 zmc_m2[13902]: ERR [Signal address is 0xdf91229c, from 0x8079055]
Mar 19 08:13:32 sv01 zmc_m2[13902]: ERR [Backtrace: /usr/local/bin/zmc [0x8079055]]
Mar 19 08:13:32 sv01 zmc_m2[13902]: ERR [Backtrace: /usr/local/bin/zmc [0x8079055]]
Mar 19 08:13:32 sv01 zmc_m2[13902]: ERR [Backtrace: /usr/local/bin/zmc [0x807a25c]]
Mar 19 08:13:32 sv01 zmc_m2[13902]: ERR [Backtrace: /usr/local/bin/zmc [0x807bfba]]
Mar 19 08:13:32 sv01 zmc_m2[13902]: ERR [Backtrace: /usr/local/bin/zmc [0x806d31a]]
Mar 19 08:13:32 sv01 zmc_m2[13902]: ERR [Backtrace: /usr/local/bin/zmc [0x804cfa2]]
Mar 19 08:13:32 sv01 zmc_m2[13902]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xdc) [0x5efdec]]
Mar 19 08:13:32 sv01 zmc_m2[13902]: ERR [Backtrace: /usr/local/bin/zmc [0x804c741]]
Mar 19 08:13:32 sv01 zmc_m2[13902]: INF [Backtrace complete, please execute the following command for more information]
Mar 19 08:13:32 sv01 zmc_m2[13902]: INF [addr2line -e /usr/local/bin/zmc 0x8079055 0x8079055 0x807a25c 0x807bfba 0x806d31a 0x804cfa2 0x5efdec 0x804c741]
Mar 19 08:13:32 sv01 zmdc[2137]: ERR ['zmc -m 2' exited abnormally, exit status 11]
Mar 19 08:13:36 sv01 zmwatch[2183]: INF [Restarting capture daemon for Front-SE, time since last capture 15 seconds (1237464816-1237464801)]
Mar 19 08:13:36 sv01 zmdc[2137]: INF ['zmc -m 1' starting at 09/03/19 08:13:36, pid = 13906]
Mar 19 08:13:37 sv01 zmdc[13906]: INF ['zmc -m 1' started at 09/03/19 08:13:37]
Mar 19 08:13:37 sv01 zmc_m1[13906]: INF [Debug Level = 0, Debug Log = <none>]
Mar 19 08:13:37 sv01 zmwatch[2183]: INF ['zmc -m 1' starting at 09/03/19 08:13:36, pid = 13906]
Mar 19 08:13:37 sv01 zmc_m1[13906]: INF [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
Mar 19 08:13:37 sv01 zmc_m1[13906]: INF [Starting Capture]
Mar 19 08:13:47 sv01 zmwatch[2183]: INF [Restarting capture daemon for Back-NE, time since last capture 15 seconds (1237464827-1237464812)]
Mar 19 08:13:47 sv01 zmdc[2137]: INF ['zmc -m 2' starting at 09/03/19 08:13:47, pid = 13910]
Mar 19 08:13:47 sv01 zmdc[13910]: INF ['zmc -m 2' started at 09/03/19 08:13:47]
Mar 19 08:13:47 sv01 zmc_m2[13910]: INF [Debug Level = 0, Debug Log = <none>]
Mar 19 08:13:47 sv01 zmc_m2[13910]: INF [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
Mar 19 08:13:47 sv01 zmc_m2[13910]: INF [Starting Capture]
Mar 19 08:13:47 sv01 zmwatch[2183]: INF ['zmc -m 2' starting at 09/03/19 08:13:47, pid = 13910]
Mar 19 08:14:10 sv01 zmc_m1[13906]: INF [Got signal 11 (Segmentation fault), crashing]
Mar 19 08:14:10 sv01 zmc_m1[13906]: ERR [Signal address is 0xdfbd1a2c, from 0x8079055]
Mar 19 08:14:10 sv01 zmc_m1[13906]: ERR [Backtrace: /usr/local/bin/zmc [0x8079055]]
Mar 19 08:14:10 sv01 zmc_m1[13906]: ERR [Backtrace: /usr/local/bin/zmc [0x8079055]]
Mar 19 08:14:10 sv01 zmc_m1[13906]: ERR [Backtrace: /usr/local/bin/zmc [0x807a25c]]
Mar 19 08:14:10 sv01 zmc_m1[13906]: ERR [Backtrace: /usr/local/bin/zmc [0x807bfba]]
Mar 19 08:14:10 sv01 zmc_m1[13906]: ERR [Backtrace: /usr/local/bin/zmc [0x806d31a]]
Mar 19 08:14:10 sv01 zmc_m1[13906]: ERR [Backtrace: /usr/local/bin/zmc [0x804cfa2]]
Mar 19 08:14:10 sv01 zmc_m1[13906]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xdc) [0x5efdec]]
Mar 19 08:14:10 sv01 zmc_m1[13906]: ERR [Backtrace: /usr/local/bin/zmc [0x804c741]]
Mar 19 08:14:10 sv01 zmc_m1[13906]: INF [Backtrace complete, please execute the following command for more information]
Mar 19 08:14:10 sv01 zmc_m1[13906]: INF [addr2line -e /usr/local/bin/zmc 0x8079055 0x8079055 0x807a25c 0x807bfba 0x806d31a 0x804cfa2 0x5efdec 0x804c741]
Mar 19 08:14:10 sv01 zmdc[2137]: ERR ['zmc -m 1' exited abnormally, exit status 11]
Mar 19 08:14:17 sv01 zmwatch[2183]: INF [Restarting capture daemon for Front-SE, time since last capture 7 seconds (1237464857-1237464850)]
Mar 19 08:14:18 sv01 zmdc[2137]: INF ['zmc -m 1' starting at 09/03/19 08:14:18, pid = 13915]
Mar 19 08:14:18 sv01 zmdc[13915]: INF ['zmc -m 1' started at 09/03/19 08:14:18]
Mar 19 08:14:18 sv01 zmc_m1[13915]: INF [Debug Level = 0, Debug Log = <none>]
Mar 19 08:14:18 sv01 zmwatch[2183]: INF ['zmc -m 1' starting at 09/03/19 08:14:18, pid = 13915]
Mar 19 08:14:18 sv01 zmc_m1[13915]: INF [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
Mar 19 08:14:18 sv01 zmc_m1[13915]: INF [Starting Capture]
Mar 19 08:14:29 sv01 zmc_m2[13910]: INF [Got signal 11 (Segmentation fault), crashing]
Mar 19 08:14:29 sv01 zmc_m2[13910]: ERR [Signal address is 0xdfadac6c, from 0x8079055]
Mar 19 08:14:29 sv01 zmc_m2[13910]: ERR [Backtrace: /usr/local/bin/zmc [0x8079055]]
Mar 19 08:14:29 sv01 zmc_m2[13910]: ERR [Backtrace: /usr/local/bin/zmc [0x8079055]]
Mar 19 08:14:29 sv01 zmc_m2[13910]: ERR [Backtrace: /usr/local/bin/zmc [0x807a25c]]
Mar 19 08:14:29 sv01 zmc_m2[13910]: ERR [Backtrace: /usr/local/bin/zmc [0x807bfba]]
Mar 19 08:14:29 sv01 zmc_m2[13910]: ERR [Backtrace: /usr/local/bin/zmc [0x806d31a]]
Mar 19 08:14:29 sv01 zmc_m2[13910]: ERR [Backtrace: /usr/local/bin/zmc [0x804cfa2]]
Mar 19 08:14:29 sv01 zmc_m2[13910]: ERR [Backtrace: /lib/libc.so.6(__libc_start_main+0xdc) [0x5efdec]]
Mar 19 08:14:29 sv01 zmc_m2[13910]: ERR [Backtrace: /usr/local/bin/zmc [0x804c741]]
Mar 19 08:14:29 sv01 zmc_m2[13910]: INF [Backtrace complete, please execute the following command for more information]
Mar 19 08:14:29 sv01 zmc_m2[13910]: INF [addr2line -e /usr/local/bin/zmc 0x8079055 0x8079055 0x807a25c 0x807bfba 0x806d31a 0x804cfa2 0x5efdec 0x804c741]
Mar 19 08:14:29 sv01 zmdc[2137]: ERR ['zmc -m 2' exited abnormally, exit status 11]
Mar 19 08:14:38 sv01 zmwatch[2183]: INF [Restarting capture daemon for Back-NE, time since last capture 9 seconds (1237464878-1237464869)]
Mar 19 08:14:38 sv01 zmdc[2137]: INF ['zmc -m 2' starting at 09/03/19 08:14:38, pid = 13921]
Mar 19 08:14:38 sv01 zmdc[13921]: INF ['zmc -m 2' started at 09/03/19 08:14:38]
Mar 19 08:14:38 sv01 zmc_m2[13921]: INF [Debug Level = 0, Debug Log = <none>]
Mar 19 08:14:38 sv01 zmwatch[2183]: INF ['zmc -m 2' starting at 09/03/19 08:14:38, pid = 13921]
Mar 19 08:14:38 sv01 zmc_m2[13921]: INF [New Debug Level = 9, New Debug Log = /tmp/zm_debug.log]
Mar 19 08:14:39 sv01 zmc_m2[13921]: INF [Starting Capture]