View Issue Details

IDProjectCategoryView StatusLast Update
0001748GNUnetVPN servicepublic2011-09-19 10:45
Reporterroot Assigned Totoelke  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Summary0001748: assertion failed in receive_tcp_back, gnunet-daemon-vpn:1061
DescriptionCore was generated by `gnunet-daemon-vpn -c /home/grothoff/.gnunet/gnunet.conf -l ~/.gnunet//vpn-logs'.
Program terminated with signal 6, Aborted.
#0 0x00007f2988b4e405 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
        in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) ba
#0 0x00007f2988b4e405 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007f2988b51680 in abort () at abort.c:92
#2 0x0000000000405b40 in receive_tcp_back (cls=0x0, tunnel=0x1f94340, tunnel_ctx=0x1f94438, sender=0x7fff820be718, message=0x7fff820be7e8, atsi=0x7fff820be758)
    at gnunet-daemon-vpn.c:1061
#3 0x00007f2989328a11 in core_receive (cls=0x1f913d0, other=0x7fff820be718, message=0x7fff820be760, atsi=0x7fff820be758) at mesh_api.c:487
#4 0x00007f2989979e9b in main_notify_handler (cls=0x1f914f0, msg=0x7fff820be710) at core_api.c:1132
#5 0x00007f298953ac07 in receive_task (cls=0x1f91b50, tc=0x7fff820be900) at client.c:579
#6 0x00007f298955c49b in run_ready (rs=0x1f88fa0, ws=0x1f89030) at scheduler.c:659
#7 0x00007f298955c958 in GNUNET_SCHEDULER_run (task=0x7f2989557cb0 <program_main>, task_cls=0x7fff820beb70) at scheduler.c:836
#8 0x00007f298955864d in GNUNET_PROGRAM_run (argc=5, argv=0x7fff820bed28, binaryName=0x409750 "vpn", binaryHelp=0x4098ac "help text", options=0x4098c0, task=0x406057 <run>, task_cls=0x0)
    at program.c:243
#9 0x0000000000406183 in main (argc=5, argv=0x7fff820bed28) at gnunet-daemon-vpn.c:1194
(gdb) bt full
#0 0x00007f2988b4e405 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        pid = <value optimized out>
        selftid = <value optimized out>
#1 0x00007f2988b51680 in abort () at abort.c:92
        act = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = {__val = {0, 140735375205328, 139816367420320, 33113616, 47, 139816363764640, 139816382997728, 4232832,
              4294967295, 0, 1, 6334024, 0, 0, 0, 0}}, sa_flags = -1984383198, sa_restorer = 0x7fff00000001}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x0000000000405b40 in receive_tcp_back (cls=0x0, tunnel=0x1f94340, tunnel_ctx=0x1f94438, sender=0x7fff820be718, message=0x7fff820be7e8, atsi=0x7fff820be758)
    at gnunet-daemon-vpn.c:1061
        sadr = 0
        key = 0x7f29895418ac
        me = 0x7fff820be580
        sum = 0
        tmp = 189
        size = 88
        pkt4 = 0x7fff820be460
        desc = 0x7fff820be7ec
        s = 0x7fff820be7ec
        pkt = 0x7fff820be82c
        other = 0x1f94340
        pktlen = 40
#3 0x00007f2989328a11 in core_receive (cls=0x1f913d0, other=0x7fff820be718, message=0x7fff820be760, atsi=0x7fff820be758) at mesh_api.c:487
        handle = 0x1f913d0
        tmessage = 0x7fff820be760
        rmessage = 0x7fff820be7e8
        handler = 0x1f914a0
        tunnel = 0x1f94340
#4 0x00007f2989979e9b in main_notify_handler (cls=0x1f914f0, msg=0x7fff820be710) at core_api.c:1132
        h = 0x1f914f0
        m = 0x0
        cnm = 0x401e40
        dnm = 0x7f2988e9be60
        ntm = 0x7fff820be710
        em = 0x7fff820be760
        cim = 0x0
        psnm = 0x7f298952e6d8
        smr = 0x7f2989326000
        mh = 0x7f298952a360
        init = 0
        pcic = 0
        pr = 0x1f921d0
        th = 0x0
        hpos = 0
        trigger = -1
        msize = 324
        et = 215
        ats_count = 0
#5 0x00007f298953ac07 in receive_task (cls=0x1f91b50, tc=0x7fff820be900) at client.c:579
        sock = 0x1f91b50
        handler = 0x7f298997916b <main_notify_handler>
        cmsg = 0x1f96920
        handler_cls = 0x1f914f0
---Type <return> to continue, or q <return> to quit---
        msize = 324
        mbuf = 0x7fff820be710 "\001D"
        msg = 0x7fff820be710
#6 0x00007f298955c49b in run_ready (rs=0x1f88fa0, ws=0x1f89030) at scheduler.c:659
        p = GNUNET_SCHEDULER_PRIORITY_DEFAULT
        pos = 0x1f93d30
        tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT, read_ready = 0x1f88fa0, write_ready = 0x1f89030}
#7 0x00007f298955c958 in GNUNET_SCHEDULER_run (task=0x7f2989557cb0 <program_main>, task_cls=0x7fff820beb70) at scheduler.c:836
        rs = 0x1f88fa0
        ws = 0x1f89030
        timeout = {rel_value = 0}
        ret = 0
        shc_int = 0x1f90dd0
        shc_term = 0x1f90e80
        shc_quit = 0x1f91210
        shc_hup = 0x1f912c0
        shc_pipe = 0x1f90f30
        last_tr = 2069
        busy_wait_warning = 0
        pr = 0x1f89150
        c = 0 '\000'
#8 0x00007f298955864d in GNUNET_PROGRAM_run (argc=5, argv=0x7fff820bed28, binaryName=0x409750 "vpn", binaryHelp=0x4098ac "help text", options=0x4098c0, task=0x406057 <run>, task_cls=0x0)
    at program.c:243
        cc = {args = 0x7fff820bed50, cfgfile = 0x1f88f10 "/home/grothoff/.gnunet/gnunet.conf", task = 0x406057 <run>, task_cls = 0x0, cfg = 0x1f87f00}
        path = 0x1f88f10 "/home/grothoff/.gnunet/gnunet.conf"
        loglev = 0x1f89100 "WARNING"
        logfile = 0x1f89120 "~/.gnunet//vpn-logs"
        ret = 5
        cnt = 5
        skew_offset = 0
        skew_variance = 6334504
        clock_offset = 0
        cfg = 0x1f87f00
        defoptions = {{shortName = 99 'c', name = 0x7f2989568520 "config", argumentHelp = 0x7f2989568527 "FILENAME", description = 0x7f2989568530 "use configuration file FILENAME",
            require_argument = 1, processor = 0x7f2989552ee6 <GNUNET_GETOPT_set_string>, scls = 0x7fff820beb78}, {shortName = 104 'h', name = 0x7f2989568550 "help", argumentHelp = 0x0,
            description = 0x7f2989568555 "print this help", require_argument = 0, processor = 0x7f2989552909 <GNUNET_GETOPT_format_help_>, scls = 0x4098ac}, {shortName = 76 'L',
            name = 0x7f2989568565 "log", argumentHelp = 0x7f2989568569 "LOGLEVEL", description = 0x7f2989568578 "configure logging to use LOGLEVEL", require_argument = 1,
            processor = 0x7f2989552ee6 <GNUNET_GETOPT_set_string>, scls = 0x7fff820beb68}, {shortName = 108 'l', name = 0x7f298956859a "logfile", argumentHelp = 0x7f29895685a2 "LOGFILE",
            description = 0x7f29895685b0 "configure logging to write logs to LOGFILE", require_argument = 1, processor = 0x7f2989552ee6 <GNUNET_GETOPT_set_string>,
            scls = 0x7fff820beb60}, {shortName = 118 'v', name = 0x7f29895685db "version", argumentHelp = 0x0, description = 0x7f29895685e3 "print the version number",
            require_argument = 0, processor = 0x7f29895528c0 <GNUNET_GETOPT_print_version_>, scls = 0x7f29895685fc}}
        allopts = 0x1f88fa0
        gargs = 0x0
        lpfx = 0x1f89140 "P\221\370\001"
        spc = 0x0
#9 0x0000000000406183 in main (argc=5, argv=0x7fff820bed28) at gnunet-daemon-vpn.c:1194
        options = {{shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0, scls = 0x0}}
(gdb)
TagsNo tags attached.

Activities

root

2011-08-10 10:14

administrator   ~0004549

gdb) up
#1 0x00007f998e633680 in abort () at abort.c:92
#2 0x0000000000405b40 in receive_tcp_back (cls=0x0, tunnel=0x194a6d0, tunnel_ctx=0x194a7c8, sender=0x7fffb325fca8, message=0x7fffb325fd78, atsi=0x7fffb325fce8)
    at gnunet-daemon-vpn.c:1061
(gdb) print message->type
$1 = 48384
(gdb) print message->type >> 8
$2 = 189
(gdb) print message->type & 255
$3 = 0

Issue History

Date Modified Username Field Change
2011-08-10 10:09 root New Issue
2011-08-10 10:14 root Note Added: 0004549
2011-08-10 10:25 toelke Status new => resolved
2011-08-10 10:25 toelke Fixed in Version => Git master
2011-08-10 10:25 toelke Resolution open => fixed
2011-08-10 10:25 toelke Assigned To => toelke
2011-09-15 14:19 Christian Grothoff Status resolved => closed
2011-09-19 10:45 Christian Grothoff Fixed in Version Git master => 0.9.0pre3
2011-09-19 10:45 Christian Grothoff Target Version => 0.9.0pre3