From: Eric Sandeen <sandeen@sandeen.net>
To: Anisse Astier <anisse@astier.eu>
Cc: xfs@oss.sgi.com
Subject: Re: xfs_repair crashing (versions 3.1.4 and 3.1.5)
Date: Thu, 21 Apr 2011 14:26:06 -0500 [thread overview]
Message-ID: <4DB084CE.8020600@sandeen.net> (raw)
In-Reply-To: <20110419130737.45beb611@destiny.ordissimo>
On 4/19/11 6:07 AM, Anisse Astier wrote:
> On Tue, 19 Apr 2011 18:27:05 +1000, Dave Chinner <david@fromorbit.com> wrote :
>
>> On Mon, Apr 18, 2011 at 09:24:22PM +0200, Anisse Astier wrote:
>>> directory flags set on non-directory inode 2283178100, would fix bad flags.
>>> bad key in bmbt root (is 73434, would reset to 74194) in inode
>>> 2283178100 data fork
>>> bad fwd (right) sibling pointer (saw 145202888 should be NULLDFSBNO)
>>> Segmentation fault
>>
>> Hmmm. The very next line doesn't appear before the segfault, making
>> me think that it's the printf that is causing it to crash.
>>
>> if (check_dups == 0 &&
>> cursor.level[0].right_fsbno != NULLDFSBNO) {
>> do_warn(
>> _("bad fwd (right) sibling pointer (saw %llu should be NULLDFSBNO)\n"),
>> cursor.level[0].right_fsbno);
>>
>> We get this line of output.
>>
>> do_warn(
>> _("\tin inode %u (%s fork) bmap btree block %llu\n"),
>> XFS_AGINO_TO_INO(mp, agno, ino), forkname,
>> cursor.level[0].fsbno);
>>
>> But not this one. I wonder if passing a 64bit number to a %u format
>> string (shoul dbe %llu) causes problems on ARM? All the variables
>> are valid as they are printed or accessed elsewhere in the function,
>> so that's the only thing I can think of without a stack trace to
>> tell me otherwise....
>
> I have no idea. I did not succeed in getting a stacktrace. CPU is an
> ARM9, and I used Debian armel squeeze & wheezy xfsprogs binaries.
Perhaps you could try removing or fixing the printf Dave suspects, rebuild repair, and run it again?
-Eric
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2011-04-21 19:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-18 19:24 xfs_repair crashing (versions 3.1.4 and 3.1.5) Anisse Astier
2011-04-19 8:27 ` Dave Chinner
2011-04-19 11:07 ` Anisse Astier
2011-04-21 19:26 ` Eric Sandeen [this message]
2011-04-22 11:09 ` Anisse Astier
2011-05-04 9:11 ` Christoph Hellwig
2011-05-04 10:24 ` Anisse Astier
2011-05-05 22:46 ` Anisse Astier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DB084CE.8020600@sandeen.net \
--to=sandeen@sandeen.net \
--cc=anisse@astier.eu \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.