View Issue Details

IDProjectCategoryView StatusLast Update
0001904GNUnetcadet servicepublic2011-11-30 18:38
ReporterLRN Assigned ToBart Polot  
PriorityhighSeveritymajorReproducibilityunable to reproduce
Status closedResolutionunable to reproduce 
Product VersionGit master 
Target Version0.9.0Fixed in Version0.9.0 
Summary0001904: Crash in mesh service during mesh multicast test
Descriptionr18138
Backtrace is hardly useful, but this is all i've got at the moment.
Additional InformationAttaching to process 13420
[New Thread 13420.0x3038]
[New Thread 13420.0x1ae0]
[New Thread 13420.0x14e0]
[New Thread 13420.0x2764]
Reading symbols from d:\progs\gnunet\bin\gnunet-service-mesh.exe...done.
[Switching to Thread 13420.0x2764]
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 13420.0x3038]
0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll
[Switching to thread 1 (Thread 13420.0x3038)]
#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 0x0028f46c in ?? ()
#4 0x695056a1 in _fu230__skip_log () at core_api.c:993
#5 0x62483949 in receive_task (cls=0x1f3e118, tc=0x28fc80) at client.c:541
#6 0x624b3b9b in run_ready (rs=0x1f3c590, ws=0x1f3c6a8) at scheduler.c:684
#7 0x624b42e3 in GNUNET_SCHEDULER_run (task=0x624be19c <service_task>, task_cls=0x28fe18) at scheduler.c:864
#8 0x624bee80 in GNUNET_SERVICE_run (argc=5, argv=0x1f3ab88, serviceName=0x414f20 "mesh", opt=GNUNET_SERVICE_OPTION_NONE, task=0x40e349 <run>,
    task_cls=0x0) at service.c:1584
#9 0x0040e9fd in _fu716__skip_log () at gnunet-service-mesh.c:4474
(gdb) up 4
#4 0x695056a1 in _fu230__skip_log () at core_api.c:993
993 h->handlers[hpos].callback (h->cls, &ntm->peer, em, &ntm->ats,
(gdb) l *((DWORD*)0x0028f46c)[3]
0x4098a7 is in handle_mesh_path_ack (gnunet-service-mesh.c:3073).
3068 }
3069
3070 /* Add paths to peers */
3071 peer_info = peer_info_get (&msg->peer_id);
3072 p = tree_get_path_to_peer(t->tree, peer_info->id);
3073 for (i = 1; i < p->length && p->peers[i] != myid; i++) /* skip'em */;
3074 for (i++; i < p->length; i++)
3075 {
3076 struct MeshPeerInfo *aux;
3077 struct MeshPeerPath *copy;
TagsNo tags attached.
Attached Files
crashinfo8.txt (2,092 bytes)   
Attaching to process 13420
[New Thread 13420.0x3038]
[New Thread 13420.0x1ae0]
[New Thread 13420.0x14e0]
[New Thread 13420.0x2764]
Reading symbols from d:\progs\gnunet\bin\gnunet-service-mesh.exe...done.
[Switching to Thread 13420.0x2764]
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 13420.0x3038]
0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll
[Switching to thread 1 (Thread 13420.0x3038)]
#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  0x0028f46c in ?? ()
#4  0x695056a1 in _fu230__skip_log () at core_api.c:993
#5  0x62483949 in receive_task (cls=0x1f3e118, tc=0x28fc80) at client.c:541
#6  0x624b3b9b in run_ready (rs=0x1f3c590, ws=0x1f3c6a8) at scheduler.c:684
#7  0x624b42e3 in GNUNET_SCHEDULER_run (task=0x624be19c <service_task>, task_cls=0x28fe18) at scheduler.c:864
#8  0x624bee80 in GNUNET_SERVICE_run (argc=5, argv=0x1f3ab88, serviceName=0x414f20 "mesh", opt=GNUNET_SERVICE_OPTION_NONE, task=0x40e349 <run>,
    task_cls=0x0) at service.c:1584
#9  0x0040e9fd in _fu716__skip_log () at gnunet-service-mesh.c:4474
(gdb) up 4
#4  0x695056a1 in _fu230__skip_log () at core_api.c:993
993               h->handlers[hpos].callback (h->cls, &ntm->peer, em, &ntm->ats,
(gdb) l *((DWORD*)0x0028f46c)[3]
0x4098a7 is in handle_mesh_path_ack (gnunet-service-mesh.c:3073).
3068      }
3069
3070      /* Add paths to peers */
3071      peer_info = peer_info_get (&msg->peer_id);
3072      p = tree_get_path_to_peer(t->tree, peer_info->id);
3073      for (i = 1; i < p->length && p->peers[i] != myid; i++) /* skip'em */;
3074      for (i++; i < p->length; i++)
3075      {
3076        struct MeshPeerInfo *aux;
3077        struct MeshPeerPath *copy;
crashinfo8.txt (2,092 bytes)   

Activities

LRN

2011-11-16 09:04

developer   ~0004925

Suggestion: check that tree_get_path_to_peer() return value is non-NULL

Bart Polot

2011-11-16 10:44

manager   ~0004926

Yes, I should do that but with an assert. The problem is that tree_get_path_to_peer should never return NULL, I'm trying to find out why it does so, but so far I haven't been able to reproduce it.

Bart Polot

2011-11-16 13:50

manager   ~0004928

If it happens again, could you copypaste the last debug statements from the log?

Bart Polot

2011-11-17 16:48

manager   ~0004941

Added more debug info at 18191, now it won't crash but GNUNET_break instead. Please include log if seen again!

Christian Grothoff

2011-11-28 19:12

manager   ~0004997

Unseen in the wild for a while, calling resolved for now...

Issue History

Date Modified Username Field Change
2011-11-14 20:06 LRN New Issue
2011-11-14 20:06 LRN Status new => assigned
2011-11-14 20:06 LRN Assigned To => Bart Polot
2011-11-14 20:06 LRN File Added: crashinfo8.txt
2011-11-14 23:28 Christian Grothoff Target Version => 0.9.0
2011-11-15 13:56 Christian Grothoff Priority normal => high
2011-11-16 09:04 LRN Note Added: 0004925
2011-11-16 10:44 Bart Polot Note Added: 0004926
2011-11-16 13:50 Bart Polot Note Added: 0004928
2011-11-17 16:48 Bart Polot Note Added: 0004941
2011-11-17 16:48 Bart Polot Status assigned => feedback
2011-11-17 16:48 Bart Polot Severity crash => major
2011-11-18 13:41 Christian Grothoff Reproducibility have not tried => unable to reproduce
2011-11-24 17:17 Christian Grothoff Target Version 0.9.0 =>
2011-11-26 09:50 Christian Grothoff Target Version => 0.9.0
2011-11-28 19:12 Christian Grothoff Note Added: 0004997
2011-11-28 19:12 Christian Grothoff Status feedback => resolved
2011-11-28 19:12 Christian Grothoff Resolution open => unable to reproduce
2011-11-28 19:12 Christian Grothoff Fixed in 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