GNU bug report logs - #54428
Please fix error in v3.4

Previous Next

Package: parted;

Reported by: <1radar <at> centrum.cz>

Date: Wed, 16 Mar 2022 17:18:02 UTC

Severity: normal

To reply to this bug, email your comments to 54428 AT debbugs.gnu.org.

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#54428; Package parted. (Wed, 16 Mar 2022 17:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to <1radar <at> centrum.cz>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Wed, 16 Mar 2022 17:18:02 GMT) Full text and rfc822 format available.

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

From: <1radar <at> centrum.cz>
To: <bug-parted <at> gnu.org>
Subject: Please fix error in v3.4
Date: Wed, 16 Mar 2022 18:14:16 +0100
[Message part 1 (text/plain, inline)]
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

[Message part 2 (text/html, inline)]

Information forwarded to bug-parted <at> gnu.org:
bug#54428; Package parted. (Wed, 16 Mar 2022 20:35:02 GMT) Full text and rfc822 format available.

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

From: "Brian C. Lane" <bcl <at> redhat.com>
To: bug-parted <at> gnu.org
Subject: Re: bug#54428: Please fix error in v3.4
Date: Wed, 16 Mar 2022 13:33:13 -0700
On Wed, Mar 16, 2022 at 06:14:16PM +0100, 1radar <at> centrum.cz wrote:
> 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
> 

Sorry, I can't really tell what happened from that backtrace. The error
is 'Address not mapped to object' but it doesn't give any info on what
object it was trying to reference.

Can you provide any other details? Maybe try running it with gdb?

Thanks,

Brian

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





This bug report was last modified 3 years and 97 days ago.

Previous Next


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