Control: reassign -1 libdns-export1110

I think I see the problem:

(sid-amd64)root@calcifer:/home/ondrej# ldd /usr/sbin/dhcpd
        linux-vdso.so.1 (0x00007ffe5236a000)
        libeatmydata.so => /usr/lib/x86_64-linux-gnu/libeatmydata.so 
(0x00007efc93c96000)
        libdns-export.so.1109 => /lib/x86_64-linux-gnu/libdns-export.so.1109 
(0x00007efc93a64000)
^^^
        libisc-export.so.1105 => /lib/x86_64-linux-gnu/libisc-export.so.1105 
(0x00007efc939eb000)
        libirs-export.so.161 => /lib/x86_64-linux-gnu/libirs-export.so.161 
(0x00007efc939dd000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efc9381a000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007efc93815000)
        libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 
(0x00007efc93527000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007efc93506000)
        libdns-export.so.1110 => /lib/x86_64-linux-gnu/libdns-export.so.1110 
(0x00007efc932cb000)
^^^
        libisccfg-export.so.163 => 
/lib/x86_64-linux-gnu/libisccfg-export.so.163 (0x00007efc9329c000)
        /lib64/ld-linux-x86-64.so.2 (0x00007efc93da0000)

So, dhcpd links with libdns-export.so.1109, but libisccfg-export.so.163 links 
with libdns-export.so.1110.

The symbols in libdns-export.so are not versioned, hence the crash, because 
dns_g_mctx gets initialized
in one library, but the symbol in other library gets used (and not initialized).

A isc-dhcpd binNMU should help right away.  I can also bump the 
libisccfg-export.so.163 SOVERSION,
but it will take longer.

Ondrej
--
Ondřej Surý
ond...@sury.org



> On 22 Mar 2020, at 20:43, Sven Hartge <s...@svenhartge.de> wrote:
> 
> On 22.03.20 20:38, Ondřej Surý wrote:
> 
>> could you try in isolated environment try installing isc-dhcp and bind
>> 9.16 and check the libraries that the crashing process links (using ldd)
>> and perhaps generate a strace?
>> 
>> That is if you have time right now, I won’t have time to sit at computer
>> until tomorrow morning (CET).
> 
> Same for me. It will take until tomorrow CET morning before I can do that.
> 
> I took a look at the ldd output while debugging this, but failed to make
> a note of it and it already scrolled outside of my screen buffer
> unfortunately.
> 
> 
> Grüße,
> Sven.
> 

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to