Hi, After this patch I found "double free or corruption". Scenario: mdadm -CR /dev/md/vol -l0 -e 1.2 -n2 /dev/sd[b-c] --assume-clean mdadm -Ss mdadm -A /dev/md127 /dev/sd[b-c] --update metadata *** Error in `mdadm': double free or corruption (!prev): 0x0000000000a71c90 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7c619)[0x7f5fa1a72619] mdadm[0x41f34c] mdadm[0x407048] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f5fa1a17c05] mdadm[0x402fc9] ======= Memory map: ======== 00400000-0049d000 r-xp 00000000 08:06 527991 /usr/sbin/mdadm 0069c000-0069d000 r--p 0009c000 08:06 527991 /usr/sbin/mdadm 0069d000-006a5000 rw-p 0009d000 08:06 527991 /usr/sbin/mdadm 006a5000-006ba000 rw-p 00000000 00:00 0 00a71000-00a92000 rw-p 00000000 00:00 0 [heap] 7f5f9c000000-7f5f9c021000 rw-p 00000000 00:00 0 7f5f9c021000-7f5fa0000000 ---p 00000000 00:00 0 7f5fa17e0000-7f5fa17f5000 r-xp 00000000 08:06 542510 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 7f5fa17f5000-7f5fa19f4000 ---p 00015000 08:06 542510 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 7f5fa19f4000-7f5fa19f5000 r--p 00014000 08:06 542510 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 7f5fa19f5000-7f5fa19f6000 rw-p 00015000 08:06 542510 /usr/lib64/libgcc_s-4.8.5-20150702.so.1 7f5fa19f6000-7f5fa1bae000 r-xp 00000000 08:06 532084 /usr/lib64/libc-2.17.so 7f5fa1bae000-7f5fa1dae000 ---p 001b8000 08:06 532084 /usr/lib64/libc-2.17.so 7f5fa1dae000-7f5fa1db2000 r--p 001b8000 08:06 532084 /usr/lib64/libc-2.17.so 7f5fa1db2000-7f5fa1db4000 rw-p 001bc000 08:06 532084 /usr/lib64/libc-2.17.so 7f5fa1db4000-7f5fa1db9000 rw-p 00000000 00:00 0 7f5fa1db9000-7f5fa1dbb000 r-xp 00000000 08:06 532090 /usr/lib64/libdl-2.17.so 7f5fa1dbb000-7f5fa1fbb000 ---p 00002000 08:06 532090 /usr/lib64/libdl-2.17.so 7f5fa1fbb000-7f5fa1fbc000 r--p 00002000 08:06 532090 /usr/lib64/libdl-2.17.so 7f5fa1fbc000-7f5fa1fbd000 rw-p 00003000 08:06 532090 /usr/lib64/libdl-2.17.so 7f5fa1fbd000-7f5fa1fde000 r-xp 00000000 08:06 524304 /usr/lib64/ld-2.17.so 7f5fa21cf000-7f5fa21d2000 rw-p 00000000 00:00 0 7f5fa21dc000-7f5fa21de000 rw-p 00000000 00:00 0 7f5fa21de000-7f5fa21df000 r--p 00021000 08:06 524304 /usr/lib64/ld-2.17.so 7f5fa21df000-7f5fa21e0000 rw-p 00022000 08:06 524304 /usr/lib64/ld-2.17.so 7f5fa21e0000-7f5fa21e1000 rw-p 00000000 00:00 0 7ffd0ae63000-7ffd0ae84000 rw-p 00000000 00:00 0 [stack] 7ffd0afe2000-7ffd0afe5000 r--p 00000000 00:00 0 [vvar] 7ffd0afe5000-7ffd0afe7000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted Can you fix it? Thanks, Mariusz