[Top][All Lists]

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

SIGSEGV, Segmentation fault.

From: Igor Homyakov
Subject: SIGSEGV, Segmentation fault.
Date: Tue, 20 May 2003 11:32:21 +0400
User-agent: Mutt/1.4.1i

address@hidden monit-3.2]# gdb ./monit
GNU gdb ALT Linux (5.2.1-alt2)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-alt-linux"...
(gdb) break do_default
Breakpoint 1 at 0x804f09c: file monitor.c, line 496.
(gdb) run
Starting program: /home/homyakov/RPM/BUILD/monit-3.2/monit
[New Thread 1024 (LWP 14649)]
[Switching to Thread 1024 (LWP 14649)]

Breakpoint 1, do_default () at monitor.c:496
496       if(Run.isdaemon) {
(gdb) n
498         if(do_wakeupcall()) {
(gdb) n
504         log("Starting %s daemon\n", prog);
(gdb) s
log (format=0x80619e0 "Starting %s daemon\n") at log.c:116
116       ASSERT(format);
(gdb) s
118       va_start(ap,format);
(gdb) n
119       vsnprintf(msg, STRLEN, format, ap);
(gdb) n
122       if(! Run.dolog) goto nolog;
(gdb) n
124       if(Run.use_syslog) {
(gdb) n
126         syslog(LOG_ERR|LOG_USER, "%s", msg);
(gdb) print msg
$1 = "Starting monit 
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
0x2ac6011a in malloc () from /lib/
(gdb) where
#0  0x2ac6011a in malloc () from /lib/
#1  0x2ac5fc7e in malloc () from /lib/
#2  0x2ac57997 in open_memstream () from /lib/
#3  0x2acb90a9 in vsyslog () from /lib/
#4  0x2acb8ebd in syslog () from /lib/
#5  0x0804d4f5 in log (format=0x80619e0 "Starting %s daemon\n") at log.c:126
#6  0x0804f0cf in do_default () at monitor.c:504
#7  0x0804ec5d in do_action (args=0x7ffff8f4) at monitor.c:316
#8  0x0804e917 in main (argc=1, argv=0x7ffff8f4) at monitor.c:96
#9  0x2ac0b652 in __libc_start_main () from /lib/

Igor Homyakov
<homyakov AT>

reply via email to

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