Bug 2121733 - sgdisk crashes because of popt!
Summary: sgdisk crashes because of popt!
Keywords:
Status: CLOSED DUPLICATE of bug 2100391
Alias: None
Product: Fedora
Classification: Fedora
Component: gdisk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Terje Røsten
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: CockpitTest
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-26 12:54 UTC by Marius Vollmer
Modified: 2022-08-29 06:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-28 11:32:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marius Vollmer 2022-08-26 12:54:54 UTC
Description of problem:

sgdisk crashes!

Version-Release number of selected component (if applicable):
gdisk-1.0.9-3.fc37.x86_64
popt-1.19~rc1-4.fc38.x86_64

How reproducible:
Always!

Steps to Reproduce:
1. sgdisk /dev/null

Actual results:
Problem opening <Q�\ for reading! Error is 2.
The specified file does not exist!

Expected results:
The specified path is a character device!

Additional info:
This is apparently because of a update to popt, which exposed a long standing bug in sgdisk.  Upstream seems to be slowly working on a fix:

https://sourceforge.net/p/gptfdisk/code/ci/5d5e76d369a412bfb3d2cebb5fc0a7509cef878d/
https://sourceforge.net/p/gptfdisk/code/merge-requests/28/

sgdisk is used by libblockdev / blivet / anaconda / udisks2 / cockpit.

Comment 1 Marius Vollmer 2022-08-26 12:56:07 UTC
Well, it doesn't actually crash, but you get the point.

Comment 2 Terje Røsten 2022-08-28 11:32:38 UTC

*** This bug has been marked as a duplicate of bug 2100391 ***

Comment 3 Marius Vollmer 2022-08-29 06:56:48 UTC
(In reply to Terje Røsten from comment #2)
> 
> *** This bug has been marked as a duplicate of bug 2100391 ***

Thanks for fixing this!  For reference, this is the build for rawhide:

https://bodhi.fedoraproject.org/updates/FEDORA-2022-23ef6d2496


Note You need to log in before you can comment on or make changes to this bug.