zmc crach

Support and queries relating to all previous versions of ZoneMinder
Locked
djsb
Posts: 53
Joined: Mon Apr 05, 2004 2:50 am

zmc crach

Post by djsb »

I'm getting a crash on one single device. All the others work ok. Here is the output of an zmc --device device

I'm running version 1.22.0

[root@server local]# /usr/local/bin/zmc --device /dev/video4
*** glibc detected *** /usr/local/bin/zmc: realloc(): invalid next size: 0x0f0cb538 ***
======= Backtrace: =========
/lib/libc.so.6[0x78111a]
/lib/libc.so.6(__libc_realloc+0xf3)[0x781b17]
/lib/libc.so.6[0x777e5b]
/lib/libc.so.6(fclose+0xc1)[0x770a99]
/lib/libc.so.6(vsyslog+0x187)[0x7e2adc]
/lib/libc.so.6(syslog+0x22)[0x7e2ef8]
/usr/local/bin/zmc[0x8067595]
/usr/local/bin/zmc[0x804e4b5]
/usr/local/bin/zmc[0x8054149]
/usr/local/bin/zmc[0x8056fd2]
/usr/local/bin/zmc[0x8063fb3]
/usr/local/bin/zmc[0x804b163]
/lib/libc.so.6(__libc_start_main+0xdf)[0x730d7f]
/usr/local/bin/zmc(__gxx_personality_v0+0xb1)[0x804a8a9]
======= Memory map: ========
00101000-00280000 r-xp 00000000 03:42 1213699 /usr/lib/libavcodec-0.4.8.so
00280000-00285000 rwxp 0017e000 03:42 1213699 /usr/lib/libavcodec-0.4.8.so
00285000-002d2000 rwxp 00285000 00:00 0
002d2000-003ca000 r-xp 00000000 03:42 737299 /lib/libcrypto.so.0.9.7f
003ca000-003dc000 rwxp 000f8000 03:42 737299 /lib/libcrypto.so.0.9.7f
003dc000-003df000 rwxp 003dc000 00:00 0
003df000-003fd000 r-xp 00000000 03:42 1212723 /usr/lib/libjpeg.so.62.0.0
003fd000-003fe000 rwxp 0001d000 03:42 1212723 /usr/lib/libjpeg.so.62.0.0
003fe000-00421000 r-xp 00000000 03:42 737285 /lib/libm-2.3.6.so
00421000-00422000 r-xp 00022000 03:42 737285 /lib/libm-2.3.6.so
00422000-00423000 rwxp 00023000 03:42 737285 /lib/libm-2.3.6.so
00423000-0042c000 r-xp 00000000 03:42 737286 /lib/libgcc_s-4.0.2-20051126.so.1
0042c000-0042d000 rwxp 00009000 03:42 737286 /lib/libgcc_s-4.0.2-20051126.so.1
0042d000-0043e000 r-xp 00000000 03:42 737291 /lib/libnsl-2.3.6.so
0043e000-0043f000 r-xp 00010000 03:42 737291 /lib/libnsl-2.3.6.so
0043f000-00440000 rwxp 00011000 03:42 737291 /lib/libnsl-2.3.6.so
00440000-00442000 rwxp 00440000 00:00 0
00442000-00446000 r-xp 00000000 03:42 1213093 /usr/lib/libogg.so.0.5.2
00446000-00447000 rwxp 00003000 03:42 1213093 /usr/lib/libogg.so.0.5.2
0044a000-0044b000 r-xp 0044a000 00:00 0 [vdso]
0044b000-00465000 r-xp 00000000 03:42 737282 /lib/ld-2.3.6.so
00465000-00466000 r-xp 00019000 03:42 737282 /lib/ld-2.3.6.so
00466000-00467000 rwxp 0001a000 03:42 737282 /lib/ld-2.3.6.so
00467000-004b2000 r-xp 00000000 03:42 4030498 /usr/lib/mysql/libmysqlclient.so.14.0.0
004b2000-005a3000 rwxp 0004a000 03:42 4030498 /usr/lib/mysql/libmysqlclient.so.14.0.0
005a3000-005a6000 rwxp 005a3000 00:00 0
005a6000-005af000 r-xp 00000000 03:42 2411811 /lib/libnss_files-2.3.6.so
005af000-005b0000 r-xp 00008000 03:42 2411811 /lib/libnss_files-2.3.6.so
005b0000-005b1000 rwxp 00009000 03:42 2411811 /lib/libnss_files-2.3.6.so
005bb000-005bd000 r-xp 00000000 03:42 737284 /lib/libdl-2.3.6.so
005bd000-005be000 r-xp 00001000 03:42 737284 /lib/libdl-2.3.6.so
005be000-005bf000 rwxp 00002000 03:42 737284 /lib/libdl-2.3.6.so
005c1000-005d3000 r-xp 00000000 03:42 1212539 /usr/lib/libz.so.1.2.2.2
005d3000-005d4000 rwxp 00011000 03:42 1212539 /usr/lib/libz.so.1.2.2.2
005d4000-006a9000 r-xp 00000000 03:42 1212473 /usr/lib/libstdc++.so.6.0.7
006a9000-006ae000 rwxp 000d5000 03:42 1212473 /usr/lib/libstdc++.so.6.0.7
006ae000-006b3000 rwxp 006ae000 00:00 0
006d0000-0071a000 r-xp 00000000 03:42 1213095 /usr/lib/libavformat-0.4.8.so
0071a000-0071c000 rwxp 0004a000 03:42 1213095 /usr/lib/libavformat-0.4.8.so
0071c000-0083f000 r-xp 00000000 03:42 737283 /lib/libc-2.3.6.so
0083f000-00841000 r-xp 00122000 03:42 737283 /lib/libc-2.3.6.so
00841000-00843000 rwxp 00124000 03:42 737283 /lib/libc-2.3.6.so
00843000-00845000 rwxp 00843000 00:00 0
00845000-00850000 r-xp 00000000 03:42 1212517 /usr/lib/libvorbisenc.so.2.0.0
00850000-00941000 rwxp 0000a000 03:42 1212517 /usr/lib/libvorbisenc.so.2.0.0
00941000-00943000 rwxp 00941000 00:00 0
00a2f000-00a48000 r-xp 00000000 03:42 1212824 /usr/lib/libvorbis.so.0.3.0
00a48000-00a57000 rwxp 00019000 03:42 1212824 /usr/lib/libvorbis.so.0.3.0
00b4a000-00b85000 r-xp 00000000 03:42 1212875 /usr/lib/libfaad.so.0.0.0
00b85000-00b89000 rwxp 0003a000 03:42 1212875 /usr/lib/libfaad.so.0.0.0
00c18000-00c66000 r-xp 00000000 03:42 1213021 /usr/lib/libmp3lame.so.0.0.0
00c66000-00c69000 rwxp 0004e000 03:42 1213021 /usr/lib/libmp3lame.so.0.0.0
00c69000-00cbd000 rwxp 00c69000 00:00 0
00cc1000-00cd0000 r-xp 00000000 03:42 737296 /lib/libresolv-2.3.6.so
00cd0000-00cd1000 r-xp 0000e000 03:42 737296 /lib/libresolv-2.3.6.so
00cd1000-00cd2000 rwxp 0000f000 03:42 737296 /lib/libresolv-2.3.6.so
00cd2000-00cd4000 rwxp 00cd2000 00:00 0
00ce0000-00ce2000 r-xp 00000000 03:42 737297 /lib/libcom_err.so.2.1
00ce2000-00ce3000 rwxp 00001000 03:42 737297 /lib/libcom_err.so.2.1
00ce5000-00cf6000 r-xp 00000000 03:42 737345 /lib/libpcre.so.0.0.1
00cf6000-00cf7000 rwxp 00010000 03:42 737345 /lib/libpcre.so.0.0.1
00d01000-00d03000 r-xp 00000000 03:42 1212590 /usr/lib/libkrb5support.so.0.0
00d03000-00d04000 rwxp 00001000 03:42 1212590 /usr/lib/libkrb5support.so.0.0
00d06000-00d29000 r-xp 00000000 03:42 1212606 /usr/lib/libk5crypto.so.3.0
00d29000-00d2a000 rwxp 00023000 03:42 1212606 /usr/lib/libk5crypto.so.3.0
00d2c000-00d43000 r-xp 00000000 03:42 1212614 /usr/lib/libgssapi_krb5.so.2.2
00d43000-00d44000 rwxp 00017000 03:42 1212614 /usr/lib/libgssapi_krb5.so.2.2
00d46000-00db5000 r-xp 00000000 03:42 1212610 /usr/lib/libkrb5.so.3.2
00db5000-00db8000 rwxp 0006e000 03:42 1212610 /usr/lib/libkrb5.so.3.2
00dba000-00def000 r-xp 00000000 03:42 737300 /lib/libssl.so.0.9.7f
00def000-00df2000 rwxp 00035000 03:42 737300 /lib/libssl.so.0.9.7f
0458b000-04590000 r-xp 00000000 03:42 737303 /lib/libcrypt-2.3.6.so
04590000-04591000 r-xp 00004000 03:42 737303 /lib/libcrypt-2.3.6.so
04591000-04592000 rwxp 00005000 03:42 737303 /lib/libcrypt-2.3.6.so
04592000-045b9000 rwxp 04592000 00:00 0
08048000-08073000 r-xp 00000000 03:42 1294348 /usr/local/bin/zmc
08073000-0807e000 rw-p 0002b000 03:42 1294348 /usr/local/bin/zmc
0807e000-0dabb000 rw-p 0807e000 00:00 0
0f059000-0f0d2000 rw-p 0f059000 00:00 0 [heap]
b6900000-b6921000 rw-p b6900000 00:00 0
b6921000-b6a00000 ---p b6921000 00:00 0
b6aa3000-b6f09000 rw-s 00000000 00:07 524289 /SYSV7a6d2001 (deleted)
b6f09000-b7f49000 rw-s 00000000 00:0f 3648 /dev/video4
b7f49000-b7f4f000 rw-p b7f49000 00:00 0
b7f62000-b7f63000 rw-p b7f62000 00:00 0
bfb84000-bfb97000 rwxp bfb84000 00:00 0 [stack]
bfb97000-bfb9a000 rw-p bfb97000 00:00 0
Aborted
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Can you do

Code: Select all

addr2line /usr/local/bin/zmc 0x8067595 0x804e4b5 0x8054149 0x8056fd2 0x8063fb3 0x804b163 0x804a8a9
to get the symbolic equivalents of the backtrace addresses and post the results.
Phil
Locked