Bug#828211: e2fsprogs: resize2fs dumps reading inodes

2016-06-26 Thread Theodore Ts'o
On Sun, Jun 26, 2016 at 07:55:39AM +0200, Ulrich Möhrke wrote:
> Package: e2fsprogs
> Version: 1.43.1-1
> Severity: normal
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>* What led up to the situation?
> call of resize2fs -p /dev/sda6 162336768K as root to reduce size of file 
> system by 4G 
> 
>* What exactly did you do (or not do) that was effective (or
>  ineffective)?
>* What was the outcome of this action?
> 
> I've got german output:
> resize2fs 1.43.1 (08-Jun-2016)
> Die Größe des Dateisystems auf /dev/sda6 wird auf 40584192 (4k) Blöcke 
> geändert.
> Start von Durchgang 3 (max = 1271)
> Die Inode-Tabelle wird 
> gelesenXXSpeicherzugriffsfehler
> 
> should be something like the following in english:
> resize2fs 1.43.1 (08-Jun-2016)
> The size of the file system at /dev/sda6 will be changed to 40584192 (4k) 
> blocks.
> Start of run/track 3 (max = 1271)
> Reading inode table XXsegmentation fault

OK, first of all, please run fsck on the /dev/sda6 to make sure it's
consistent.  Please save the output of fsck and attach it to the bug.

Next, run dumpe2fs on the output, and attach it to the bug as well.

What I would suggest doing next is to use e2image -r to create a raw
image dump of the file system metadata blocks, and then try running
resize2fs on the raw image dump.  If it crases, then we've got a
reproduction case, and this would be most helpful.  Ideally I'd like
to get a compressed copy of the raw image file.  If you don't want me
seeing the filenames, you can create the image dump using e2image -rs,
which will scramble the file names.  (Either way, this omits the data
blocks, both for size and privacy reasons.)

If you don't want to send me the image file, it would be great if you
could enable core dumps, and get a stack trace.  Or you can install
the dbgsym package and then run resize2fs under gdb, and get the stack
trace that way.

- Ted



Bug#828211: e2fsprogs: resize2fs dumps reading inodes

2016-06-25 Thread Ulrich Möhrke
Package: e2fsprogs
Version: 1.43.1-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
call of resize2fs -p /dev/sda6 162336768K as root to reduce size of file system 
by 4G 

   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?

I've got german output:
resize2fs 1.43.1 (08-Jun-2016)
Die Größe des Dateisystems auf /dev/sda6 wird auf 40584192 (4k) Blöcke geändert.
Start von Durchgang 3 (max = 1271)
Die Inode-Tabelle wird 
gelesenXXSpeicherzugriffsfehler

should be something like the following in english:
resize2fs 1.43.1 (08-Jun-2016)
The size of the file system at /dev/sda6 will be changed to 40584192 (4k) 
blocks.
Start of run/track 3 (max = 1271)
Reading inode table XXsegmentation fault



   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages e2fsprogs depends on:
ii  e2fslibs1.43.1-1
ii  libblkid1   2.28-5
ii  libc6   2.22-11
ii  libcomerr2  1.43.1-1
ii  libss2  1.43.1-1
ii  libuuid12.28-5
ii  util-linux  2.28-5

e2fsprogs recommends no packages.

Versions of packages e2fsprogs suggests:
pn  e2fsck-static  
pn  fuse2fs
ii  gpart  1:0.3-3
ii  parted 3.2-15

-- no debconf information