Hello i would like to report a bug regarding (g)parted,
specifically the "partprobe" function.
The version used was: 2.3.
//
Reporting the required output from the error as requested:
Assertion (head_size <= 63) at ../../../libparted/labels/dos.c:662 in
function probe_partition_for_geom() failed.
//
The command execution and resulting backtrace:
address@hidden:/mnt$ sudo partprobe
Backtrace has 13 calls on stack:
13: /lib/libparted.so.0(ped_assert+0x2a) [0xb7732dba]
12: /lib/libparted.so.0(+0x43ae7) [0xb7769ae7]
11: /lib/libparted.so.0(+0x44907) [0xb776a907]
10: /lib/libparted.so.0(+0x45bfc) [0xb776bbfc]
9: /lib/libparted.so.0(+0x11631) [0xb7737631]
8: /lib/libparted.so.0(ped_disk_add_partition+0x262) [0xb773aec2]
7: /lib/libparted.so.0(+0x47bb5) [0xb776dbb5]
6: /lib/libparted.so.0(+0x47dbf) [0xb776ddbf]
5: /lib/libparted.so.0(ped_disk_new+0x75) [0xb773bc95]
4: partprobe() [0x8048d90]
3: partprobe(main+0x1af) [0x804909f]
2: /lib/libc.so.6(__libc_start_main+0xe6) [0xb7541c76]
1: partprobe() [0x8048ba1]
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 address@hidden containing at least the version
(2.3) and the following message: Assertion (head_size <= 63) at
../../../libparted/labels/dos.c:662 in function
probe_partition_for_geom() failed.
address@hidden:/mnt$
//
Additional info:
The bug occurs when launching partprobe while there is a usb device
connected from a certain manufacturer. Same bug doesn't occur with other
more or less similar devices. Tried three devices to rule out device
errors:
Mediocre priced: "Verbatim 4GB"
el-cheapo priced device: "Brandless 4GB."
Overprized: "Kingston 4GB."
The Kingston device consequently caused the bug without any way to
avoid it.
//
Can the bug be replicated?
Yes.
Required for replication: Usb 2.0 -stick / -device.
Brand: Kingston
Type: Datatraveller 100 G2
Capacity: 4GB
Step 1: plug in the usb -stick / -device.
Step 2: run partprobe
//
End bug info.
//
If required, please contact me for additional information.
I will be more then happy to help any way i can.
With regards,
T. van Hoorn.