View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001888 | GNUnet | transport service | public | 2011-11-08 13:39 | 2024-05-03 13:58 |
| Reporter | LRN | Assigned To | Matthias Wachs | ||
| Priority | high | Severity | crash | Reproducibility | unable to reproduce |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Target Version | 0.9.0 | Fixed in Version | 0.9.0 | ||
| Summary | 0001888: Crash on udp plugin shutdown | ||||
| Description | subj. crashinfo2.txt contains the backtrace (which is also shown below) I think i know how to fix this, so sit tight. | ||||
| Additional Information | Attaching to process 13268 [New Thread 13268.0x2780] [New Thread 13268.0x1760] [New Thread 13268.0x1ba4] [New Thread 13268.0x1fe0] [New Thread 13268.0x2f50] [New Thread 13268.0x2f74] [New Thread 13268.0x20a8] Reading symbols from d:\progs\gnunet\bin\gnunet-service-transport.exe...done. [Switching to Thread 13268.0x20a8] Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 13268.0x2780] 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll [Switching to thread 1 (Thread 13268.0x2780)] #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 0x0028f588 in ?? () #4 0x624b4804 in GNUNET_SCHEDULER_cancel (task=179) at scheduler.c:992 #5 0x004f1486 in destroy_inbound_session (cls=0x0, key=0x28fb1c, value=0x65f3a0) at plugin_transport_udp.c:540 #6 0x62494948 in GNUNET_CONTAINER_multihashmap_iterate (map=0x64d0d8, it=0x4f1456 <destroy_inbound_session>, it_cls=0x0) at container_multihashmap.c:213 #7 0x004f6d93 in libgnunet_plugin_transport_udp_done (cls=0x64b038) at plugin_transport_udp.c:2218 #8 0x624ad774 in GNUNET_PLUGIN_unload (library_name=0x650ce8 "libgnunet_plugin_transport_udp", arg=0x64b038) at plugin.c:270 #9 0x0040f113 in GST_plugins_unload () at gnunet-service-transport_plugins.c:160 #10 0x00402012 in shutdown_task (cls=0x0, tc=0x28fc90) at gnunet-service-transport.c:455 #11 0x624b3b9b in run_ready (rs=0x64c290, ws=0x64c3a8) at scheduler.c:684 #12 0x624b42e3 in GNUNET_SCHEDULER_run (task=0x624be19c <service_task>, task_cls=0x28fe28) at scheduler.c:864 #13 0x624bee80 in GNUNET_SERVICE_run (argc=3, argv=0x64a0d8, serviceName=0x414293 "transport", opt=GNUNET_SERVICE_OPTION_NONE, task=0x4020a2 <run>, task_cls=0x0) at service.c:1584 #14 0x0040240f in main (argc=3, argv=0x64a0d8) at gnunet-service-transport.c:556 (gdb) up 4 #4 0x624b4804 in GNUNET_SCHEDULER_cancel (task=179) at scheduler.c:992 992 GNUNET_assert (0); (gdb) l 987 p++; 988 if (p >= GNUNET_SCHEDULER_PRIORITY_COUNT) 989 { 990 LOG (GNUNET_ERROR_TYPE_ERROR, _("Attempt to cancel dead task %llu!\n"), 991 (unsigned long long) task); 992 GNUNET_assert (0); 993 } 994 prev = NULL; 995 t = ready[p]; 996 while (t != NULL) (gdb) | ||||
| Tags | No tags attached. | ||||
| Attached Files | crashinfo2.txt (2,663 bytes)
Attaching to process 13268
[New Thread 13268.0x2780]
[New Thread 13268.0x1760]
[New Thread 13268.0x1ba4]
[New Thread 13268.0x1fe0]
[New Thread 13268.0x2f50]
[New Thread 13268.0x2f74]
[New Thread 13268.0x20a8]
Reading symbols from d:\progs\gnunet\bin\gnunet-service-transport.exe...done.
[Switching to Thread 13268.0x20a8]
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 13268.0x2780]
0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll
[Switching to thread 1 (Thread 13268.0x2780)]
#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 0x0028f588 in ?? ()
#4 0x624b4804 in GNUNET_SCHEDULER_cancel (task=179) at scheduler.c:992
#5 0x004f1486 in destroy_inbound_session (cls=0x0, key=0x28fb1c, value=0x65f3a0) at plugin_transport_udp.c:540
#6 0x62494948 in GNUNET_CONTAINER_multihashmap_iterate (map=0x64d0d8, it=0x4f1456 <destroy_inbound_session>, it_cls=0x0)
at container_multihashmap.c:213
#7 0x004f6d93 in libgnunet_plugin_transport_udp_done (cls=0x64b038) at plugin_transport_udp.c:2218
#8 0x624ad774 in GNUNET_PLUGIN_unload (library_name=0x650ce8 "libgnunet_plugin_transport_udp", arg=0x64b038) at plugin.c:270
#9 0x0040f113 in GST_plugins_unload () at gnunet-service-transport_plugins.c:160
#10 0x00402012 in shutdown_task (cls=0x0, tc=0x28fc90) at gnunet-service-transport.c:455
#11 0x624b3b9b in run_ready (rs=0x64c290, ws=0x64c3a8) at scheduler.c:684
#12 0x624b42e3 in GNUNET_SCHEDULER_run (task=0x624be19c <service_task>, task_cls=0x28fe28) at scheduler.c:864
#13 0x624bee80 in GNUNET_SERVICE_run (argc=3, argv=0x64a0d8, serviceName=0x414293 "transport", opt=GNUNET_SERVICE_OPTION_NONE, task=0x4020a2 <run>,
task_cls=0x0) at service.c:1584
#14 0x0040240f in main (argc=3, argv=0x64a0d8) at gnunet-service-transport.c:556
(gdb) up 4
#4 0x624b4804 in GNUNET_SCHEDULER_cancel (task=179) at scheduler.c:992
992 GNUNET_assert (0);
(gdb) l
987 p++;
988 if (p >= GNUNET_SCHEDULER_PRIORITY_COUNT)
989 {
990 LOG (GNUNET_ERROR_TYPE_ERROR, _("Attempt to cancel dead task %llu!\n"),
991 (unsigned long long) task);
992 GNUNET_assert (0);
993 }
994 prev = NULL;
995 t = ready[p];
996 while (t != NULL)
(gdb) | ||||
|
|
Some code cleanup in 18072, but no clear diagnosis of what the issue is yet. |
|
|
tried to reproduce it with valgrind... many executions of different tests could not see any problem |
|
|
(06:04:18 PM) grothoff-office: LRN: Any update on 0001888? You said you knew how to fix, and we don't know how to reproduce... ;-) (06:05:38 PM) LRN: i said that? (06:06:23 PM) LRN: ah (06:06:36 PM) LRN: The solution was to change the unloading order, which you did at some later date (06:06:40 PM) LRN: AFAIR (06:06:48 PM) grothoff-office: So it should be fixed? (06:06:57 PM) grothoff-office: (you don't get it anymore)? (06:07:12 PM) LRN: i don't get it anymore (06:07:25 PM) LRN: s/i don't get/i am not getting/ |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-11-08 13:39 | LRN | New Issue | |
| 2011-11-08 13:39 | LRN | Status | new => assigned |
| 2011-11-08 13:39 | LRN | Assigned To | => Matthias Wachs |
| 2011-11-08 13:39 | LRN | File Added: crashinfo2.txt | |
| 2011-11-09 15:28 | Christian Grothoff | Note Added: 0004893 | |
| 2011-11-14 23:30 | Christian Grothoff | Target Version | => 0.9.0 |
| 2011-11-15 09:14 | Christian Grothoff | Priority | normal => high |
| 2011-11-16 17:07 | Matthias Wachs | Note Added: 0004930 | |
| 2011-11-16 17:07 | Matthias Wachs | Reproducibility | have not tried => unable to reproduce |
| 2011-11-16 17:07 | Matthias Wachs | Status | assigned => feedback |
| 2011-11-25 18:07 | Christian Grothoff | Note Added: 0004979 | |
| 2011-11-25 18:07 | Christian Grothoff | Status | feedback => resolved |
| 2011-11-25 18:07 | Christian Grothoff | Fixed in Version | => 0.9.0 |
| 2011-11-25 18:07 | Christian Grothoff | Resolution | open => fixed |
| 2011-11-30 18:38 | Christian Grothoff | Status | resolved => closed |
| 2024-05-03 13:58 | Christian Grothoff | Category | UDP transport => transport service |