Bug#1100470: grub2-common: Segfault messages when running update-grub

Eric Valette eric.valette at free.fr
Fri Mar 14 15:02:14 GMT 2025


On 14/03/2025 15:34, Felix Zielcke wrote:
> Am Freitag, dem 14.03.2025 um 15:19 +0100 schrieb Eric Valette:
>>
>> /dev/nvme0n1p4  326475776 328153087   1677312   819M Windows recovery
>> environment
>>
> So it looks like it's one of the ntfs CVE fixes.
> But I'm just guessing.
> 
> [...]
>>>
>>
>> Unfortunately not or I did not issue the right command.
>>
> 
> 
> Please try:
> 
> # export DEBUGINFOD_URLS="https://debuginfod.debian.net"
> # gdb /usr/bin/grub-mount
> (gdb) r /dev/nvme0n1p4 /var/lib/os-prober/mount

gdb /usr/bin/grub-mount
GNU gdb (Debian 16.2-2) 16.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
     <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/grub-mount...
Reading symbols from 
/usr/lib/debug/.build-id/a4/4eb327453281223d7a470fba5fcb2c3bfc6409.debug...
(gdb) r /dev/nvme0n1p4 /var/lib/os-prober/mount
Starting program: /usr/bin/grub-mount /dev/nvme0n1p4 
/var/lib/os-prober/mount

This GDB supports auto-downloading debuginfo from the following URLs:
   <https://debuginfod.debian.net>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Downloading 168.02 K separate debug info for 
/lib/x86_64-linux-gnu/libdevmapper.so.1.02.1
Downloading 266.90 K separate debug info for 
/lib/x86_64-linux-gnu/libfuse3.so.3
[Thread debugging using libthread_db enabled] 

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Downloading 257.60 K separate debug info for 
/lib/x86_64-linux-gnu/libselinux.so.1
Downloading 877.45 K separate debug info for 
/lib/x86_64-linux-gnu/libudev.so.1
Downloading 720.26 K separate debug info for 
/lib/x86_64-linux-gnu/libpcre2-8.so.0
Downloading 47.80 K separate debug info for 
/lib/x86_64-linux-gnu/libcap.so.2
Downloading 2.72 K separate debug info for 
/root/.cache/debuginfod_client/7f82570fce4801a3d7bc8ea76c0bb1e21c889059/debuginfo
/usr/bin/grub-mount: error: cannot find `/var/lib/os-prober/mount': No 
such file or directory.
[Inferior 1 (process 22136) exited with code 01]

dpkg -S os-prober
os-prober: /usr/share/os-prober
os-prober: /usr/lib/os-prober/newns
os-prober: /usr/share/doc/os-prober/README
os-prober: /usr/lib/os-prober
os-prober: /usr/share/os-prober/common.sh
os-prober: /usr/share/doc/os-prober
grub-common: /etc/grub.d/30_os-prober
os-prober: /usr/share/doc/os-prober/changelog.gz
os-prober: /usr/share/doc/os-prober/TODO
os-prober: /var/lib/os-prober
os-prober: /usr/share/doc/os-prober/copyright
os-prober: /usr/bin/os-prober
eric at pink-floyd3:~$ ls /var/lib/os-prober
labels
eric at pink-floyd3:~$ ls /var/lib/os-prober/labels
/var/lib/os-prober/labels

-- 
Eric Valette



More information about the Pkg-grub-devel mailing list