I just reviewed the core file that you provided. Thread 1 is the thread that panics
on assertion because sock.pending_send is already set. This is the condition I prevented
in the PPA, so *shouldn't* be hitting the frame 3
In my test systems I don't hit this condition, dispatch_send isn't called if pending_send
is set.
(gdb) thread 1
[Switching to thread 1 (Thread 0x7f39a41f5700 (LWP 18780))]
#1 0x00007f39a4dd1859 in __GI_abort () at abort.c:79
79 in abort.c
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007f39a4dd1859 in __GI_abort () at abort.c:79
#2 0x00007f39a4faf985 in isc_assertion_failed (file=<optimized out>, line=<optimized out>, type=<optimized out>, cond=<optimized out>) at ../../../lib/isc/assertions.c:52
#3 0x00007f39a4feb7e1 in dispatch_send (sock=0x7f39a4a03730) at ../../../../lib/isc/unix/socket.c:3380
#4 process_fd (writeable=<optimized out>, readable=<optimized out>, fd=0, manager=0x7f39a49fa010) at ../../../../lib/isc/unix/socket.c:4054
#5 process_fds (writefds=<optimized out>, readfds=0x16, maxfd=-1533038191, manager=0x7f39a49fa010) at ../../../../lib/isc/unix/socket.c:4211
#6 watcher (uap=0x7f39a49fa010) at ../../../../lib/isc/unix/socket.c:4397
[...]
(gdb) frame 3
#3 0x00007f39a4feb7e1 in dispatch_send (sock=0x7f39a4a03730) at ../../../../lib/isc/unix/socket.c:3380
3380 ../../../../lib/isc/unix/socket.c: No such file or directory.
(gdb) info locals
iev = 0x0
ev = <optimized out>
sender = 0x2
iev = <optimized out>
ev = <optimized out>
sender = <optimized out>
(gdb) p sock
$1 = (isc__socket_t *) 0x7f39a4a03730
(gdb) p sock.pending_send
$2 = 1
Hello Andrew,
I just reviewed the core file that you provided. Thread 1 is the thread that panics
on assertion because sock.pending_send is already set. This is the condition I prevented
in the PPA, so *shouldn't* be hitting the frame 3
In my test systems I don't hit this condition, dispatch_send isn't called if pending_send
is set.
(gdb) thread 1 unix/sysv/ linux/raise. c:50 failed (file=<optimized out>, line=<optimized out>, type=<optimized out>, cond=<optimized out>) at ../../. ./lib/isc/ assertions. c:52 03730) at ../../. ./../lib/ isc/unix/ socket. c:3380 <optimized out>, readable=<optimized out>, fd=0, manager= 0x7f39a49fa010) at ../../. ./../lib/ isc/unix/ socket. c:4054 <optimized out>, readfds=0x16, maxfd=-1533038191, manager= 0x7f39a49fa010) at ../../. ./../lib/ isc/unix/ socket. c:4211 a010) at ../../. ./../lib/ isc/unix/ socket. c:4397 03730) at ../../. ./../lib/ isc/unix/ socket. c:3380 ./../lib/ isc/unix/ socket. c: No such file or directory.
[Switching to thread 1 (Thread 0x7f39a41f5700 (LWP 18780))]
#1 0x00007f39a4dd1859 in __GI_abort () at abort.c:79
79 in abort.c
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/
#1 0x00007f39a4dd1859 in __GI_abort () at abort.c:79
#2 0x00007f39a4faf985 in isc_assertion_
#3 0x00007f39a4feb7e1 in dispatch_send (sock=0x7f39a4a
#4 process_fd (writeable=
#5 process_fds (writefds=
#6 watcher (uap=0x7f39a49f
[...]
(gdb) frame 3
#3 0x00007f39a4feb7e1 in dispatch_send (sock=0x7f39a4a
3380 ../../.
(gdb) info locals
iev = 0x0
ev = <optimized out>
sender = 0x2
iev = <optimized out>
ev = <optimized out>
sender = <optimized out>
(gdb) p sock
$1 = (isc__socket_t *) 0x7f39a4a03730
(gdb) p sock.pending_send
$2 = 1
Can you check your library links, etc?
ubuntu@dhcpd1:~$ ldd /usr/sbin/dhcpd | grep export export. so.161 => /lib/x86_ 64-linux- gnu/libirs- export. so.161 (0x00007f5cb62e 5000) export. so.1109 => /lib/x86_ 64-linux- gnu/libdns- export. so.1109 (0x00007f5cb60b 0000) export. so.1105 => /lib/x86_ 64-linux- gnu/libisc- export. so.1105 (0x00007f5cb603 9000) export. so.163 => /lib/x86_ 64-linux- gnu/libisccfg- export. so.163 (0x00007f5cb5df 5000) 64-linux- gnu/libisc- export. so.1105 export1105: amd64: /lib/x86_ 64-linux- gnu/libisc- export. so.1105 16+dfsg- 3~ppa1 16+dfsg- 3~ppa1 16+dfsg- 3~ppa1 500 ppa.launchpad. net/niedbalski/ 1872188- dbg/ubuntu focal/main amd64 Packages
libirs-
libdns-
libisc-
libisccfg-
ubuntu@dhcpd1:~$ dpkg -S /lib/x86_
libisc-
ubuntu@dhcpd1:~$ apt-cache policy libisc-export1105 | grep -i ppa
Installed: 1:9.11.
Candidate: 1:9.11.
*** 1:9.11.
500 http://