bug#47666: /libparted/labels/dos.c:2313 in function add_logical_part_metadata() fail

"Brian C. Lane" <[email protected]> Fri, 9 Apr 2021 09:48:37 -0700
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
On Fri, Apr 09, 2021 at 12:40:50AM +0000, robert mcintosh via Bug reports for the GNU Parted disk partition editor wrote:
> 
> robert@TravelMate-6492 ~ $ sudo partprobe
> 
> Backtrace has 13 calls on stack:
>   13: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7fb079188e94]
>   12: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e4bf) [0x7fb07919c4bf]
>   11: /lib/x86_64-linux-gnu/libparted.so.2(+0xf8ba) [0x7fb07918d8ba]
>   10: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x25f) [0x7fb07918e1af]
>   9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1ddaf) [0x7fb07919bdaf]
>   8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1de40) [0x7fb07919be40]
>   7: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dde9) [0x7fb07919bde9]
>   6: /lib/x86_64-linux-gnu/libparted.so.2(+0x1edd5) [0x7fb07919cdd5]
>   5: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7fb07918ddd8]
>   4: partprobe(+0x12f3) [0x55b3fe2d02f3]
>   3: partprobe(main+0x233) [0x55b3fe2d0183]
>   2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fb078dd4840]
>   1: partprobe(_start+0x29) [0x55b3fe2d01c9]
> A bug has been detected in GNU Parted.  Refer to the web site of parted http://www.gnu.org/software/parted/parted.html for more information of what could be useful for bug submitting!  Please email a bug report to [email protected] containing at least the version (3.2) and the following message:  Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed.
> Aborted
> 

The partition table was not created correctly, parted will not use it
until it has been fixed.

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