xfs-masters
[Top] [All Lists]

[Bug 844] xfs_repair from git segfaults in stage 6

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 844] xfs_repair from git segfaults in stage 6
From: bugzilla-daemon@xxxxxxxxxxx
Date: Wed, 22 Jul 2009 16:17:51 -0500
Auto-submitted: auto-generated
In-reply-to: <bug-844-113@xxxxxxxxxxxxxxxx/bugzilla/>
References: <bug-844-113@xxxxxxxxxxxxxxxx/bugzilla/>
http://oss.sgi.com/bugzilla/show_bug.cgi?id=844





--- Comment #1 from Arkadiusz Miskiewicz <arekm@xxxxxxxx>  2009-07-22 16:17:50 
CST ---
Program received signal SIGSEGV, Segmentation fault.
0x000000000042dc27 in longform_dir2_entry_check (mp=0x7fff890b8340,
ino=3503084373, ip=0x8ab2860, num_illegal=0x7fff890b8128,
need_dot=0x7fff890b8134,
    irec=0x396e300, ino_offset=21, hashtab=0x8ab2070) at phase6.c:2531
2531    phase6.c: Nie ma takiego pliku ani katalogu.
        in phase6.c
(gdb) print bplist
$1 = (xfs_dabuf_t **) 0x11448e40
(gdb) print bplist[0]
$2 = (xfs_dabuf_t *) 0x0

the code in phase6.c is:
        if (!dotdot_update) {
                /* check btree and freespace */
                if (isblock) {
                        xfs_dir2_block_tail_t   *btp;
                        xfs_dir2_leaf_entry_t   *blp;

                        block = bplist[0]->data; ------------ SEGFAULT
                        btp = xfs_dir2_block_tail_p(mp, block);
                        blp = xfs_dir2_block_leaf_p(btp);
                        seeval = dir_hash_see_all(hashtab, blp,
                                                be32_to_cpu(btp->count),
                                                be32_to_cpu(btp->stale));
                        if (dir_hash_check(hashtab, ip, seeval))
                                fixit |= 1;

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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