google-code-export / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
0 stars 0 forks source link

last snapshot, radix_lookup/client_lookup segfault? #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Latest snapshot from LUSCA dying shortly after start (20-30 seconds, it
didn't finish rebuilding even cache)

Here is backtrace

(gdb) bt full
#0  0xb7e22e77 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0xb7e24689 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x080bd081 in death (sig=11) at tools.c:326
No locals.
#3  <signal handler called>
No symbol table info available.
#4  radix_lookup (radix=<value optimized out>, prefix=0xbffffad4) at
radix.c:398
        node = (radix_node_t *) 0xc2fd040
        new_node = <value optimized out>
        parent = <value optimized out>
        glue = <value optimized out>
        bitlen = 32
        check_bit = 32
        i = 0
        j = <value optimized out>
        r = <value optimized out>
#5  0x08067f54 in clientdbAdd (addr={s_addr = 56365228}) at client_db.c:85
        rn = <value optimized out>
        p = {family = 2, bitlen = 32, ref_count = 0, add = {sin = {s_addr =
56365228}, sin6 = {__in6_u = {__u6_addr8 =
"¬\020\\\003\001\000\000\000\000\000\000\000\024ûÿ¿", __u6_addr16 = {4268, 
860,
          1, 0, 0, 0, 64276, 49151}, __u6_addr32 = {56365228, 1, 0,
3221224212}}}}}
        c = (ClientInfo *) 0x1fce5890
#6  0x08068068 in clientdbEstablished (addr={s_addr = 56365228}, delta=1)
at client_db.c:167
        c = (ClientInfo *) 0xbffffb14
        p = {family = 2, bitlen = 32, ref_count = 0, add = {sin = {s_addr =
56365228}, sin6 = {__in6_u = {__u6_addr8 =
"¬\020\\\003\001\000\000\000Hûÿ¿°WÎ\037", __u6_addr16 = {4268, 860, 1, 0,
64328,
          49151, 22448, 8142}, __u6_addr32 = {56365228, 1, 3221224264,
533616560}}}}}
        rn = <value optimized out>
#7  0x0806c391 in httpAccept (sock=27, data=0x82a95e0) at client_side.c:4642
        fd = 8818
        F = <value optimized out>
        connState = <value optimized out>
        peer = {init = 1, st = {ss_family = 2, __ss_align = 56365228,
__ss_padding = '\0' <repeats 119 times>}}
        me = {init = 1, st = {ss_family = 2, __ss_align = 479826626,
__ss_padding = '\0' <repeats 119 times>}}
#8  0x080ee5bf in comm_select (msec=<value optimized out>) at
comm_generic.c:264
        last_timeout = 1258049889.287174
        rc = <value optimized out>
        start = <value optimized out>
#9  0x08097cde in main (argc=2, argv=0xbffffe14) at main.c:914
        wait = <value optimized out>
        errcount = 0
---Type <return> to continue, or q <return> to quit---
        loop_delay = 50

Original issue reported on code.google.com by nuclear...@gmail.com on 12 Nov 2009 at 6:26

GoogleCodeExporter commented 9 years ago
client_db off seems eliminate issue, but sure it disable this part of 
functionality.
When needed to test any patch, i can enable it back

Original comment by nuclear...@gmail.com on 12 Nov 2009 at 6:30

GoogleCodeExporter commented 9 years ago
Alrighty, please check LUSCA_HEAD - I've committed a fix in rev 14368 and 14369.

Original comment by adrian.c...@gmail.com on 13 Nov 2009 at 8:30

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by adrian.c...@gmail.com on 6 Jan 2010 at 2:32