GNU bug report logs -
#35432
[3.2] Crash on select
Previous Next
Full log
View this message in rfc822 format
This is probably specific to the old version of parted in 16.04. Please
try upgrading to 18.04 or building parted yourself from git.
Nick Elsmore writes:
> parted crashes when I follow the below command history. I am able to reproduce this issue. parted launches fine and selects fine in other configurations.
>
> uname -a:
> Linux LINUX-Z370ITX 4.15.0-47-generic #50~16.04.1-Ubuntu SMP Fri Mar 15 16:06:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
>
> Command history:
> sudo parted
> help
> print
> print devices
> select /dev/sdc
>
> (parted) select /dev/sdc
> Backtrace has 14 calls on stack:
> 14: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x44) [0x7fc85b4c4e94]
> 13: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_init+0xd0) [0x7fc85b4cb9b0]
> 12: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_new+0x56) [0x7fc85b4cba66]
> 11: /lib/x86_64-linux-gnu/libparted.so.2(ped_constraint_exact+0xa8) [0x7fc85b4cc338]
> 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x22ba7) [0x7fc85b4dcba7]
> 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x22c76) [0x7fc85b4dcc76]
> 8: /lib/x86_64-linux-gnu/libparted.so.2(+0xf8ba) [0x7fc85b4c98ba]
> 7: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_delete_all+0x62) [0x7fc85b4ca442]
> 6: /lib/x86_64-linux-gnu/libparted.so.2(+0x21f59) [0x7fc85b4dbf59]
> 5: parted(+0x6a8b) [0x563c4c5fea8b]
> 4: parted(interactive_mode+0x120) [0x563c4c605000]
> 3: parted(main+0x1386) [0x563c4c5fe186]
> 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fc85aca1830]
> 1: parted(_start+0x29) [0x563c4c5fe1e9]
>
> Assertion (max_size > 0) at ../../libparted/cs/constraint.c:71 in function ped_constraint_init() failed.
>
> sudo parted /dev/sdc unit co print unit s print
> Model: SanDisk Cruzer (scsi)
> Disk /dev/sdc: 8004MB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> Disk Flags:
>
> Number Start End Size Type File system Flags
> 1 16.4kB 8004MB 8004MB primary fat32 boot
>
> Model: SanDisk Cruzer (scsi)
> Disk /dev/sdc: 15633408s
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> Disk Flags:
>
> Number Start End Size Type File system Flags
> 1 32s 15633407s 15633376s primary fat32 boot
>
>
> [Logo Witekio Sept 17]<https://witekio.com/>
> Nick Elsmore
> Embedded Software Engineer
>
> [email] nelsmore <at> witekio.com<mailto:ajoyet <at> witekio.com>
> [office] 415-328-3671
> Witekio
> 3150 Richards Rd,
> Suite 210
> Bellevue, WA 98005
> www.witekio.com<http:/www.witekio.com>
>
> [Witekio carte de voeux 2019]<https://witekio.com/blog/>
>
> Make your ideas grow in 2019!
This bug report was last modified 6 years and 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.