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

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


On 24.09.2012 18:08, Michael Tokarev wrote:
> On 24.09.2012 17:58, Sebastian Riemer wrote:
[]
>> 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

I can't reproduce it.  I tried compiling it on wheezy and on squeeze, on
32bit and 64bit userspace - with and without the patch (with ansidecl.h
from binutils-dev installed) the code produced is exactly the same.

Please give me a way to reproduce this.

Thanks,

/mjt



More information about the pkg-mdadm-devel mailing list