xfs
[Top] [All Lists]

xfs_repair 3.1.4/3.1.5: fatal error -- couldn't malloc dir2 buffer data

To: xfs@xxxxxxxxxxx
Subject: xfs_repair 3.1.4/3.1.5: fatal error -- couldn't malloc dir2 buffer data
From: Marc Lehmann <schmorp@xxxxxxxxxx>
Date: Sat, 6 Aug 2011 14:17:28 +0200
When trying to xfs_repair a 15GB image file, I get this:

Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...

fatal error -- couldn't malloc dir2 buffer data

this is 3.1.5 - 3.1.4 simply segfaults. using ltrace shows this as
last call to malloc:

   malloc(18446744073708732928)                                  = NULL

I think thats a bit unreasonable of xfs_repair :)

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp@xxxxxxxxxx
      -=====/_/_//_/\_,_/ /_/\_\

<Prev in Thread] Current Thread [Next in Thread>