On Tue, May 04, 2010 at 09:56:09PM -0400, Vadym Chepkov wrote:
> Hi,
> 
> I discovered an unusual problem. I added "drbdadm -- --force create-md all" 
> in kickstart file and it results in segmentation fault.
> 
> drbd-utils-8.3.7-1.x86_64
> 
> I managed to collect core file and this is where it is happening:
> 
> Program terminated with signal 11, Segmentation fault.
> [New process 1744]
> #0  find_opt (base=0xcccccccccccccccc, name=0x41af30 "after") at 
> drbdadm_main.c:1400
> 1400                  if (!strcmp(base->name, name)) {
> (gdb) where
> #0  find_opt (base=0xcccccccccccccccc, name=0x41af30 "after") at 
> drbdadm_main.c:1400
> #1  0x0000000000408cc2 in convert_after_option (res=0x18071f30) at 
> drbdadm_main.c:1762
> #2  0x000000000040db8a in main (argc=5, argv=0x7fff6bd5d488) at 
> drbdadm_main.c:2663

Your config is referencing some resource in an sync after statement,
but that resource does not exist.

We should not segfault there, regardless.
I think I fixed it in git already some time ago.

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to