All of lore.kernel.org
 help / color / mirror / Atom feed
* mdadm-3.2.5: segfault in "--grow --continue"
@ 2012-07-10 10:46 Sebastian Hegler
  2012-07-10 13:02 ` NeilBrown
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Hegler @ 2012-07-10 10:46 UTC (permalink / raw)
  To: linux-raid; +Cc: neilb

Hi!

I had to shut down a server with a raid grow operation (cleanly). After some hassles I got the array assembled again (manually), but it would not continue to grow. When trying 

mdadm --grow --continue /dev/md127 

(as per the manpage) I receive a segfault. Compiling from source, and using gdb, I see:

root@kuiper:~/mdadm-3.2.5# gdb ./mdadm 
[SNIP]
Reading symbols from /root/mdadm-3.2.5/mdadm...done.
(gdb) set args --grow --continue /dev/md127 
(gdb) run 
Starting program: /root/mdadm-3.2.5/mdadm --grow --continue /dev/md127 

Program received signal SIGSEGV, Segmentation fault.
Grow_continue_command (devname=0x7fffffffe8cc "/dev/md127", fd=7, backup_file=0x0, verbose=0) at Grow.c:4118
4118		if (verify_reshape_position(content,
(gdb) bt
#0  Grow_continue_command (devname=0x7fffffffe8cc "/dev/md127", fd=7, backup_file=0x0, verbose=0) at Grow.c:4118
#1  0x0000000000407ac2 in main (argc=4, argv=0x7fffffffe678) at mdadm.c:1701



The same bug is present in the git repository, but another location:

root@kuiper:~/mdadm.git# gdb ./mdadm 
[SNIP]
Reading symbols from /root/mdadm.git/mdadm...done.
(gdb) set args --grow --continue /dev/md127 
(gdb) run 
Starting program: /root/mdadm.git/mdadm --grow --continue /dev/md127 

Program received signal SIGSEGV, Segmentation fault.
Grow_continue_command (devname=0x7fffffffe8d0 "/dev/md127", fd=7, backup_file=0x0, verbose=0) at Grow.c:4086
4086		if (verify_reshape_position(content,
(gdb) bt
#0  Grow_continue_command (devname=0x7fffffffe8d0 "/dev/md127", fd=7, backup_file=0x0, verbose=0) at Grow.c:4086
#1  0x0000000000406c39 in main (argc=4, argv=0x7fffffffe678) at mdadm.c:1447


I also filed a bug against Debian's BTS, but I did not receive a bug number yet. In the meantime, I'd be very happy about any information on how to get my RAID array back into growing. I'm not on the list, please CC me.

Thanks.
Sebastian

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-16  6:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-10 10:46 mdadm-3.2.5: segfault in "--grow --continue" Sebastian Hegler
2012-07-10 13:02 ` NeilBrown
2012-07-10 16:51   ` Sebastian Hegler
2012-07-11  2:26     ` NeilBrown
2012-07-11 11:15       ` Sebastian Hegler
2012-07-16  6:26         ` NeilBrown

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.