[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit-dev] [monit] r302 committed - Fix:...
From: |
monit |
Subject: |
[monit-dev] [monit] r302 committed - Fix:... |
Date: |
Fri, 22 Oct 2010 10:45:44 +0000 |
Revision: 302
Author: martin2812
Date: Fri Oct 22 03:44:43 2010
Log: Fix:
AssertException: s at util.c:272
aborting..
-------------------------------------------------------------------------------
0 monit 0x000085cc monit_http + 588
1 monit 0x000086cc LogCritical + 124
2 monit 0x00012e48 Util_trim + 56
3 monit 0x0002a4d8
initprocesstree_sysdep + 760
4 monit 0x0000d214 initprocesstree + 84
5 monit 0x0001b4b0 validate + 80
6 monit 0x0000af74 main + 996
7 monit 0x00002634 start + 68
-------------------------------------------------------------------------------
Abort trap
http://code.google.com/p/monit/source/detail?r=302
Modified:
/trunk/process/sysdep_DARWIN.c
=======================================
--- /trunk/process/sysdep_DARWIN.c Sun Sep 26 10:36:30 2010
+++ /trunk/process/sysdep_DARWIN.c Fri Oct 22 03:44:43 2010
@@ -226,7 +226,8 @@
Util_stringbuffer(&cmdline, argc-- ? "%s " : "%s", p);
p += strlen(p);
}
- pt[i].cmdline = Util_trim(cmdline.buf);
+ if (cmdline.buf)
+ pt[i].cmdline = Util_trim(cmdline.buf);
}
if (! pt[i].cmdline || ! *pt[i].cmdline)
pt[i].cmdline = xstrdup(pinfo[i].kp_proc.p_comm);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [monit-dev] [monit] r302 committed - Fix:...,
monit <=