View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001871 | GNUnet | cadet service | public | 2011-11-02 14:29 | 2011-11-30 18:38 |
Reporter | LRN | Assigned To | Bart Polot | ||
Priority | urgent | Severity | crash | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 0.9.0 | Fixed in Version | 0.9.0 | ||
Summary | 0001871: crash in mesh service during test_mesh_small_unicast | ||||
Description | I don't think i've seen this one before. Also, this one is with slightly better stacktrace (made GNUNET_assert() a function). This is r17917 | ||||
Steps To Reproduce | run test_mesh_small_unicast on W32 | ||||
Additional Information | Attaching to process 1096 [New Thread 1096.0x2748] [New Thread 1096.0x738] [New Thread 1096.0x197c] [New Thread 1096.0x1dc0] Reading symbols from d:\progs\gnunet\bin\gnunet-service-mesh.exe...done. [Switching to Thread 1096.0x1dc0] Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 1096.0x2748] 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll (gdb) thread 1 [Switching to thread 1 (Thread 1096.0x2748)] #0 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll (gdb) bt #0 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll #1 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll #2 0x7724015e in ntdll!LdrFindResource_U () from E:\Windows\SysWOW64\ntdll.dll #3 0x0028f598 in ?? () #4 0x624a6c3b in GNUNET_PEER_decrement_rcs (ids=0x1d2d520, count=4) at peer.c:176 #5 0x0040dd96 in path_destroy (p=0x1d2d460) at mesh_tunnel_tree.c:182 #6 0x00403501 in _fu86__skip_log () at gnunet-service-mesh.c:1417 #7 0x0040d11e in shutdown_peer (cls=0x0, key=0x28fbc0, value=0x1d363c8) at gnunet-service-mesh.c:4311 #8 0x62491752 in GNUNET_CONTAINER_multihashmap_iterate (map=0x1d2d328, it=0x40d107 <shutdown_peer>, it_cls=0x0) at container_multihashmap.c:213 #9 0x0040d1f9 in _fu608__skip_log () at gnunet-service-mesh.c:4332 #10 0x624ac779 in run_ready (rs=0x1d2c680, ws=0x1d2c798) at scheduler.c:685 #11 0x624accb8 in GNUNET_SCHEDULER_run (task=0x624b57f9 <service_task>, task_cls=0x28fe18) at scheduler.c:867 #12 0x624b64dd in GNUNET_SERVICE_run (argc=5, argv=0x1d2aba8, serviceName=0x412ef0 "mesh", opt=GNUNET_SERVICE_OPTION_NONE, task=0x40d2eb <run>, task_cls=0x0) at service.c:1608 #13 0x0040d98a in _fu632__skip_log () at gnunet-service-mesh.c:4478 (gdb) up 4 #4 0x624a6c3b in GNUNET_PEER_decrement_rcs (ids=0x1d2d520, count=4) at peer.c:176 176 GNUNET_assert (table[id].rc > 0); (gdb) p table[id].rc $1 = 0 | ||||
Tags | No tags attached. | ||||
|
Probably fixed in r17922. In case it happens again, it would help a lot to have: #5 p->length (uint) #5 p->peers (p->lenght * uint) #7 ((struct MeshPeerInfo *) value)->id (uint) |
|
Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 9252.0x267c] 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll [Switching to thread 1 (Thread 9252.0x267c)] #0 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll #0 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll #1 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll #2 0x7724015e in ntdll!LdrFindResource_U () from E:\Windows\SysWOW64\ntdll.dll #3 0x0028f598 in ?? () #4 0x624a6c3b in GNUNET_PEER_decrement_rcs (ids=0x1f1d690, count=4) at peer.c:176 #5 0x0040dd96 in path_destroy (p=0x1f1d6f0) at mesh_tunnel_tree.c:182 #6 0x00403501 in _fu86__skip_log () at gnunet-service-mesh.c:1417 #7 0x0040d11e in shutdown_peer (cls=0x0, key=0x28fbc0, value=0x1f245e8) at gnunet-service-mesh.c:4311 #8 0x62491752 in GNUNET_CONTAINER_multihashmap_iterate (map=0x1f1d540, it=0x40d107 <shutdown_peer>, it_cls=0x0) at container_multihashmap.c:213 #9 0x0040d1f9 in _fu608__skip_log () at gnunet-service-mesh.c:4332 #10 0x624ac779 in run_ready (rs=0x1f1c678, ws=0x1f1c790) at scheduler.c:685 #11 0x624accb8 in GNUNET_SCHEDULER_run (task=0x624b57f9 <service_task>, task_cls=0x28fe18) at scheduler.c:867 #12 0x624b64dd in GNUNET_SERVICE_run (argc=5, argv=0x1f1aba8, serviceName=0x412ef0 "mesh", opt=GNUNET_SERVICE_OPTION_NONE, task=0x40d2eb <run>, task_cls=0x0) at service.c:1608 #13 0x0040d98a in _fu632__skip_log () at gnunet-service-mesh.c:4478 (gdb) up 5 #5 0x0040dd96 in path_destroy (p=0x1f1d6f0) at mesh_tunnel_tree.c:182 182 GNUNET_PEER_decrement_rcs (p->peers, p->length); (gdb) p p->length $1 = 4 (gdb) p p->peers[0] $4 = 1 (gdb) p p->peers[1] $6 = 2 (gdb) p p->peers[2] $7 = 7 (gdb) p p->peers[3] $8 = 7 (gdb) up 2 #7 0x0040d11e in shutdown_peer (cls=0x0, key=0x28fbc0, value=0x1f245e8) at gnunet-service-mesh.c:4311 4311 peer_info_destroy (p); (gdb) p ((struct MeshPeerInfo *) value)->id $9 = 5 |
|
Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 9464.0x1820] 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll [Switching to thread 1 (Thread 9464.0x1820)] #0 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll #0 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll #1 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll #2 0x7724015e in ntdll!LdrFindResource_U () from E:\Windows\SysWOW64\ntdll.dll #3 0x0028f2c8 in ?? () #4 0x004039af in _fu86__skip_log () at gnunet-service-mesh.c:1582 #5 0x00406fa8 in _fu236__skip_log () at gnunet-service-mesh.c:2670 #6 0x695042b9 in _fu110__skip_log () at core_api.c:996 #7 0x624836c6 in receive_task (cls=0x1d1e100, tc=0x28fc98) at client.c:545 #8 0x624ac9d1 in run_ready (rs=0x1d1c570, ws=0x1d1c688) at scheduler.c:685 #9 0x624acf10 in GNUNET_SCHEDULER_run (task=0x624b5a51 <service_task>, task_cls=0x28fe18) at scheduler.c:867 #10 0x624b6735 in GNUNET_SERVICE_run (argc=5, argv=0x1d1ab80, serviceName=0x412e60 "mesh", opt=GNUNET_SERVICE_OPTION_NONE, task=0x40d094 <run>, task_cls=0x0) at service.c:1608 #11 0x0040d748 in _fu614__skip_log () at gnunet-service-mesh.c:4507 |
|
Fixed in r18001, caused by incorrect path shortening when adding to peer. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-11-02 14:29 | LRN | New Issue | |
2011-11-02 14:29 | LRN | Status | new => assigned |
2011-11-02 14:29 | LRN | Assigned To | => Bart Polot |
2011-11-02 15:07 | Bart Polot | Note Added: 0004824 | |
2011-11-02 15:07 | Bart Polot | Status | assigned => resolved |
2011-11-02 15:07 | Bart Polot | Fixed in Version | => Git master |
2011-11-02 15:07 | Bart Polot | Resolution | open => fixed |
2011-11-02 15:43 | Bart Polot | Note Added: 0004826 | |
2011-11-02 15:43 | Bart Polot | Status | resolved => feedback |
2011-11-02 15:43 | Bart Polot | Resolution | fixed => reopened |
2011-11-02 15:50 | Bart Polot | Status | feedback => assigned |
2011-11-04 11:22 | Christian Grothoff | Priority | normal => urgent |
2011-11-04 11:22 | Christian Grothoff | Target Version | => 0.9.0 |
2011-11-04 11:25 | Christian Grothoff | Severity | minor => crash |
2011-11-04 14:37 | LRN | Note Added: 0004857 | |
2011-11-04 15:22 | Bart Polot | Note Added: 0004858 | |
2011-11-04 15:22 | Bart Polot | Status | assigned => resolved |
2011-11-04 15:22 | Bart Polot | Resolution | reopened => fixed |
2011-11-05 19:55 | Christian Grothoff | Product Version | Git master => 0.9.0pre4 |
2011-11-05 19:55 | Christian Grothoff | Fixed in Version | Git master => 0.9.0 |
2011-11-30 18:38 | Christian Grothoff | Status | resolved => closed |
2014-05-09 18:34 | Christian Grothoff | Category | mesh service => cadet service |