Problems starting new installation

Support and queries relating to all previous versions of ZoneMinder
Locked
credulous
Posts: 3
Joined: Sun May 07, 2006 10:36 am

Problems starting new installation

Post by credulous »

I have just installed zm on a 64bit dual processor Intel Xeon system and I get the following when I attempt to start it.
I am using it with a single Axis network camera that I already have working on an older version of zm running on a different server, I am moving to this new box because I want more power to add more cameras.

Any ideas?

Thanks

Steve Wilson

ZMWATCH.log
05/07/2006 11:23:20.330444 zmwatch[24580].ERR [Can't get shared memory id '7a6d2001', 1: No such file or directory]
05/07/2006 11:23:20.330759 zmwatch[24580].INF [Restarting capture daemon for Dining_room1, shared memory not valid]
05/07/2006 11:23:20.489526 zmwatch[24580].INF ['zmc -m 1' started at 06/05/07 11:23:20] at /usr/local/bin/zmwatch.pl line 118

Output from startup :-


*** glibc detected *** /usr/local/bin/zmc: realloc(): invalid next size: 0x00000000071c9d10 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3b49b6f25d]
/lib64/libc.so.6(__libc_realloc+0x11c)[0x3b49b6fc6c]
/lib64/libc.so.6[0x3b49b65194]
/lib64/libc.so.6(fclose+0xbf)[0x3b49b5d3ff]
/lib64/libc.so.6(__vsyslog_chk+0x191)[0x3b49bc7d51]
/lib64/libc.so.6(syslog+0x90)[0x3b49bc8280]
/usr/local/bin/zmc[0x423806]
/usr/local/bin/zmc[0x407483]
/usr/local/bin/zmc[0x40d199]
/usr/local/bin/zmc[0x40e074]
/usr/local/bin/zmc[0x41c891]
/usr/local/bin/zmc[0x404213]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3b49b1d084]
/usr/local/bin/zmc(__gxx_personality_v0+0x91)[0x4039e9]
======= Memory map: ========
00400000-00431000 r-xp 00000000 fd:03 2196589 /usr/local/bin/zmc
00530000-0053b000 rw-p 00030000 fd:03 2196589 /usr/local/bin/zmc
0053b000-071ea000 rw-p 0053b000 00:00 0 [heap]
387da00000-387da16000 r-xp 00000000 fd:00 65587 /lib64/libpcre.so.0.0.1
387da16000-387db16000 ---p 00016000 fd:00 65587 /lib64/libpcre.so.0.0.1
387db16000-387db2d000 rw-p 00016000 fd:00 65587 /lib64/libpcre.so.0.0.1
3b49900000-3b49919000 r-xp 00000000 fd:00 65589 /lib64/ld-2.4.so
3b49a19000-3b49a1a000 r--p 00019000 fd:00 65589 /lib64/ld-2.4.so
3b49a1a000-3b49a1b000 rw-p 0001a000 fd:00 65589 /lib64/ld-2.4.so
3b49b00000-3b49c3f000 r-xp 00000000 fd:00 65693 /lib64/libc-2.4.so
3b49c3f000-3b49d3f000 ---p 0013f000 fd:00 65693 /lib64/libc-2.4.so
3b49d3f000-3b49d43000 r--p 0013f000 fd:00 65693 /lib64/libc-2.4.so
3b49d43000-3b49d44000 rw-p 00143000 fd:00 65693 /lib64/libc-2.4.so
3b49d44000-3b49d49000 rw-p 3b49d44000 00:00 0
3b49e00000-3b49e02000 r-xp 00000000 fd:00 65576 /lib64/libdl-2.4.so
3b49e02000-3b49f02000 ---p 00002000 fd:00 65576 /lib64/libdl-2.4.so
3b49f02000-3b49f03000 r--p 00002000 fd:00 65576 /lib64/libdl-2.4.so
3b49f03000-3b49f04000 rw-p 00003000 fd:00 65576 /lib64/libdl-2.4.so
3b4a000000-3b4a080000 r-xp 00000000 fd:00 65770 /lib64/libm-2.4.so
3b4a080000-3b4a180000 ---p 00080000 fd:00 65770 /lib64/libm-2.4.so
3b4a180000-3b4a181000 r--p 00080000 fd:00 65770 /lib64/libm-2.4.so
3b4a181000-3b4a182000 rw-p 00081000 fd:00 65770 /lib64/libm-2.4.so
3b4a200000-3b4a214000 r-xp 00000000 fd:03 131211 /usr/lib64/libz.so.1.2.3
3b4a214000-3b4a313000 ---p 00014000 fd:03 131211 /usr/lib64/libz.so.1.2.3
3b4a313000-3b4a314000 rw-p 00013000 fd:03 131211 /usr/lib64/libz.so.1.2.3
3b4a400000-3b4a405000 r-xp 00000000 fd:03 131521 /usr/lib64/libogg.so.0.5.3
3b4a405000-3b4a504000 ---p 00005000 fd:03 131521 /usr/lib64/libogg.so.0.5.3
3b4a504000-3b4a505000 rw-p 00004000 fd:03 131521 /usr/lib64/libogg.so.0.5.3
3b4a600000-3b4a61d000 r-xp 00000000 fd:03 131219 /usr/lib64/libvorbis.so.0.3.1
3b4a61d000-3b4a71d000 ---p 0001d000 fd:03 131219 /usr/lib64/libvorbis.so.0.3.1
3b4a71d000-3b4a72c000 rw-p 0001d000 fd:03 131219 /usr/lib64/libvorbis.so.0.3.1
3b4a800000-3b4a812000 r-xp 00000000 fd:00 65682 /lib64/libpthread-2.4.so
3b4a812000-3b4a912000 ---p 00012000 fd:00 65682 /lib64/libpthread-2.4.so
3b4a912000-3b4a913000 r--p 00012000 fd:00 65682 /lib64/libpthread-2.4.so
3b4a913000-3b4a914000 rw-p 00013000 fd:00 65682 /lib64/libpthread-2.4.so
3b4a914000-3b4a918000 rw-p 3b4a914000 00:00 0
3b4aa00000-3b4aa1a000 r-xp 00000000 fd:03 131794 /usr/lib64/libvorbisenc.so.2.0.2
3b4aa1a000-3b4ab1a000 ---p 0001a000 fd:03 131794 /usr/lib64/libvorbisenc.so.2.0.2
3b4ab1a000-3b4acd9000 rw-p 0001a000 fd:03 131794 /usr/lib64/libvorbisenc.so.2.0.2
3b4acd9000-3b4acde000 rw-p 3b4acd9000 00:00 0
3b4b200000-3b4b211000 r-xp 00000000 fd:00 65766 /lib64/libresolv-2.4.so
3b4b211000-3b4b311000 ---p 00011000 fd:00 65766 /lib64/libresolv-2.4.so
3b4b311000-3b4b312000 r--p 00011000 fd:00 65766 /lib64/libresolv-2.4.so
3b4b312000-3b4b313000 rw-p 00012000 fd:00 65766 /lib64/libresolv-2.4.so
3b4b313000-3b4b315000 rw-p 3b4b313000 00:00 0
3b4b400000-3b4b402000 r-xp 00000000 fd:00 65767 /lib64/libcom_err.so.2.1
3b4b402000-3b4b501000 ---p 00002000 fd:00 65767 /lib64/libcom_err.so.2.1
3b4b501000-3b4b502000 rw-p 00001000 fd:00 65767 /lib64/libcom_err.so.2.1
3b4b600000-3b4b613000 r-xp 00000000 fd:00 65775 /lib64/libnsl-2.4.so
3b4b613000-3b4b713000 ---p 00013000 fd:00 65775 /lib64/libnsl-2.4.so
3b4b713000-3b4b714000 r--p 00013000 fd:00 65775 /lib64/libnsl-2.4.so
3b4b714000-3b4b715000 rw-p 00014000 fd:00 65775 /lib64/libnsl-2.4.so
3b4b715000-3b4b717000 rw-p 3b4b715000 00:00 0
3b4be00000-3b4be74000 r-xp 00000000 fd:03 131735 /usr/lib64/libkrb5.so.3.2
3b4be74000-3b4bf74000 ---p 00074000 fd:03 131735 /usr/lib64/libkrb5.so.3.2
3b4bf74000-3b4bf78000 rw-p 00074000 fd:03 131735 /usr/lib64/libkrb5.so.3.2
3b4c000000-3b4c022000 r-xp 00000000 fd:03 131616 /usr/lib64/libk5crypto.so.3.0
3b4c022000-3b4c121000 ---p 00022000 fd:03 131616 /usr/lib64/libk5crypto.so.3.0
3b4c121000-3b4c123000 rw-p 00021000 fd:03 131616 /usr/lib64/libk5crypto.so.3.0
3b4c200000-3b4c203000 r-xp 00000000 fd:03 131473 /usr/lib64/libkrb5support.so.0.0
3b4c203000-3b4c302000 ---p 00003000 fd:03 131473 /usr/lib64/libkrb5support.so.0.0
3b4c302000-3b4c303000 rw-p 00002000 fd:03 131473 /usr/lib64/libkrb5support.so.0.0
3b4c400000-3b4c527000 r-xp 00000000 fd:00 65768 /lib64/libcrypto.so.0.9.8a
3b4c527000-3b4c627000 ---p 00127000 fd:00 65768 /lib64/libcrypto.so.0.9.8a
3b4c627000-3b4c647000 rw-p 00127000 fd:00 65768 /lib64/libcrypto.so.0.9.8a
3b4c647000-3b4c64a000 rw-p 3b4c647000 00:00 0
3b4c700000-3b4c717000 r-xp 00000000 fd:03 131737 /usr/lib64/libgssapi_krb5.so.2.2
3b4c717000-3b4c817000 ---p 00017000 fd:03 131737 /usr/lib64/libgssapi_krb5.so.2.2
3b4c817000-3b4c818000 rw-p 00017000 fd:03 131737 /usr/lib64/libgssapi_krb5.so.2.2
3b4c900000-3b4c943000 r-xp 00000000 fd:00 65769 /lib64/libssl.so.0.9.8a
3b4c943000-3b4ca43000 ---p 00043000 fd:00 65769 /lib64/libssl.so.0.9.8a
3b4ca43000-3b4ca49000 rw-p 00043000 fd:00 65769 /lib64/libssl.so.0.9.8a
3b4cb00000-3b4cb0d000 r-xp 00000000 fd:00 65771 /lib64/libgcc_s-4.1.0-20060304.so.1
3b4cb0d000-3b4cc0d000 ---p 0000d000 fd:00 65771 /lib64/libgcc_s-4.1.0-20060304.so.1
3b4cc0d000-3b4cc0e000 rw-p 0000d000 fd:00 65771 /lib64/libgcc_s-4.1.0-20060304.so.1
3b4d100000-3b4d1e9000 r-xp 00000000 fd:03 131176 /usr/lib64/libstdc++.so.6.0.8
3b4d1e9000-3b4d2e8000 ---p 000e9000 fd:03 131176 /usr/lib64/libstdc++.so.6.0.8
3b4d2e8000-3b4d2ee000 r--p 000e8000 fd:03 131176 /usr/lib64/libstdc++.so.6.0.8
3b4d2ee000-3b4d2f1000 rw-p 000ee000 fd:03 131176 /usr/lib64/libstdc++.so.6.0.8
3b4d2f1000-3b4d303000 rw-p 3b4d2f1000 00:00 0
3b50100000-3b50121000 r-xp 00000000 fd:03 131513 /usr/lib64/libjpeg.so.62.0.0
3b50121000-3b50221000 ---p 00021000 fd:03 131513 /usr/lib64/libjpeg.so.62.0.0
3b50221000-3b50222000 rw-p 00021000 fd:03 131513 /usr/lib64/libjpeg.so.62.0.0
2aaaaaaab000-2aaaaaaac000 rw-p 2aaaaaaab000 00:00 0
2aaaaaab9000-2aaaaaaba000 rw-p 2aaaaaab9000 00:00 0
2aaaaaaba000-2aaaaab20000 r-xp 00000000 fd:03 1245232 /usr/lib64/libavformat.so.50.3.0
2aaaaab20000-2aaaaac1f000 ---p 00066000 fd:03 1245232 /usr/lib64/libavformat.so.50.3.0
2aaaaac1f000-2aaaaac29000 rw-p 00065000 fd:03 1245232 /usr/lib64/libavformat.so.50.3.0
2aaaaac29000-2aaaaae8c000 r-xp 00000000 fd:03 1245230 /usr/lib64/libavcodec.so.51.7.0
2aaaaae8c000-2aaaaaf8c000 ---p 00263000 fd:03 1245230 /usr/lib64/libavcodec.so.51.7.0
2aaaaaf8c000-2aaaaaf9c000 rw-p 00263000 fd:03 1245230 /usr/lib64/libavcodec.so.51.7.0
2aaaaaf9c000-2aaaaafff000 rw-p 2aaaaaf9c000 00:00 0
2aaaaafff000-2aaaab002000 r-xp 00000000 fd:03 1245228 /usr/lib64/libavutil.so.49.0.0
2aaaab002000-2aaaab101000 ---p 00003000 fd:03 1245228 /usr/lib64/libavutil.so.49.0.0
2aaaab101000-2aaaab102000 rw-p 00002000 fd:03 1245228 /usr/lib64/libavutil.so.49.0.0
2aaaab102000-2aaaab103000 rw-p 2aaaab102000 00:00 0
2aaaab103000-2aaaab222000 r-xp 00000000 fd:03 262503 /usr/lib64/mysql/libmysqlclient.so.15.0.0
2aaaab222000-2aaaab321000 ---p 0011f000 fd:03 262503 /usr/lib64/mysql/libmysqlclient.so.15.0.0
2aaaab321000-2aaaab350000 rw-p 0011e000 fd:03 262503 /usr/lib64/mysql/libmysqlclient.so.15.0.0
2aaaab350000-2aaaab354000 rw-p 2aaaab350000 00:00 0
2aaaab354000-2aaaab3bc000 r-xp 00000000 fd:03 1245224 /usr/lib64/libmp3lame.so.0.0.0
2aaaab3bc000-2aaaab4bc000 ---p 00068000 fd:03 1245224 /usr/lib64/libmp3lame.so.0.0.0
2aaaab4bc000-2aaaab4be000 rw-p 00068000 fd:03 1245224 /usr/lib64/libmp3lame.so.0.0.0
2aaaab4be000-2aaaab513000 rw-p 2aaaab4be000 00:00 0
2aaaab513000-2aaaab52f000 r-xp 00000000 fd:03 1245226 /usr/lib64/libtheora.so.0.2.0
2aaaab52f000-2aaaab62f000 ---p 0001c000 fd:03 1245226 /usr/lib64/libtheora.so.0.2.0
2aaaab62f000-2aaaab630000 rw-p 0001c000 fd:03 1245226 /usr/lib64/libtheora.so.0.2.0
2aaaab630000-2aaaab69c000 r-xp 00000000 fd:03 131873 /usr/lib64/libxvidcore.so.4.1
2aaaab69c000-2aaaab79c000 ---p 0006c000 fd:03 131873 /usr/lib64/libxvidcore.so.4.1
2aaaab79c000-2aaaab79d000 rw-p 0006c000 fd:03 131873 /usr/lib64/libxvidcore.so.4.1
2aaaab79d000-2aaaab811000 rw-p 2aaaab79d000 00:00 0
2aaaab811000-2aaaab820000 r-xp 00000000 fd:03 1245220 /usr/lib64/libdc1394_control.so.13.0.0
2aaaab820000-2aaaab91f000 ---p 0000f000 fd:03 1245220 /usr/lib64/libdc1394_control.so.13.0.0
2aaaab91f000-2aaaab920000 rw-p 0000e000 fd:03 1245220 /usr/lib64/libdc1394_control.so.13.0.0
2aaaab920000-2aaaab925000 r-xp 00000000 fd:03 1245218 /usr/lib64/libraw1394.so.8.1.0
2aaaab925000-2aaaaba25000 ---p 00005000 fd:03 1245218 /usr/lib64/libraw1394.so.8.1.0
2aaaaba25000-2aaaaba26000 rw-p 00005000 fd:03 1245218 /usr/lib64/libraw1394.so.8.1.0
2aaaaba26000-2aaaaba27000 rw-p 2aaaaba26000 00:00 0
2aaaaba27000-2aaaaba2c000 r-xp 00000000 fd:00 65778 /lib64/libcrypt-2.4.so
2aaaaba2c000-2aaaabb2b000 ---p 00005000 fd:00 65778 /lib64/libcrypt-2.4.so
2aaaabb2b000-2aaaabb2c000 r--p 00004000 fd:00 65778 /lib64/libcrypt-2.4.so
2aaaabb2c000-2aaaabb2d000 rw-p 00005000 fd:00 65778 /lib64/libcrypt-2.4.so
2aaaabb2d000-2aaaabb60000 rw-p 2aaaabb2d000 00:00 0
2aaaabb60000-2aaaabb6a000 r-xp 00000000 fd:00 65564 /lib64/libnss_files-2.4.so
2aaaabb6a000-2aaaabc69000 ---p 0000a000 fd:00 65564 /lib64/libnss_files-2.4.so
2aaaabc69000-2aaaabc6a000 r--p 00009000 fd:00 65564 /lib64/libnss_files-2.4.so
2aaaabc6a000-2aaaabc6b000 rw-p 0000a000 fd:00 65564 /lib64/libnss_files-2.4.so
2aaaabc6b000-2aaaabd16000 rw-p 2aaaabc6b000 00:00 0
2aaaabd16000-2aaaac5e1000 rw-s 00000000 00:08 131072 /SYSV7a6d2001 (deleted)
2aaaac600000-2aaaac621000 rw-p 2aaaac600000 00:00 0
2aaaac621000-2aaaac700000 ---p 2aaaac621000 00:00 0
7fffff9ae000-7fffff9c4000 rw-p 7fffff9ae000 00:00 0 [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vdso]
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If you can do

Code: Select all

addr2line /usr/local/bin/zmc 0x423806 0x407483 0x40d199 0x40e074 0x41c891 0x404213
it would be useful. I have patched a couple of similar issues just lately so it might be one of those.
Phil
credulous
Posts: 3
Joined: Sun May 07, 2006 10:36 am

Post by credulous »

Hey Phil,

Thanks, here she blows :-


[root@zeppo ~]# addr2line -e /usr/local/bin/zmc 0x423806 0x407483 0x40d199 0x40e074 0x41c891 0x404213
/usr/local/src/ZoneMinder-1.22.1/src/zm_debug.c:458
/usr/local/src/ZoneMinder-1.22.1/src/zm_image.cpp:440
/usr/local/src/ZoneMinder-1.22.1/src/zm_zone.cpp:67
/usr/local/src/ZoneMinder-1.22.1/src/zm_zone.cpp:898
/usr/local/src/ZoneMinder-1.22.1/src/zm_monitor.cpp:2006
/usr/local/src/ZoneMinder-1.22.1/src/zmc.cpp:169
credulous
Posts: 3
Joined: Sun May 07, 2006 10:36 am

Post by credulous »

Hey Phil,

Any luck with identifying if my problems would be fixed with your recent patches?

Thanks

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

Post by zoneminder »

Yes, I think your problem is one that should now have been fixed. Check your zone sizes and make sure the extents go from 0-(height-1) and 0-(width-1), especially if you have been resizing monitors.
Phil
Locked