From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?J=F6rg?= Sommer Subject: Broken btrfs; btrfsck and btrfs-debug-tree core dumps Date: Tue, 16 Feb 2010 11:15:44 +0100 Message-ID: <20100216101543.GA11570@alea.gnuu.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" To: linux-btrfs@vger.kernel.org Return-path: List-ID: --gKMricLos+KVdGMg Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I've an utterly broken btrfs that makes btrfsck and btrfs-debug-tree (version 0.19) die with a core dump. Are you interested in this filesystem? Unfortunely, it has a size of 1TB and contains the backups of our customers. Hence, I can't publish it. How can we come together? Core was generated by `btrfs-debug-tree /dev/sdd2'. Program terminated with signal 6, Aborted. (gdb) bt full #0 0x00002aaefe0e9f55 in *__GI_raise (sig=3D) at ../n= ptl/sysdeps/unix/sysv/linux/raise.c:64 pid =3D selftid =3D #1 0x00002aaefe0ecd90 in *__GI_abort () at abort.c:88 act =3D {__sigaction_handler =3D {sa_handler =3D 0x20, sa_sigaction= =3D 0x20}, sa_mask =3D {__val =3D {33796928, 24, 46931078315616, 4, 469310= 75322034, 46931078315616, 0, 46931074869936, 46931070637088, 46931078315616= , 4294967295, 1, 0, 27266932, 14, 27041808}}, sa_flags =3D 4096, sa_restore= r =3D 0x619220 <_GLOBAL_OFFSET_TABLE_+64>} sigs =3D {__val =3D {32, 0 }} #2 0x000000000040c4bb in btrfs_print_tree (root=3D0x19ca010, eb=3D) at print-tree.c:662 next =3D 0x203a2e0 i =3D 14 nr =3D 64 size =3D 4096 disk_key =3D {objectid =3D 756658176, type =3D 168 '\250', offset = =3D 4096} #3 0x000000000040c4c6 in btrfs_print_tree (root=3D0x19ca010, eb=3D) at print-tree.c:663 next =3D 0x1a00f10 i =3D 0 nr =3D 12 size =3D 4096 disk_key =3D {objectid =3D 902778220544, type =3D 168 '\250', offse= t =3D 4096} #4 0x0000000000412f3b in main (ac=3D, av=3D) at debug-tree.c:263 buf =3D 0x19fddc0 skip =3D root =3D path =3D {nodes =3D {0x19fcd50, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},= slots =3D {0, 0, 0, 0, 0, 0, 0, 0}, locks =3D {0, 0, 0, 0, 0, 0, 0, 0}, re= ada =3D 0, lowest_level =3D 0, search_for_split =3D 0, keep_locks =3D 0, sk= ip_locking =3D 0, leave_spinning =3D 0} key =3D {objectid =3D 0, type =3D 132 '\204', offset =3D 0} ri =3D {inode =3D {generation =3D 1, transid =3D 0, size =3D 3, nby= tes =3D 4096, block_group =3D 0, nlink =3D 1, uid =3D 0, gid =3D 0, mode = =3D 16877, rdev =3D 0, flags =3D 0, sequence =3D 0, reserved =3D {0, 0, 0, = 0}, atime =3D {sec =3D 0, nsec =3D 0}, ctime =3D {sec =3D 0, nsec =3D 0}, m= time =3D {sec =3D 0, nsec =3D 0}, otime =3D {sec =3D 0, nsec =3D 0}}, gener= ation =3D 1124, root_dirid =3D 0, bytenr =3D 36537159680, byte_limit =3D 0,= bytes_used =3D 4096, last_snapshot =3D 0, flags =3D 0, refs =3D 1, drop_pr= ogress =3D {objectid =3D 0, type =3D 0 '\000', offset =3D 0}, drop_level = =3D 0 '\000', level =3D 3 '\003'} leaf =3D 0x19fcd50 disk_key =3D {objectid =3D 2, type =3D 132 '\204', offset =3D 0} uuidbuf =3D "\000\000\000\000\000\000\000\000X3\313\375\256*\000\00= 0p\b\242T\377\177\000\000\210\b\242T\377\177\000\000\000\000\000\000\001" ret =3D slot =3D extent_only =3D 0 tree_root_scan =3D 0x19ca010 __PRETTY_FUNCTION__ =3D "main" Core was generated by `btrfsck /dev/sdd2'. Program terminated with signal 6, Aborted. (gdb) bt full #0 0x00002b7362f01f55 in *__GI_raise (sig=3D) at ../n= ptl/sysdeps/unix/sysv/linux/raise.c:64 pid =3D selftid =3D #1 0x00002b7362f04d90 in *__GI_abort () at abort.c:88 act =3D {__sigaction_handler =3D {sa_handler =3D 0, sa_sigaction = =3D 0}, sa_mask =3D {__val =3D {47774584400000, 41680688, 37266931712, 0, 0= , 1, 47774581843675, 47774580959920, 47774576727072, 140736110625552, 42949= 67295, 47774584405704, 0, 41680688, 37266931712, 0}}, sa_flags =3D 0, sa_re= storer =3D 0x61cbe0 <_GLOBAL_OFFSET_TABLE_+64>} sigs =3D {__val =3D {32, 0 }} #2 0x000000000040b943 in btrfs_lookup_extent_info (trans=3D0x0, root=3D0x2= 7bff30, bytenr=3D37266931712, num_bytes=3D4096, refs=3D0x0, flags=3D0x7fffa= de18808) at extent-tree.c:1453 path =3D ret =3D key =3D {objectid =3D 37266931712, type =3D 168 '\250', offset =3D = 4096} item_size =3D num_refs =3D extent_flags =3D __PRETTY_FUNCTION__ =3D "btrfs_lookup_extent_info" #3 0x0000000000402332 in run_next_block (root=3D0x27bff30) at btrfsck.c:21= 40 buf =3D 0x289a640 size =3D 4096 owner =3D 7 flags =3D nritems =3D key =3D {objectid =3D 18446744073709551606, type =3D 128 '\200', of= fset =3D 123843641344} ret =3D i =3D 0 cache =3D __PRETTY_FUNCTION__ =3D "run_next_block" #4 check_extents (root=3D0x27bff30) at btrfsck.c:2428 extent_cache =3D {root =3D {rb_node =3D 0x27ddc90, rotate_notify = =3D 0x6}} seen =3D {root =3D {rb_node =3D 0x27ddd30, rotate_notify =3D 0}} pending =3D {root =3D {rb_node =3D 0x27ff550, rotate_notify =3D 0}} reada =3D {root =3D {rb_node =3D 0x28069c0, rotate_notify =3D 0x2b7= 362ac0e45 <_dl_runtime_resolve+53>}} nodes =3D {root =3D {rb_node =3D 0x286ed60, rotate_notify =3D 0x3}} path =3D {nodes =3D {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, slots= =3D {0, 0, 0, 0, 0, 0, 0, 0}, locks =3D {0, 0, 0, 0, 0, 0, 0, 0}, reada = =3D 0, lowest_level =3D 0, search_for_split =3D 0, keep_locks =3D 0, skip_l= ocking =3D 0, leave_spinning =3D 0} key =3D {objectid =3D 0, type =3D 132 '\204', offset =3D 0} found_key =3D {objectid =3D 18446744073709551607, type =3D 132 '\20= 4', offset =3D 0} ret =3D last =3D 37266931712 leaf =3D ri =3D {inode =3D {generation =3D 1, transid =3D 0, size =3D 3, nby= tes =3D 4096, block_group =3D 0, nlink =3D 1, uid =3D 0, gid =3D 0, mode = =3D 16877, rdev =3D 0, flags =3D 0, sequence =3D 0, reserved =3D {0, 0, 0, = 0}, atime =3D {sec =3D 0, nsec =3D 0}, ctime =3D {sec =3D 0, nsec =3D 0}, m= time =3D {sec =3D 0, nsec =3D 0}, otime =3D {sec =3D 0, nsec =3D 0}}, gener= ation =3D 5, root_dirid =3D 256, bytenr =3D 29380608, byte_limit =3D 0, byt= es_used =3D 4096, last_snapshot =3D 0, flags =3D 0, refs =3D 1, drop_progre= ss =3D {objectid =3D 0, type =3D 0 '\000', offset =3D 0}, drop_level =3D 0 = '\000', level =3D 0 '\000'} __PRETTY_FUNCTION__ =3D "check_extents" #5 0x0000000000404acb in main (ac=3D, av=3D) at btrfsck.c:2460 root =3D ret =3D 1 Bye, J=F6rg. --=20 Du kannst einem Schwein einen goldenen Ring durch die Nase ziehen, deswegen bleibt es trozdem ein Schwein! --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkt6cE8ACgkQwe0mZwH1VID1agCfYN8MPowR8B+puArdt+9X8SaP wXUAn3BnZ963Qon8qfV5GLcAce017Pqa =/b4Q -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--