dns-terror (fastresolve-2.10_5) core dump na FreeBSD 10.x
Miroslav Lachman
000.fbsd at quip.cz
Thu Feb 25 17:03:34 CET 2016
Miroslav Lachman wrote on 01/13/2016 14:50:
> Dan Lukes wrote on 01/13/2016 13:58:
>
>> Muzes zkusit kompilovat s WITH_DEBUG, k tomu pripadne nastavit
>> DEBUG_FLAGS=-g
>>
>> Muze se ale stat, ze to u konkretniho portu neudela to co cekas. Pak by
>> bylo nutne si kod prelozit sam - tedy nezavisle na portovem systemu.
>>
>> Rec samozrejme neni o samotnem dns-terror, ale o kodu kazde knihovny,
>> kterou tento pouziva. I kdyz neni nutne hned prekladat jako debugovaci
>> vsechno. Muzes zacit hlavnim portem a kdyz z coredumpu vyplyne, ze k
>> padu doslo uvnitr kodu nejake knihovny, tak prelozis jeste tu a opakujes.
>
> Cekal jsem, ze to nebude jednoduche :)
> Kazdopadne diky za rady. Zkusim si udelat samostatne prostredi v
> poudrieru, kde si zkompiluju fastresolve (vcetne zavislosti) s tema
> debug options a uvidim, co to bude delat pak.
>
> Nejspis se brzo ozvu s prosbou "co dal".
Konecne jsem se dostal k tomu, abych si to zkompiloval v poudriere s
WITH_DEBUG=yes. Nainstaloval na zkusebni stroj a ted jsem z core dostal
tohle
/# gdb dns-terror
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(gdb) core dns-terror.core
Core was generated by `dns-terror'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /usr/local/lib/libadns.so.1...done.
Loaded symbols for /usr/local/lib/libadns.so.1
Reading symbols from /lib/libz.so.6...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /usr/local/lib/libdb_cxx-5.3.so.0...done.
Loaded symbols for /usr/local/lib/libdb_cxx-5.3.so.0
Reading symbols from /usr/lib/libc++.so.1...done.
Loaded symbols for /usr/lib/libc++.so.1
Reading symbols from /lib/libcxxrt.so.1...done.
Loaded symbols for /lib/libcxxrt.so.1
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x0000000000405c26 in BoolString::operator= (this=0x802816130,
other=@0x7fffffffdc40)
at BoolString.h:58
58 BoolString.h: No such file or directory.
in BoolString.h
[New Thread 802806400 (LWP 100132/<unknown>)]
(gdb) bt
#0 0x0000000000405c26 in BoolString::operator= (this=0x802816130,
other=@0x7fffffffdc40)
at BoolString.h:58
#1 0x000000000040291a in submit_query (ads=0x802817400,
reslist=@0x7fffffffe1a0,
lp=0x8028bc080) at dns-terror.cc:347
#2 0x0000000000404870 in main (argc=6, argv=0x7fffffffe690) at
dns-terror.cc:763
Ale tohle uz je pro me spanelska vesnice a nic mi to nerika.
Budu rad za kazdou radu, jak se s tim posunout dal.
Mirek
More information about the Users-l
mailing list