[xfs-masters] [Bug 844] xfs_repair from git segfaults in stage 6

bugzilla-daemon at oss.sgi.com bugzilla-daemon at oss.sgi.com
Wed Jul 22 16:17:51 CDT 2009


http://oss.sgi.com/bugzilla/show_bug.cgi?id=844





--- Comment #1 from Arkadiusz Miskiewicz <arekm at maven.pl>  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.



More information about the xfs-masters mailing list