[Dibbler-devel] git version 26.07 10:00 works (mostly)

Mircea Ciocan mirceac at gmail.com
Wed Jul 27 17:17:17 CEST 2016


Hello Tomasz, I've did a small modification and assume that all the IPs
that come out of the DAD process with the status UNKNOWN are tentative,
because due to the fact that the address assignment to the interface fails
when the address is invalid (it already exists in the network) the DAD
times out and the return status is unknown.
I have never seen a "good" IP address failing to be assigned and return NOT
TENTATIVE as it should.
So with this setting the master branch that I was able to compile segfaults
in the same place as the old 1.0.1 branch :-(( when creating or responding
to the DECLINE message.

Here is the backtrace and I#ll send you on your personal mail a core and
binary:

Core was generated by `/usr/local/sbin/dibbler-client run -w
/etc/dibbler/eth3'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000000000491fa2 in TMsg::getSize (this=0x1dabee0) at Msg.cpp:74
#2  0x0000000000429584 in TClntMsg::send (this=0x1dabee0) at ClntMsg.cpp:350
#3  0x0000000000439782 in TClntMsgRequest::TClntMsgRequest (this=0x1dabee0,
IAs=..., srvDUID=..., iface=31) at ClntMsgRequest.cpp:170
#4  0x0000000000412acb in TClntTransMgr::checkDecline (this=0x1daaaf0) at
ClntTransMgr.cpp:1220
#5  0x000000000040dbef in TClntTransMgr::doDuties (this=0x1daaaf0) at
ClntTransMgr.cpp:476
#6  0x00000000004071b9 in TDHCPClient::run (this=0x7fffe0db78c0) at
./Misc/DHCPClient.cpp:168
#7  0x0000000000406200 in run () at ./Port-linux/dibbler-client.cpp:116
#8  0x00000000004066cf in main (argc=4, argv=0x7fffe0db7b08) at
./Port-linux/dibbler-client.cpp:182
(gdb) bt full
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x0000000000491fa2 in TMsg::getSize (this=0x1dabee0) at Msg.cpp:74
        pktsize = 14
        opt = {ptr = }
#2  0x0000000000429584 in TClntMsg::send (this=0x1dabee0) at ClntMsg.cpp:350
        pkt = 0x0
        ptrIface = {ptr = 0x1dabef8}
#3  0x0000000000439782 in TClntMsgRequest::TClntMsgRequest (this=0x1dabee0,
IAs=..., srvDUID=..., iface=31) at ClntMsgRequest.cpp:170
        ptr = {ptr = 0x1dabfa0}
        ClntAddrIA = {ptr = 0x1dac440}
#4  0x0000000000412acb in TClntTransMgr::checkDecline (this=0x1daaaf0) at
ClntTransMgr.cpp:1220
        decline = {ptr = 0x1dac230}
        ptrIface = {ptr = 0x1da9dd0}
        duid = {ptr = 0x1dac4c0}
        request = {ptr = 0x7fffe0db7518}
        declineIALst = {lista = std::list = {[0] = {ptr = 0x1dab390}}, it =
{ptr = }}
        firstIA = {ptr = 0x1dab390}
        ptrIA = {ptr = 0x1dac090}
#5  0x000000000040dbef in TClntTransMgr::doDuties (this=0x1daaaf0) at
ClntTransMgr.cpp:476
        msg = {ptr = 0x1dac1b0}
#6  0x00000000004071b9 in TDHCPClient::run (this=0x7fffe0db78c0) at
./Misc/DHCPClient.cpp:168
        timeout = 1
        msg = {ptr = 0x1dabdb0}
        msg = {ptr = 0x1dab430}
#7  0x0000000000406200 in run () at ./Port-linux/dibbler-client.cpp:116
        client = {IsDone_ = false, linkstates = {ifindex = {0 <repeats 16
times>}, stat = {0 <repeats 16 times>}, cnt = 0}}
#8  0x00000000004066cf in main (argc=4, argv=0x7fffe0db7b08) at
./Port-linux/dibbler-client.cpp:182
        result = -1
        command = 0x7fffe0db98cf "run"

Hopefully you'll be able to realize what kills it.

 Best regards, Mircea






On Wed, Jul 27, 2016 at 3:05 PM, Tomasz Mrugalski <thomson at klub.com.pl>
wrote:

> On 27.07.2016 11:38, Mircea Ciocan wrote:
> > Dear Tomasz, I've tried to compile the branch iproute-update.
> > Unfortunately it doesn't compile, with missing defines:
> > iproute.c:56:3: error: ‘RTAX_QUICKACK’ undeclared here (not in a
> function)
> I'm using Ubuntu 16.04. The RTAX_QUICKACK is defined in
> /usr/include/linux/rtnetlink.h, which is part of linux-libc-dev.
>
> I'm sorry to hear about the issues. Hmmm, maybe migrating to the newest
> iproute2 is not the best move as it brings extra dependencies?
>
> Tomek
> _______________________________________________
> Dibbler-devel mailing list
> Dibbler-devel at klub.com.pl
> http://klub.com.pl/cgi-bin/mailman/listinfo/dibbler-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://klub.com.pl/pipermail/dibbler-devel/attachments/20160727/53db26e1/attachment.html>


More information about the Dibbler-devel mailing list