View Issue Details

IDProjectCategoryView StatusLast Update
0002100GNUnetVPN servicepublic2012-02-28 11:05
ReporterBart Polot Assigned ToChristian Grothoff  
PriorityurgentSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.2Fixed in Version0.9.2 
Summary0002100: VPN crashes on traffic > 1MB/s
Description(gdb) bt
#0 0x00007f2f926c5935 in raise () from /lib/libc.so.6
#1 0x00007f2f926c6dab in abort () from /lib/libc.so.6
#2 0x00007f2f939ea3d9 in GNUNET_abort () at common_logging.c:273
#3 0x0000000000406b00 in send_to_tunnel (ts=0x989910, tnq=0x98a4c0) at gnunet-service-vpn.c:724
#4 route_packet (destination=<optimized out>, af=<optimized out>, protocol=<optimized out>, source_ip=0x7fff894be0a4,
    destination_ip=0x7fff894be0a8, payload=<optimized out>, payload_length=<optimized out>) at gnunet-service-vpn.c:1461
#5 0x00000000004091df in message_token (cls=<optimized out>, client=<optimized out>, message=0x7fff894be090)
    at gnunet-service-vpn.c:1577
#6 0x00007f2f93a1404f in GNUNET_SERVER_mst_receive (mst=0x988f50, client_identity=0x0, buf=<optimized out>, size=60,
    purge=0, one_shot=0) at server_mst.c:261
#7 0x00007f2f93a04d23 in helper_read (cls=0x988ee0, tsdkctx=<optimized out>) at helper.c:267
#8 0x00007f2f93a11084 in run_ready (ws=0x986300, rs=0x986270) at scheduler.c:684
#9 GNUNET_SCHEDULER_run (task=<optimized out>, task_cls=<optimized out>) at scheduler.c:874
#10 0x00007f2f93a19cb6 in GNUNET_SERVICE_run (argc=5, argv=<optimized out>, serviceName=<optimized out>,
    opt=<optimized out>, task=<optimized out>, task_cls=0x0) at service.c:1712
#11 0x0000000000402139 in main (argc=<optimized out>, argv=<optimized out>) at gnunet-service-vpn.c:3082
Additional InformationProgram terminated with signal 6, Aborted.
#0 0x00007f2f926c5935 in raise () from /lib/libc.so.6

(gdb) bt full
#0 0x00007f2f926c5935 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f2f926c6dab in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00007f2f939ea3d9 in GNUNET_abort () at common_logging.c:273
No locals.
#3 0x0000000000406b00 in send_to_tunnel (ts=0x989910, tnq=0x98a4c0) at gnunet-service-vpn.c:724
        dq = 0x98a4c0
#4 route_packet (destination=<optimized out>, af=<optimized out>, protocol=<optimized out>, source_ip=0x7fff894be0a4,
    destination_ip=0x7fff894be0a8, payload=<optimized out>, payload_length=<optimized out>) at gnunet-service-vpn.c:1461
        key = {bits = {29087239, 17435402, 1766525706, 6, 0 <repeats 12 times>}}
        ts = 0x989910
        tnq = 0x98a4c0
        alen = <optimized out>
        mlen = <optimized out>
        is_new = <optimized out>
        udp = 0xc167a1c3895a8109
        tcp = 0x7fff894be0ac
        icmp = 0xf11a8b620e8b6f0f
        spt = 54791
        dpt = 443
        __FUNCTION__ = "route_packet"
#5 0x00000000004091df in message_token (cls=<optimized out>, client=<optimized out>, message=0x7fff894be090)
    at gnunet-service-vpn.c:1577
        pkt4 = 0x7fff894be098
        tun = 0x7fff894be094
        mlen = 52
        key = {bits = {593425491, 1678410831, 973299850, 1184672320, 253350847, 1564816959, 228094462, 72616583,
            1503912229, 1726211223, 4181618999, 2050469210, 1027888283, 3420351051, 1931150437, 1654634803}}
        de = <optimized out>
        __FUNCTION__ = "message_token"
#6 0x00007f2f93a1404f in GNUNET_SERVER_mst_receive (mst=0x988f50, client_identity=0x0, buf=<optimized out>, size=60,
    purge=0, one_shot=0) at server_mst.c:261
        hdr = 0x7fff894be090
        delta = <optimized out>
        want = <optimized out>
        ibuf = 0x9891b0 ""
        need_align = <optimized out>
        offset = 140735496839312
        ret = 1
        __FUNCTION__ = "GNUNET_SERVER_mst_receive"
#7 0x00007f2f93a04d23 in helper_read (cls=0x988ee0, tsdkctx=<optimized out>) at helper.c:267
        buf = "\000<\000\271\000\000\b\000E\000\000\064-\325@\000@\006\243o\n\v\n\001\n\vKi\326\a\001\273\217\033wV\342\203\300\005\200\020&\030sy\000\000\001\001\b\n\005\371^\224\270j\325\365\000<\000\271\000\000\b\000E\000\000\064-\322@\000@\006\243r\n\v\n\001\n\vKi\326\a\001\273\217\033wV\025\200\020%\220\225\361\000\000\001\001\b\n\005\371^\224\270j\325\365\000<\000\271\000\000\b\000E\000\000\064-\323@\000@\006\243q\n\v\n\001\n\vKi\326\a\001\273\217\033wV⃩e\200\020%\275\212t\000\000\001\001\b\n\005\371^\224\270j\325\365\000<\000\271\000\000\b\000E\000\000\064-\324@\000@\006\243p\n\v\n\001\n\vKi\326\a\001\273\217\033wV\342\203\264\265\200\020%\353~\366\000\000\001\001\b\n\005\371^\224\270j\325\365;\247\272\213\220`\017\234\070\"4\227\n\355\224\067 \330\031\273$\a\304\024\274\372f\333\002R\210\355\223v\036ikq\334>]9j\231"...
        t = 60
#8 0x00007f2f93a11084 in run_ready (ws=0x986300, rs=0x986270) at scheduler.c:684
        p = <optimized out>
        pos = <optimized out>
        tc = {reason = GNUNET_SCHEDULER_REASON_READ_READY, read_ready = 0x986270, write_ready = 0x986300}
#9 GNUNET_SCHEDULER_run (task=<optimized out>, task_cls=<optimized out>) at scheduler.c:874
        rs = 0x986270
        ws = <optimized out>
        timeout = <optimized out>
        ret = <optimized out>
        shc_int = 0x986390
        shc_term = 0x986440
        shc_quit = 0x9865a0
        shc_hup = 0x986650
        shc_pipe = 0x9864f0
        last_tr = 8523
        busy_wait_warning = 0
        pr = <optimized out>
        c = 0 '\000'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#10 0x00007f2f93a19cb6 in GNUNET_SERVICE_run (argc=5, argv=<optimized out>, serviceName=<optimized out>,
    opt=<optimized out>, task=<optimized out>, task_cls=0x0) at service.c:1712
        err = 0
        cfg_fn = 0x9860b0 "/home/bart/.gnunet/gnunet.conf"
        loglev = 0x986090 "DEBUG"
        logfile = 0x0
        do_daemonize = 0
        i = <optimized out>
        skew_offset = 140735496906032
        skew_variance = 139842323508181
        clock_offset = <optimized out>
        sctx = {cfg = 0x985f60, server = 0x986780, addrs = 0x986100, serviceName = 0x4093b7 "vpn",
          task = 0x402230 <run>, task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x9861e0,
          v6_allowed = 0x986220, my_handlers = 0x986000, addrlens = 0x986120, lsocks = 0x0, timeout = {
            rel_value = 18446744073709551615}, ret = 1, ready_confirm_fd = -1, require_found = 1, match_uid = 1,
          match_gid = 1, options = GNUNET_SERVICE_OPTION_NONE}
        cfg = 0x985f60
        service_options = {{shortName = 99 'c', name = 0x7f2f93a1f4e7 "config",
            argumentHelp = 0x7f2f93a1f4ee "FILENAME", description = 0x7f2f93a1f598 "use configuration file FILENAME",
            require_argument = 1, processor = 0x7f2f93a04330 <GNUNET_GETOPT_set_string>, scls = 0x7fff894ce3d8}, {
            shortName = 100 'd', name = 0x7f2f93a202e0 "daemonize", argumentHelp = 0x0,
            description = 0x7f2f93a20690 "do daemonize (detach from terminal)", require_argument = 0,
            processor = 0x7f2f93a04320 <GNUNET_GETOPT_set_one>, scls = 0x7fff894ce40c}, {shortName = 104 'h',
            name = 0x7f2f93a1f502 "help", argumentHelp = 0x0, description = 0x7f2f93a1f4f7 "print this help",
            require_argument = 0, processor = 0x7f2f93a03fb0 <GNUNET_GETOPT_format_help_>, scls = 0x4093b7}, {
            shortName = 76 'L', name = 0x7f2f93a1f507 "log", argumentHelp = 0x7f2f93a1f50b "LOGLEVEL",
            description = 0x7f2f93a1f5b8 "configure logging to use LOGLEVEL", require_argument = 1,
            processor = 0x7f2f93a04330 <GNUNET_GETOPT_set_string>, scls = 0x7fff894ce3e0}, {shortName = 108 'l',
            name = 0x7f2f93a1f514 "logfile", argumentHelp = 0x7f2f93a1ccfe "LOGFILE",
            description = 0x7f2f93a1f5e0 "configure logging to write logs to LOGFILE", require_argument = 1,
            processor = 0x7f2f93a04330 <GNUNET_GETOPT_set_string>, scls = 0x7fff894ce3e8}, {shortName = 118 'v',
            name = 0x7f2f93a1f51c "version", argumentHelp = 0x0,
            description = 0x7f2f93a1f524 "print the version number", require_argument = 0,
            processor = 0x7f2f93a03f80 <GNUNET_GETOPT_print_version_>, scls = 0x7f2f93a1f53d}, {shortName = 0 '\000',
            name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0, scls = 0x0}}
        __FUNCTION__ = "GNUNET_SERVICE_run"
#11 0x0000000000402139 in main (argc=<optimized out>, argv=<optimized out>) at gnunet-service-vpn.c:3082
No locals.
(gdb)
TagsNo tags attached.

Activities

Christian Grothoff

2012-01-24 00:01

manager   ~0005362

Should be fixed in SVN 19333.

Issue History

Date Modified Username Field Change
2012-01-23 15:39 Bart Polot New Issue
2012-01-23 15:39 Bart Polot Status new => assigned
2012-01-23 15:39 Bart Polot Assigned To => Christian Grothoff
2012-01-23 23:20 Christian Grothoff Priority normal => urgent
2012-01-23 23:20 Christian Grothoff Target Version => 0.9.2
2012-01-24 00:01 Christian Grothoff Note Added: 0005362
2012-01-24 00:01 Christian Grothoff Status assigned => resolved
2012-01-24 00:01 Christian Grothoff Fixed in Version => 0.9.2
2012-01-24 00:01 Christian Grothoff Resolution open => fixed
2012-02-28 11:05 Christian Grothoff Status resolved => closed