From: xandkar <xandkar@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: collectd segfaults on launch
Date: Sun, 14 Mar 2021 18:45:08 +0100 [thread overview]
Message-ID: <20210314174508.goX6wbElfscZQxn-d4t3ABd81lj4viCcH4SVrtQoTfE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29413@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 3631 bytes --]
New comment by xandkar on void-packages repository
https://github.com/void-linux/void-packages/issues/29413#issuecomment-798948234
Comment:
So on the fresh machine I just installed all the packages that the original-problem-machine has and it now segfaults as well, so looks like some sort of a dependency conflict.
@ericonr Indeed, with the localhost line uncommented - it doesn't crash on either machine anymore! I reinstalled Void (on the Intel machine) again and now see the log line warning about failed FQDNLookup in `/var/log/socklog/everything/current`, which I must've missed earlier.
Summary:
- localhost, base-pkgs -> ok :heavy_check_mark:
- localhost, base-pkgs + extra-pkgs -> ok :heavy_check_mark:
- no-localhost, base-pkgs -> error, but no segfault either :warning:
- no-localhost, base-pkgs + extra-pkgs -> segfault :x:
@leahneukirchen Thanks. Here you go:
```
Reading symbols from collectd...
Reading symbols from /usr/lib/debug//usr/bin/collectd...
(gdb) run
Starting program: /usr/bin/collectd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7eadc99 in _getopt_internal_r (argc=argc@entry=10, argv=argv@entry=0x7fffffffd930, optstring=optstring@entry=0x555555571657 "BhtTfC:P:", longopts=longopts@entry=0x0, longind=longind@entry=0x0, long_only=long_only@entry=0,
d=0x7ffff7f8c3e0 <getopt_data>, posixly_correct=0) at getopt.c:517
517 getopt.c: No such file or directory.
(gdb) bt
#0 0x00007ffff7eadc99 in _getopt_internal_r (argc=argc@entry=10, argv=argv@entry=0x7fffffffd930, optstring=optstring@entry=0x555555571657 "BhtTfC:P:", longopts=longopts@entry=0x0, longind=longind@entry=0x0, long_only=long_only@entry=0,
d=0x7ffff7f8c3e0 <getopt_data>, posixly_correct=0) at getopt.c:517
#1 0x00007ffff7eae011 in _getopt_internal (argc=argc@entry=10, argv=argv@entry=0x7fffffffd930, optstring=optstring@entry=0x555555571657 "BhtTfC:P:", longopts=longopts@entry=0x0, longind=longind@entry=0x0, long_only=long_only@entry=0, posixly_correct=0)
at getopt.c:711
#2 0x00007ffff7eae053 in getopt (argc=argc@entry=10, argv=argv@entry=0x7fffffffd930, optstring=optstring@entry=0x555555571657 "BhtTfC:P:") at getopt.c:735
#3 0x000055555555b2b9 in read_cmdline (config=<synthetic pointer>, argv=0x7fffffffd930, argc=10) at src/daemon/collectd.c:310
#4 init_config (argc=10, argv=0x7fffffffd930) at src/daemon/collectd.c:396
#5 0x00007ffff5e7e15e in config_is_mdns_suffix () from /usr/lib/libnss_mdns.so.2
#6 0x00007ffff5e7e280 in ?? () from /usr/lib/libnss_mdns.so.2
#7 0x00007ffff7eb07e9 in gaih_inet (name=<optimized out>, name@entry=0x7fffffffe070 "citadel", service=service@entry=0x0, req=req@entry=0x7fffffffe0d0, pai=pai@entry=0x7fffffffdb18, naddrs=naddrs@entry=0x7fffffffdb14, tmpbuf=tmpbuf@entry=0x7fffffffdc10)
at ../sysdeps/posix/getaddrinfo.c:838
#8 0x00007ffff7eb1425 in __GI_getaddrinfo (name=<optimized out>, name@entry=0x7fffffffe070 "citadel", service=<optimized out>, service@entry=0x0, hints=hints@entry=0x7fffffffe0d0, pai=pai@entry=0x7fffffffe0c8) at ../sysdeps/posix/getaddrinfo.c:2244
#9 0x000055555555b5f8 in init_hostname () at src/daemon/collectd.c:96
#10 init_global_variables () at src/daemon/collectd.c:135
#11 configure_collectd (config=<synthetic pointer>) at src/daemon/collectd.c:381
#12 init_config (argc=<optimized out>, argv=0x7fffffffe6c8) at src/daemon/collectd.c:406
#13 0x000055555555a771 in main (argc=<optimized out>, argv=<optimized out>) at src/daemon/cmd.c:167
(gdb)
```
next prev parent reply other threads:[~2021-03-14 17:45 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-12 14:11 [ISSUE] " xandkar
2021-03-12 20:09 ` ericonr
2021-03-12 23:35 ` xandkar
2021-03-13 0:01 ` ericonr
2021-03-13 1:20 ` xandkar
2021-03-14 14:00 ` xandkar
2021-03-14 14:43 ` ericonr
2021-03-14 15:10 ` leahneukirchen
2021-03-14 17:45 ` xandkar [this message]
2021-03-14 22:02 ` ericonr
2021-03-15 9:07 ` xandkar
2021-03-15 9:09 ` xandkar
2021-03-15 9:16 ` xandkar
2021-03-15 9:16 ` xandkar
2021-09-24 18:27 ` ericonr
2022-05-07 2:06 ` github-actions
2022-05-10 2:47 ` [ISSUE] [CLOSED] " ericonr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210314174508.goX6wbElfscZQxn-d4t3ABd81lj4viCcH4SVrtQoTfE@z \
--to=xandkar@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).