mrnoodle
Joined: 02 Apr 2006 Posts: 43
|
Posted: Wed Aug 06, 2008 3:17 pm Post subject: Spine Segmentation Fault |
|
|
The spine (0.8.7a) process fails on my Ubuntu X86_64 server when it reaches to point where it is selecting the hosts to poll from the database. I tried to change the number of threads from 10 to 5 to 1 but I get the same results every time. Initially, spine was able to successfully poll and gather data but it began to fail after the 3rd device was added to the database.
When I run spine manually from the console with the --snmp-only option it completes successfully, so it appears that it is hanging on the script server portion of the polling process.
When I run spine manually from the console, I get the following error and backtrace information:
| Code: |
08/06/2008 02:59:58 PM - SPINE: Poller[0] DEBUG: SQL:'SELECT id, hostname, snmp_community, snmp_version, snmp_username, snmp_password, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context, snmp_port, snmp_timeout, max_oids, availability_method, ping_method, ping_port, ping_timeout, ping_retries, status, status_event_count, status_fail_date, status_rec_date, status_last_error, min_time, max_time, cur_time, avg_time, total_polls, failed_polls, availability FROM host WHERE id=1'
*** glibc detected *** ./spine: free(): invalid next size (fast): 0x00000000006ffab0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f5f6d84908a]
/lib/libc.so.6(cfree+0x8c)[0x7f5f6d84cc1c]
./spine[0x40bc8f]
./spine[0x40bfe5]
./spine[0x409129]
./spine[0x409ce3]
/lib/libpthread.so.0[0x7f5f6dfd73f7]
/lib/libc.so.6(clone+0x6d)[0x7f5f6d8acb2d]
======= Memory map: ========
00400000-00412000 r-xp 00000000 08:01 1384791 /usr/local/cacti/spine/spine
00611000-00613000 rw-p 00011000 08:01 1384791 /usr/local/cacti/spine/spine
00613000-0073d000 rw-p 00613000 00:00 0 [heap]
40089000-4008a000 ---p 40089000 00:00 0
4008a000-4088a000 rw-p 4008a000 00:00 0
7f5f6cf7f000-7f5f6cf89000 r-xp 00000000 08:01 7749664 /lib/libnss_files-2.7.so
7f5f6cf89000-7f5f6d189000 ---p 0000a000 08:01 7749664 /lib/libnss_files-2.7.so
7f5f6d189000-7f5f6d18b000 rw-p 0000a000 08:01 7749664 /lib/libnss_files-2.7.so
7f5f6d18b000-7f5f6d198000 r-xp 00000000 08:01 7749648 /lib/libgcc_s.so.1
7f5f6d198000-7f5f6d398000 ---p 0000d000 08:01 7749648 /lib/libgcc_s.so.1
7f5f6d398000-7f5f6d399000 rw-p 0000d000 08:01 7749648 /lib/libgcc_s.so.1
7f5f6d399000-7f5f6d39b000 r-xp 00000000 08:01 7749658 /lib/libdl-2.7.so
7f5f6d39b000-7f5f6d59b000 ---p 00002000 08:01 7749658 /lib/libdl-2.7.so
7f5f6d59b000-7f5f6d59d000 rw-p 00002000 08:01 7749658 /lib/libdl-2.7.so
7f5f6d59d000-7f5f6d5a6000 r-xp 00000000 08:01 7749657 /lib/libcrypt-2.7.so
7f5f6d5a6000-7f5f6d7a5000 ---p 00009000 08:01 7749657 /lib/libcrypt-2.7.so
7f5f6d7a5000-7f5f6d7a7000 rw-p 00008000 08:01 7749657 /lib/libcrypt-2.7.so
7f5f6d7a7000-7f5f6d7d5000 rw-p 7f5f6d7a7000 00:00 0
7f5f6d7d5000-7f5f6d92d000 r-xp 00000000 08:01 7749655 /lib/libc-2.7.so
7f5f6d92d000-7f5f6db2d000 ---p 00158000 08:01 7749655 /lib/libc-2.7.so
7f5f6db2d000-7f5f6db30000 r--p 00158000 08:01 7749655 /lib/libc-2.7.so
7f5f6db30000-7f5f6db32000 rw-p 0015b000 08:01 7749655 /lib/libc-2.7.so
7f5f6db32000-7f5f6db37000 rw-p 7f5f6db32000 00:00 0
7f5f6db37000-7f5f6db4d000 r-xp 00000000 08:01 7749661 /lib/libnsl-2.7.so
7f5f6db4d000-7f5f6dd4c000 ---p 00016000 08:01 7749661 /lib/libnsl-2.7.so
7f5f6dd4c000-7f5f6dd4e000 rw-p 00015000 08:01 7749661 /lib/libnsl-2.7.so
7f5f6dd4e000-7f5f6dd50000 rw-p 7f5f6dd4e000 00:00 0
7f5f6dd50000-7f5f6ddd0000 r-xp 00000000 08:01 7749659 /lib/libm-2.7.so
7f5f6ddd0000-7f5f6dfcf000 ---p 00080000 08:01 7749659 /lib/libm-2.7.so
7f5f6dfcf000-7f5f6dfd1000 rw-p 0007f000 08:01 7749659 /lib/libm-2.7.so
7f5f6dfd1000-7f5f6dfe7000 r-xp 00000000 08:01 7749669 /lib/libpthread-2.7.so
7f5f6dfe7000-7f5f6e1e7000 ---p 00016000 08:01 7749669 /lib/libpthread-2.7.so
7f5f6e1e7000-7f5f6e1e9000 rw-p 00016000 08:01 7749669 /lib/libpthread-2.7.so
7f5f6e1e9000-7f5f6e1ed000 rw-p 7f5f6e1e9000 00:00 0
7f5f6e1ed000-7f5f6e203000 r-xp 00000000 08:01 7276494 /usr/lib/libz.so.1.2.3.3
7f5f6e203000-7f5f6e403000 ---p 00016000 08:01 7276494 /usr/lib/libz.so.1.2.3.3
7f5f6e403000-7f5f6e404000 rw-p 00016000 08:01 7276494 /usr/lib/libz.so.1.2.3.3
7f5f6e404000-7f5f6e55e000 r-xp 00000000 08:01 7277548 /usr/lib/libcrypto.so.0.9.8
7f5f6e55e000-7f5f6e75e000 ---p 0015a000 08:01 7277548 /usr/lib/libcrypto.so.0.9.8
7f5f6e75e000-7f5f6e781000 rw-p 0015a000 08:01 7277548 /usr/lib/libcrypto.so.0.9.8
7f5f6e781000-7f5f6e784000 rw-p 7f5f6e781000 00:00 0
7f5f6e784000-7f5f6e93f000 r-xp 00000000 08:01 7279379 /usr/lib/libmysqlclient_r.so.15.0.0
7f5f6e93f000-7f5f6eb3f000 ---p 001bb000 08:01 7279379 /usr/lib/libmysqlclient_r.so.15.0.0
7f5f6eb3f000-7f5f6eb88000 rw-p 001bb000 08:01 7279379 /usr/lib/libmysqlclient_r.so.15.0.0
7f5f6eb88000-7f5f6eb89000 rw-p 7f5f6eb88000 00:00 0
7f5f6eb89000-7f5f6ec1a000 r-xp 00000000 08:01 7278987 /usr/lib/libnetsnmp.so.15.1.0
7f5f6ec1a000-7f5f6ee1a000 ---p 00091000 08:01 7278987 /usr/lib/libnetsnmp.so.15.1.0
7f5f6ee1a000-7f5f6ee1d000 rw-p 00091000 08:01 7278987 /usr/lib/libnetsnmp.so.15.1.0
7f5f6ee1d000-7f5f6ee51000 rw-p 7f5f6ee1d000 00:00 0
7f5f6ee51000-7f5f6ee6e000 r-xp 00000000 08:01 7749649 /lib/ld-2.7.so
7f5f6f01c000-7f5f6f023000 r--s 00000000 08:01 7276498 /usr/lib/gconv/gconv-modules.cache
7f5f6f023000-7f5f6f062000 r--p 00000000 08:01 7299074 /usr/lib/locale/en_US.utf8/LC_CTYPE
7f5f6f062000-7f5f6f067000 rw-p 7f5f6f062000 00:00 0
7f5f6f069000-7f5f6f06e000 rw-p 7f5f6f069000 00:00 0
7f5f6f06e000-7f5f6f070000 rw-p 0001d000 08:01 7749649 /lib/ld-2.7.so
7fff7705b000-7fff77070000 rw-p 7ffffffea000 00:00 0 [stack]
7fff771fe000-7fff77200000 r-xp 7fff771fe000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted
|
|
|