Bug#645563: mdadm: segmentation fault when converting raid10 to raid0

2011-10-16 Thread martin f krafft
also sprach NeilBrown [2011.10.17.0752 +0200]: > The patch is now in the 'master' branch of the upstream git: >git://neil.brown.name/mdadm/ master I love these sorts of bug reports: come home from the weekend and it's all done. ;) -- .''`. martin f. krafft Related projects: : :' :

Bug#645563: mdadm: segmentation fault when converting raid10 to raid0

2011-10-16 Thread NeilBrown
On Sun, 16 Oct 2011 23:42:46 -0400 Daniel Kahn Gillmor wrote: > On 10/16/2011 09:55 PM, NeilBrown wrote: > > On line 1556 for Grow.c you'll find something like: > > > > /* FIXME this is added with no justification - why is it here */ > > ping_monitor(container); > > > >

Bug#645563: mdadm: segmentation fault when converting raid10 to raid0

2011-10-16 Thread Daniel Kahn Gillmor
On 10/16/2011 09:55 PM, NeilBrown wrote: > On line 1556 for Grow.c you'll find something like: > > /* FIXME this is added with no justification - why is it here */ > ping_monitor(container); > > Change that to > if (container) > pin

Bug#645563: mdadm: segmentation fault when converting raid10 to raid0

2011-10-16 Thread NeilBrown
On Sun, 16 Oct 2011 21:00:40 -0400 Daniel Kahn Gillmor wrote: > On 10/16/2011 08:46 PM, Daniel Kahn Gillmor wrote: > > mdadm /dev/md0 --grow --level 0 > > > > > > I'm attaching an strace of the final command, which is what gives the > > segmentation fault. > > and, after rebuilding mdadm with

Bug#645563: mdadm: segmentation fault when converting raid10 to raid0

2011-10-16 Thread Daniel Kahn Gillmor
On 10/16/2011 08:46 PM, Daniel Kahn Gillmor wrote: > mdadm /dev/md0 --grow --level 0 > > > I'm attaching an strace of the final command, which is what gives the > segmentation fault. and, after rebuilding mdadm with debug symbols, i gathered this backtrace from the same command under gdb: (gdb

Bug#645563: mdadm: segmentation fault when converting raid10 to raid0

2011-10-16 Thread Daniel Kahn Gillmor
Package: mdadm Version: 3.2.2-1 Severity: normal I can reproducibly get a segmentation fault from mdadm by trying to convert a RAID10 array to a RAID0 array. mdadm(8) says: > Grow Grow (or shrink) an array, or otherwise reshape it in some way. > Currently supported growth o