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  0x0000028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) #0  0x0000028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x0000028615b58968 in __GI_abort () at abort.c:90
#2  0x0000028615b50602 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  0x0000028615b506b2 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  0x0000028616717988 in dns_end_query (ctx=0x28616720480 <dns_defctx>,
q=<optimized out>, status=<optimized out>, result=0x1ec9552050) at
udns_resolver.c:614
#5  0x000002861671a196 in dns_ioevent (ctx=0x28616720480 <dns_defctx>,
ctx@entry=0x0, now=1390214801) at udns_resolver.c:1119
#6  0x0000001ec929744a in _mio_resolver_callback (m=<optimized out>,
a=<optimized out>, fd=<optimized out>, data=<optimized out>,
arg=<optimized out>) at main.c:620
#7  _mio_resolver_callback (m=<optimized out>, a=<optimized out>,
fd=<optimized out>, data=<optimized out>, arg=<optimized out>) at main.c:614
#8  0x0000001ec92a8a54 in _mio_run (m=0x1ec9417170, timeout=<optimized
out>) at mio_impl.h:268
#9  0x0000001ec92989f7 in main (argc=<optimized out>, argv=<optimized
out>) 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  0x0000028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) #0  0x0000028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 45345
        selftid = 45345
#1  0x0000028615b58968 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 <repeats 15 times>}}
#2  0x0000028615b50602 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  0x0000028615b506b2 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  0x0000028616717988 in dns_end_query (ctx=0x28616720480 <dns_defctx>,
q=<optimized out>, status=<optimized out>, result=0x1ec9552050) at
udns_resolver.c:614
        cbck = 0x1ec929c0b0 <_dns_result_srv>
        cbdata = 0x1ec946e0c0
        __PRETTY_FUNCTION__ = "dns_end_query"
#5  0x000002861671a196 in dns_ioevent (ctx=0x28616720480 <dns_defctx>,
ctx@entry=0x0, now=1390214801) at udns_resolver.c:1119
        r = <optimized out>
        servi = 0
        q = 0x1ec9472090
        pbuf = 0x1ec943ff50  <incomplete sequence \374\201\200>
        pend = 0x1ec943fffc "\001"
        pcur = 0x1ec943ff7a ""
        result = 0x1ec9552050
        sns = {sa = {sa_family = 2, sa_data =
"\000\065\177\000\000\001\000\000\000\000\000\000\000"}, sin =
{sin_family = 2, sin_port = 13568, sin_addr = {
              s_addr = 16777343}, sin_zero =
"\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, sin6_port =
13568, sin6_flowinfo = 16777343, sin6_addr = {
              __in6_u = {__u6_addr8 =
"\000\000\000\000\000\000\000\000\377\377\377\377\000\000\000",
__u6_addr16 = {0, 0, 0, 0, 65535, 65535, 0, 0}, __u6_addr32 = {
                  0, 0, 4294967295, 0}}}, sin6_scope_id = 923921664}}
        slen = 16
#6  0x0000001ec929744a in _mio_resolver_callback (m=<optimized out>,
a=<optimized out>, fd=<optimized out>, data=<optimized out>,
arg=<optimized out>) at main.c:620
No locals.
#7  _mio_resolver_callback (m=<optimized out>, a=<optimized out>,
fd=<optimized out>, data=<optimized out>, arg=<optimized out>) at main.c:614
No locals.
#8  0x0000001ec92a8a54 in _mio_run (m=0x1ec9417170, timeout=<optimized
out>) at mio_impl.h:268
        fd = 0x1ec9417310
        retval = 0
---Type <return> to continue, or q <return> to quit---        iter =
<optimized out>
#9  0x0000001ec92989f7 in main (argc=<optimized out>, argv=<optimized
out>) at main.c:989
        s2s = 0x1ec93b5920
        config_file = <optimized out>
        optchar = <optimized out>
        conn = 0x1ec944b5a0
        q = <optimized out>
        dns = <optimized out>
        res = <optimized out>
        xhv = <optimized out>
        check_time = 1390214801
        now = <optimized out>
        cli_id = <optimized out>
(gdb) quit

jabberd2-2.3.1

Thanks,
Marcin



Reply via email to