Having problem with 1.1.3 Segfaulting. zabbix_serverd runs through a bunch of data, but quits after a second or less. Debug log shows this:
It then kills all remaining processes.
Strace shows that a thread is segfaulting after using gettimeofday()
Any thoughts?
System Info:
CentOS 4.4
Kernel: 2.6.9-34.0.2.ELsmp
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
net-snmp version 5.3.1
Code:
008980:20061024:100330 ZABBIX server is up. 008984:20061024:100330 Executing query:select distinct h.host from hosts h,items i where i.hostid=h.hostid and ( h.status=0 or (h.status=0 and h.available=2 and h.disable_until<=1161698610)) and (i.key_='icmpping' or i.key_=' icmppingsec') and i.type=3 and i.status=0 and h.useip=0 008984:20061024:100330 In do_ping() 008980:20061024:100330 One server process died. Shutting down... 008980:20061024:100330 0. Killing PID=[8982]
Strace shows that a thread is segfaulting after using gettimeofday()
Code:
8986 gettimeofday( <unfinished ...>
8985 gettimeofday( <unfinished ...>
8986 <... gettimeofday resumed> {1161698610, 508655}, NULL) = 0
8985 <... gettimeofday resumed> {1161698610, 508669}, NULL) = 0
8986 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
8985 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
8980 <... nanosleep resumed> 0xbfe3b9e4) = ? ERESTART_RESTARTBLOCK (To be restarted)
8980 --- SIGCHLD (Child exited) @ 0 (0) ---
8980 time(NULL) = 1161698610
8980 open("/var/log/zabbix_server.log", O_RDWR|O_APPEND|O_CREAT, 0666) = 1
8980 fstat64(1, {st_mode=S_IFREG|0664, st_size=148572, ...}) = 0
8980 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ff0000
8980 write(1, "008980:20061024:100330 One serve"..., 65) = 65
System Info:
CentOS 4.4
Kernel: 2.6.9-34.0.2.ELsmp
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
net-snmp version 5.3.1
Comment