GNU bug report logs - #76099
Bug in ped_partition_get_flag()

Previous Next

Package: parted;

Reported by: <guillermo.blanco <at> deepcodes.es>

Date: Thu, 6 Feb 2025 14:51:01 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

To reply to this bug, email your comments to 76099 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#76099; Package parted. (Thu, 06 Feb 2025 14:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to <guillermo.blanco <at> deepcodes.es>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Thu, 06 Feb 2025 14:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: <guillermo.blanco <at> deepcodes.es>
To: <bug-parted <at> gnu.org>
Cc: jaime.alvarez <at> deepcodes.es
Subject: Bug in ped_partition_get_flag()
Date: Thu, 6 Feb 2025 10:31:16 +0100
[Message part 1 (text/plain, inline)]
Hi, 

 

I want notify that there are a bug in function ped_partition_get_flag(),
message: Assertion (ped_partition_is_active (part)) at
../../libparted/disk.c:1401 in function ped_partition_get_flag() failed.
Version 3.6-4

 

 

Muchas gracias por tu tiempo,

 

Un cordial saludo.

Guillermo Blanco García.

Teléfono: 670 26 35 36



 

[Message part 2 (text/html, inline)]
[image001.png (image/png, inline)]

Information forwarded to bug-parted <at> gnu.org:
bug#76099; Package parted. (Thu, 06 Feb 2025 17:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 76099 <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: guillermo.blanco <at> deepcodes.es
Cc: 76099 <at> debbugs.gnu.org, jaime.alvarez <at> deepcodes.es
Subject: Re: bug#76099: Bug in ped_partition_get_flag()
Date: Thu, 6 Feb 2025 09:15:50 -0800
On Thu, Feb 06, 2025 at 10:31:16AM +0100, guillermo.blanco <at> deepcodes.es wrote:
> Hi, 
> 
>  
> 
> I want notify that there are a bug in function ped_partition_get_flag(),
> message: Assertion (ped_partition_is_active (part)) at
> ../../libparted/disk.c:1401 in function ped_partition_get_flag() failed.
> Version 3.6-4

Sorry, that's not enough information to know what happened. What were
you trying to do? Is there a stack trace that you can include, or at
least steps to reproduce it.

Thanks,

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart





Reply sent to "Brian C. Lane" <bcl <at> redhat.com>:
You have taken responsibility. (Fri, 07 Feb 2025 17:19:02 GMT) Full text and rfc822 format available.

Notification sent to <guillermo.blanco <at> deepcodes.es>:
bug acknowledged by developer. (Fri, 07 Feb 2025 17:19:03 GMT) Full text and rfc822 format available.

Message #13 received at 76099-close <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: guillermo.blanco <at> deepcodes.es
Cc: jaime.alvarez <at> deepcodes.es, 76099-close <at> debbugs.gnu.org
Subject: Re: bug#76099: Bug in ped_partition_get_flag()
Date: Fri, 7 Feb 2025 09:18:32 -0800
On Fri, Feb 07, 2025 at 09:03:59AM +0100, guillermo.blanco <at> deepcodes.es wrote:
> Sorry, i tried this line: bool bootable = ped_partition_get_flag(part,
> PED_PARTITION_BOOT).
> Part is a PedPartition * type
> 
> I'm trying to know if the partition is bootable or not to filter.
> 
> If you need more information I will be happy to provide it.

You can only call that on an active partition (one that isn't metadata
or free).

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart





Information forwarded to bug-parted <at> gnu.org:
bug#76099; Package parted. (Fri, 07 Feb 2025 21:34:01 GMT) Full text and rfc822 format available.

Message #16 received at 76099 <at> debbugs.gnu.org (full text, mbox):

From: <guillermo.blanco <at> deepcodes.es>
To: "'Brian C. Lane'" <bcl <at> redhat.com>
Cc: 76099 <at> debbugs.gnu.org, jaime.alvarez <at> deepcodes.es
Subject: RE: bug#76099: Bug in ped_partition_get_flag()
Date: Fri, 7 Feb 2025 09:03:59 +0100
Sorry, i tried this line: bool bootable = ped_partition_get_flag(part,
PED_PARTITION_BOOT).
Part is a PedPartition * type

I'm trying to know if the partition is bootable or not to filter.

If you need more information I will be happy to provide it.

Thanks,
Guillermo.

-----Mensaje original-----
De: Brian C. Lane <bcl <at> redhat.com> 
Enviado el: jueves, 6 de febrero de 2025 18:16
Para: guillermo.blanco <at> deepcodes.es
CC: 76099 <at> debbugs.gnu.org; jaime.alvarez <at> deepcodes.es
Asunto: Re: bug#76099: Bug in ped_partition_get_flag()

On Thu, Feb 06, 2025 at 10:31:16AM +0100, guillermo.blanco <at> deepcodes.es
wrote:
> Hi,
> 
>  
> 
> I want notify that there are a bug in function 
> ped_partition_get_flag(),
> message: Assertion (ped_partition_is_active (part)) at
> ../../libparted/disk.c:1401 in function ped_partition_get_flag() failed.
> Version 3.6-4

Sorry, that's not enough information to know what happened. What were you
trying to do? Is there a stack trace that you can include, or at least steps
to reproduce it.

Thanks,

Brian

--
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart






This bug report was last modified 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.