mdadm 3.2.5: SEGFAULTS caused by sha1-includes.diff patch!

Michael Tokarev mjt at tls.msk.ru
Mon Sep 24 14:08:08 UTC 2012


On 24.09.2012 17:58, Sebastian Riemer wrote:
> Hi there,
> 
> we've backported mdadm 3.2.5 to Debian Squeeze by reverting the
> following commit:
> d98f009: move initscript metadata from /lib/init/rw/.mdadm to /run/mdadm

Hmm. I think I already did the backport to squeeze, and it is even
uploaded to the archive on Sept-17.  Is there somethig wrong with
that backport (not counting the issue with sha1 includes) ?

> We've encountered segfaults with activated bitmap and we could trace the
> issue to the "sha1-includes.diff" patch.
> 
> Test with sha1-includes.diff:
> # dd if=/dev/zero of=/dev/loop0 bs=1M count=20
> # dd if=/dev/zero of=/dev/loop1 bs=1M count=20
> # mdadm -C /dev/md0 -e 1.2 -b internal -l 1 -n 2 /dev/loop0 /dev/loop1
> # mdadm -S /dev/md0
> # mdadm --zero-superblock /dev/loop0
> Segmentation Fault

Wow.  That's interesting.  I'll dig further.  Thank you for the report
and especially for the debugging.  It deserves a "serious" bugreport to
the bts.

/mjt



More information about the pkg-mdadm-devel mailing list