Suse 10.1 zmc keeps crashing ??

Support and queries relating to all previous versions of ZoneMinder
Locked
madlinux
Posts: 7
Joined: Thu May 11, 2006 3:19 am

Suse 10.1 zmc keeps crashing ??

Post by madlinux »

I have installed Suse 10.1 on my server, I followed the install directions from the zoneminder site as well as from the Tips and tricks section of the forum, the installation went fine, however I am unable to view any stream coming from my camera. If someone could look at my logs I would appreciate it.

--------------------------------------------------------------------------------------------------------------------------
daniel@dtx079:/tmp> cat zmwatch.log
05/16/06 10:25:55.122150 zmwatch[6704].INF ['zmc -m 1' starting at 06/05/16 10:25:55, pid = 7231] at /usr/local/bin/zmwatch.pl line 118
05/16/06 10:26:05.126831 zmwatch[6704].INF [Restarting capture daemon for West_Cam, shared memory not valid]
05/16/06 10:26:05.443091 zmwatch[6704].INF ['zmc -m 1' starting at 06/05/16 10:26:05, pid = 7260] at /usr/local/bin/zmwatch.pl line 118
05/16/06 10:37:28.292655 zmwatch[7497].INF [Watchdog starting]
05/16/06 10:37:28.293774 zmwatch[7497].INF [Watchdog pausing for 30 seconds]
05/16/06 10:37:58.301064 zmwatch[7497].INF [Restarting capture daemon for West_Cam, shared memory not valid]
05/16/06 10:37:58.587714 zmwatch[7497].INF ['zmc -m 1' started at 06/05/16 10:37:58] at /usr/local/bin/zmwatch.pl line 118
05/16/06 10:40:36.308000 zmwatch[7677].INF [Watchdog starting]
05/16/06 10:40:36.309148 zmwatch[7677].INF [Watchdog pausing for 30 seconds]
05/16/06 10:41:06.312267 zmwatch[7677].ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
05/16/06 10:41:06.312782 zmwatch[7677].INF [Restarting capture daemon for West_Cam, shared memory not valid]
05/16/06 10:41:06.598752 zmwatch[7677].INF ['zmc -m 1' started at 06/05/16 10:41:06] at /usr/local/bin/zmwatch.pl line 118
05/16/06 10:41:54.104936 zmwatch[7813].INF [Watchdog starting]
05/16/06 10:41:54.106171 zmwatch[7813].INF [Watchdog pausing for 30 seconds]
05/16/06 10:42:24.109360 zmwatch[7813].ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
05/16/06 10:42:24.109882 zmwatch[7813].INF [Restarting capture daemon for West_Cam, shared memory not valid]
05/16/06 10:42:24.395742 zmwatch[7813].INF ['zmc -m 1' starting at 06/05/16 10:42:24, pid = 7863] at /usr/local/bin/zmwatch.pl line 118
05/16/06 10:44:11.467148 zmwatch[7979].INF [Watchdog starting]
05/16/06 10:44:11.468280 zmwatch[7979].INF [Watchdog pausing for 30 seconds]

--------------------------------------------------------------------------------------------------------------
dtx079:/var/log # tail -f messages
May 16 11:05:30 dtx079 zmdc[7940]: INF ['zmc -m 1' crashed, signal 6]
May 16 11:05:48 dtx079 dhclient: DHCPREQUEST on eth0 to 207.243.92.10 port 67
May 16 11:05:48 dtx079 dhclient: DHCPACK from 207.243.92.10
May 16 11:05:48 dtx079 dhclient: bound to 207.243.92.35 -- renewal in 1707 seconds.
May 16 11:15:30 dtx079 zmdc[7940]: INF [Starting pending process, zmc -m 1]
May 16 11:15:30 dtx079 zmdc[8194]: INF ['zmc -m 1' started at 06/05/16 11:15:30]
May 16 11:15:30 dtx079 zmdc[7940]: INF ['zmc -m 1' starting at 06/05/16 11:15:30, pid = 8194]
May 16 11:15:30 dtx079 zmc_m1[8194]: INF [Debug Level = 0, Debug Log = <none>]
May 16 11:15:30 dtx079 zmc_m1[8194]: INF [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.08194]
May 16 11:15:30 dtx079 zmdc[7940]: INF ['zmc -m 1' crashed, signal 6]
---------------------------------------------------------------------------------------------------------------

daniel@dtx079:/tmp> cat zm_debug.log.08194

05/16/06 11:15:30.195989 zmc_m1[8194].INF-zm_debug.c/304 [New Debug Level = 5, New Debug Log = /tmp/zm_debug.log.08194]
05/16/06 11:15:30.196935 zmc_m1[8194].DB1-zm_monitor.cpp/1871 [Got 1 monitors]
05/16/06 11:15:30.197166 zmc_m1[8194].DB2-zm_remote_camera.cpp/124 [Request: GET /axis-cgi/jpg/image.cgi HTTP/1.1
User-Agent: ZoneMinder/1.22.1
Host: 207.243.92.51
Connection: Keep-Alive

]
05/16/06 11:15:30.198192 zmc_m1[8194].DB1-zm_monitor.cpp/235 [monitor purpose=1]
05/16/06 11:15:30.198239 zmc_m1[8194].DB1-zm_monitor.cpp/242 [shm.size=9216964]
05/16/06 11:15:30.209305 zmc_m1[8194].DB1-zm_zone.cpp/49 [Initialised zone 0/All - 1 - 320x240 - Rgb:ff0000, CM:3, MnAT:15, MxAT:0, MnAP:50, MxAP:75000, FB:3x3, MnFP:50, MxFP:50000, MnBS:10, MxBS:0, MnB:0, MxB:0]
05/16/06 11:15:30.211768 zmc_m1[8194].DB1-zm_monitor.cpp/311 [Monitor West_Cam has function 2]
05/16/06 11:15:30.211810 zmc_m1[8194].DB1-zm_monitor.cpp/312 [Monitor West_Cam LBF = '%%s - %y/%m/%d %H:%M:%S', LBX = 0, LBY = 0]
05/16/06 11:15:30.211830 zmc_m1[8194].DB1-zm_monitor.cpp/313 [Monitor West_Cam IBC = 40, WUC = 25, pEC = 10, PEC = 10, EAF = 1, FRI = 1000, RBP = 7, FM = 0]
05/16/06 11:15:30.212489 zmc_m1[8194].DB1-zm_zone.cpp/849 [Got 1 zones for monitor West_Cam]
05/16/06 11:15:30.212543 zmc_m1[8194].DB5-zm_zone.cpp/877 [Parsing polygon 0,0 320,0 320,240 0,240]
05/16/06 11:15:30.212564 zmc_m1[8194].DB3-zm_zone.cpp/718 [Parsing polygon string '0,0 320,0 320,240 0,240']
05/16/06 11:15:30.212584 zmc_m1[8194].DB3-zm_zone.cpp/756 [Got coordinate 0,0 from polygon string]
05/16/06 11:15:30.212605 zmc_m1[8194].DB3-zm_zone.cpp/756 [Got coordinate 320,0 from polygon string]
05/16/06 11:15:30.212624 zmc_m1[8194].DB3-zm_zone.cpp/756 [Got coordinate 320,240 from polygon string]
05/16/06 11:15:30.212643 zmc_m1[8194].DB3-zm_zone.cpp/756 [Got coordinate 0,240 from polygon string]
05/16/06 11:15:30.212666 zmc_m1[8194].DB3-zm_zone.cpp/776 [Successfully parsed polygon string]
05/16/06 11:15:30.212693 zmc_m1[8194].DB1-zm_zone.cpp/49 [Initialised zone 1/All - 1 - 321x241 - Rgb:ff0000, CM:3, MnAT:25, MxAT:0, MnAP:2304, MxAP:57600, FB:3x3, MnFP:2304, MxFP:57600, MnBS:1536, MxBS:0, MnB:1, MxB:0]
05/16/06 11:15:30.214360 zmc_m1[8194].ERR-zm_image.cpp/440 [Attempting to crop outside image, 0,0 -> 320,240 not in 320,240]

daniel@dtx079:/tmp> tail -f zmdc.log
b7ed9000-b7ee7000 rw-p 002e7000 03:02 150774 /usr/lib/libavcodec.so.51.9.0
b7ee7000-b7f4c000 rw-p b7ee7000 00:00 0
b7f4c000-b7fbd000 r-xp 00000000 03:02 150777 /usr/lib/libavformat.so.50.4.0
b7fbd000-b7fc2000 rw-p 00071000 03:02 150777 /usr/lib/libavformat.so.50.4.0
b7fd6000-b7fd8000 rw-p b7fd6000 00:00 0
b7fd8000-b7ff2000 r-xp 00000000 03:02 16273 /lib/ld-2.4.so
b7ff2000-b7ff4000 rw-p 00019000 03:02 16273 /lib/ld-2.4.so
bfaec000-bfb01000 rwxp bfaec000 00:00 0 [stack]
ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]
05/16/06 11:15:30.218383 zmdc[7940].INF ['zmc -m 1' crashed, signal 6]

dtx079:/home/daniel # zmu -m 1 -q -v
*** glibc detected *** zmu: realloc(): invalid next size: 0x0ed12810 ***
======= Backtrace: =========
/lib/libc.so.6[0xb775b911]
/lib/libc.so.6[0xb775e598]
/lib/libc.so.6(__libc_realloc+0x100)[0xb775f6b0]
/lib/libc.so.6[0xb7754a4a]
/lib/libc.so.6(fclose+0xd1)[0xb774cc41]
/lib/libc.so.6(__vsyslog_chk+0x1a6)[0xb77b1b16]
/lib/libc.so.6(syslog+0x2a)[0xb77b1f4a]
zmu[0x806f230]
zmu[0x804ff76]
zmu[0x80565ce]
zmu[0x8057618]
zmu[0x8064c06]
zmu[0x804b3bc]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb770d87c]
zmu(__gxx_personality_v0+0xad)[0x804aae1]
======= Memory map: ========
08048000-0807f000 r-xp 00000000 03:02 151944 /usr/local/bin/zmu
0807f000-08089000 rw-p 00036000 03:02 151944 /usr/local/bin/zmu
08089000-0ed1a000 rw-p 08089000 00:00 0 [heap]
b6700000-b6721000 rw-p b6700000 00:00 0
b6721000-b6800000 ---p b6721000 00:00 0
b68e3000-b71ae000 rw-s 00000000 00:07 4096021 /SYSV7a6d2001 (deleted)
b71ae000-b7220000 rw-p b71ae000 00:00 0
b7220000-b7228000 r-xp 00000000 03:02 16297 /lib/libnss_files-2.4.so
b7228000-b722a000 rw-p 00007000 03:02 16297 /lib/libnss_files-2.4.so
b722a000-b722c000 rw-p b722a000 00:00 0
b722c000-b72d5000 r-xp 00000000 03:02 150598 /usr/lib/libmp4v2.so.0.0.0
b72d5000-b72d9000 rw-p 000a8000 03:02 150598 /usr/lib/libmp4v2.so.0.0.0
b72d9000-b72ea000 r-xp 00000000 03:02 16291 /lib/libnsl-2.4.so
b72ea000-b72ec000 rw-p 00010000 03:02 16291 /lib/libnsl-2.4.so
b72ec000-b72ee000 rw-p b72ec000 00:00 0
b72ee000-b72f7000 r-xp 00000000 03:02 16284 /lib/libcrypt-2.4.so
b72f7000-b72fa000 rw-p 00008000 03:02 16284 /lib/libcrypt-2.4.so
b72fa000-b7322000 rw-p b72fa000 00:00 0
b7322000-b73bf000 r-xp 00000000 03:02 150567 /usr/lib/libx264.so.46
b73bf000-b73c1000 rw-p 0009c000 03:02 150567 /usr/lib/libx264.so.46
b73c1000-b73c4000 rw-p b73c1000 00:00 0
b73c4000-b745f000 r-xp 00000000 03:02 150719 /usr/lib/libxvidcore.so.4.1
b745f000-b7460000 rw-p 0009b000 03:02 150719 /usr/lib/libxvidcore.so.4.1
b7460000-b74d3000 rw-p b7460000 00:00 0
b74d3000-b74e0000 r-xp 00000000 03:02 150766 /usr/lib/libfaac.so.0.0.0
b74e0000-b74e3000 rw-p 0000d000 03:02 150766 /usr/lib/libfaac.so.0.0.0
b74e3000-b7518000 r-xp 00000000 03:02 150729 /usr/lib/libfaad.so.0.0.0
b7518000-b751b000 rw-p 00035000 03:02 150729 /usr/lib/libfaad.so.0.0.0
b751b000-b7537000 r-xp 00000000 03:02 32649 /usr/lib/libtheora.so.0.2.0
b7537000-b7538000 rw-p 0001b000 03:02 32649 /usr/lib/libtheora.so.0.2.0
b7538000-b7543000 r-xp 00000000 03:02 32653 /usr/lib/libvorbisenc.so.2.0.2
b7543000-b7632000 rw-p 0000a000 03:02 32653 /usr/lib/libvorbisenc.so.2.0.2
b7632000-b7635000 rw-p b7632000 00:00 0
b7635000-b764f000 r-xp 00000000 03:02 32651 /usr/lib/libvorbis.so.0.3.1
b764f000-b765d000 rw-p 0001a000 03:02 32651 /usr/lib/libvorbis.so.0.3.1
b765d000-b7661000 r-xp 00000000 03:02 30379 /usr/lib/libogg.so.0.5.3
b7661000-b7662000 rw-p 00003000 03:02 30379 /usr/lib/libogg.so.0.5.3
b7662000-b76a2000 r-xp 00000000 03:02 150578 /usr/lib/libmp3lame.so.0.0.0
b76a2000-b76a4000 rw-p 0003f000 03:02 150578 /usr/lib/libmp3lame.so.0.0.0
b76a4000-b76f8000 rw-p b76a4000 00:00 0
b76f8000-b7811000 r-xp 00000000 03:02 16280 /lib/libc-2.4.so
b7811000-b7813000 r--p 00118000 03:02 16280 /lib/libc-2.4.so
b7813000-b7815000 rw-p 0011a000 03:02 16280 /lib/libc-2.4.so
b7815000-b7818000 rw-p b7815000 00:00 0
b7818000-b7822000 r-xp 00000000 03:02 28024 /lib/libgcc_s.so.1
b7822000-b7823000 rw-p 00009000 03:02 28024 /lib/libgcc_s.so.1
b7823000-b7846000 r-xp 00000000 03:02 16288 /lib/libm-2.4.so
b7846000-b7848000 rw-p 00022000 03:02 16288 /lib/libm-2.4.so
b7848000-b7849000 rw-p b7848000 00:00 0
b7849000-b791e000 r-xp 00000000 03:02 28841 /usr/lib/libstdc++.so.6.0.8
b791e000-b7921000 r--p 000d5000 03:02 28841 /usr/lib/libstdc++.so.6.0.8
b7921000-b7923000 rw-p 000d8000 03:02 28841 /usr/lib/libstdc++.so.6.0.8
b7923000-b7929000 rw-p b7923000 00:00 0
b7929000-b7947000 r-xp 00000000 03:02 28085 /usr/lib/libjpeg.so.62.0.0
b7947000-b7948000 rw-p 0001d000 03:02 28085 /usr/lib/libjpeg.so.62.0.0
b7948000-b7959000 r-xp 00000000 03:02 28602 /lib/libz.so.1.2.3
b7959000-b795a000 rw-p 00010000 03:02 28602 /lib/libz.so.1.2.3
b795a000-b795c000 r-xp 00000000 03:02 16286 /lib/libdl-2.4.so
b795c000-b795e000 rw-p 00001000 03:02 16286 /lib/libdl-2.4.so
b795e000-b7a6c000 r-xp 00000000 03:02 142171 /usr/lib/libmysqlclient.so.15.0.0
b7a6c000-b7a97000 rw-p 0010e000 03:02 142171 /usr/lib/libmysqlclient.so.15.0.0
b7a97000-b7ba6000 r-xp 00000000 03:02 47515 /usr/lib/libcrypto.so.0.9.8
b7ba6000-b7bba000 rw-p 0010f000 03:02 47515 /usr/lib/libcrypto.so.0.9.8
b7bba000-b7bbe000 rw-p b7bba000 00:00 0
b7bbe000-b7bd3000 r-xp 00000000 03:02 29055 /usr/lib/libpcre.so.0.0.1
b7bd3000-b7bea000 rw-p 00015000 03:02 29055 /usr/lib/libpcre.so.0.0.1
b7bea000-b7bed000 r-xp 00000000 03:02 150779 /usr/lib/libavutil.so.49.0.0
b7bed000-b7bee000 rw-p 00002000 03:02 150779 /usr/lib/libavutil.so.49.0.0
b7bee000-b7ed6000 r-xp 00000000 03:02 150774 /usr/lib/libavcodec.so.51.9.0
b7ed6000-b7ee4000 rw-p 002e7000 03:02 150774 /usr/lib/libavcodec.so.51.9.0
b7ee4000-b7f49000 rw-p b7ee4000 00:00 0
b7f49000-b7fba000 r-xp 00000000 03:02 150777 /usr/lib/libavformat.so.50.4.0
b7fba000-b7fbf000 rw-p 00071000 03:02 150777 /usr/lib/libavformat.so.50.4.0
b7fd3000-b7fd5000 rw-p b7fd3000 00:00 0
b7fd5000-b7fef000 r-xp 00000000 03:02 16273 /lib/ld-2.4.so
b7fef000-b7ff1000 rw-p 00019000 03:02 16273 /lib/ld-2.4.so
bff98000-bffac000 rwxp bff98000 00:00 0 [stack]
bffac000-bffaf000 rw-p bffac000 00:00 0
ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]
dtx079:/home/daniel # ipcs -m

------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 131072 root 600 655360 2 dest
0x00000000 98305 root 600 33554432 10 dest
0x00000000 393218 daniel 600 393216 2 dest
0x00000000 229379 daniel 600 196608 2 dest
0x00000000 425988 daniel 600 393216 2 dest
0x00000000 458757 daniel 600 196608 2 dest
0x00000000 491526 daniel 600 393216 2 dest
0x00000000 524295 daniel 600 393216 2 dest
0x00000000 557064 daniel 600 393216 2 dest
0x00000000 589833 daniel 600 393216 2 dest
0x00000000 622602 daniel 600 393216 2 dest
0x00000000 655371 daniel 600 196608 2 dest
0x00000000 753676 daniel 600 196608 2 dest
0x00000000 786445 daniel 600 196608 2 dest
0x00000000 819214 daniel 600 393216 2 dest
0x00000000 851983 daniel 600 393216 2 dest
0x00000000 884752 daniel 600 12288 2 dest
0x00000000 917521 daniel 600 12288 2 dest
0x00000000 2392082 daniel 600 393216 2 dest
0x00000000 2424851 daniel 600 196608 2 dest
0x00000000 1081364 daniel 600 196608 2 dest
0x7a6d2001 4096021 wwwrun 700 9216964 0
0x00000000 2523158 daniel 600 393216 2 dest
0x00000000 1277975 daniel 600 196608 2 dest
0x00000000 2555928 daniel 600 196608 2 dest
0x00000000 1671193 daniel 600 196608 2 dest
0x00000000 1703962 daniel 600 393216 2 dest
0x00000000 2654235 root 600 262144 1 dest
0x00000000 3702812 daniel 600 393216 2 dest
0x00000000 3735581 daniel 600 196608 2 dest
madlinux
Posts: 7
Joined: Thu May 11, 2006 3:19 am

Post by madlinux »

Problem resolved, installed Fedora. ;)
sick347
Posts: 85
Joined: Tue Mar 28, 2006 5:19 pm

Post by sick347 »

I run SUSE 10.0 and have built several systems...all running great.

this was most likely your problem:

05/16/06 10:41:06.312267 zmwatch[7677].ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]

there are several posts here that tell you what to do about this memory share issue.

-frank
got my eye on you!
madlinux
Posts: 7
Joined: Thu May 11, 2006 3:19 am

Post by madlinux »

shmmax did not help if that is what you are insinuating. I read more posts than I care to admit on this forum looking for the answer to no avail. Its all good though now, thanks for responding.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I think this is a polygon resizing issue that is fixed in 1.22.2 by the looks of it. It would mostly happen when resizing a monitor to say 320x240 from a larger size.
Phil
Locked