View Issue Details

IDProjectCategoryView StatusLast Update
0003123GNUnetcadet servicepublic2013-12-24 20:54
Reporterbratao Assigned ToBart Polot  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
PlatformW32OSWindowsOS Version8.1
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0003123: Crash in path_destroy
DescriptionDuring a file download between two local peers, mesh occasionally crashes
Additional Information    Reading symbols from C:\Cangote\lib\gnunet\libexec\gnunet-service-mesh.exe...don
    e.
    (gdb) c
    Continuing.
     
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 2700.0xe8c]
    0x62b796e9 in GNUNET_PEER_decrement_rcs (ids=0xdf0adba, count=233876922)
        at peer.c:171
    171 id = ids[i];
    (gdb) bt full
    #0 0x62b796e9 in GNUNET_PEER_decrement_rcs (ids=0xdf0adba, count=233876922)
        at peer.c:171
            i = 233876921
            id = 4045208
            __FUNCTION__ = "GNUNET_PEER_decrement_rcs"
    #1 0x0042032b in path_destroy (p=0x66e448) at mesh_path.c:121
    No locals.
    #2 0x0040b1f4 in GMC_handle_create (cls=0x0, peer=0x28fac4, message=0x28fae4)
        at gnunet-service-mesh_connection.c:1293
            msg = 0x28fae4
            id = 0x28fb28
            cid = 0x28fae8
            path = 0x66e448
            dest_peer = 0x667ff8
            orig_peer = 0x668038
            c = 0x66b020
            own_pos = 1
            size = 2
            i = 2
            __FUNCTION__ = "GMC_handle_create"
    #3 0x695055f4 in main_notify_handler (cls=0x3d76e8, msg=0x28fac0)
        at core_api.c:936
            h = 0x3d76e8
            m = 0x313512
            cnm = 0x989680
            dnm = 0x2000002
            ntm = 0x28fac0
            em = 0x28fae4
            smr = 0x640048
            mh = 0x423700 <core_handlers>
            init = 0x28fb88
            pr = 0x675078
            th = 0x183
            hpos = 0
            trigger = 3997696
            msize = 168
            et = 256
            __FUNCTION__ = "main_notify_handler"
    #4 0x62b440cc in receive_task (cls=0x667750, tc=0x28fbf0) at client.c:589
            client = 0x667750
            handler = 0x69503f36 <main_notify_handler>
            cmsg = 0x665af0
            handler_cls = 0x3d76e8
            msize = 168
            mbuf = 0x28fac0 ""
            msg = 0x28fac0
            __FUNCTION__ = "receive_task"
    #5 0x62b7f6e1 in run_ready (rs=0x3d97e8, ws=0x3da800) at scheduler.c:593
            p = GNUNET_SCHEDULER_PRIORITY_DEFAULT
            pos = 0x3db8c0
            tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT,
              read_ready = 0x3d97e8, write_ready = 0x3da800}
            __FUNCTION__ = "run_ready"
    #6 0x62b7ff5d in GNUNET_SCHEDULER_run (task=0x62b8bc24 <service_task>,
        task_cls=0x28fd98) at scheduler.c:808
            rs = 0x3d97e8
            ws = 0x3da800
            timeout = {rel_value_us = 0}
            ret = 0
            shc_int = 0x66ea18
            shc_term = 0x66ed78
            last_tr = 30
            busy_wait_warning = 0
            pr = 0x3d96c0
            c = 98 'b'
            __FUNCTION__ = "GNUNET_SCHEDULER_run"
    #7 0x62b8caf3 in GNUNET_SERVICE_run (argc=3, argv=0x6611f8,
        service_name=0x4275cd <__FUNCTION__.105211+1342> "mesh",
        options=GNUNET_SERVICE_OPTION_NONE, task=0x4206fb <run>, task_cls=0x0)
        at service.c:1478
            err = 0
            ret = 3
            cfg_fn = 0x6618a8 "~/.gnunet/gnunet.conf"
            opt_cfg_fn = 0x663e98 "C:\\Users\\slave\\AppData\\Roaming\\Cangote\\cang
    ote.conf"
            loglev = 0x0
            logfile = 0x0
            do_daemonize = 0
            i = 4294967295
            skew_offset = 52
            skew_variance = 8455215830297804292
            clock_offset = -5689566369
            sctx = {cfg = 0x660ce0, server = 0x663b40, addrs = 0x0,
              service_name = 0x4275cd <__FUNCTION__.105211+1342> "mesh",
              task = 0x4206fb <run>, task_cls = 0x0, v4_denied = 0x0,
              v6_denied = 0x0, v4_allowed = 0x6627c8, v6_allowed = 0x666248,
              my_handlers = 0x66e068, addrlens = 0x0, lsocks = 0x3d95e8,
              shutdown_task = 5, timeout = {rel_value_us = 18446744073709551615},
              ret = 1, ready_confirm_fd = -1, require_found = 1, match_uid = 1,
              match_gid = 1, options = GNUNET_SERVICE_OPTION_NONE}
            cfg = 0x660ce0
            xdg = 0x0
            service_options = {{shortName = 99 'c',
                name = 0x62ba711c <defhandlers+1308> "config",
                argumentHelp = 0x62ba7123 <defhandlers+1315> "FILENAME",
                description = 0x62ba712c <defhandlers+1324> "use configuration file
    FILENAME", require_argument = 1,
                processor = 0x62b6b55e <GNUNET_GETOPT_set_string>,
                scls = 0x28fe18}, {shortName = 100 'd',
                name = 0x62ba714c <defhandlers+1356> "daemonize",
                argumentHelp = 0x0,
                description = 0x62ba7158 <defhandlers+1368> "do daemonize (detach fr
    om terminal)", require_argument = 0,
                processor = 0x62b6b542 <GNUNET_GETOPT_set_one>, scls = 0x28fe0c},
              {shortName = 104 'h', name = 0x62ba717c <defhandlers+1404> "help",
                argumentHelp = 0x0,
                description = 0x62ba7181 <defhandlers+1409> "print this help",
                require_argument = 0,
                processor = 0x62b6b0d7 <GNUNET_GETOPT_format_help_>, scls = 0x0},
              {shortName = 76 'L', name = 0x62ba7191 <defhandlers+1425> "log",
                argumentHelp = 0x62ba7195 <defhandlers+1429> "LOGLEVEL",
                description = 0x62ba71a0 <defhandlers+1440> "configure logging to us
    e LOGLEVEL", require_argument = 1,
                processor = 0x62b6b55e <GNUNET_GETOPT_set_string>,
                scls = 0x28fe14}, {shortName = 108 'l',
                name = 0x62ba71c2 <defhandlers+1474> "logfile",
                argumentHelp = 0x62ba71ca <defhandlers+1482> "LOGFILE",
                description = 0x62ba71d4 <defhandlers+1492> "configure logging to wr
    ite logs to LOGFILE", require_argument = 1,
                processor = 0x62b6b55e <GNUNET_GETOPT_set_string>,
                scls = 0x28fe10}, {shortName = 118 'v',
                name = 0x62ba71ff <defhandlers+1535> "version",
                argumentHelp = 0x0,
                description = 0x62ba7207 <defhandlers+1543> "print the version numbe
    r", require_argument = 0,
                processor = 0x62b6b0a8 <GNUNET_GETOPT_print_version_>,
                scls = 0x62ba7220 <defhandlers+1568>}, {shortName = 0 '\000',
                name = 0x0, argumentHelp = 0x0, description = 0x0,
                require_argument = 0, processor = 0x0, scls = 0x0}}
            __FUNCTION__ = "GNUNET_SERVICE_run"
    #8 0x00420aa5 in main (argc=3, argv=0x6611f8) at gnunet-service-mesh.c:161
            ret = 52
            r = 52
    (gdb)
TagsNo tags attached.

Relationships

has duplicate 0003131 closedBart Polot mesh crash causes consensus to fail 

Activities

bratao

2013-11-22 18:03

developer   ~0007676

Another crash with the same dump happened in the exact moment I did a search in another machine.

A - > B
- Did a search in B
- A crashed.

Bart Polot

2013-11-26 16:35

manager   ~0007708

Fixed in 30875.

Issue History

Date Modified Username Field Change
2013-11-21 21:21 bratao New Issue
2013-11-21 21:21 bratao Status new => assigned
2013-11-21 21:21 bratao Assigned To => Bart Polot
2013-11-22 18:03 bratao Note Added: 0007676
2013-11-26 16:35 Bart Polot Note Added: 0007708
2013-11-26 16:35 Bart Polot Status assigned => resolved
2013-11-26 16:35 Bart Polot Fixed in Version => Git master
2013-11-26 16:35 Bart Polot Resolution open => fixed
2013-11-26 16:35 Bart Polot Relationship added has duplicate 0003131
2013-11-26 23:40 Christian Grothoff Fixed in Version Git master => 0.10.0
2013-11-26 23:40 Christian Grothoff Target Version => 0.10.0
2013-12-24 20:54 Christian Grothoff Status resolved => closed
2014-05-09 18:34 Christian Grothoff Category mesh service => cadet service