Hello,
the problem should be fixed in the development version. You can get the development version here:
https://bitbucket.org/tildeslash/monit/get/master.tar.gz
To compile:
1.) ./bootstrap 2.) ./configure 3.) make
Regards, Martin
On 28 Apr 2014, at 22:50, Jan-Henrik Haukeland < address@hidden> wrote: Hello
Yes we noticed. We are looking into this and will release 5.8.1 as soon as we have a fix. The problem is also mentioned in this issue, https://bitbucket.org/tildeslash/monit/issue/37/segfault-on-ubuntu-12044-with-monit-58
On 28 Apr 2014, at 21:44, Hans Kowallik <address@hidden> wrote:
Greetings!
On our systems - Red Hat Linux 6.5 running on VMware - monit 5.8 dies after a few hours with a segfault.
In some cases we get a syslog message: kernel: monit[17399]: segfault at 19 ip 00007f31034f078a sp 00007fff9bdfaa80 error 4 in libc-2.12.so[7f3103478000+18b000]
Starting monit with -Iv we also got a backtrace,
.... 'localhost-logstash_shipper' zombie check succeeded [status_flag=0000] *** glibc detected *** /usr/bin/monit: double free or corruption (!prev): 0x000000000122e540 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x76166)[0x7fcafc7f8166] /lib64/libc.so.6(+0x78c93)[0x7fcafc7fac93] /usr/bin/monit[0x41a71c] /usr/bin/monit[0x428d0d] /usr/bin/monit[0x40fd37] /usr/bin/monit[0x410865] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7fcafc7a0d1d] /usr/bin/monit[0x4048ea] ======= Memory map: ======== 00400000-005aa000 r-xp 00000000 fd:00 7180 /usr/bin/monit 006aa000-006b7000 rw-p 001aa000 fd:00 7180 /usr/bin/monit 006b7000-006be000 rw-p 00000000 00:00 0 011f5000-0124f000 rw-p 00000000 00:00 0 [heap] 7fcaf4000000-7fcaf402b000 rw-p 00000000 00:00 0 7fcaf402b000-7fcaf8000000 ---p 00000000 00:00 0 7fcafb2c4000-7fcafb2da000 r-xp 00000000 fd:00 9830 /lib64/libgcc_s-4.4.7-20120601.so.1 7fcafb2da000-7fcafb4d9000 ---p 00016000 fd:00 9830 /lib64/libgcc_s-4.4.7-20120601.so.1 7fcafb4d9000-7fcafb4da000 rw-p 00015000 fd:00 9830 /lib64/libgcc_s-4.4.7-20120601.so.1 7fcafb4da000-7fcafb4db000 ---p 00000000 00:00 0 7fcafb4db000-7fcafbedb000 rw-p 00000000 00:00 0 7fcafbedb000-7fcafbee0000 r-xp 00000000 fd:00 3473 /lib64/libnss_dns-2.12.so 7fcafbee0000-7fcafc0df000 ---p 00005000 fd:00 3473 /lib64/libnss_dns-2.12.so 7fcafc0df000-7fcafc0e0000 r--p 00004000 fd:00 3473 /lib64/libnss_dns-2.12.so 7fcafc0df000-7fcafc0e0000 r--p 00004000 fd:00 3473 /lib64/libnss_dns-2.12.so 7fcafc0e0000-7fcafc0e1000 rw-p 00005000 fd:00 3473 /lib64/libnss_dns-2.12.so 7fcafc0e1000-7fcafc0ed000 r-xp 00000000 fd:00 3848 /lib64/libnss_files-2.12.so 7fcafc0ed000-7fcafc2ed000 ---p 0000c000 fd:00 3848 /lib64/libnss_files-2.12.so 7fcafc2ed000-7fcafc2ee000 r--p 0000c000 fd:00 3848 /lib64/libnss_files-2.12.so 7fcafc2ee000-7fcafc2ef000 rw-p 0000d000 fd:00 3848 /lib64/libnss_files-2.12.so 7fcafc2ef000-7fcafc360000 r-xp 00000000 fd:00 1632 /lib64/libfreebl3.so 7fcafc360000-7fcafc55f000 ---p 00071000 fd:00 1632 /lib64/libfreebl3.so 7fcafc55f000-7fcafc561000 r--p 00070000 fd:00 1632 /lib64/libfreebl3.so 7fcafc561000-7fcafc562000 rw-p 00072000 fd:00 1632 /lib64/libfreebl3.so 7fcafc562000-7fcafc566000 rw-p 00000000 00:00 0 7fcafc566000-7fcafc57d000 r-xp 00000000 fd:00 3920 /lib64/libaudit.so.1.0.0 7fcafc57d000-7fcafc77c000 ---p 00017000 fd:00 3920 /lib64/libaudit.so.1.0.0 7fcafc77c000-7fcafc77d000 r--p 00016000 fd:00 3920 /lib64/libaudit.so.1.0.0 7fcafc77d000-7fcafc782000 rw-p 00017000 fd:00 3920 /lib64/libaudit.so.1.0.0 7fcafc782000-7fcafc90d000 r-xp 00000000 fd:00 3459 /lib64/libc-2.12.so 7fcafc90d000-7fcafcb0c000 ---p 0018b000 fd:00 3459 /lib64/libc-2.12.so 7fcafcb0c000-7fcafcb10000 r--p 0018a000 fd:00 3459 /lib64/libc-2.12.so 7fcafcb10000-7fcafcb11000 rw-p 0018e000 fd:00 3459 /lib64/libc-2.12.so 7fcafcb11000-7fcafcb16000 rw-p 00000000 00:00 0 7fcafcb16000-7fcafcb2c000 r-xp 00000000 fd:00 3846 /lib64/libnsl-2.12.so 7fcafcb2c000-7fcafcd2b000 ---p 00016000 fd:00 3846 /lib64/libnsl-2.12.so 7fcafcd2b000-7fcafcd2c000 r--p 00015000 fd:00 3846 /lib64/libnsl-2.12.so 7fcafcd2c000-7fcafcd2d000 rw-p 00016000 fd:00 3846 /lib64/libnsl-2.12.so 7fcafcd2d000-7fcafcd2f000 rw-p 00000000 00:00 0 7fcafcd2f000-7fcafcd45000 r-xp 00000000 fd:00 3850 /lib64/libresolv-2.12.so 7fcafcd45000-7fcafcf45000 ---p 00016000 fd:00 3850 /lib64/libresolv-2.12.so 7fcafcf45000-7fcafcf46000 r--p 00016000 fd:00 3850 /lib64/libresolv-2.12.so 7fcafcf46000-7fcafcf47000 rw-p 00017000 fd:00 3850 /lib64/libresolv-2.12.so 7fcafcf47000-7fcafcf49000 rw-p 00000000 00:00 0 7fcafcf49000-7fcafcf50000 r-xp 00000000 fd:00 3463 /lib64/libcrypt-2.12.so 7fcafcf50000-7fcafd150000 ---p 00007000 fd:00 3463 /lib64/libcrypt-2.12.so 7fcafd150000-7fcafd151000 r--p 00007000 fd:00 3463 /lib64/libcrypt-2.12.so 7fcafd151000-7fcafd152000 rw-p 00008000 fd:00 3463 /lib64/libcrypt-2.12.so 7fcafd152000-7fcafd180000 rw-p 00000000 00:00 0 7fcafd180000-7fcafd197000 r-xp 00000000 fd:00 3483 /lib64/libpthread-2.12.so 7fcafd197000-7fcafd397000 ---p 00017000 fd:00 3483 /lib64/libpthread-2.12.so 7fcafd397000-7fcafd398000 r--p 00017000 fd:00 3483 /lib64/libpthread-2.12.so 7fcafd398000-7fcafd399000 rw-p 00018000 fd:00 3483 /lib64/libpthread-2.12.so 7fcafd399000-7fcafd39d000 rw-p 00000000 00:00 0 7fcafd39d000-7fcafd3a9000 r-xp 00000000 fd:00 9221 /lib64/libpam.so.0.82.2 7fcafd3a9000-7fcafd5a9000 ---p 0000c000 fd:00 9221 /lib64/libpam.so.0.82.2 7fcafd5a9000-7fcafd5aa000 r--p 0000c000 fd:00 9221 /lib64/libpam.so.0.82.2 7fcafd5aa000-7fcafd5ab000 rw-p 0000d000 fd:00 9221 /lib64/libpam.so.0.82.2 7fcafd5ab000-7fcafd5ad000 r-xp 00000000 fd:00 3844 /lib64/libdl-2.12.so 7fcafd5ad000-7fcafd7ad000 ---p 00002000 fd:00 3844 /lib64/libdl-2.12.so 7fcafd7ad000-7fcafd7ae000 r--p 00002000 fd:00 3844 /lib64/libdl-2.12.so 7fcafd7ae000-7fcafd7af000 rw-p 00003000 fd:00 3844 /lib64/libdl-2.12.so 7fcafd7af000-7fcafd7cf000 r-xp 00000000 fd:00 3452 /lib64/ld-2.12.so 7fcafd9c2000-7fcafd9c8000 rw-p 00000000 00:00 0 7fcafd9ca000-7fcafd9cb000 rw-p 00000000 00:00 0 7fcafd9cc000-7fcafd9ce000 rw-p 00000000 00:00 0 7fcafd9ce000-7fcafd9cf000 r--p 0001f000 fd:00 3452 /lib64/ld-2.12.so 7fcafd9cf000-7fcafd9d0000 rw-p 00020000 fd:00 3452 /lib64/ld-2.12.so 7fcafd9d0000-7fcafd9d1000 rw-p 00000000 00:00 0 7fff1c1f1000-7fff1c206000 rw-p 00000000 00:00 0 [stack] 7fff1c236000-7fff1c237000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
This happens with the precompiled binary and wit one we built ourselves.
It does not happen with version 5.5 or 5.7.
Anything we can do to fix this?
Thanks!
Hans
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
|