[collectd] collectd 4.5.4 - segfault after setting time

Florian Forster octo at verplant.org
Mon May 18 14:53:20 CEST 2009


Hi Michael,

On Thu, May 14, 2009 at 05:32:06PM +0200, Vogt, Michael wrote:
> 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]

oh, this is a weird problem. Can you reproduce it? If so, could you
create a stack backtrace or a core-file for us? For that, you need to
compile with
  ./configure CFLAGS="-O0 -g"
and then tell the system to write a core-file if the daemon crashes:
  ulimit -c unlimited

The core-file will be in the `BaseDir' after the daemon crashed -
`collectd -h' will tell you the default value for `BaseDir'.

You can then create a stack backtrace using the GNU debugger, gdb:
  gdb /path/to/collectd /path/to/core
  ...
  > bt full

> Strace 1:

Unfortunately, straces are not a lot of help when hunting down a
segmentation fault :(

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090518/cbc45a3b/attachment.pgp 


More information about the collectd mailing list