[DRBD-user] drbdadm segfault with version drbd-8.3.2rc1

Pierre LEBRECH pierre.lebrech at laposte.net
Fri Jun 26 12:11:12 CEST 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


After investigation, it appears that host->lower->me is NULL. Dont't
know why for the moment.





Pierre LEBRECH wrote :
> Well, I've just tried drbd-8.3.2rc2 but I got the same symptom :
>
> drbdadm[19884]: segfault at 4 ip 0804e91a sp bfa9ce80 error 4 in
> drbdadm[8048000+1d000]
>
> output of "/sbin/drbdadm sh-nop" (example) :
>
> zsh: segmentation fault  /sbin/drbdadm sh-nop
>
>
> So, I had a look inside the code with gdb. The segfault comes on this :
>
> post_parse(config, cmd->is_proxy_cmd ? match_on_proxy : 0);
>
> ----------------------
> Program received signal SIGSEGV, Segmentation fault.
> 0x0804f267 in set_disk_in_res (res=0x852ab48) at drbdadm_parser.c:1311
> 1311                            if (host->lower->me->device)
> ----------------------
>
> Any help appreciated...
>
> Thanks
>
>
>
>
>
> Lars Ellenberg wrote :
>> On Wed, Jun 24, 2009 at 10:54:24AM +0200, Pierre LEBRECH wrote:
>>   
>>> Hello,
>>>
>>> I have just compiled drbd 8.3.2rc1 without any problems on 3 nodes(*).
>>> But, one one node only, drbdadm gives me a segfault.
>>>
>>> from dmesg, I have this :
>>>
>>> drbdadm[23290]: segfault at 4 ip 0804e54a sp bfcdfb60 error 4 in
>>> drbdadm[8048000+1c000]
>>>
>>> Any help will be appreciated...
>>>     
>>
>> too bad.
>> probably a parse error.
>> most likely already fixed in git.
>> retry with code from git,
>> and post your drbd.conf.
>>
>>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090626/c6a2ee02/attachment.htm>


More information about the drbd-user mailing list