View Issue Details

IDProjectCategoryView StatusLast Update
0002506GNUnetcadet servicepublic2012-11-05 18:33
ReporterBart Polot Assigned ToBart Polot  
PriorityhighSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002506: Memory corruption in mesh local test 1
Description#0 0x00007f7e36ab78ed in findSection (cfg=0x91, section=0x1412260 "")
    at configuration.c:659
659 pos = cfg->sections;
(gdb) bt
#0 0x00007f7e36ab78ed in findSection (cfg=0x91, section=0x1412260 "")
    at configuration.c:659
#1 0x00007f7e36ab7950 in findEntry (cfg=0x91, section=0x1412260 "",
    key=0x7f7e36af8ca0 "UNIXPATH") at configuration.c:681
#2 0x00007f7e36ab7dae in GNUNET_CONFIGURATION_get_value_string (cfg=0x91,
    section=0x1412260 "", option=0x7f7e36af8ca0 "UNIXPATH", value=0x7fff3583ad58)
    at configuration.c:893
#3 0x00007f7e36ab0a52 in try_unixpath (service_name=0x1412260 "", cfg=0x91)
    at client.c:267
#4 0x00007f7e36ab0e3e in do_connect (service_name=0x1412260 "", cfg=0x91, attempt=0)
    at client.c:353
#5 0x00007f7e36ab2a27 in client_delayed_retry (cls=0x1411cd0, tc=0x7fff3583ae60)
    at client.c:946
#6 0x00007f7e36ae51c1 in run_ready (rs=0x140f160, ws=0x140f1f0) at scheduler.c:602
#7 0x00007f7e36ae5992 in GNUNET_SCHEDULER_run (task=0x7f7e3689ea23 <service_run_main>,
    task_cls=0x7fff3583afc0) at scheduler.c:790
#8 0x00007f7e3689ecb6 in GNUNET_TESTING_service_run (
    testdir=0x401840 "test-mesh-local-1", service_name=0x7f7e3689f1d1 "arm",
    cfgfilename=0x401831 "test_mesh.conf", tm=0x4013b5 <run>, tm_cls=0x0)
    at testing.c:1114
#9 0x00007f7e3689ea21 in GNUNET_TESTING_peer_run (
    testdir=0x401840 "test-mesh-local-1", cfgfilename=0x401831 "test_mesh.conf",
    tm=0x4013b5 <run>, tm_cls=0x0) at testing.c:999
#10 0x00000000004015df in main (argc=1, argv=0x7fff3583b138) at test_mesh_local_1.c:289
Additional Informationr22884

(gdb) bt full
#0 0x00007f7e36ab78ed in findSection (cfg=0x91, section=0x1412260 "")
    at configuration.c:659
        pos = 0x43400400b20
#1 0x00007f7e36ab7950 in findEntry (cfg=0x91, section=0x1412260 "",
    key=0x7f7e36af8ca0 "UNIXPATH") at configuration.c:681
        sec = 0x138bbb32bba
        pos = 0x1411cd0
#2 0x00007f7e36ab7dae in GNUNET_CONFIGURATION_get_value_string (cfg=0x91,
    section=0x1412260 "", option=0x7f7e36af8ca0 "UNIXPATH", value=0x7fff3583ad58)
    at configuration.c:893
        e = 0x46436ab3b69
#3 0x00007f7e36ab0a52 in try_unixpath (service_name=0x1412260 "", cfg=0x91)
    at client.c:267
        connection = 0x1411cd0
        unixpath = 0x0
        s_un = {sun_family = 44320,
          sun_path = "\203\065\377\177\000\000\320\034A\001\000\000\000\000 \255\203\065\377\177\000\000\031g\256\066~\177\000\000\320\034A\001\000\000\000\000\320\034A\001", '\000' <repeats 12 times>"\276, )\253\066~\177\000\000\220\255\203\065\377\177\000\000\a3\253\066~\177\000\000\200\035A\001\000\000\000\000\027Ji6~\177\000\000\377\377\377\377\377\377\377\377e 05\001"}
        __FUNCTION__ = "try_unixpath"
#4 0x00007f7e36ab0e3e in do_connect (service_name=0x1412260 "", cfg=0x91, attempt=0)
    at client.c:353
        connection = 0x0
        hostname = 0x400b20 "1\355I\211\321^H\211\342H\203\344\360PTI\307\300\220\026@"
        port = 140734091210272
        __FUNCTION__ = "do_connect"
#5 0x00007f7e36ab2a27 in client_delayed_retry (cls=0x1411cd0, tc=0x7fff3583ae60)
    at client.c:946
        th = 0x1411cd0
        delay = {rel_value = 140734091210320}
        __FUNCTION__ = "client_delayed_retry"
#6 0x00007f7e36ae51c1 in run_ready (rs=0x140f160, ws=0x140f1f0) at scheduler.c:602
        p = GNUNET_SCHEDULER_PRIORITY_DEFAULT
        pos = 0x1411c70
        tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT, read_ready = 0x140f160,
          write_ready = 0x140f1f0}
        __FUNCTION__ = "run_ready"
#7 0x00007f7e36ae5992 in GNUNET_SCHEDULER_run (task=0x7f7e3689ea23 <service_run_main>,
    task_cls=0x7fff3583afc0) at scheduler.c:790
        rs = 0x140f160
        ws = 0x140f1f0
        timeout = {rel_value = 0}
        ret = 0
        shc_int = 0x140f2a0
        shc_term = 0x140f350
        shc_quit = 0x140f4b0
        shc_hup = 0x140f560
        shc_pipe = 0x140f400
        last_tr = 28
        busy_wait_warning = 0
---Type <return> to continue, or q <return> to quit---
        pr = 0x140f290
        c = 0 '\000'
        __FUNCTION__ = "GNUNET_SCHEDULER_run"
#8 0x00007f7e3689ecb6 in GNUNET_TESTING_service_run (
    testdir=0x401840 "test-mesh-local-1", service_name=0x7f7e3689f1d1 "arm",
    cfgfilename=0x401831 "test_mesh.conf", tm=0x4013b5 <run>, tm_cls=0x0)
    at testing.c:1114
        sc = {cfg = 0x1409d30, tm = 0x4013b5 <run>, peer = 0x140e450, tm_cls = 0x0}
        system = 0x140a090
        peer = 0x140e450
        cfg = 0x1409d30
        __FUNCTION__ = "GNUNET_TESTING_service_run"
#9 0x00007f7e3689ea21 in GNUNET_TESTING_peer_run (
    testdir=0x401840 "test-mesh-local-1", cfgfilename=0x401831 "test_mesh.conf",
    tm=0x4013b5 <run>, tm_cls=0x0) at testing.c:999
No locals.
#10 0x00000000004015df in main (argc=1, argv=0x7fff3583b138) at test_mesh_local_1.c:289
No locals.
(gdb)
TagsNo tags attached.

Activities

Bart Polot

2012-09-27 16:20

reporter   ~0006381

Assumed resolved after several coverity/valgrind fixes since r22884.

Issue History

Date Modified Username Field Change
2012-07-25 03:20 Bart Polot New Issue
2012-07-25 03:20 Bart Polot Status new => assigned
2012-07-25 03:20 Bart Polot Assigned To => Bart Polot
2012-09-17 13:00 Christian Grothoff Priority low => high
2012-09-27 16:16 Christian Grothoff Target Version => 0.9.4
2012-09-27 16:20 Bart Polot Note Added: 0006381
2012-09-27 16:20 Bart Polot Status assigned => resolved
2012-09-27 16:20 Bart Polot Fixed in Version => Git master
2012-09-27 16:20 Bart Polot Resolution open => fixed
2012-10-06 16:39 Christian Grothoff Fixed in Version Git master => 0.9.4
2012-11-05 18:33 Christian Grothoff Status resolved => closed
2014-05-09 18:34 Christian Grothoff Category mesh service => cadet service