[Bug 2099811] Re: Os-prober segmentation fault one message for each partition on same PC

corrado venturini 2099811 at bugs.launchpad.net
Wed Mar 5 09:32:28 UTC 2025


Segmentation fault disappeared but for some reason after the initial
work the preparation of grub.cfg does not start.

Attaching journal for update-grub


corrado at corrado-n3-pp-0223:~$ sudo apparmor_parser -r /etc/apparmor.d/os-prober
[sudo] password for corrado: 
corrado at corrado-n3-pp-0223:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/kdump-tools.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.12.0-16-generic
Found initrd image: /boot/initrd.img-6.12.0-16-generic
Found linux image: /boot/vmlinuz-6.12.0-15-generic
Found initrd image: /boot/initrd.img-6.12.0-15-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p2
Found Ubuntu 24.04.2 LTS (24.04) on /dev/nvme0n1p4
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p5
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p6
Found Ubuntu 24.10 (24.10) on /dev/nvme0n1p7
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p8
Found Ubuntu Plucky Puffin (development branch) (25.04) on /dev/nvme0n1p9
Found Debian GNU/Linux trixie/sid on /dev/sda4
Found Ubuntu 24.04.2 LTS (24.04) on /dev/sda5
Found Ubuntu 22.04.5 LTS (22.04) on /dev/sdb2
Adding boot menu entry for UEFI Firmware Settings ...
done
corrado at corrado-n3-pp-0223:~$ 


** Attachment added: "upgrub.txt"
   https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/2099811/+attachment/5862447/+files/upgrub.txt

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to os-prober in Ubuntu.
https://bugs.launchpad.net/bugs/2099811

Title:
  Os-prober segmentation fault one message for each partition on same PC

Status in apparmor package in Ubuntu:
  Confirmed
Status in os-prober package in Ubuntu:
  Confirmed

Bug description:
  Reporting this bug on os-prober, my bug https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2099662
  was incorrectly attributed to grub

  corrado at corrado-n3-pp-0223:~$ sudo os-prober
  [sudo] password for corrado: 
  find: Failed to restore initial working directory: /home/corrado: Permission denied
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  Segmentation fault
  corrado at corrado-n3-pp-0223:~$ 

  Attaching related journal

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: os-prober 1.83ubuntu2
  ProcVersionSignature: Ubuntu 6.12.0-15.15-generic 6.12.11
  Uname: Linux 6.12.0-15-generic x86_64
  ApportVersion: 2.31.0+git20250220-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 23 15:46:27 2025
  InstallationDate: Installed on 2025-02-23 (0 days ago)
  InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Daily amd64 (20250223)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: os-prober
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2099811/+subscriptions




More information about the foundations-bugs mailing list