[collectd] collectd 4.5.4 - segfault after setting time

Vogt, Michael Michael.Vogt at united-security-providers.ch
Thu May 14 17:32:06 CEST 2009


Hello

I've a problem with collectd v4.5.4. If my machine boots up, the
time/date settings are wrong, so i do this task:

-copy the timezone file to /etc/timezone
-edit /etc/ntp.conf and /etc/conf.d/ntp-client
-restart ntpd

After this step, collectd will crash:

May 14 16:30:32 localhost collectd[2219]: segfault at 1e4a0bf0 ip
b7ea920b sp bfde3f04 error 4 in libc-2.6.1.so[b7e3e000+14b000]

Strace 1:
---------
nanosleep({29, 999893000}, 0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
{29, 999893000}) = 0
gettimeofday({946684870, 744123}, NULL) = 0
time(NULL)                              = 946684870
futex(0x80622c4, FUTEX_CMP_REQUEUE, 1, 2147483647, 0x80622a8, 0) = 5
gettimeofday({946684870, 744248}, NULL) = 0
nanosleep({29, 999875000}, 0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
0 Success: 1 value has been dispatched.
{29, 999875000}) = 0
gettimeofday({1242311845, 324405}, NULL) = 0
time(NULL)                              = 1242311845
time(NULL)                              = 1242311845
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Strace 2:
---------
ueli ~ # strace -p 3938
Process 3938 attached - interrupt to quit
restart_syscall(<... resuming interrupted call ...>) = 0
gettimeofday({1242249799, 924773}, NULL) = 0
time(NULL)                              = 1242249799
futex(0x80622c4, FUTEX_CMP_REQUEUE, 1, 2147483647, 0x80622a8, 0) = 5
gettimeofday({1242249799, 924921}, NULL) = 0
nanosleep({29, 999852000}, {29, 999852000}) = 0
gettimeofday({1242249829, 924897}, NULL) = 0
time(NULL)                              = 1242249829
futex(0x80622c4, FUTEX_CMP_REQUEUE, 1, 2147483647, 0x80622a8, 0) = 5
gettimeofday({1242249829, 925008}, NULL) = 0
nanosleep({29, 999889000}, {29, 999889000}) = 0
gettimeofday({1242249859, 924995}, NULL) = 0
time(NULL)                              = 1242249859
futex(0x80622c4, FUTEX_CMP_REQUEUE, 1, 2147483647, 0x80622a8, 0) = 5
futex(0x80622a8, FUTEX_WAKE, 1)         = 1
gettimeofday({1242249859, 925137}, NULL) = 0
nanosleep({29, 999858000}, {29, 999858000}) = 0
gettimeofday({1242314009, 28677}, NULL) = 0
time(NULL)                              = 1242314009
time(NULL)                              = 1242314009
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 3938 detached

Some additional information:
2.6.26 #16 SMP Thu Feb 5 13:52:44 CET 2009 i686 Intel(R) Xeon(R) CPU
E5410 @ 2.33GHz GenuineIntel GNU/Linux
Gentoo dist
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5534 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090514/1d8665d9/attachment-0001.bin 


More information about the collectd mailing list