All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Groth <christoph@grothesque.org>
To: Chris Murphy <lists@colorremedies.com>
Cc: Goldwyn Rodrigues <rgoldwyn@suse.de>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Unocorrectable errors with RAID1
Date: Wed, 18 Jan 2017 00:10:03 +0100	[thread overview]
Message-ID: <877f5tcmgk.fsf@grothesque.org> (raw)
In-Reply-To: <CAJCQCtTGUpVUZYB=Rz4Rif5Te2LqSUAdxvu3FLooEMdWO-nitw@mail.gmail.com> (Chris Murphy's message of "Tue, 17 Jan 2017 14:52:52 -0700")

[-- Attachment #1: Type: text/plain, Size: 1416 bytes --]

Chris Murphy wrote:
> On Tue, Jan 17, 2017 at 1:25 PM, Christoph Groth
> <christoph@grothesque.org> wrote:
>> Any ideas on what could be done?  If you need help to debug the 
>> problem with
>> btrfs-image, please tell me what I should do.  I can keep the 
>> broken file
>> system around until an image can be created at some later time.
>
> Try 4.9, or even 4.8.5, tons of bugs have been fixed since 4.7.3
> although I don't know off hand if this particular bug is 
> fixed. I did
> recently do a btrfs-image with btrfs-progs v4.9 with -s and did 
> not
> get a segfault.

I compiled btrfs-image.static from btrfs-tools 4.9 (from git) and 
started it from Debian testing's initramfs.  The exact command 
that I use is:

/mnt/btrfs-image.static -c3 -s /dev/sda2 /mnt/mim-s.bim

It runs for a couple of seconds (enough to write 20263936 bytes of 
output) and then quits with

*** Error in `/mnt/btrfs-image.static`: double free or corruption 
    (!prev): 0x00000000009f0940 ***
====== Backtrace: ======
[0x45fb97]
[0x465442]
[0x465c1e]
[0x402694]
[0x402dcb]
[0x4031fe]
[0x4050ff]
[0x405783]
[0x44cb73]
[0x44cdfe]
[0x400b2a]

(I had to type the above off the other screen, but I double 
checked that there are no errors.)

The executable that I used can be downloaded from 
http://groth.fr/btrfs-image.static
Its md5sum is 48abbc82ac6d3c0cb88cba1e5edb85fd.

I hope that this can help someone to see what's going on.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-01-17 23:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-16 11:10 Unocorrectable errors with RAID1 Christoph Groth
2017-01-16 13:24 ` Austin S. Hemmelgarn
2017-01-16 15:42   ` Christoph Groth
2017-01-16 16:29     ` Austin S. Hemmelgarn
2017-01-17  4:50       ` Janos Toth F.
2017-01-17 12:25         ` Austin S. Hemmelgarn
2017-01-17  9:18       ` Christoph Groth
2017-01-17 12:32         ` Austin S. Hemmelgarn
2017-01-16 22:45 ` Goldwyn Rodrigues
2017-01-17  8:44   ` Christoph Groth
2017-01-17 11:32     ` Goldwyn Rodrigues
2017-01-17 20:25       ` Christoph Groth
2017-01-17 21:52         ` Chris Murphy
2017-01-17 23:10           ` Christoph Groth [this message]
2017-01-18  7:13             ` gdb log of crashed "btrfs-image -s" Christoph Groth
2017-01-18 11:49               ` Goldwyn Rodrigues
2017-01-18 20:11                 ` Christoph Groth
2017-01-23 12:09                   ` Goldwyn Rodrigues
2017-01-17 22:57         ` Unocorrectable errors with RAID1 Goldwyn Rodrigues
2017-01-17 23:22           ` Christoph Groth

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=877f5tcmgk.fsf@grothesque.org \
    --to=christoph@grothesque.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    --cc=rgoldwyn@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.