[Dibbler] dibbler-client segfaults

George Diamantopoulos georgediam at gmail.com
Thu Dec 15 02:04:44 CET 2011


Hello all,

I have been trying to setup dibbler-client in gentoo, but for some
reason it keeps segfaulting. I have tried using both the portage
version (0.8.0) and building from git, but the result is pretty much
the same (portage version segfaults earlier, at "47:15 Client Info
 Creating SOLICIT message with 0 IA(s)"). Here's what I get if I run
the program from a console:

> offler ~ # dibbler-client run
> | Dibbler - a portable DHCPv6, version 0.8.0-git (Dec 11 2011 21:14:22) (CLIENT, Linux port)
> | Authors : Tomasz Mrugalski<thomson(at)klub.com.pl>,Marek Senderski<msend(at)o2.pl>
> | Licence : GNU GPL v2 only. Developed at Gdansk University of Technology.
> | Homepage: http://klub.com.pl/dhcpv6/
> 2011.12.15 04:47:15 Client Warning   Pid file found (pid=15913, file /var/lib/dibbler/client.pid), but process 15913 does not exist.
> 2011.12.15 04:47:15 Client Notice    My pid (21944) is stored in /var/lib/dibbler/client.pid
> 2011.12.15 04:47:15 Client Notice    Detected iface mon.wlan0/11, MAC=00:22:b0:bd:aa:d5.
> 2011.12.15 04:47:15 Client Notice    Detected iface ppp0/10, MAC=.
> 2011.12.15 04:47:15 Client Notice    Detected iface br0/9, MAC=00:06:2b:04:10:2f.
> 2011.12.15 04:47:15 Client Notice    Detected iface wlan0/8, MAC=00:22:b0:bd:aa:d5.
> 2011.12.15 04:47:15 Client Notice    Detected iface eth5/7, MAC=00:21:27:c9:c0:1e.
> 2011.12.15 04:47:15 Client Notice    Detected iface eth4/6, MAC=00:06:2b:04:10:2f.
> 2011.12.15 04:47:15 Client Notice    Detected iface eth3/5, MAC=00:06:2b:04:10:2e.
> 2011.12.15 04:47:15 Client Notice    Detected iface eth2/4, MAC=00:06:2b:04:10:2d.
> 2011.12.15 04:47:15 Client Notice    Detected iface eth1/3, MAC=00:06:2b:04:10:2c.
> 2011.12.15 04:47:15 Client Notice    Detected iface eth0/2, MAC=00:1e:90:a9:5b:21.
> 2011.12.15 04:47:15 Client Notice    Detected iface lo/1, MAC=00:00:00:00:00:00.
> 2011.12.15 04:47:15 Client Notice    Parsing /etc/dibbler/client.conf config file...
> 47:15 Client Critical  Invalid loglevel specified: 16. Allowed range: 1-8.
> 47:15 Client Debug     Prefix delegation option found.
> 47:15 Client Debug     Parsing /etc/dibbler/client.conf done, result=0
> 47:15 Client Debug     1 interface(s) specified in /etc/dibbler/client.conf
> 47:15 Client Info      Interface ppp0/10 configuation has been loaded.
> 47:15 Client Debug     DUID's value = 00:01:03:23:16:77:bb:80:00:22:b0:bd:aa:d5 was loaded from client-duid file.
> 47:15 Client Info      My DUID is 00:01:03:23:16:77:bb:80:00:22:b0:bd:aa:d5.
> 47:15 Client Info      Loading old address database (client-AddrMgr.xml), using built-in routines.
> 47:15 Client Info      DB timestamp:1323916647, now()=1323917235, db is 588 second(s) old.
> 47:15 Client Debug     Client 00:01:03:23:16:77:bb:80:00:22:b0:bd:aa:d5 loaded from disk successfuly (0/0/0 ia/pd/ta).
> 47:15 Client Debug     Bind reuse enabled (multiple instances allowed).
> 47:15 Client Notice    Creating control (::) socket on the lo/1 interface.
> 47:15 Client Notice    Creating socket (addr=fe80::1234) on ppp0/10 interface.
> 47:15 Client Debug     Initialising link-state detection for interfaces: ppp0/10
> 47:15 Client Notice    CONFIRM support compiled in.
> 47:15 Client Info      Creating SOLICIT message with 0 IA(s), no TA and 1 PD(s) (with rapid-commit) on ppp0/10 interface.
> 47:15 Client Debug     Sending SOLICIT(opts:1 25 14 8 6 ) on ppp0/10 to multicast.
> 47:15 Client Debug     Sleeping for 1 second(s).
> 47:15 Client Debug     Received 101 bytes on interface ppp0/10 (socket=6, addr=fe80::eab7:48ff:fefe:ca40.).
> 47:15 Client Info      Received ADVERTISE on ppp0/10,TransID=0x5f3c9a, 4 opts: 2 1 25 23
> 47:15 Client Info      Server responded with ADVERTISE instead of REPLY, probably does not support RAPID-COMMIT.
> 47:15 Client Debug     Not executing external script (Notify script disabled).
> 47:15 Client Debug     Sleeping for 1 second(s).
> 47:16 Client Info      Processing msg (SOLICIT,transID=0x5f3c9a,opts: 1 25 14 8 6)
> 47:16 Client Info      Creating REQUEST. Backup server list contains 1 server(s).
> 47:16 Client Debug     Advertise from Server ID=00:03:00:01:e8:b7:48:fe:ca:40, no preference option, assumed 0, no auth info.[using this]
> 47:16 Client Debug     Authentication is disabled, not including auth options in message.
> 47:16 Client Debug     Sending REQUEST(opts:1 25 6 2 8 ) on ppp0/10 to multicast.
> 47:16 Client Debug     Sleeping for 1 second(s).
> 47:16 Client Debug     Received 101 bytes on interface ppp0/10 (socket=6, addr=fe80::eab7:48ff:fefe:ca40.).
> 47:16 Client Info      Received REPLY on ppp0/10,TransID=0xd70a21, 4 opts: 2 1 25 23
> 47:16 Client Debug     PD: Adding 2a02:XXXX:XXXX:XXXX:: prefix to PD (iaid=1) to addrDB.
> 47:16 Client Notice    PD: Adding prefix 2a02:XXXX:XXXX:XXXX::/64 to all interfaces (prefix will be split to /72 prefixes if necessary).
> 47:16 Client Debug     PD: Interface mon.wlan0/11 has no link-local address, ignoring. (Disconnected? Not associated? No-link?)
> 47:16 Client Debug     PD: Interface ppp0/10 is the interface, where prefix has been obtained, skipping.
> 47:16 Client Debug     PD: Interface eth5/7 is down, ignoring.
> 47:16 Client Debug     PD: Interface eth3/5 is down, ignoring.
> 47:16 Client Debug     PD: Interface eth2/4 is down, ignoring.
> 47:16 Client Debug     PD: Interface eth1/3 is down, ignoring.
> 47:16 Client Debug     PD: Interface lo/1 is not multicast capable, ignoring.
> 47:16 Client Info      Found 4 suitable interface(s):br0 wlan0 eth4 eth0
> Segmentation fault


And here's what I get if I do a backtrace from gdb (I hope I'm doing
this right, I've never used gdb before):

> offler ~ # gdb /usr/local/sbin/dibbler-client
> GNU gdb (Gentoo 7.3.1 p2) 7.3.1
> Copyright (C) 2011 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-pc-linux-gnu".
> For bug reporting instructions, please see:
> <http://bugs.gentoo.org/>...
> Reading symbols from /usr/local/sbin/dibbler-client...(no debugging symbols found)...done.
> (gdb) set args run
> (gdb) run
> Starting program: /usr/local/sbin/dibbler-client run
> [Thread debugging using libthread_db enabled]
> | Dibbler - a portable DHCPv6, version 0.8.0-git (Dec 11 2011 21:14:22) (CLIENT, Linux port)
> | Authors : Tomasz Mrugalski<thomson(at)klub.com.pl>,Marek Senderski<msend(at)o2.pl>
> | Licence : GNU GPL v2 only. Developed at Gdansk University of Technology.
> | Homepage: http://klub.com.pl/dhcpv6/
> 2011.12.15 04:56:41 Client Warning   Pid file found (pid=22135, file /var/lib/dibbler/client.pid), but process 22135 does not exist.
> 2011.12.15 04:56:41 Client Notice    My pid (22250) is stored in /var/lib/dibbler/client.pid
> 2011.12.15 04:56:41 Client Notice    Detected iface mon.wlan0/11, MAC=00:22:b0:bd:aa:d5.
> 2011.12.15 04:56:41 Client Notice    Detected iface ppp0/10, MAC=.
> 2011.12.15 04:56:41 Client Notice    Detected iface br0/9, MAC=00:06:2b:04:10:2f.
> 2011.12.15 04:56:41 Client Notice    Detected iface wlan0/8, MAC=00:22:b0:bd:aa:d5.
> 2011.12.15 04:56:41 Client Notice    Detected iface eth5/7, MAC=00:21:27:c9:c0:1e.
> 2011.12.15 04:56:41 Client Notice    Detected iface eth4/6, MAC=00:06:2b:04:10:2f.
> 2011.12.15 04:56:41 Client Notice    Detected iface eth3/5, MAC=00:06:2b:04:10:2e.
> 2011.12.15 04:56:41 Client Notice    Detected iface eth2/4, MAC=00:06:2b:04:10:2d.
> 2011.12.15 04:56:41 Client Notice    Detected iface eth1/3, MAC=00:06:2b:04:10:2c.
> 2011.12.15 04:56:41 Client Notice    Detected iface eth0/2, MAC=00:1e:90:a9:5b:21.
> 2011.12.15 04:56:41 Client Notice    Detected iface lo/1, MAC=00:00:00:00:00:00.
> 2011.12.15 04:56:41 Client Notice    Parsing /etc/dibbler/client.conf config file...
> 56:41 Client Critical  Invalid loglevel specified: 16. Allowed range: 1-8.
> 56:41 Client Debug     Prefix delegation option found.
> 56:41 Client Debug     Parsing /etc/dibbler/client.conf done, result=0
> 56:41 Client Debug     1 interface(s) specified in /etc/dibbler/client.conf
> 56:41 Client Info      Interface ppp0/10 configuation has been loaded.
> 56:41 Client Debug     DUID's value = 00:01:03:23:16:77:bb:80:00:22:b0:bd:aa:d5 was loaded from client-duid file.
> 56:41 Client Info      My DUID is 00:01:03:23:16:77:bb:80:00:22:b0:bd:aa:d5.
> 56:41 Client Info      Loading old address database (client-AddrMgr.xml), using built-in routines.
> 56:41 Client Info      DB timestamp:1323917586, now()=1323917801, db is 215 second(s) old.
> 56:41 Client Debug     Client 00:01:03:23:16:77:bb:80:00:22:b0:bd:aa:d5 loaded from disk successfuly (0/0/0 ia/pd/ta).
> 56:41 Client Debug     Bind reuse enabled (multiple instances allowed).
> 56:41 Client Notice    Creating control (::) socket on the lo/1 interface.
> 56:41 Client Notice    Creating socket (addr=fe80::1234) on ppp0/10 interface.
> 56:41 Client Debug     Initialising link-state detection for interfaces: ppp0/10
> [New Thread 0x7ffff709c700 (LWP 22253)]
> 56:41 Client Notice    CONFIRM support compiled in.
> 56:41 Client Info      Creating SOLICIT message with 0 IA(s), no TA and 1 PD(s) (with rapid-commit) on ppp0/10 interface.
> 56:41 Client Debug     Sending SOLICIT(opts:1 25 14 8 6 ) on ppp0/10 to multicast.
> 56:41 Client Debug     Sleeping for 1 second(s).
> 56:42 Client Debug     Received 101 bytes on interface ppp0/10 (socket=8, addr=fe80::eab7:48ff:fefe:ca40.).
> 56:42 Client Info      Received ADVERTISE on ppp0/10,TransID=0x6ec4d5, 4 opts: 2 1 25 23
> 56:42 Client Info      Server responded with ADVERTISE instead of REPLY, probably does not support RAPID-COMMIT.
> 56:42 Client Debug     Not executing external script (Notify script disabled).
> 56:42 Client Info      Processing msg (SOLICIT,transID=0x6ec4d5,opts: 1 25 14 8 6)
> 56:42 Client Info      Creating REQUEST. Backup server list contains 1 server(s).
> 56:42 Client Debug     Advertise from Server ID=00:03:00:01:e8:b7:48:fe:ca:40, no preference option, assumed 0, no auth info.[using this]
> 56:42 Client Debug     Authentication is disabled, not including auth options in message.
> 56:42 Client Debug     Sending REQUEST(opts:1 25 6 2 8 ) on ppp0/10 to multicast.
> 56:42 Client Debug     Sleeping for 1 second(s).
> 56:42 Client Debug     Received 101 bytes on interface ppp0/10 (socket=8, addr=fe80::eab7:48ff:fefe:ca40.).
> 56:42 Client Info      Received REPLY on ppp0/10,TransID=0x7e1fa4, 4 opts: 2 1 25 23
> 56:42 Client Debug     PD: Adding 2a02:XXXX:XXXX:XXXX:: prefix to PD (iaid=1) to addrDB.
> 56:42 Client Notice    PD: Adding prefix 2a02:XXXX:XXXX:XXXX::/64 to all interfaces (prefix will be split to /72 prefixes if necessary).
> 56:42 Client Debug     PD: Interface mon.wlan0/11 has no link-local address, ignoring. (Disconnected? Not associated? No-link?)
> 56:42 Client Debug     PD: Interface ppp0/10 is the interface, where prefix has been obtained, skipping.
> 56:42 Client Debug     PD: Interface eth5/7 is down, ignoring.
> 56:42 Client Debug     PD: Interface eth3/5 is down, ignoring.
> 56:42 Client Debug     PD: Interface eth2/4 is down, ignoring.
> 56:42 Client Debug     PD: Interface eth1/3 is down, ignoring.
> 56:42 Client Debug     PD: Interface lo/1 is not multicast capable, ignoring.
> 56:42 Client Info      Found 4 suitable interface(s):br0 wlan0 eth4 eth0
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000452150 in TIfaceIface::getID() ()
> (gdb) bt full
> #0  0x0000000000452150 in TIfaceIface::getID() ()
> No symbol table info available.
> #1  0x000000000041ace1 in TClntIfaceMgr::modifyPrefix(int, SPtr<TIPv6Addr>, int, unsigned int, unsigned int, TClntIfaceMgr::PrefixModifyMode) ()
> No symbol table info available.
> #2  0x000000000041b56d in TClntIfaceMgr::addPrefix(int, SPtr<TIPv6Addr>, int, unsigned int, unsigned int) ()
> No symbol table info available.
> #3  0x000000000049245a in TClntOptIA_PD::modifyPrefixes(TClntIfaceMgr::PrefixModifyMode) ()
> No symbol table info available.
> #4  0x00000000004208b5 in TClntMsg::answer(SPtr<TClntMsg>) ()
> No symbol table info available.
> #5  0x000000000042be5a in TClntMsgRequest::answer(SPtr<TClntMsg>) ()
> No symbol table info available.
> #6  0x0000000000409a6d in TClntTransMgr::handleResponse(SPtr<TClntMsg>, SPtr<TClntMsg>) ()
> No symbol table info available.
> #7  0x000000000040a013 in TClntTransMgr::relayMsg(SPtr<TClntMsg>) ()
> No symbol table info available.
> #8  0x0000000000406ba5 in TDHCPClient::run() ()
> No symbol table info available.
> #9  0x0000000000405d53 in run() ()
> No symbol table info available.
> #10 0x0000000000406485 in main ()
> No symbol table info available.
> (gdb)

Has anyone experienced this before/know what the cause of this might be? Thanks!
George


More information about the Dibbler mailing list