Package: dibbler-client
Version: 0.8.2-1
Severity: normal

Dear Maintainer,

I'm no more able to restart dibbler-client, as soon as it start
configuring the interface it segfault:

dibbler-client[47071]: segfault at 10 ip 000000000045ac00 sp 00007fff78ba4348 
error 4 in dibbler-client[400000+d8000]

When ran under valgrind, here's the report:

# valgrind --log-file=dibbler.valgrind.log --track-origins=yes  
/usr/sbin/dibbler-client run
| Dibbler - a portable DHCPv6, version 0.8.2 (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/
2014.02.17 12:07:24 Client Warning   Pid file found (pid=48245, file 
/var/lib/dibbler/client.pid), but process 48245 does not exist.
2014.02.17 12:07:24 Client Notice    My pid (48295) is stored in 
/var/lib/dibbler/client.pid
2014.02.17 12:07:24 Client Notice    Detected iface dummy0/4, 
MAC=xx:xx:xx:xx:xx:xx.
2014.02.17 12:07:24 Client Notice    Detected iface eth1/3, 
MAC=yy:yy:yy:yy:yy:yy.
2014.02.17 12:07:24 Client Notice    Detected iface eth0/2, 
MAC=zz:zz:zz:zz:zz:zz.
2014.02.17 12:07:24 Client Notice    Detected iface lo/1, MAC=00:00:00:00:00:00.
2014.02.17 12:07:24 Client Notice    Parsing /etc/dibbler/client.conf config 
file...
2014.02.17 12:07:25 Client Debug     Prefix delegation option found.
2014.02.17 12:07:25 Client Debug     Parsing /etc/dibbler/client.conf done, 
result=0
2014.02.17 12:07:25 Client Debug     1 interface(s) specified in 
/etc/dibbler/client.conf
2014.02.17 12:07:25 Client Info      Interface eth0/2 configuation has been 
loaded.
2014.02.17 12:07:25 Client Debug     DUID's value = 
aa:bb:cc:dd:ee:ff:gg:hh:ii:jj was loaded from client-duid file.
2014.02.17 12:07:25 Client Info      My DUID is aa:bb:cc:dd:ee:ff:gg:hh:ii:jj.
2014.02.17 12:07:25 Client Info      Loading old address database 
(client-AddrMgr.xml), using built-in routines.
2014.02.17 12:07:25 Client Info      DB timestamp:1392635071, now()=1392635245, 
db is 174 second(s) old.
2014.02.17 12:07:25 Client Debug     Loaded IA from a file: t1=3600, 
t2=7200,iaid=1, iface=2
2014.02.17 12:07:25 Client Debug     Parsed IA, iaid=1, 
unicast=b80e:3ed1:f27f:0:b80e:3ed1:f27f:0
2014.02.17 12:07:25 Client Debug     Loaded PD from a file: t1=3600, t2=7200, 
iaid=1, iface=2
2014.02.17 12:07:25 Client Debug     Parsed prefix 2001:dead:beef:cafe::/56, 
pref=3800, valid=3800,ts=1392480252
2014.02.17 12:07:25 Client Debug     Parsed PD, pdid=1, t1=3600, t2=7200
2014.02.17 12:07:25 Client Debug     Client 
aa:aa:aa:aa:aa:aa:aa:aa:zz:zz:zz:zz:zz:zz loaded from disk successfuly (1/1/0 
ia/pd/ta).
2014.02.17 12:07:25 Client Debug     Bind reuse enabled (multiple instances 
allowed).
2014.02.17 12:07:25 Client Notice    Creating control (::) socket on the lo/1 
interface.
2014.02.17 12:07:25 Client Notice    Creating socket 
(addr=fe80::bbbb:bbbb:bbbb:bbbb) on eth0/2 interface.
2014.02.17 12:07:25 Client Debug     Initialising link-state detection for 
interfaces: eth0/2
2014.02.17 12:07:25 Client Notice    CONFIRM support compiled in.
2014.02.17 12:07:25 Client Info      Creating CONFIRM: 1 IA(s) on eth0/2
2014.02.17 12:07:25 Client Debug     Authentication is disabled, not including 
auth options in message.
2014.02.17 12:07:25 Client Debug     Sending CONFIRM(opts:1 3 8 6 ) on eth0/2 
to multicast.
2014.02.17 12:07:25 Client Debug     Sending CONFIRM(opts:1 3 8 6 ) on eth0/2 
to multicast.
2014.02.17 12:07:25 Client Info      Creating SOLICIT message with 0 IA(s), no 
TA and 1 PD(s) on eth0/2 interface.
2014.02.17 12:07:25 Client Debug     Sending SOLICIT(opts:1 25 8 6 ) on eth0/2 
to multicast.
2014.02.17 12:07:25 Client Debug     Sleeping for 1 second(s).
2014.02.17 12:07:26 Client Info      Processing msg 
(CONFIRM,transID=0xd58839,opts: 1 3 8 6)
2014.02.17 12:07:26 Client Debug     Sending CONFIRM(opts:1 3 8 6 ) on eth0/2 
to multicast.
2014.02.17 12:07:26 Client Info      Processing msg 
(SOLICIT,transID=0x234345,opts: 1 25 8 6)
2014.02.17 12:07:26 Client Debug     Sending SOLICIT(opts:1 25 8 6 ) on eth0/2 
to multicast.
2014.02.17 12:07:26 Client Debug     Sleeping for 1 second(s).
2014.02.17 12:07:27 Client Info      Processing msg 
(CONFIRM,transID=0xd58839,opts: 1 3 8 6)
2014.02.17 12:07:27 Client Debug     Sending CONFIRM(opts:1 3 8 6 ) on eth0/2 
to multicast.
2014.02.17 12:07:27 Client Debug     Sleeping for 1 second(s).
2014.02.17 12:07:28 Client Info      Processing msg 
(CONFIRM,transID=0xd58839,opts: 1 3 8 6)
2014.02.17 12:07:28 Client Debug     Sending CONFIRM(opts:1 3 8 6 ) on eth0/2 
to multicast.
2014.02.17 12:07:28 Client Info      Processing msg 
(SOLICIT,transID=0x234345,opts: 1 25 8 6)
2014.02.17 12:07:28 Client Debug     Sending SOLICIT(opts:1 25 8 6 ) on eth0/2 
to multicast.
2014.02.17 12:07:28 Client Debug     Sleeping for 1 second(s).
2014.02.17 12:07:29 Client Info      Processing msg 
(CONFIRM,transID=0xd58839,opts: 1 3 8 6)

And valgrind:

==48295== Memcheck, a memory error detector
==48295== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==48295== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==48295== Command: /usr/sbin/dibbler-client run
==48295== Parent PID: 48207
==48295==
==48295== Conditional jump or move depends on uninitialised value(s)
==48295==    at 0x425A8B: TClntMsg::appendRequestedOptions() (in 
/usr/sbin/dibbler-client)
==48295==    by 0x4329BF: TClntMsgSolicit::TClntMsgSolicit(int, 
SPtr<TIPv6Addr>, TContainer<SPtr<TClntCfgIA> >, SPtr<TClntCfgTA>, 
TContainer<SPtr<TCl\
ntCfgPD> >, bool, bool) (in /usr/sbin/dibbler-client)
==48295==    by 0x410804: TClntTransMgr::checkSolicit() (in 
/usr/sbin/dibbler-client)
==48295==    by 0x410FF3: TClntTransMgr::doDuties() (in 
/usr/sbin/dibbler-client)
==48295==    by 0x4082F1: TDHCPClient::run() (in /usr/sbin/dibbler-client)
==48295==    by 0x407A7A: run() (in /usr/sbin/dibbler-client)
==48295==    by 0x40610B: main (in /usr/sbin/dibbler-client)
==48295==  Uninitialised value was created by a heap allocation
==48295==    at 0x4C286E7: operator new(unsigned long) (vg_replace_malloc.c:287)
==48295==    by 0x444DD6: ClntParser::StartIfaceDeclaration(std::string) (in 
/usr/sbin/dibbler-client)
==48295==    by 0x447258: ClntParser::yyparse() (in /usr/sbin/dibbler-client)
==48295==    by 0x43F3CC: TClntCfgMgr::parseConfigFile(std::string) (in 
/usr/sbin/dibbler-client)
==48295==    by 0x43F740: TClntCfgMgr::TClntCfgMgr(std::string) (in 
/usr/sbin/dibbler-client)
==48295==    by 0x43FA04: TClntCfgMgr::instanceCreate(std::string) (in 
/usr/sbin/dibbler-client)
==48295==    by 0x408DB2: TDHCPClient::TDHCPClient(std::string) (in 
/usr/sbin/dibbler-client)
==48295==    by 0x4079F2: run() (in /usr/sbin/dibbler-client)
==48295==    by 0x40610B: main (in /usr/sbin/dibbler-client)
==48295==
==48295== Invalid read of size 8
==48295==    at 0x45AC00: TAddrAddr::getValid() (in /usr/sbin/dibbler-client)
==48295==    by 0x420526: TClntMsgConfirm::addrsAccepted() (in 
/usr/sbin/dibbler-client)
==48295==    by 0x4206BC: TClntMsgConfirm::doDuties() (in 
/usr/sbin/dibbler-client)
==48295==    by 0x410DD5: TClntTransMgr::doDuties() (in 
/usr/sbin/dibbler-client)
==48295==    by 0x4082F1: TDHCPClient::run() (in /usr/sbin/dibbler-client)
==48295==    by 0x407A7A: run() (in /usr/sbin/dibbler-client)
==48295==    by 0x40610B: main (in /usr/sbin/dibbler-client)
==48295==  Address 0x10 is not stack'd, malloc'd or (recently) free'd
==48295==
==48295==
==48295== Process terminating with default action of signal 11 (SIGSEGV)
==48295==  Access not within mapped region at address 0x10
==48295==    at 0x45AC00: TAddrAddr::getValid() (in /usr/sbin/dibbler-client)
==48295==    by 0x420526: TClntMsgConfirm::addrsAccepted() (in 
/usr/sbin/dibbler-client)
==48295==    by 0x4206BC: TClntMsgConfirm::doDuties() (in 
/usr/sbin/dibbler-client)
==48295==    by 0x410DD5: TClntTransMgr::doDuties() (in 
/usr/sbin/dibbler-client)
==48295==    by 0x4082F1: TDHCPClient::run() (in /usr/sbin/dibbler-client)
==48295==    by 0x407A7A: run() (in /usr/sbin/dibbler-client)
==48295==    by 0x40610B: main (in /usr/sbin/dibbler-client)
==48295==  If you believe this happened as a result of a stack
==48295==  overflow in your program's main thread (unlikely but
==48295==  possible), you can try to increase the size of the
==48295==  main thread stack using the --main-stacksize= flag.
==48295==  The main thread stack size used in this run was 8388608.
==48295==
==48295== HEAP SUMMARY:
==48295==     in use at exit: 24,400 bytes in 264 blocks
==48295==   total heap usage: 2,000 allocs, 1,736 frees, 331,333 bytes allocated
==48295==
==48295== LEAK SUMMARY:
==48295==    definitely lost: 0 bytes in 0 blocks
==48295==    indirectly lost: 0 bytes in 0 blocks
==48295==      possibly lost: 1,805 bytes in 26 blocks
==48295==    still reachable: 22,595 bytes in 238 blocks
==48295==         suppressed: 0 bytes in 0 blocks
==48295== Rerun with --leak-check=full to see details of leaked memory
==48295==
==48295== For counts of detected and suppressed errors, rerun with: -v
==48295== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 4 from 4)

I believe the problem is related to corrupted database: just before 
dibbler-client
start to fail, the filesystem was full. I've since make room on the filesystem,
but dibbler-client cannot start.

Regards.

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dibbler-client depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libc6                  2.13-38+deb7u1
ii  libgcc1                1:4.7.2-5
ii  libstdc++6             4.7.2-5
ii  ucf                    3.0025+nmu3

Versions of packages dibbler-client recommends:
ii  dibbler-doc  0.8.2-1
ii  resolvconf   1.67

dibbler-client suggests no packages.

-- debconf information:
* dibbler-client/start: true
  dibbler-client/title:
* dibbler-client/interfaces: eth0
* dibbler-client/options: dns, domain


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to