xfs
[Top] [All Lists]

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

To: Marc Lehmann <schmorp@xxxxxxxxxx>
Subject: Re: xfs_repair 3.1.4/3.1.5: fatal error -- couldn't malloc dir2 buffer data
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Sun, 7 Aug 2011 00:12:41 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20110806121728.GA20341@xxxxxxxxxx>
References: <20110806121728.GA20341@xxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Sat, Aug 06, 2011 at 02:17:28PM +0200, Marc Lehmann wrote:
> 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 :)

Can you share a metadump of the image in question?

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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