I crashed btrfsck fairly easily; there doesn't appear to be a btrfsck man-
page.  Also, I cannot find a bugzilla.redhat.com category for it (btrfs-
progs-0.18-4.fc11.i586):


[r...@t60 ~]$ btrfsck -h
Segmentation fault

[r...@t60 ~]$ sudo yum --enablerepo='*-debuginfo' install /usr/lib/
debug/.build-id/eb/30dde67c6d1fcac3437a4bb2e9bff1e7fea9ff.debug
...

[r...@t60 ~]$ gdb btrfsck
GNU gdb (GDB) Fedora (6.8.50.20090302-21.fc11)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) r -h
Starting program: /sbin/btrfsck -h
warning: Unable to open "librpm.so" (librpm.so: cannot open shared object 
file: No such file or directory), missing debuginfos notifications will 
not be displayed
Missing separate debuginfo for /lib/ld-linux.so.2
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-
id/48/283e7deeb3fcd5c04551326fa7507d3412deb6.debug
Missing separate debuginfo for /lib/libuuid.so.1
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/57/
aea3dccf7425e7031c185e7616436a93551e7a.debug
Missing separate debuginfo for /lib/libc.so.6
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-
id/6a/5fc17148e02664a1598b1f4d7fee2579821b73.debug

Program received signal SIGSEGV, Segmentation fault.
check_extents (root=0x0) at btrfsck.c:2008
2008                                root->fs_info->tree_root-
>root_key.objectid);
(gdb) list
list
2003                    exit(1);
2004            }
2005    
2006            add_root_to_pending(root->fs_info->tree_root->node, bits, 
bits_nr,
2007                                &extent_cache, &pending, &seen, 
&reada, &nodes,
2008                                root->fs_info->tree_root-
>root_key.objectid);
2009    
2010            add_root_to_pending(root->fs_info->chunk_root->node, bits, 
bits_nr,
2011                                &extent_cache, &pending, &seen, 
&reada, &nodes,
2012                                root->fs_info->chunk_root-
>root_key.objectid);
(gdb) thread apply all bt full
thread apply all bt full

Thread 1 (process 2463):
#0  check_extents (root=0x0) at btrfsck.c:2008
        extent_cache = {root = {rb_node = 0x0, rotate_notify = 0}}
        seen = {root = {rb_node = 0x0, rotate_notify = 0}}
        pending = {root = {rb_node = 0x0, rotate_notify = 0}}
        reada = {root = {rb_node = 0x0, rotate_notify = 0}}
        nodes = {root = {rb_node = 0x0, rotate_notify = 0}}
        path = {nodes = {0x0, 0x0, 0x0, 0x0, 0xc0eba0, 0xc0e948, 0x0, 
0x0}, 
          slots = {0, 0, 0, 0, 0, 0, 0, 0}, reada = 0, lowest_level = 0, 
          search_for_split = 0}
        key = {objectid = 381908491958458559, type = 8 '\b', 
          offset = 3221218881}
        ret = <value optimized out>
        last = 8227906564924124975
        leaf = <value optimized out>
        ri = {inode = {generation = 484136950010265826, 
            transid = 1152921504606846976, size = 8124493597865672693, 
            nbytes = 15114080222217027501, block_group = 
8083176521201664060, 
            nlink = 23866723, uid = 268435456, gid = 2, mode = 3288334352, 
            rdev = 1297248759981326559, flags = 2305843009347911680, 
            sequence = 576672124920397794, reserved = 
{14123288433849794560, 
              5530420214568632543, 144115190491824190, 
1153133571905421312}, 

            atime = {sec = 6629298651769864169, nsec = 2998927330}, ctime 
= {
              sec = 4663477277173006334, nsec = 2684403703}, mtime = {
              sec = 4035225266136023016, nsec = 0}, otime = {
              sec = 8791026472677539840, nsec = 939572983}}, 
          generation = 1152921504606846976, 
          root_dirid = 12157467056659759081, bytenr = 123848889235668973, 
          byte_limit = 14123499358905171968, 
          bytes_used = 14123498927126790367, 
          last_snapshot = 16987577673444278495, flags = 
7834011516109111054, 
          refs = 2751988869, drop_progress = {objectid = 525446, 
            type = 0 '\0', offset = 0}, drop_level = 0 '\0', level = 0 
'\0'}
        __PRETTY_FUNCTION__ = "check_extents"
#1  0x0804d74a in main (ac=2, av=0xbfffe484) at btrfsck.c:2078
        root = 0x0
        ret = <value optimized out>

C

-- 
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to