[dev.icinga.com #1673] Segmentation fault on status.cgi?host=all under Debian Squeeze64 bit Icinga 1.4.0|1 #666
Comments
Updated by ricardo on 2011-06-25 20:52:12 +00:00 Hi, seems like you compile from source. can you execute status.cgi with gdb in the source dir? Then it's unstripped and we might get some more information. Thanks |
Updated by ricardo on 2011-06-25 20:52:33 +00:00
|
Updated by denny on 2011-06-26 14:23:09 +00:00 hi, ricardo wrote:
here we are:
No symbol table info available.
at cgiutils.c:1533
host_status=, service_status=)
temp_hoststatus =
temp_buffer = "\250\037\377\367\377\177\000\000\a\000\000\000\000\000\000\000\277'\025\066\000\000\000\000\360\204\336\367\377\177\000\000\000\000\000\000\000\000\000\000?\000\000\000\000\000\000\000\236T\330\000\000\000\000\000\024--
result = 0 |
Updated by mfriedrich on 2011-06-26 15:38:20 +00:00
it seems that strlen segfaults because of the input being null? |
Updated by ricardo on 2011-06-27 13:11:13 +00:00 OK, I guess I found it can you substitute this line
with this:
in status.c and then a
and see if it works?? And if this works, can you tell me what the status data of "fire03/check_dns_differences" is ? Thanks a lot. Ricardo |
Updated by denny on 2011-06-27 13:48:53 +00:00 hi Ricardo, ricardo wrote:
it works :-) The Output from the plugin is a bit broken. The first line is empty and after that, the output comes.
So, you can close the bug :-) Thanks. |
Updated by ricardo on 2011-06-28 01:28:16 +00:00
Applied in changeset 31a88a0. |
Updated by mfriedrich on 2014-12-08 09:42:16 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/1673
Created by denny on 2011-06-23 08:56:15 +00:00
Assignee: (none)
Status: Resolved (closed on 2011-06-28 01:28:16 +00:00)
Target Version: 1.4.2
Last Update: 2014-12-08 09:42:16 +00:00 (in Redmine)
hi,
I get since yesterday at 2pm a segmentation fault, if I call the status.cgi with host=all
Icinga 1.4.0 was running a long time and everything works, as I expected. I didn't change anything (no Debian Updates, nor config files). From one moment, to another moment.
All other search Strings are OK (as I checked), only host=all generates the problem.
Changesets
2011-06-27 21:19:08 +00:00 by ricardo 31a88a0
2011-06-28 07:11:42 +00:00 by ricardo 4c57eb6
The text was updated successfully, but these errors were encountered: