linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Murphy <chris@cmurf.com>
To: Btrfs BTRFS <linux-block@vger.kernel.org>
Subject: [bug] segfault btrfs fi usage on seed sprout
Date: Tue, 13 Aug 2019 10:42:23 -0600	[thread overview]
Message-ID: <CAMN_aZAEVowMRhjrODJ1wrnMK6jejqBipciyxWSJx6i+8SmrQQ@mail.gmail.com> (raw)

segfault 'btrfs fi usage' on two device btrfs seed+sprout volume
https://bugzilla.kernel.org/show_bug.cgi?id=204569

kernel 5.2.8
btrfs-progs 5.2.1

'btrfs fi show' does work:
Label: 'first'  uuid: f7638175-SNIP
        Total devices 2 FS bytes used 841.10GiB
        devid    2 size 1024.00GiB used 882.00GiB path /dev/mapper/first
        devid    3 size 698.62GiB used 2.06GiB path /dev/mapper/sdc

devid2 is the seed
devid3 is the sprout

Mount options
/dev/mapper/first on /mnt/first type btrfs
(rw,noatime,seclabel,space_cache=v2,subvolid=5,subvol=/)

'btrfs fi usage /mnt/first' crashes with segmentation fault and no
other messages

dmesg shows
[126052.599013] btrfs[14847]: segfault at 7ffe5e1e1018 ip
000000000046db14 sp 00007ffe5e1df1a0 error 4 in btrfs[40c000+7c000]
[126052.599034] Code: 28 48 c7 40 08 00 00 00 00 48 8b 74 24 08 48 89
70 18 48 8b 74 24 10 48 01 70 08 48 83 c3 20 48 3b 5c 24 18 0f 84 12
ff ff ff <48> 8b 2b 41 8b 0e 85 c9 7e 95 49 8b 17 8d 41 ff 48 c1 e0 05
48 8d



-- 
Chris

                 reply	other threads:[~2019-08-13 16:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMN_aZAEVowMRhjrODJ1wrnMK6jejqBipciyxWSJx6i+8SmrQQ@mail.gmail.com \
    --to=chris@cmurf.com \
    --cc=linux-block@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).