View Issue Details

IDProjectCategoryView StatusLast Update
0001900GNUnetcadet servicepublic2011-11-30 18:38
ReporterLRN Assigned ToBart Polot  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.0Fixed in Version0.9.0 
Summary0001900: Crash in mesh service, in tree_get_path_to_peer
Descriptionr18118, while running test_mesh_local_2
crashinfo6 contains a copy of the backtrace
Additional InformationAttaching to process 11176
[New Thread 11176.0x1ebc]
[New Thread 11176.0x2878]
[New Thread 11176.0x156c]
[New Thread 11176.0x1c40]
Reading symbols from d:\progs\gnunet\bin\gnunet-service-mesh.exe...done.
[Switching to Thread 11176.0x1c40]
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 11176.0x1ebc]
0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll
[Switching to thread 1 (Thread 11176.0x1ebc)]
#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 0x0028f44c in ?? ()
#4 0x00402f44 in peer_info_connect (peer=0x1d63f88, t=0x1d646c8) at gnunet-service-mesh.c:1304
#5 0x0040a16e in _fu455__skip_log () at gnunet-service-mesh.c:3314
#6 0x00021f72 in _fu29__skip_log () at dht_api.c:495
#7 0x62494f13 in GNUNET_CONTAINER_multihashmap_get_multiple (map=0x1d5d0b0, key=0x28fb70, it=0x21d82 <process_reply>, it_cls=0x28fb50)
    at container_multihashmap.c:485
#8 0x00022150 in _fu35__skip_log () at dht_api.c:542
#9 0x62483949 in receive_task (cls=0x1d63ed0, tc=0x28fc80) at client.c:541
#10 0x624b3b9b in run_ready (rs=0x1d5c160, ws=0x1d5c278) at scheduler.c:684
#11 0x624b42e3 in GNUNET_SCHEDULER_run (task=0x624be19c <service_task>, task_cls=0x28fe18) at scheduler.c:864
#12 0x624bee80 in GNUNET_SERVICE_run (argc=5, argv=0x1d5a9b0, serviceName=0x414f20 "mesh", opt=GNUNET_SERVICE_OPTION_NONE, task=0x40e1d5 <run>,
    task_cls=0x0) at service.c:1584
#13 0x0040e889 in _fu713__skip_log () at gnunet-service-mesh.c:4455
(gdb) up 4
#4 0x00402f44 in peer_info_connect (peer=0x1d63f88, t=0x1d646c8) at gnunet-service-mesh.c:1304
1304 p = tree_get_path_to_peer (t->tree, peer->id);
(gdb) l *((DWORD*)0x0028f44c)[3]
0x4101ce is in tree_get_path_to_peer (mesh_tunnel_tree.c:721).
716 struct MeshPeerPath *
717 tree_get_path_to_peer (struct MeshTunnelTree *t, GNUNET_PEER_Id peer)
718 {
719 struct MeshTunnelTreeNode *n;
720 struct MeshPeerPath *p;
721 GNUNET_PEER_Id myid = t->me->peer;
722
723 n = tree_find_peer (t, peer);
724 if (NULL == n)
725 return NULL;
(gdb) p t->tree
$1 = (struct MeshTunnelTree *) 0x1d5afb0
(gdb) p t->tree->me
$2 = (struct MeshTunnelTreeNode *) 0x0
(gdb) p *t->tree
$3 = {root = 0x1d60838, me = 0x0, disconnected_head = 0x0, disconnected_tail = 0x0, first_hops = 0x1d5d068}
TagsNo tags attached.
Attached Files
crashinfo6.txt (2,703 bytes)   
Attaching to process 11176
[New Thread 11176.0x1ebc]
[New Thread 11176.0x2878]
[New Thread 11176.0x156c]
[New Thread 11176.0x1c40]
Reading symbols from d:\progs\gnunet\bin\gnunet-service-mesh.exe...done.
[Switching to Thread 11176.0x1c40]
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 11176.0x1ebc]
0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll
[Switching to thread 1 (Thread 11176.0x1ebc)]
#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  0x0028f44c in ?? ()
#4  0x00402f44 in peer_info_connect (peer=0x1d63f88, t=0x1d646c8) at gnunet-service-mesh.c:1304
#5  0x0040a16e in _fu455__skip_log () at gnunet-service-mesh.c:3314
#6  0x00021f72 in _fu29__skip_log () at dht_api.c:495
#7  0x62494f13 in GNUNET_CONTAINER_multihashmap_get_multiple (map=0x1d5d0b0, key=0x28fb70, it=0x21d82 <process_reply>, it_cls=0x28fb50)
    at container_multihashmap.c:485
#8  0x00022150 in _fu35__skip_log () at dht_api.c:542
#9  0x62483949 in receive_task (cls=0x1d63ed0, tc=0x28fc80) at client.c:541
#10 0x624b3b9b in run_ready (rs=0x1d5c160, ws=0x1d5c278) at scheduler.c:684
#11 0x624b42e3 in GNUNET_SCHEDULER_run (task=0x624be19c <service_task>, task_cls=0x28fe18) at scheduler.c:864
#12 0x624bee80 in GNUNET_SERVICE_run (argc=5, argv=0x1d5a9b0, serviceName=0x414f20 "mesh", opt=GNUNET_SERVICE_OPTION_NONE, task=0x40e1d5 <run>,
    task_cls=0x0) at service.c:1584
#13 0x0040e889 in _fu713__skip_log () at gnunet-service-mesh.c:4455
(gdb) up 4
#4  0x00402f44 in peer_info_connect (peer=0x1d63f88, t=0x1d646c8) at gnunet-service-mesh.c:1304
1304        p = tree_get_path_to_peer (t->tree, peer->id);
(gdb) l *((DWORD*)0x0028f44c)[3]
0x4101ce is in tree_get_path_to_peer (mesh_tunnel_tree.c:721).
716     struct MeshPeerPath *
717     tree_get_path_to_peer (struct MeshTunnelTree *t, GNUNET_PEER_Id peer)
718     {
719       struct MeshTunnelTreeNode *n;
720       struct MeshPeerPath *p;
721       GNUNET_PEER_Id myid = t->me->peer;
722
723       n = tree_find_peer (t, peer);
724       if (NULL == n)
725         return NULL;
(gdb) p t->tree
$1 = (struct MeshTunnelTree *) 0x1d5afb0
(gdb) p t->tree->me
$2 = (struct MeshTunnelTreeNode *) 0x0
(gdb) p *t->tree
$3 = {root = 0x1d60838, me = 0x0, disconnected_head = 0x0, disconnected_tail = 0x0, first_hops = 0x1d5d068}
crashinfo6.txt (2,703 bytes)   

Activities

Bart Polot

2011-11-13 00:08

manager   ~0004907

Fixed in r18121.

Issue History

Date Modified Username Field Change
2011-11-12 14:59 LRN New Issue
2011-11-12 14:59 LRN Status new => assigned
2011-11-12 14:59 LRN Assigned To => Bart Polot
2011-11-12 14:59 LRN File Added: crashinfo6.txt
2011-11-13 00:08 Bart Polot Note Added: 0004907
2011-11-13 00:08 Bart Polot Status assigned => resolved
2011-11-13 00:08 Bart Polot Fixed in Version => Git master
2011-11-13 00:08 Bart Polot Resolution open => fixed
2011-11-15 16:22 Bart Polot Fixed in Version Git master => 0.9.0
2011-11-15 16:22 Bart Polot Target Version => 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