[tor-bugs] #5074 [Obfsproxy]: obfsproxy assertion failure src/container.c:66: size <= MAX_CAPACITY

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Feb 10 18:36:51 UTC 2012


#5074: obfsproxy assertion failure src/container.c:66: size <= MAX_CAPACITY
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Obfsproxy  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------

Comment(by arma):

 It just happened on my *client*, when I had configured it to use 25
 bridges.

 {{{
 #0  0x00007f50e92f1475 in *__GI_raise (sig=<optimized out>)
     at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
         pid = <optimized out>
         selftid = <optimized out>
 #1  0x00007f50e92f46f0 in *__GI_abort () at abort.c:92
         act = {__sigaction_handler = {sa_handler = 0x2053f10,
             sa_sigaction = 0x2053f10}, sa_mask = {__val = {1, 2379064,
               0, 33865376, 18, 139985486109600, 139985498210304, 1,
               4294967295, 0, 1, 6357936, 0, 5353, 18, 0}},
           sa_flags = -372902078, sa_restorer = 0x1}
         sigs = {__val = {32, 0 <repeats 15 times>}}
 #2  0x0000000000406649 in log_error_abort (format=<optimized out>)
     at src/util.c:580
         ap = {{gp_offset = 8, fp_offset = 48,
             overflow_arg_area = 0x7fff94780c70,
             reg_save_area = 0x7fff94780bb0}}
 #3  0x0000000000402218 in smartlist_ensure_capacity (
     size=<optimized out>, sl=<optimized out>) at src/container.c:66
 No locals.
 #4  0x0000000000407eaa in smartlist_ensure_capacity (
     size=<optimized out>, sl=0x204ce20) at src/container.c:65
         higher = <optimized out>
 #5  smartlist_add (sl=0x204ce20, element=0x204c000) at src/container.c:81
 No locals.
 #6  0x00000000004041da in open_outbound_hostname (port=5353,
     addr=0x204d79c "x.x.x.x", af=2, conn=0x204cd90)
     at src/network.c:615
         base = <optimized out>
         buf = 0x2053f00
         newconn = 0x204c000
 #7  socks_read_cb (bev=<optimized out>, arg=0x204cd90)
     at src/network.c:647
         af = 2
         r = <optimized out>
         port = 5353
         addr = 0x204d79c "x.x.x.x"
         status = <optimized out>
         conn = 0x204cd90
         socks_ret = <optimized out>
         __func__ = "socks_read_cb"
 #8  0x00007f50e9a26e1d in ?? () from /usr/lib/libevent-2.0.so.5
 No symbol table info available.
 #9  0x00007f50e9a1c97c in event_base_loop ()
    from /usr/lib/libevent-2.0.so.5
 No symbol table info available.
 #10 0x0000000000403084 in launch_managed_proxy () at src/managed.c:685
         r = -1
         proxy = 0x203a010
 #11 0x00000000004026e8 in obfs_main (argc=<optimized out>,
     argv=<optimized out>) at src/main.c:265
         begin = 0x7fff94780f78
 #12 0x00007f50e92ddead in __libc_start_main (main=<optimized out>,
     argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>,
     fini=<optimized out>, rtld_fini=<optimized out>,
     stack_end=0x7fff94780f58) at libc-start.c:228
         result = <optimized out>
         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0,
                 -9055663285749715144, 4203048, 140735684284256, 0, 0,
                 9055888689421840184, 9003259033683455800},
               mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x40b550,
         r = -1
         proxy = 0x203a010
 #11 0x00000000004026e8 in obfs_main (argc=<optimized out>,
     argv=<optimized out>) at src/main.c:265
         begin = 0x7fff94780f78
 #12 0x00007f50e92ddead in __libc_start_main (main=<optimized out>,
     argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>,
     fini=<optimized out>, rtld_fini=<optimized out>,
     stack_end=0x7fff94780f58) at libc-start.c:228
         result = <optimized out>
         unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0,
                 -9055663285749715144, 4203048, 140735684284256, 0, 0,
                 9055888689421840184, 9003259033683455800},
               mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x40b550,
               0x7fff94780f68}, data = {prev = 0x0, cleanup = 0x0,
               canceltype = 4240720}}}
         not_first_call = <optimized out>
 #13 0x0000000000402251 in _start ()
 No symbol table info available.
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5074#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list