Skip to content

Commit

Permalink
Fixing Issue #150
Browse files Browse the repository at this point in the history
FATAL: Spine Encountered a Segmentation Fault [4, Interrupted system call] (Spine thread)
  • Loading branch information
TheWitness committed Mar 27, 2020
1 parent e85e438 commit 64cc78a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The Cacti Group | spine
-issue#134: Feature request: Loop Waiting on 2 of 2 pollers when database name is incorrect
-issue#144: Improve MySQL Retry Logic
-issue#149: Segmentation fault in spine 1.2.10 due to IPv6 address using IPv4 ICMP ping
-issue#150: FATAL: Spine Encountered a Segmentation Fault [4, Interrupted system call] (Spine thread)

1.2.10
-feature: release to match Cacti release
Expand Down
2 changes: 1 addition & 1 deletion poller.c
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ void poll_host(int host_id, int host_thread, int last_host_thread, int host_data
query3[0] = '\0';

/* assume ok if host is up and result wasn't obtained */
if ((IS_UNDEFINED(poll_result)) || (STRIMATCH(poll_result, "No Such Instance"))) {
if (poll_result == NULL || (IS_UNDEFINED(poll_result)) || (STRIMATCH(poll_result, "No Such Instance"))) {
if (is_debug_device(host->id) || set.spine_log_level == 2) {
SPINE_LOG(("Device[%i] HT[%i] DQ[%i] RECACHE ASSERT FAILED: '%s=%s'", host->id, host_thread, reindex->data_query_id, reindex->assert_value, poll_result));
}
Expand Down

0 comments on commit 64cc78a

Please sign in to comment.