bug#29641: libparted-3.2: bug: The information sector has the wrong signature (0).

Andreas Abel <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
Hi Phil,

thanks for looking into this.

I am on ubuntu 16.04 LTS.  I was not using the LiveCD, just the gparted 
as available via apt.

I attach the .htm report of GParted when it crashed (it says "Libparted 
3.2").
NB: I got the same errors when running fatresize.

How do I find out the exact version of libparted?

According to the changelog files installed in my system (see below), I 
have two versions

- parted (2.3-19ubuntu1.14.04.1)            (Patch 23 Jul 2015)
- parted (3.2-15) unstable; urgency=medium  (Patch 10 Feb 2016)

Can you find the information you need below?  If not let me know.

Cheers,
Andreas

On 11.12.2017 20:53, Phil Susi wrote:
> On 12/10/2017 4:50 AM, Andreas Abel wrote:
>> Hello parted team,
>>
>> gparted has asked me to send a bug report.  I attach a screen shot and
>> also here is the console output.
> 
> Exactly what version of libparted were you using, and where was it
> obtained from?  I believe there were some fatfs bugs that have been
> fixed since 3.2 was released, and backported into debian/ubuntu/the
> gparted livecd, but if you got it from another source that may be missing.

$ uname -a
Linux agda2 4.4.0-103-generic #126-Ubuntu SMP Mon Dec 4 16:23:28 UTC 
2017 x86_64 x86_64 x86_64 GNU/Linux

===========================================================

$ apt list gparted
Listing... Done
gparted/xenial,now 0.25.0-1 amd64 [installed]

$ apt list parted
Listing... Done
parted/xenial,now 3.2-15 amd64 [installed,automatic]

$ apt list fatresize
Listing... Done
fatresize/xenial,now 1.0.2-9 amd64 [installed]

===========================================================

$ fatresize -v
fatresize 1.0.2 (01/27/16)

===========================================================

$ locate libparted
/lib/x86_64-linux-gnu/libparted-fs-resize.so.0
/lib/x86_64-linux-gnu/libparted-fs-resize.so.0.0.1
/lib/x86_64-linux-gnu/libparted.so.0
/lib/x86_64-linux-gnu/libparted.so.0.0.1
/lib/x86_64-linux-gnu/libparted.so.2
/lib/x86_64-linux-gnu/libparted.so.2.0.1
/usr/share/doc/libparted-fs-resize0
/usr/share/doc/libparted0debian1
/usr/share/doc/libparted2
/usr/share/doc/libparted-fs-resize0/changelog.Debian.gz
/usr/share/doc/libparted-fs-resize0/copyright
/usr/share/doc/libparted0debian1/changelog.Debian.gz
/usr/share/doc/libparted0debian1/copyright
/usr/share/doc/libparted2/changelog.Debian.gz
/usr/share/doc/libparted2/copyright
/usr/share/lintian/overrides/libparted0debian1
/var/lib/dpkg/info/libparted-fs-resize0:amd64.list
/var/lib/dpkg/info/libparted-fs-resize0:amd64.md5sums
/var/lib/dpkg/info/libparted-fs-resize0:amd64.shlibs
/var/lib/dpkg/info/libparted-fs-resize0:amd64.symbols
/var/lib/dpkg/info/libparted-fs-resize0:amd64.triggers
/var/lib/dpkg/info/libparted0debian1:amd64.list
/var/lib/dpkg/info/libparted0debian1:amd64.md5sums
/var/lib/dpkg/info/libparted0debian1:amd64.postinst
/var/lib/dpkg/info/libparted0debian1:amd64.postrm
/var/lib/dpkg/info/libparted0debian1:amd64.shlibs
/var/lib/dpkg/info/libparted2:amd64.list
/var/lib/dpkg/info/libparted2:amd64.md5sums
/var/lib/dpkg/info/libparted2:amd64.shlibs
/var/lib/dpkg/info/libparted2:amd64.symbols
/var/lib/dpkg/info/libparted2:amd64.triggers

===========================================================

HERE IS THE HEAD OF

   /usr/share/doc/libparted-fs-resize0/changelog.Debian.gz

parted (3.2-15) unstable; urgency=medium

   * Cherry-pick upstream patch to check DASD geometry more carefully to
     avoid problems with LVM (closes: #814076, LP: #1541510).

  -- Colin Watson <[email protected]>  Wed, 10 Feb 2016 14:26:23 +0000

parted (3.2-14) unstable; urgency=medium

   * Use HTTPS for Vcs-* URLs, and link to cgit rather than gitweb.
   * Build with all hardening options.

  -- Colin Watson <[email protected]>  Wed, 27 Jan 2016 13:24:01 +0000

===========================================================

HERE IS THE HEAD OF
   /usr/share/doc/libparted2/changelog.Debian.gz
AND
   /usr/share/doc/libparted0debian1/changelog.Debian.gz

parted (2.3-19ubuntu1.14.04.1) trusty; urgency=medium

   * debian/patches/dm-512b-sectors.patch: properly support 4k disks.
     (LP: #1441930)

  -- Mathieu Trudel-Lapierre <[email protected]>  Thu, 23 Jul 2015 
12:12:21 -0400

parted (2.3-19ubuntu1) trusty; urgency=medium

   * Upload from Debian git repository to fix a release-critical bug.
   * Fix crash when opening FAT file systems (LP: #1306704).

  -- Colin Watson <[email protected]>  Mon, 14 Apr 2014 11:56:10 +0100

parted (2.3-19) unstable; urgency=medium

   [ Phillip Susi ]
   * fat-ntfs-large-sectors.patch: Fix fat and ntfs detection on non 512 
byte
     sectors (closes: #743816, LP: #1302762).

  -- Colin Watson <[email protected]>  Tue, 08 Apr 2014 12:55:59 +0100

parted (2.3-18) unstable; urgency=medium

   * Fix LVM handling regressions caused by fix-loop-labels.patch
     (LP: #1300072):
     - Initialise dev->loop in ped_disk_new_fresh rather than ped_disk_new.
     - Temporarily set disk->dev->loop to 0 while removing partitions, so
       that we can remove previously-existing non-loop partitions (thanks,
       Phillip Susi).

  -- Colin Watson <[email protected]>  Wed, 02 Apr 2014 00:01:13 +0100

parted (2.3-17) unstable; urgency=low

   [ Phillip Susi ]
   * avoid-disturbing-partitions.patch: remove all old partitions (that are
     not unchanged) first, then add new ones.  This avoids an EBUSY 
trying to
     add new partitions that overlap with old ones that have a higher number
     (closes: #742847, LP: #1220165).
   * fix-loop-labels.patch: Fix loop labels (filesystem on whole disk
     device).

===========================================================

-- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Department of Computer Science and Engineering
Chalmers and Gothenburg University, Sweden

[email protected]
http://www.cse.chalmers.se/~abela/
gparted-crash-Dec10.htm (text/html, 3.5 KB)
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en-US' lang='en-US'>
<head>
<meta http-equiv='Content-Type' content='text/html;charset=utf-8' />
<title>GParted Details</title>
</head>
<body>
<p>GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize</p>
<p>Libparted 3.2</p>
<table border='0'>
<tr>
<td colspan='2'>
<b>Shrink /dev/sdb1 from 1.36 TiB to 684.36 GiB</b>&nbsp;&nbsp;00:00:31&nbsp;&nbsp;&nbsp;&nbsp;( ERROR )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table border='0'>
<tr>
<td colspan='2'>
calibrate /dev/sdb1&nbsp;&nbsp;00:00:01&nbsp;&nbsp;&nbsp;&nbsp;( SUCCESS )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table border='0'>
<tr>
<td colspan='2'>
<i>path: /dev/sdb1 (partition)<br />start: 64<br />end: 366281983<br />size: 366281920 (1.36 TiB)</i>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border='0'>
<tr>
<td colspan='2'>
check file system on /dev/sdb1 for errors and (if possible) fix them&nbsp;&nbsp;00:00:06&nbsp;&nbsp;&nbsp;&nbsp;( SUCCESS )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table border='0'>
<tr>
<td colspan='2'>
<b><i>fsck.fat -a -w -v /dev/sdb1</i></b>&nbsp;&nbsp;00:00:06&nbsp;&nbsp;&nbsp;&nbsp;( SUCCESS )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table border='0'>
<tr>
<td colspan='2'>
<i>fsck.fat 3.0.28 (2015-05-16)<br />Checking we can access the last sector of the filesystem<br />0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.<br /> Automatically removing dirty bit.<br />Boot sector contents:<br />System ID &quot;MSWIN4.1&quot;<br />Media byte 0xf8 (hard disk)<br />      4096 bytes per logical sector<br />    262144 bytes per cluster<br />        32 reserved sectors<br />First FAT starts at byte 131072 (sector 32)<br />         2 FATs, 32 bit entries<br />  22892544 bytes per FAT (= 5589 sectors)<br />Root directory start at cluster 2 (arbitrary size)<br />Data area starts at byte 45916160 (sector 11210)<br />   5722979 data clusters (1500244606976 bytes)<br />63 sectors/track, 255 heads<br />        64 hidden sectors<br /> 366281920 sectors total<br />Reclaiming unconnected clusters.<br />Checking free cluster summary.<br />Performing changes.<br />/dev/sdb1: 24962 files, 813200/5722979 clusters<br /></i>
</td>
</tr>
</table>
<table border='0'>
<tr>
<td colspan='2'>
<i></i>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border='0'>
<tr>
<td colspan='2'>
shrink file system&nbsp;&nbsp;00:00:24&nbsp;&nbsp;&nbsp;&nbsp;( ERROR )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table border='0'>
<tr>
<td colspan='2'>
using libparted
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border='0'>
<tr>
<td colspan='2'>
libparted messages&nbsp;&nbsp;&nbsp;&nbsp;( INFO )
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td>
<table border='0'>
<tr>
<td colspan='2'>
<i>The file system is bigger than its volume!</i>
</td>
</tr>
</table>
<table border='0'>
<tr>
<td colspan='2'>
<i>The information sector has the wrong signature (0).  Select cancel for now, and send in a bug report.  If you&apos;re desperate, it&apos;s probably safe to ignore.</i>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<p>========================================</p>
<table border='0'>
<tr>
<td colspan='2'>
<b>Create Primary Partition #1 (ext4, 712.90 GiB) on /dev/sdb</b>
</td>
</tr>
</table>
<p>========================================</p>
</body>
</html>
changelog.Debian.gz (application/gzip, 1.2 KB) - not displayed
changelog.Debian.gz (application/gzip, 1.2 KB) - not displayed
changelog.Debian.gz (application/gzip, 2.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.