monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

monit 4.8 segfaults on Redhat EL4


From: Mike Jackson
Subject: monit 4.8 segfaults on Redhat EL4
Date: Thu, 4 May 2006 10:16:59 -0700

System is Redhat EL4. It's running on an Opteron processor, with the amd64 install of Redhat.

Configured monit with:  --with-ssl-lib-dir=/usr/lib64

Nothing appears to be out of the ordinary during the build process. However, it segfaults when run. This gets logged to /var/log/messages:

May 4 10:03:58 bonsai kernel: monit[26655]: segfault at 000000000000681f rip 0000003106b6fd00 rsp 0000007fbfffedc8 error 4

I get this when I run it through gdb:

(gdb) run
Starting program: /usr/local/src/monit-4.8/monit
[Thread debugging using libthread_db enabled]
[New Thread 182894082848 (LWP 30022)]
Starting monit daemon with http interface at [*:2812]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182894082848 (LWP 30022)]
0x0000003106b6fd00 in strlen () from /lib64/tls/libc.so.6
(gdb) backtrace
#0  0x0000003106b6fd00 in strlen () from /lib64/tls/libc.so.6
#1  0x0000003106b428cc in vfprintf () from /lib64/tls/libc.so.6
#2  0x0000003106bc1e55 in vsyslog () from /lib64/tls/libc.so.6
#3 0x000000000040910c in log_log (priority=6, s=0x42af60 "Starting %s daemon with http interface at [%s:%d]\n", ap=0x7fbffff6c0)
   at log.c:374
#4  0x0000000000409358 in LogInfo (s=Variable "s" is not available.
) at log.c:247
#5  0x000000000040b332 in main (argc=Variable "argc" is not available.
) at monitor.c:460

I'm not a C programmer, so I don't have much idea what all that means. I can provide other details if you need. I also ran it through strace, which produces volumes of output, but I won't send that unless someone needs it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]