Hi!
I've upgraded udns to version 0.3, now I've got problem with s2s. S2s
starts to works:
Mon Jan 20 11:46:41 2014 [notice] dns lookup for users.jabber.org timed out
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabster.pl timed out
Mon Jan 20 11:46:41 2014 [notice] [10] [77.55.0.117, port=5269]
connection to brodowicz.com timed out
Mon Jan 20 11:46:41 2014 [notice] [10] [77.55.0.117, port=5269]
disconnect, packets: 0
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabber.zacisze.org
timed out
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabber.raks.pl timed out
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabbim.pl timed out
And core is dumped at this moment.
This is backtrace:
# echo "bt"|gdb -q /usr/bin/jabberd2-s2s
'core-1390214801-107-6-!usr!bin!jabberd2-s2s-45345'
Reading symbols from /usr/bin/jabberd2-s2s...Reading symbols from
/usr/lib64/debug/usr/bin/jabberd2-s2s.debug...done.
done.
[New LWP 45345]
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/usr/bin/jabberd2-s2s -c /etc/jabber/s2s.xml'.
Program terminated with signal 6, Aborted.
#0 0x028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) #0 0x028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x028615b58968 in __GI_abort () at abort.c:90
#2 0x028615b50602 in __assert_fail_base (fmt=0x28615c8be10
"%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x2861671db3e "ctx->dnsc_nactive > 0",
file=file@entry=0x2861671db24 "udns_resolver.c", line=line@entry=614,
function=function@entry=0x2861671e13a <__PRETTY_FUNCTION__.5214>
"dns_end_query") at assert.c:92
#3 0x028615b506b2 in __GI___assert_fail
(assertion=assertion@entry=0x2861671db3e "ctx->dnsc_nactive > 0",
file=file@entry=0x2861671db24 "udns_resolver.c",
line=line@entry=614, function=function@entry=0x2861671e13a
<__PRETTY_FUNCTION__.5214> "dns_end_query") at assert.c:101
#4 0x028616717988 in dns_end_query (ctx=0x28616720480 ,
q=, status=, result=0x1ec9552050) at
udns_resolver.c:614
#5 0x02861671a196 in dns_ioevent (ctx=0x28616720480 ,
ctx@entry=0x0, now=1390214801) at udns_resolver.c:1119
#6 0x001ec929744a in _mio_resolver_callback (m=,
a=, fd=, data=,
arg=) at main.c:620
#7 _mio_resolver_callback (m=, a=,
fd=, data=, arg=) at main.c:614
#8 0x001ec92a8a54 in _mio_run (m=0x1ec9417170, timeout=) at mio_impl.h:268
#9 0x001ec92989f7 in main (argc=, argv=) at main.c:989
(gdb) quit
# echo "bt full"|gdb -q /usr/bin/jabberd2-s2s
'core-1390214801-107-6-!usr!bin!jabberd2-s2s-45345'
[21/14876]
Reading symbols from /usr/bin/jabberd2-s2s...Reading symbols from
/usr/lib64/debug/usr/bin/jabberd2-s2s.debug...done.
done.
[New LWP 45345]
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/usr/bin/jabberd2-s2s -c /etc/jabber/s2s.xml'.
Program terminated with signal 6, Aborted.
#0 0x028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) #0 0x028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 45345
selftid = 45345
#1 0x028615b58968 in __GI_abort () at abort.c:90
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x3b8054ebf19,
sa_sigaction = 0x3b8054ebf19}, sa_mask = {__val = {2774914335357,
2774925433636, 614,
3760840155677668410, 2774913064961, 8028827915840135261,
8245921732250397551, 0, 4, 4088897909184, 0, 0, 0, 2774914334869,
2774925623296,
2774914350608}}, sa_flags = 376560446, sa_restorer =
0x2861671e13a <__PRETTY_FUNCTION__.5214>}
sigs = {__val = {32, 0 }}
#2 0x028615b50602 in __assert_fail_base (fmt=0x28615c8be10
"%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x2861671db3e "ctx->dnsc_nactive > 0",
file=file@entry=0x2861671db24 "udns_resolver.c", line=line@entry=614,
function=function@entry=0x2861671e13a <__PRETTY_FUNCTION__.5214>
"dns_end_query") at assert.c:92
str = 0x1ec944b630 ""
total = 4096
#3 0x028615b506b2 in __GI___assert_fail
(assertion=assertion@entry=0x2861671db3e "ctx->dnsc_nactive > 0",
file=file@entry=0x2861671db24 "udns_resolver.c",
line=line@entry=614, function=function@entry=0x2861671e13a
<__PRETTY_FUNCTION__.5214> "dns_end_query") at assert.c:101
No locals.
#4 0x028616717988 in dns_end_query (ctx=0x28616720480 ,
q=, status=, result=0x1ec9552050) at
udns_resolver.c:614
cbck = 0x1ec929c0b0 <_dns_result_srv>
cbdata = 0x1ec946e0c0
__PRETTY_FUNCTION__ = "dns_end_query"
#5 0x02861671a196