View previous topic :: View next topic |
Author |
Message |
GD Tux's lil' helper

Joined: 11 May 2005 Posts: 138 Location: Greece
|
Posted: Sun Dec 11, 2011 5:29 pm Post subject: dibbler-client segfaults |
|
|
Hello all,
I've been trying to setup ipv6 since my ISP has launched a ipv6 beta programme. I've been following various guides online, and dibbler seemed to work the first time I ran it. However, for some reason it keeps segfaulting now. I tried upgrading to the latest version from git, which gives me a little more output on the console, but it also results in a segmentation fault. Here's the output:
Quote: | 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.11 21:20:42 Client Notice My pid (3629) is stored in /var/lib/dibbler/client.pid
2011.12.11 21:20:42 Client Notice Detected iface mon.wlan0/11, MAC=00:22:b0:bd:aa:d5.
2011.12.11 21:20:42 Client Notice Detected iface ppp0/10, MAC=.
2011.12.11 21:20:42 Client Notice Detected iface br0/9, MAC=00:06:2b:04:10:2f.
2011.12.11 21:20:42 Client Notice Detected iface wlan0/8, MAC=00:22:b0:bd:aa:d5.
2011.12.11 21:20:42 Client Notice Detected iface eth5/7, MAC=00:21:27:c9:c0:1e.
2011.12.11 21:20:42 Client Notice Detected iface eth4/6, MAC=00:06:2b:04:10:2f.
2011.12.11 21:20:42 Client Notice Detected iface eth3/5, MAC=00:06:2b:04:10:2e.
2011.12.11 21:20:42 Client Notice Detected iface eth2/4, MAC=00:06:2b:04:10:2d.
2011.12.11 21:20:42 Client Notice Detected iface eth1/3, MAC=00:06:2b:04:10:2c.
2011.12.11 21:20:42 Client Notice Detected iface eth0/2, MAC=00:1e:90:a9:5b:21.
2011.12.11 21:20:42 Client Notice Detected iface lo/1, MAC=00:00:00:00:00:00.
2011.12.11 21:20:42 Client Notice Parsing /etc/dibbler/client.conf config file...
20:42 Client Info Interface ppp0/10 configuation has been loaded.
20:42 Client Info My DUID is 00:01:03:23:16:77:bb:80:00:22:b0:bd:aa:d5.
20:42 Client Info Loading old address database (client-AddrMgr.xml), using built-in routines.
20:42 Client Info DB timestamp:132 on ppp0/10,TransID=0xb92dc6, 4 opts: 2 1 25 23
20:42 Client Info Server responded wi3630933, now()=1323631242, db is 309 second(s) old.
20:42 Client Notice Creating control (: socket on the lo/1 interface.
20:42 Client Notice Creating socket (addr=fe80::1234) on ppp0/10 interface.
20:42 Client Notice CONFIRM support compiled in.
20:42 Client Info Creating SOLICIT message with 0 IA(s), no TA and 1 PD(s) (with rapid-commit) on ppp0/10 interface.
20:42 Client Info Received ADVERTISEth ADVERTISE instead of REPLY, probably does not support RAPID-COMMIT.
20:43 Client Info Processing msg (SOLICIT,transID=0xb92dc6,opts: 1 25 14 8 6)
20:43 Client Info Creating REQUEST. Backup server list contains 1 server(s).
20:44 Client Info Received REPLY on ppp0/10,TransID=0x17e6c7, 4 opts: 2 1 25 23
20:44 Client Notice PD: Adding prefix 2a02:XXXX:XXXX:XXXX::/64 to all interfaces (prefix will be split to /72 prefixes if necessary).
20:44 Client Info Found 7 suitable interface(s):br0 wlan0 eth4 eth3 eth2 eth1 eth0
Segmentation fault
|
Here's my /etc/dibbler/client.conf:
Quote: | #
# Example client configuration file: default
#
# Uncomment following line to use Link-layer DUID instead of default Link-layer+time
#duid-type duid-ll
# Uncomment following line to make dibbler very aggressive about getting requested
# options.
#insist-mode
# Uncomment following line to make dibbler accept downed/not associated interfaces
inactive-mode
# Uncomment following line to make confirm enable at start
#use-confirm
# Uncomment following line to skip confirm sending (after crash or power outage)
# skip-confirm
log-mode short
# 7 = omit debug messages
log-level 7
# Current Dibbler release adds obtained addresses with /64 prefix. Although
# this violates spec (RFC3315), it is very useful as hosts in the network can
# exchange data immediately. To restore previous behavior, uncomment this line:
# strict-rfc-no-routing
# Dibbler can detect interfaces and ask for address on every suitable interface.
# If that is what you require, just don't mention any interfaces
# On the other hand, you may want to specify interfaces to be configured
# explicitely
#iface "eth1" {
# ia
# option dns-server
# option domain
#}
iface ppp0 {
rapid-commit yes
pd
option dns-server
}
|
Thanks |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23359
|
Posted: Sun Dec 11, 2011 6:41 pm Post subject: |
|
|
What does the backtrace of the core file show? |
|
Back to top |
|
 |
GD Tux's lil' helper

Joined: 11 May 2005 Posts: 138 Location: Greece
|
Posted: Mon Dec 12, 2011 1:24 am Post subject: |
|
|
Here's what I get. I downgraded to dibbler version found in portage in order not to taint this forum with unsupported software:
Quote: | 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:
<https://bugs.gentoo.org/>...
Reading symbols from /usr/sbin/dibbler-client...Reading symbols from /usr/lib64/debug/usr/sbin/dibbler-client.debug...done.
done.
(gdb) set args run
(gdb) run
Starting program: /usr/sbin/dibbler-client run
[Thread debugging using libthread_db enabled]
| Dibbler - a portable DHCPv6, version 0.8.0 (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.12 05:14:49 Client Warning Pid file found (pid=3063, file /var/lib/dibbler/client.pid), but process 3063 does not exist.
2011.12.12 05:14:49 Client Notice My pid (3097) is stored in /var/lib/dibbler/client.pid
2011.12.12 05:14:49 Client Notice Detected iface mon.wlan0/11, MAC=00:22:b0:bd:aa:d5.
2011.12.12 05:14:49 Client Notice Detected iface ppp0/10, MAC=.
2011.12.12 05:14:49 Client Notice Detected iface br0/9, MAC=00:06:2b:04:10:2f.
2011.12.12 05:14:49 Client Notice Detected iface wlan0/8, MAC=00:22:b0:bd:aa:d5.
2011.12.12 05:14:49 Client Notice Detected iface eth5/7, MAC=00:21:27:c9:c0:1e.
2011.12.12 05:14:49 Client Notice Detected iface eth4/6, MAC=00:06:2b:04:10:2f.
2011.12.12 05:14:49 Client Notice Detected iface eth3/5, MAC=00:06:2b:04:10:2e.
2011.12.12 05:14:49 Client Notice Detected iface eth2/4, MAC=00:06:2b:04:10:2d.
2011.12.12 05:14:49 Client Notice Detected iface eth1/3, MAC=00:06:2b:04:10:2c.
2011.12.12 05:14:49 Client Notice Detected iface eth0/2, MAC=00:1e:90:a9:5b:21.
2011.12.12 05:14:49 Client Notice Detected iface lo/1, MAC=00:00:00:00:00:00.
2011.12.12 05:14:49 Client Notice Parsing /etc/dibbler/client.conf config file...
14:49 Client Info Interface ppp0/10 configuation has been loaded.
14:49 Client Info My DUID is 00:01:03:23:16:77:bb:80:00:22:b0:bd:aa:d5.
14:49 Client Info Loading old address database (client-AddrMgr.xml), using built-in routines.
14:49 Client Info DB timestamp:1323659660, now()=1323659689, db is 29 second(s) old.
14:49 Client Notice Creating control (: socket on the lo/1 interface.
14:49 Client Notice Creating socket (addr=fe80::1234) on ppp0/10 interface.
[New Thread 0x7ffff709c700 (LWP 3100)]
14:49 Client Notice CONFIRM support compiled in.
14:49 Client Info Creating SOLICIT message with 0 IA(s), no TA and 1 PD(s) (with rapid-commit) on ppp0/10 interface.
Program received signal SIGSEGV, Segmentation fault.
0x000000000042d0f0 in TClntCfgTA::getIAID() ()
(gdb) bt full
#0 0x000000000042d0f0 in TClntCfgTA::getIAID() ()
No symbol table info available.
#1 0x0000000000454077 in TClntMsgSolicit::TClntMsgSolicit(int, SPtr<TIPv6Addr>, TContainer<SPtr<TClntCfgIA> >, SPtr<TClntCfgTA>, TContainer<SPtr<TClntCfgPD> >, bool, bool) ()
No symbol table info available.
#2 0x000000000041d49d in TClntTransMgr::checkSolicit() ()
No symbol table info available.
#3 0x000000000041dbbc in TClntTransMgr::doDuties() ()
No symbol table info available.
#4 0x000000000040608b in TDHCPClient::run() ()
No symbol table info available.
#5 0x0000000000408193 in run() ()
No symbol table info available.
#6 0x00000000004088c5 in main ()
No symbol table info available.
|
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|