Skip to contentSkip to conversation

btrfs still core dumps

DISCUSSION Marc MERLIN 2 participants 2 messages Nov 20, 2013 – Nov 27, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Here is another way in which btrfs-tools crashes if it sees things it doesn't like.

Is anyone interested in those, or not really?

gandalfthegreat:/tmp# btrfs-find-root /dev/mapper/ssdcrypt 
Check tree block failed, want=20971520, have=10422900740180685247
Check tree block failed, want=20971520, have=10422900740180685247
Check tree block failed, want=20971520, have=9351833364687311396
Check tree block failed, want=20971520, have=9351833364687311396
Check tree block failed, want=20971520, have=9351833364687311396
read block failed check_tree_block
Couldn't read chunk root
Segmentation fault (core dumped)

btrfs-tools 0.19+20130705-3

Signature · 4 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901
#1 lore raw
Quoted 15 lines · Marc MERLIN

Here is another way in which btrfs-tools crashes if it sees things it doesn't like.

Is anyone interested in those, or not really?

gandalfthegreat:/tmp# btrfs-find-root /dev/mapper/ssdcrypt 
Check tree block failed, want=20971520, have=10422900740180685247
Check tree block failed, want=20971520, have=10422900740180685247
Check tree block failed, want=20971520, have=9351833364687311396
Check tree block failed, want=20971520, have=9351833364687311396
Check tree block failed, want=20971520, have=9351833364687311396
read block failed check_tree_block
Couldn't read chunk root
Segmentation fault (core dumped)
Quoted 2 lines

btrfs-tools 0.19+20130705-3

Can you try the 3.12 release of btrfs-progs? Lots of stuff fixed since 0.19 / July 2013.

Still might segfault ;) but please test upstream...

-Eric