Random segfaults on __pthread_create_2_1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pdnsd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
We are experiencing random segfaults on our pdnsd daemon.
System versions:
Ubuntu 16.04.1 LTS
Arch: 64bits
pdnsd version: 1.2.9a-par-3
libc6 version: 2.23-0ubuntu3
kernel version: Linux api 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
In syslog:
Sep 24 07:05:35 api kernel: [84418.840445] pdnsd[32156]: segfault at 7f18f395cd13 ip 00007f18f456decf sp 00007f18f2158bc0 error 4 in libpthread-
I enabled core dump, apport report is attached to this issue.
When trying to backtrace the segfault:
Core was generated by `/usr/sbin/pdnsd --daemon -p /var/run/
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __pthread_
713 pthread_create.c: No such file or directory.
[Current thread is 1 (Thread 0x7f34be48a700 (LWP 2991))]
(gdb) bt
#0 __pthread_
#1 0x000000000040ece5 in ?? ()
#2 0x00007f34c089e6fa in start_thread (arg=0x7f34be48
#3 0x00007f34c05d4b5d in clone () at ../sysdeps/
pdnsd config file:
// Read the pdnsd.conf(5) manpage for an explanation of the options.
/* Note: this file is overriden by automatic config files when
/etc/
/usr/
*/
global {
perm_cache = 2048;
cache_dir = "/var/cache/pdnsd";
run_as = "pdnsd";
server_ip = 127.0.0.1;
status_ctl = on;
paranoid = on;
min_ttl = 15m; // Retain cached entries at least 15m.
max_ttl = 1w;
timeout = 10; // Global timeout option (10 seconds).
neg_rrs_pol = on;
par_queries = 1;
}
server {
label=
file=
proxy_only=on;
}
source {
owner=
file=
}
rr {
name=localhost;
reverse=on;
a=127.0.0.1;
owner=
soa=
}
/* vim:set ft=c: */
Status changed to 'Confirmed' because the bug affects multiple users.