Problem: big_alarmzone=ok small_alarmzone=headache

Support and queries relating to all previous versions of ZoneMinder
Locked
moses
Posts: 10
Joined: Fri Dec 29, 2006 10:55 pm

Problem: big_alarmzone=ok small_alarmzone=headache

Post by moses »

Hello,

I did a fresh install of ZM on a Fedora 6 Box. Everything is working fine. I attached
6 Gadspot Network-Cams.

But playing around with Alarm-Zones some problems arised.

If the Alarmzone covers the whole Picture everything is ok.
But if the Alarmzone is less then 50% of the picture size, the system is generating
error-bulks like attached. When I increase the Alarmzone everything is working
perfect again. I tried it with different settings and presets - always the same
behaviour. Increasing the Buffer-Size as well as increasing the Shared-Mem
Buff doesn´t help.
pict-size is 320x240 24bit.

Has anyone a hint what I made wrong?

regards
Bernhard


---> cut


Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /lib64/libc.so.6 [0x3347230210]]
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /lib64/libc.so.6(memset+0xce) [0x334727684e]]
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma [0x40ee9a]]
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma [0x419946]]
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma [0x4213cf]]
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma(cos+0x35c) [0x404674]]
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x334721da44]]
Jan 11 20:25:22 localhost zma_m2[19051]: ERR [Backtrace: /usr/local/bin/zma(cos+0xd1) [0x4043e9]]
Jan 11 20:25:22 localhost zma_m2[19051]: INF [Backtrace complete]
Jan 11 20:25:22 localhost zmdc[18922]: ERR ['zma -m 2' exited abnormally, exit status 11]
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

never used zm on 64bit so that may be an issue
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
moses
Posts: 10
Joined: Fri Dec 29, 2006 10:55 pm

Post by moses »

I had the same problems with a Fedora-6 32bit Installation on the
same machine. It´s an Intel dual-core.

regards
Bernhard
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

just a suggestion. I would suggest that its a bug if it works above 50% of area but not below. Not sure as i think all my zones are over 50%
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Check that you settings for you zone don't exceed the the area of the zone.
moses
Posts: 10
Joined: Fri Dec 29, 2006 10:55 pm

Post by moses »

cordel,

thanks for your answer. But the parameters for the zone weren´t bigger
then the zone itself.
My present workaround is: defining a very big zone and then overlaying
this Zone with inactive Zones. Some extrawork for my computer - but
a working solution ;-)

best regards
Bernhard
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I have added a section to the Wiki detailing what to do with this kind of log, using your messages as an example :)

Can you follow the instructions at http://www.zoneminder.com/wiki/index.ph ... do_I_do.3F and post the results as I am curious about why this is happening.
Phil
moses
Posts: 10
Joined: Fri Dec 29, 2006 10:55 pm

Post by moses »

Phil,

hope this helps:

# addr2line -e /usr/local/bin/zma 0x40ee9a 0x419946 0x4213cf 0x404674 0x4043e9
/opt/ZoneMinder-1.22.3/src/zm_zone.cpp:156
/opt/ZoneMinder-1.22.3/src/zm_monitor.cpp:2685
/opt/ZoneMinder-1.22.3/src/zm_monitor.cpp:1021
/opt/ZoneMinder-1.22.3/src/zma.cpp:118
??:0



--> cut

Jan 15 00:20:35 localhost zma_m3[18031]: ERR [Got signal (Segmentation fault), crashing]
Jan 15 00:20:35 localhost zma_m3[18031]: ERR [Signal address is 0x10202, no eip ]
Jan 15 00:20:35 localhost zma_m3[18031]: ERR [Backtrace: /lib64/libc.so.6 [0x3347230210]]
Jan 15 00:20:35 localhost zma_m3[18031]: ERR [Backtrace: /lib64/libc.so.6(memset+0xdd) [0x334727685d]]
Jan 15 00:20:35 localhost zma_m3[18031]: ERR [Backtrace: /usr/local/bin/zma [0x40ee9a]]
Jan 15 00:20:35 localhost zma_m3[18031]: ERR [Backtrace: /usr/local/bin/zma [0x419946]]
Jan 15 00:20:35 localhost zma_m3[18031]: ERR [Backtrace: /usr/local/bin/zma [0x4213cf]]
Jan 15 00:20:35 localhost zma_m3[18031]: ERR [Backtrace: /usr/local/bin/zma(cos+0x35c) [0x404674]]
Jan 15 00:20:35 localhost zma_m3[18031]: ERR [Backtrace: /lib64/libc.so.6(__libc_start_main+0xf4) [0x334721da44]]
Jan 15 00:20:35 localhost zma_m3[18031]: ERR [Backtrace: /usr/local/bin/zma(cos+0xd1) [0x4043e9]]
Jan 15 00:20:35 localhost zma_m3[18031]: INF [Backtrace complete]

--> cut
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Can you confirm this is v1.22.3? The zm_zone.cpp line doesn't look right.
Phil
moses
Posts: 10
Joined: Fri Dec 29, 2006 10:55 pm

Post by moses »

Phil,

yes, this is a fresh 1.22.3 install (no upgrade ....)

The header of zm_zone.cpp shows: $Date: 2006/05/08 12:46:23 $, $Revision: 1.40 $

#ls -l zm_zone.cpp
-rw-rw-r-- 1 501 501 29688 8. Mai 2006 zm_zone.cpp

regards
Bernhard
Hogface
Posts: 70
Joined: Wed Oct 05, 2005 1:52 am
Location: Arkansas

Post by Hogface »

I am receving the the backtrace error also.
I have the same version of ZM.
Mine is also FC6 (fresh install).
I am running on a multiprocessor IBM-342 eserver.

Can post details also if it would help.
________
Kawasaki MB5
Last edited by Hogface on Thu Feb 03, 2011 1:17 pm, edited 1 time in total.
mikesjays
Posts: 17
Joined: Thu Dec 21, 2006 11:36 am

Post by mikesjays »

Same thing here, if it a fedora6 problem?

[root@vserver ~]# addr2line -e /usr/local/bin/zma 0x8058198 0x80652af 0x86e052 0x804b426
/usr/include/stdlib.h:336
/root/ZoneMinder-1.22.3/src/zm_monitor.cpp:2685
??:0
/root/ZoneMinder-1.22.3/src/zma.cpp:118
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I'm running FC6 and have no problems.
Locked