I have compiled source and installed all requirements.
I use a network vivotek cam through a http://xxx.xxx.xxx.xxx/cgi-bin/video.jpg network snapshot
I have created a monitor with remote option and a user:pwd@xxx.xxx.xxx.xxx parameters
When I start zone minder zmc crashed.
If I launch "zmc -m 1" i have a segmentation fault message.
BackTrace of zmc:
#0 0xb7bef9b0 in mallopt () from /lib/tls/libc.so.6
#1 0xb7beec43 in malloc () from /lib/tls/libc.so.6
#2 0xb7d702fe in operator new () from /usr/lib/libstdc++.so.5
#3 0xb7d7042f in operator new[] () from /usr/lib/libstdc++.so.5
#4 0x0804d908 in Polygon (this=0xbffff600, p_n_coords=2, p_coords=0xdb1c498) at zm_poly.cpp:55
#5 0x08056d0a in Zone::ParsePolygonString (poly_string=0xbffff600 "\002", polygon=@0x1) at zm_zone.cpp:768
#6 0x080573e2 in Zone::Load (monitor=0xdac8620, zones=@0xbffff86c) at zm_zone.cpp:873
#7 0x080653fc in Monitor::Load (id=1, load_zones=true, purpose=CAPTURE) at zm_monitor.cpp:1567
#8 0x0804ade3 in main (argc=4, argv=0x1) at zmc.cpp:175
The /tmp/zmdc.log:
03/11/06 16:30:22.863098 zmdc[18472].INF ['zmfilter.pl' started at 06/03/11 16:30:22]
03/11/06 16:30:22.870328 zmdc[18433].INF ['zmfilter.pl' starting at 06/03/11 16:30:22, pid = 18472]
03/11/06 16:30:23.212599 zmdc[18477].INF ['zmaudit.pl -c' started at 06/03/11 16:30:23]
03/11/06 16:30:23.216268 zmdc[18433].INF ['zmaudit.pl -c' starting at 06/03/11 16:30:23, pid = 18477]
03/11/06 16:30:23.479179 zmdc[18484].INF ['zmwatch.pl' started at 06/03/11 16:30:23]
03/11/06 16:30:23.485224 zmdc[18433].INF ['zmwatch.pl' starting at 06/03/11 16:30:23, pid = 18484]
03/11/06 16:30:23.731066 zmdc[18490].INF ['zmupdate.pl -c' started at 06/03/11 16:30:23]
03/11/06 16:30:23.733193 zmdc[18433].INF ['zmupdate.pl -c' starting at 06/03/11 16:30:23, pid = 18490]
03/11/06 16:30:24.503039 zmdc[18433].DBG ['zmupdate.pl -c' running since 06/03/11 16:30:23, pid = 18490, valid]
03/11/06 16:30:24.503127 zmdc[18433].DBG ['zmaudit.pl -c' running since 06/03/11 16:30:23, pid = 18477, valid]
03/11/06 16:30:24.503194 zmdc[18433].DBG ['zmfilter.pl' running since 06/03/11 16:30:22, pid = 18472, valid]
03/11/06 16:30:24.503257 zmdc[18433].DBG ['zmwatch.pl' running since 06/03/11 16:30:23, pid = 18484, valid]
03/11/06 16:30:24.503323 zmdc[18433].DBG ['zmc -m 4' pending at 06/03/11 16:30:27]
03/11/06 16:30:27.002540 zmdc[18433].INF [Starting pending process, zmc -m 4]
03/11/06 16:30:27.003335 zmdc[18510].INF ['zmc -m 4' started at 06/03/11 16:30:27]
03/11/06 16:30:27.004680 zmdc[18433].INF ['zmc -m 4' starting at 06/03/11 16:30:27, pid = 18510]
03/11/06 16:30:27.011894 zmdc[18433].ERR ['zmc -m 4' crashed, exit status 255]
03/11/06 16:30:37.010021 zmdc[18433].INF [Starting pending process, zmc -m 4]
03/11/06 16:30:37.010807 zmdc[18542].INF ['zmc -m 4' started at 06/03/11 16:30:37]
03/11/06 16:30:37.011154 zmdc[18433].INF ['zmc -m 4' starting at 06/03/11 16:30:37, pid = 18542]
03/11/06 16:30:37.019361 zmdc[18433].ERR ['zmc -m 4' crashed, exit status 255]
Use of uninitialized value in numeric ne (!=) at /usr/local/share/perl/5.8.4/ZoneMinder/SharedMem.pm line 247.
Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.4/ZoneMinder/SharedMem.pm line 255.
03/11/06 16:30:53.731707 zmdc[18598].INF ['zmc -m 4' started at 06/03/11 16:30:53]
03/11/06 16:30:53.737121 zmdc[18433].INF ['zmc -m 4' starting at 06/03/11 16:30:53, pid = 18598]
03/11/06 16:30:53.740136 zmdc[18433].ERR ['zmc -m 4' crashed, exit status 255]
Any idea ?
Thankyou
Fabio.
zmc segmentation fault on debian sarge
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: