--- Begin Message ---
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.
I reported this bug in error on the mpv package: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109674
All the best,
Fabien
-- System Information:
Debian Release: 13.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.38+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libc6 depends on:
ii libgcc-s1 14.2.0-19
Versions of packages libc6 recommends:
ii libidn2-0 2.3.8-2
Versions of packages libc6 suggests:
ii debconf [debconf-2.0] 1.5.91
pn glibc-doc <none>
ii libc-l10n 2.41-11
pn libnss-nis <none>
pn libnss-nisplus <none>
ii locales 2.41-11
-- debconf information:
glibc/restart-failed:
glibc/disable-screensaver:
glibc/upgrade: true
libraries/restart-without-asking: false
glibc/kernel-too-old:
glibc/restart-services:
glibc/kernel-not-supported:
--- End Message ---
--- Begin Message ---
Hi,
On 2025-07-31 13:49, Fabien Millioz wrote:
> 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.
Great that your system is working again and thanks for the feedback and
the details. I am therefore closing the bug.
Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
--- End Message ---