• Bug#1110123: libc6: Inconsistency detected by ld.so for some softwares

    From Fabien Millioz@21:1/5 to All on Thu Jul 31 14:00:01 2025
    XPost: linux.debian.maint.glibc

    Hi,

    Le mercredi 30 juillet 2025 à 22:47:33, Aurelien Jarno a écrit :
    Le mercredi 30 juillet 2025 à 16:10:25, Aurelien Jarno a écrit :
    On 2025-07-30 10:45, Fabien Millioz wrote:
    Package: libc6
    Version: 2.41-11
    Severity: important

    Dear Maintainer,

    I upgraded to Trixie from a Bookworm with a backported kernel.

    Since, a few software give me:
    $ mpd
    Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 498: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!

    The relevant software are mpd, ffmpeg, geeqie, mpv (but not mplayer or vlc), atril (but not evince), and maybe others I didn't notice yet.
    I rebooted the computer before doing this bugreport.

    Thanks for your report. It seems that you have a corrupted library on
    your system, and it is likely common to all the above software. Could
    you please run mpv (or any affected software) with the LD_DEBUG=libs
    option and report the output? That should be launching that command from >> > a terminal:

    LD_DEBUG=libs /usr/bin/mpv

    Thanks!

    Here we go.

    Thanks. Looking at it I am not sure why libopenblas.so.0 get loaded on
    your system as it is not a(n indirect) dependency of mpv. Do you
    remember if you might have manually installed some of the libraries
    depending on it? But maybe that's unrelated to the issue.

    I don't think so, or at least, i don't remember.
    The only relevant installed package is i libopenblas0-pthread

    Please also check that libresolv.so.2 is not corrupted:
    $ md5sum /lib/x86_64-linux-gnu/libresolv.so.2 beee3cba5ce568d2bf5189acf7d5c56a /lib/x86_64-linux-gnu/libresolv.so.2

    $ md5sum /lib/x86_64-linux-gnu/libresolv.so.2
    beee3cba5ce568d2bf5189acf7d5c56a /lib/x86_64-linux-gnu/libresolv.so.2

    No problem here.

    Finally, if all that looks correct, we might need to look at a full
    debug ouput of ld.so:

    LD_DEBUG=all /usr/bin/mpv

    Well, the log is 480MB :)

    However, it finishes with:
    297755: binding file /lib/x86_64-linux-gnu/libflite_cmulex.so.1 [0] to /lib/x86_64-linux-gnu/libflite.so.1 [0]: normal symbol `item_prepend'
    297755:
    297755: relocation processing:
    /lib/x86_64-linux-gnu/libflite_usenglish.so.1

    I downloaded libflite1_2.2-7_amd64.deb, and indeed, my /lib/x86_64-linux-gnu/libflite_usenglish.so.1 had not the same MD5 than
    the one from the package.
    I replace mine by the one coming from the package, and the bug is
    resolved.

    Thanks a lot!

    All the best,
    Fabien

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)