View Issue Details

IDProjectCategoryView StatusLast Update
0003138GNUnettesting librarypublic2013-12-24 20:53
ReporterBart Polot Assigned ToSree Harsha Totakura  
PrioritylowSeveritycrashReproducibilityrandom
Status closedResolutionunable to reproduce 
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0003138: Weird testing library / util crash
Description(gdb) bt
#0 0x00007f93b23027a8 in malloc_consolidate () from /usr/lib/libc.so.6
#1 0x00007f93b2303998 in _int_malloc () from /usr/lib/libc.so.6
#2 0x00007f93b2305c50 in malloc () from /usr/lib/libc.so.6
#3 0x00007f93b233ca01 in __alloc_dir () from /usr/lib/libc.so.6
#4 0x00007f93b4625649 in GNUNET_DISK_directory_scan (dir_name=0x83e700 "/tmp/test-mesh-locale6jhR3",
    callback=0x7f93b4625d56 <remove_helper>, callback_cls=0x0) at disk.c:1191
#5 0x00007f93b4625faa in GNUNET_DISK_directory_remove (filename=0x83e700 "/tmp/test-mesh-locale6jhR3")
    at disk.c:1430
#6 0x00007f93b43ea670 in GNUNET_TESTING_system_destroy (system=0x840b70, remove_paths=1) at testing.c:555
#7 0x00007f93b43ed851 in GNUNET_TESTING_service_run (testdir=0x401db0 "test-mesh-local",
    service_name=0x7f93b43edbf3 "arm", cfgfilename=0x401da1 "test_mesh.conf", tm=0x4018ae <run>, tm_cls=0x0)
    at testing.c:1749
#8 0x00007f93b43ed463 in GNUNET_TESTING_peer_run (testdir=0x401db0 "test-mesh-local",
    cfgfilename=0x401da1 "test_mesh.conf", tm=0x4018ae <run>, tm_cls=0x0) at testing.c:1608
#9 0x0000000000401ab5 in main (argc=1, argv=0x7fff8fc77268) at test_mesh_local.c:322
Steps To ReproduceOnly happened once, running a testcase with one peer and two mesh clients, and pressing Ctrl+C in the middle of it.
Additional Information(gdb) bt full
#0 0x00007f93b23027a8 in malloc_consolidate () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007f93b2303998 in _int_malloc () from /usr/lib/libc.so.6
No symbol table info available.
#2 0x00007f93b2305c50 in malloc () from /usr/lib/libc.so.6
No symbol table info available.
#3 0x00007f93b233ca01 in __alloc_dir () from /usr/lib/libc.so.6
No symbol table info available.
#4 0x00007f93b4625649 in GNUNET_DISK_directory_scan (dir_name=0x83e700 "/tmp/test-mesh-locale6jhR3",
    callback=0x7f93b4625d56 <remove_helper>, callback_cls=0x0) at disk.c:1191
        dinfo = 0x7f93b4877225 <_dl_runtime_resolve+53>
        finfo = 0x400f80 <_start>
        istat = {st_dev = 31, st_ino = 1222345, st_nlink = 3, st_mode = 16832, st_uid = 1000, st_gid = 100,
          __pad0 = 0, st_rdev = 0, st_size = 60, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1385568496,
            tv_nsec = 896770962}, st_mtim = {tv_sec = 1385568496, tv_nsec = 900104295}, st_ctim = {
            tv_sec = 1385568498, tv_nsec = 566771004}, __unused = {0, 0, 0}}
        count = 0
        ret = 32767
        name = 0x83e700 "/tmp/test-mesh-locale6jhR3"
        dname = 0x84add0 "/tmp/test-mesh-locale6jhR3"
        name_len = 0
        n_size = 448
        __FUNCTION__ = "GNUNET_DISK_directory_scan"
#5 0x00007f93b4625faa in GNUNET_DISK_directory_remove (filename=0x83e700 "/tmp/test-mesh-locale6jhR3")
    at disk.c:1430
        istat = {st_dev = 31, st_ino = 1222345, st_nlink = 3, st_mode = 16832, st_uid = 1000, st_gid = 100,
          __pad0 = 0, st_rdev = 0, st_size = 60, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1385568496,
            tv_nsec = 896770962}, st_mtim = {tv_sec = 1385568496, tv_nsec = 900104295}, st_ctim = {
            tv_sec = 1385568496, tv_nsec = 900104295}, __unused = {0, 0, 0}}
        __FUNCTION__ = "GNUNET_DISK_directory_remove"
#6 0x00007f93b43ea670 in GNUNET_TESTING_system_destroy (system=0x840b70, remove_paths=1) at testing.c:555
        ss = 0x101
        i = 0x0
        ss_cnt = 0
        i_cnt = 3030908928
#7 0x00007f93b43ed851 in GNUNET_TESTING_service_run (testdir=0x401db0 "test-mesh-local",
    service_name=0x7f93b43edbf3 "arm", cfgfilename=0x401da1 "test_mesh.conf", tm=0x4018ae <run>, tm_cls=0x0)
    at testing.c:1749
        sc = {cfg = 0x840720, tm = 0x4018ae <run>, peer = 0x857740, tm_cls = 0x0}
        system = 0x840b70
        peer = 0x857740
        cfg = 0x840720
        binary = 0x85dd40 "@߅"
        libexec_binary = 0x85ddd0 "\002"
        __FUNCTION__ = "GNUNET_TESTING_service_run"
#8 0x00007f93b43ed463 in GNUNET_TESTING_peer_run (testdir=0x401db0 "test-mesh-local",
    cfgfilename=0x401da1 "test_mesh.conf", tm=0x4018ae <run>, tm_cls=0x0) at testing.c:1608
No locals.
#9 0x0000000000401ab5 in main (argc=1, argv=0x7fff8fc77268) at test_mesh_local.c:322
        __FUNCTION__ = "main"
(gdb) quit
[bart@voyager ~/g/src/mesh]$ ls /tmp/test-mesh-locale6jhR3/
0
[bart@voyager ~/g/src/mesh]$
TagsNo tags attached.

Activities

Christian Grothoff

2013-12-12 10:01

manager   ~0007850

Cannot reproduce anymore (according to Bart & Sree).

Issue History

Date Modified Username Field Change
2013-11-27 17:19 Bart Polot New Issue
2013-11-27 17:19 Bart Polot Status new => assigned
2013-11-27 17:19 Bart Polot Assigned To => Sree Harsha Totakura
2013-12-12 10:01 Christian Grothoff Note Added: 0007850
2013-12-12 10:01 Christian Grothoff Status assigned => resolved
2013-12-12 10:01 Christian Grothoff Fixed in Version => 0.10.0
2013-12-12 10:01 Christian Grothoff Resolution open => unable to reproduce
2013-12-12 10:01 Christian Grothoff Target Version => 0.10.0
2013-12-24 20:53 Christian Grothoff Status resolved => closed