Skip to content

Instantly share code, notes, and snippets.

@mfournier
Created July 17, 2013 15:07
Show Gist options
  • Save mfournier/6021422 to your computer and use it in GitHub Desktop.
Save mfournier/6021422 to your computer and use it in GitHub Desktop.
collectd core dump, built with --enable-debug --with-java=/usr/lib/jvm/
gdb /opt/collectd/sbin/collectd /opt/collectd/var/lib/collectd/core
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /opt/collectd/sbin/collectd...done.
[New LWP 5437]
[New LWP 5439]
[New LWP 5440]
[New LWP 5433]
[New LWP 5442]
[New LWP 5436]
[New LWP 5434]
[New LWP 5438]
[New LWP 5441]
[New LWP 5435]
[New LWP 5443]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `sbin/collectd -C /home/vagrant/collectd-test.conf -f'.
Program terminated with signal 11, Segmentation fault.
#0 plugin_write_dequeue () at plugin.c:710
710 write_queue_head = q->next;
(gdb) bt full
#0 plugin_write_dequeue () at plugin.c:710
q = 0x65707974203b6b63
vl = <optimized out>
#1 plugin_write_thread (args=<optimized out>) at plugin.c:730
vl = 0x7f9024003110
#2 0x00007f9033317b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
__res = <optimized out>
pd = 0x7f902c9ec700
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140257200621312, 8855685409689562270, 140257310941600, 140257200622016, 140257320071232, 3,
-8807369851518063458, -8807404148874285922}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
canceltype = 0}}}
not_first_call = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#3 0x00007f9032c54a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
LoadPlugin log_logstash
LoadPlugin logfile
LoadPlugin csv
LoadPlugin lvm
LoadPlugin nginx
LoadPlugin memcached
LoadPlugin df
<Plugin "logfile">
LogLevel debug
File stdout
PrintSeverity true
</Plugin>
<Plugin "nginx">
URL "http://localhost/nginx_status"
</Plugin>
<Plugin "df">
ReportInodes true
ValuesAbsolute true
ValuesPercentage true
</Plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment