[Bug 438248] Re: e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu

2009-10-14 Thread Ævar Arnfjörð Bjarmason

** Attachment added: "Screenlog of running e2fsck on the FS + GDB"
   http://launchpadlibrarian.net/33676536/screenlog.2.bz2

-- 
e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu
https://bugs.launchpad.net/bugs/438248
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 438248] Re: e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu

2009-10-14 Thread Ævar Arnfjörð Bjarmason
Sorry for not getting back to you earlier. I ran another fsck a while
ago followed by a GDB session. The problem is that qsort() is being fed
an invalid pointer. But I don't know why though. Here's the most
interesting bit:

The other 70MB of the log are attached (bzipped).

(gdb) l
169 static EXT2_QSORT_TYPE ino_cmp(const void *a, const void *b)
170 {
171 const struct hash_entry *he_a = (const struct hash_entry *) a;
172 const struct hash_entry *he_b = (const struct hash_entry *) b;
173
174 return (he_a->ino - he_b->ino);
175 }
176
177 /* Used for sorting the hash entry */
178 static EXT2_QSORT_TYPE name_cmp(const void *a, const void *b)
(gdb) x he_a
0x89fbc1b8: Cannot access memory at address 0x89fbc1b8
(gdb) p he_a
$1 = (const struct hash_entry *) 0x89fbc1b8
(gdb) p *he_a
Cannot access memory at address 0x89fbc1b8
(gdb) p he_b
$2 = (const struct hash_entry *) 0x9fbc1d8
(gdb) p *he_b
$3 = {hash = 1768448865, minor_hash = 17, ino = 3087286648, dir = 0xb8044178}

-- 
e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu
https://bugs.launchpad.net/bugs/438248
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 438248] Re: e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu

2009-10-10 Thread Scott James Remnant
** Changed in: e2fsprogs (Ubuntu)
   Status: New => Triaged

** Changed in: e2fsprogs (Ubuntu)
   Importance: Undecided => Medium

-- 
e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu
https://bugs.launchpad.net/bugs/438248
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 438248] Re: e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu

2009-09-28 Thread Ævar Arnfjörð Bjarmason
a...@aoeu:~/src/e2fsprogs$ sudo debugfs/debugfs /dev/sdc2
debugfs 1.41.9 (22-Aug-2009)
debugfs:  stat <11>
Inode: 11   Type: directoryMode:  0700   Flags: 0x0
Generation: 0Version: 0x:
User: 0   Group: 0   Size: 16384
File ACL: 0Directory ACL: 0
Links: 2   Blockcount: 32
Fragment:  Address: 0Number: 0Size: 0
 ctime: 0x49b57158: -- Mon Mar  9 19:43:20 2009
 atime: 0x4ab98bf4: -- Wed Sep 23 02:46:12 2009
 mtime: 0x49b57158: -- Mon Mar  9 19:43:20 2009
crtime: 0x49b57158: -- Mon Mar  9 19:43:20 2009
Size of extra inode fields: 28
BLOCKS:
(0-3):1540-1543
TOTAL: 4

debugfs:  ls <11>
 11  (12) .2  (4084) ..0  (4096) 0  (4096) 0  (4096)

-- 
e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu
https://bugs.launchpad.net/bugs/438248
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 438248] Re: e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu

2009-09-28 Thread Theodore Ts'o
Can you try using running debugfs on the filesystem and sending me the
output of the following two debugfs commands:

stat <11>
ls <11>

thanks!!

-- 
e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu
https://bugs.launchpad.net/bugs/438248
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 438248] Re: e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu

2009-09-28 Thread Ævar Arnfjörð Bjarmason
I've had it crash twice now. Once under GDB. I pulled the latest
e2fsprogs from git and I'm running it with those.

/dev/sdb2 is minus 5 GB now according to df -h :)

$ df -h /media/Igla/
FilesystemSize  Used Avail Use% Mounted on
/dev/sdc2 411G -5.1G  416G   -  /media/Igla

But actually it's around 280 GB, aside from Internet connectivity issues
I'd have currently transferring something that big there's private data
on that partition. Like a backup of my ~ directory.

I'm running it again with the git/master version and I'm noting the full
e2fsck/syslog/dmesg output being produced in the process.

-- 
e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu
https://bugs.launchpad.net/bugs/438248
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 438248] Re: e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu

2009-09-28 Thread Theodore Ts'o
Is the crash consistently repeatable?

How big is /dev/sdb2?  Would you be willing to send me a compressed
e2image file of the filesystem?  (See the REPORTING BUGS section of the
e2fsck man page for more details.)

-- 
e2fsprogs segfaults when fsck-ing a FS that has been unmounted by Ubuntu
https://bugs.launchpad.net/bugs/438248
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs