-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When polling results are null, segmentation errors may occur #150
Comments
Grab the 1.2.x branch and try again. It'll be released soon. |
My guess is issue this is a duplicate of this one #149 |
I tried it. :( 2020/03/27 01:20:32 - SPINE: Poller[Main Poller] PID[9999] FATAL: Spine Encountered a Segmentation Fault [4, Interrupted system call] (Spine thread) 2020/03/27 01:25:32 - SPINE: Poller[Main Poller] PID[15310] FATAL: Spine Encountered a Segmentation Fault [4, Interrupted system call] (Spine thread) 2020/03/27 01:30:32 - SPINE: Poller[Main Poller] PID[19006] FATAL: Spine Encountered a Segmentation Fault [4, Interrupted system call] (Spine thread) Every 5 minute, second per second |
Okay, please run from the command line and do a backtrace gdb ./spine
run -V 3 -S -R
bt Post the results of the backtrace after the segfault. |
POLLER: Active Threads is 2, Pending is 2 Thread 4 "spine" received signal SIGSEGV, Segmentation fault. |
FATAL: Spine Encountered a Segmentation Fault [4, Interrupted system call] (Spine thread)
Okay, update poller.c from the 1.2.x branch, recompile and try again. This is a corner case, but a case just the same. |
Thanks! Now almost fine in log |
There is a recent fix for unresolvable hostname. You might want to look at #155. Closing this one. |
Today I compiled newest spine https://www.cacti.net/downloads/spine/cacti-spine-1.2.10.tar.gz
tar zxvf cacti-spine-1.2.10.tar.gz
cd cacti-spine-1.2.10
./bootstrap
./configure
make
make install
cp /usr/local/spine/bin/spine /usr/sbin/spine
Now I have many entries in log:
2020/03/26 20:40:31 - SPINE: Poller[Main Poller] PID[13424] FATAL: Spine Encountered a Segmentation Fault [4, Interrupted system call] (Spine thread)
I am using
mysql Ver 15.1 Distrib 10.1.44-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: