Subject: bug#54428: Please fix error in v3.4

From: <[email-masked]>
Date: Wed, 16 Mar 2022 18:14:16 +0100

Hellow,
I tried if i have aligned partitions.
And on second ssd and 1 partition it crashed.
 
print partitions
 
/dev/sdb (8070MB)
/dev/sda (4035MB)
/dev/sdc (63,9GB)
select /dev/sdb(parted) print freeModel: ATA ASUS-PHISON SSD (scsi)Disk /dev/sdb: 8070MBSector size (logical/physical): 512B/512BPartition Table: msdosDisk Flags: Number  Start   End     Size    Type     File system  Flags        32,3kB  5243kB  5211kB           Free Space 1      5243kB  2780MB  2775MB  primary  ntfs 2      2780MB  7532MB  4752MB  primary  ext4         boot        7532MB  8070MB  538MB            Free Space(parted) align-check optimal 1
Error: SEGV_MAPERR (Address not mapped to object)Backtrace has 11 calls on stack:  11: /lib/i386-linux-gnu/libparted.so.2(ped_assert+0x51) [0xb76e0c21]  10: parted(+0xb424) [0x4c2424]  9: linux-gate.so.1(__kernel_rt_sigreturn+0) [0xb775dd20]  8: /lib/i386-linux-gnu/libparted.so.2(+0x138a9) [0xb76ea8a9]  7: /lib/i386-linux-gnu/libparted.so.2(ped_device_get_optimum_alignment+0x2c) [0xb76e190c]  6: parted(+0x84ac) [0x4bf4ac]  5: parted(+0x8969) [0x4bf969]  4: parted(interactive_mode+0x196) [0x4c4a96]  3: parted(main+0x1139) [0x4bcba9]  2: /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0x106) [0xb7490e46]  1: parted(_start+0x31) [0x4bcc41]Assertion (0) at ../../parted/ui.c:359 in function sa_sigsegv_handler() failed.
 
Neúspěšně ukončen (SIGABRT)
Thanks You very much.
Best Regards
Radek Pěnka