GNU bug report logs -
#19484
segfault: 'disk-set' on empty disk
Previous Next
Reported by: inbox-527 <at> hans-spath.de
Date: Thu, 1 Jan 2015 23:14:01 UTC
Severity: normal
Done: Phillip Susi <psusi <at> ubuntu.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19484 in the body.
You can then email your comments to 19484 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-parted <at> gnu.org:
bug#19484; Package
parted.
(Thu, 01 Jan 2015 23:14:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
bug-parted <at> gnu.org:
New bug report received and forwarded. Copy sent to
bug-parted <at> gnu.org.
(Thu, 01 Jan 2015 23:14:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
$ dd if=/dev/zero of=zero bs=1K count=1
1+0 records in
1+0 records out
1024 bytes (1.0 kB) copied, 0.000146148 s, 7.0 MB/s
$ parted zero disk_set
WARNING: You are not superuser. Watch out for permissions.
Error: /home/user1/zero: unrecognised disk label
You found a bug in GNU Parted! Here's what you have to do:
[...]
Also include any additional information about your setup you
consider important.
Command History:
Segmentation fault (core dumped)
$ parted --version | head -1
parted (GNU parted) 3.2
$ uname -a
Linux host1 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014
x86_64 GNU/Linux
$ valgrind parted zero disk_set |& head -20
==14358== Memcheck, a memory error detector
[...]
Error: /home/user1/zero: unrecognised disk label
==14358== Invalid read of size 8
==14358== at 0x4E458D0: ped_disk_is_flag_available (in
/usr/lib/libparted.so.2.0.1)
==14358== by 0x40B676: command_line_get_disk_flag (in /usr/bin/parted)
==14358== by 0x40674B: ??? (in /usr/bin/parted)
==14358== by 0x40C8B1: non_interactive_mode (in /usr/bin/parted)
==14358== by 0x405F47: main (in /usr/bin/parted)
==14358== Address 0x8 is not stack'd, malloc'd or (recently) free'd
==14358==
Changed bug submitter to 'inbox-527 <at> hans-spath.de' from 'bug-parted <at> gnu.org'
Request was from
bob <at> proulx.com (Bob Proulx)
to
control <at> debbugs.gnu.org.
(Tue, 06 Jan 2015 18:30:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-parted <at> gnu.org:
bug#19484; Package
parted.
(Tue, 13 Jan 2015 16:17:01 GMT)
Full text and
rfc822 format available.
Message #10 received at submit <at> debbugs.gnu.org (full text, mbox):
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 1/1/2015 3:22 PM, Hans Spath wrote:
> $ dd if=/dev/zero of=zero bs=1K count=1 1+0 records in 1+0 records
> out 1024 bytes (1.0 kB) copied, 0.000146148 s, 7.0 MB/s
>
> $ parted zero disk_set WARNING: You are not superuser. Watch out
> for permissions. Error: /home/user1/zero: unrecognised disk label
>
>
> You found a bug in GNU Parted! Here's what you have to do: [...]
> Also include any additional information about your setup you
> consider important.
>
> Command History: Segmentation fault (core dumped)
Thanks. It seems I made a silly typeo a while back. I just pushed
the trivial fix for this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
iQEcBAEBAgAGBQJUtUS6AAoJENRVrw2cjl5RtI4IALATrNScaDaXs6OlgJ0aKP9b
O/l4RhkoH5qMbjvTkzxhiJ40WkO1iCsQ5I49Ed0AkslcCk7OzVYeGyGsiGQ/4AFL
TFUzZwQ4HAhqZT0s2CNXWC1AXW1ascJLVWZjF3xN9MUotDkdKKWoMdeZQoFh1tEC
jryJMHWhjPxSlFpamEvh9cG+Oz6l4E9E2J1Sq8Rs/KGiPRoZl3Mrd0x1u9tVNcgM
oUKbW1iFSNtvBlf1GoxrFRMalX2yKIfn5WkRhwvlpfmK6JwDRdY/kifdMn/hppLe
NvBAM98vsw9h2y/mFCkxKa2lkEzu0YcrCQJnvjf35Bt+4jWFd1PKZoUmhcdfp8s=
=HH2z
-----END PGP SIGNATURE-----
Reply sent
to
Phillip Susi <psusi <at> ubuntu.com>:
You have taken responsibility.
(Tue, 13 Jan 2015 16:17:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
inbox-527 <at> hans-spath.de:
bug acknowledged by developer.
(Tue, 13 Jan 2015 16:17:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org.
(Wed, 11 Feb 2015 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 192 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.