View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001903 | GNUnet | obsolete | public | 2011-11-14 19:17 | 2024-05-03 13:49 |
| Reporter | LRN | Assigned To | Christian Grothoff | ||
| Priority | urgent | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Target Version | 0.9.0 | Fixed in Version | 0.9.0 | ||
| Summary | 0001903: Crash in ats service during transport tests | ||||
| Description | r18138 | ||||
| Additional Information | Attaching to process 4352 [New Thread 4352.0x26dc] [New Thread 4352.0x30e0] [New Thread 4352.0x3260] [New Thread 4352.0x1aa4] Reading symbols from d:\progs\gnunet\bin\gnunet-service-ats.exe...done. [Switching to Thread 4352.0x1aa4] Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 4352.0x26dc] 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll [Switching to thread 1 (Thread 4352.0x26dc)] #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 0x0027f388 in ?? () #4 0x00402558 in _fu41__skip_log () at gnunet-service-ats_addresses.c:328 #5 0x62494f13 in GNUNET_CONTAINER_multihashmap_get_multiple (map=0x1d234c0, key=0x27fbf8, it=0x40228a <destroy_by_session_id>, it_cls=0x27f908) at container_multihashmap.c:485 #6 0x00402611 in GAS_addresses_destroy (peer=0x27fbf8, plugin_name=0x40770c "", plugin_addr=0x27fc40, plugin_addr_len=0, session_id=2) at gnunet-service-ats_addresses.c:356 #7 0x00404b2e in _fu146__skip_log () at gnunet-service-ats_scheduling.c:370 #8 0x624b6e2d in GNUNET_SERVER_inject (server=0x1d1de40, sender=0x1d1f660, message=0x27fbf0) at server.c:709 #9 0x624b785b in client_message_tokenizer_callback (cls=0x1d1de40, client=0x1d1f660, message=0x27fbf0) at server.c:931 #10 0x624b8bfa in GNUNET_SERVER_mst_receive (mst=0x1d1b038, client_identity=0x1d1f660, buf=0x27fbf0 "", size=80, purge=0, one_shot=-1) at server_mst.c:261 #11 0x624b75b2 in process_incoming (cls=0x1d1f660, buf=0x27fbf0, available=80, addr=0x1d21020, addrlen=28, errCode=0) at server.c:860 #12 0x6248e33f in receive_ready (cls=0x1d1efd8, tc=0x28fc90) at connection.c:1193 #13 0x624b3b9b in run_ready (rs=0x1d1dcd8, ws=0x1d1c210) at scheduler.c:684 #14 0x624b42e3 in GNUNET_SCHEDULER_run (task=0x624be19c <service_task>, task_cls=0x28fe28) at scheduler.c:864 #15 0x624bee80 in GNUNET_SERVICE_run (argc=3, argv=0x1d1a0d8, serviceName=0x4070d9 "ats", opt=GNUNET_SERVICE_OPTION_NONE, task=0x4015c0 <run>, task_cls=0x0) at service.c:1584 #16 0x00401695 in main (argc=3, argv=0x1d1a0d8) at gnunet-service-ats.c:177 (gdb) up 4 #4 0x00402558 in _fu41__skip_log () at gnunet-service-ats_addresses.c:328 328 GNUNET_assert (0 == strcmp (info->plugin, (gdb) l 323 recalculate_assigned_bw (); 324 return GNUNET_OK; 325 } 326 if (aa->session_id != info->session_id) 327 return GNUNET_OK; /* irrelevant */ 328 GNUNET_assert (0 == strcmp (info->plugin, 329 aa->plugin)); 330 /* session died */ 331 aa->session_id = 0; 332 if (GNUNET_YES == aa->active) (gdb) p info->plugin $1 = 0x40770c "" (gdb) p aa->plugin $2 = 0x1d22d80 "http" (gdb) p *info $3 = {peer = {hashPubKey = {bits = {3486761547, 491800589, 3950245833, 2113659024, 1020431238, 2522362565, 3924651474, 1854846817, 1460332057, 1581862428, 3440203499, 1632931948, 184967254, 2916428210, 1332923508, 416360754}}}, addr_len = 0, session_id = 2, ats_count = 80, addr = 0x27fc40, plugin = 0x40770c "", ats = 0x6adc4ad1, atsp_latency = {rel_value = 18145657035542128}, atsp_utilization_in = {value__ = 0}, atsp_utilization_out = {value__ = 1}, atsp_distance = 0, atsp_cost_wan = 2, atsp_cost_lan = 0, atsp_cost_wlan = 0, assigned_bw_in = { value__ = 0}, assigned_bw_out = {value__ = 196608}, active = 1} | ||||
| Tags | No tags attached. | ||||
| Attached Files | crashinfo7.txt (3,727 bytes)
Attaching to process 4352
[New Thread 4352.0x26dc]
[New Thread 4352.0x30e0]
[New Thread 4352.0x3260]
[New Thread 4352.0x1aa4]
Reading symbols from d:\progs\gnunet\bin\gnunet-service-ats.exe...done.
[Switching to Thread 4352.0x1aa4]
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 4352.0x26dc]
0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll
[Switching to thread 1 (Thread 4352.0x26dc)]
#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 0x0027f388 in ?? ()
#4 0x00402558 in _fu41__skip_log () at gnunet-service-ats_addresses.c:328
#5 0x62494f13 in GNUNET_CONTAINER_multihashmap_get_multiple (map=0x1d234c0, key=0x27fbf8, it=0x40228a <destroy_by_session_id>, it_cls=0x27f908)
at container_multihashmap.c:485
#6 0x00402611 in GAS_addresses_destroy (peer=0x27fbf8, plugin_name=0x40770c "", plugin_addr=0x27fc40, plugin_addr_len=0, session_id=2)
at gnunet-service-ats_addresses.c:356
#7 0x00404b2e in _fu146__skip_log () at gnunet-service-ats_scheduling.c:370
#8 0x624b6e2d in GNUNET_SERVER_inject (server=0x1d1de40, sender=0x1d1f660, message=0x27fbf0) at server.c:709
#9 0x624b785b in client_message_tokenizer_callback (cls=0x1d1de40, client=0x1d1f660, message=0x27fbf0) at server.c:931
#10 0x624b8bfa in GNUNET_SERVER_mst_receive (mst=0x1d1b038, client_identity=0x1d1f660, buf=0x27fbf0 "", size=80, purge=0, one_shot=-1)
at server_mst.c:261
#11 0x624b75b2 in process_incoming (cls=0x1d1f660, buf=0x27fbf0, available=80, addr=0x1d21020, addrlen=28, errCode=0) at server.c:860
#12 0x6248e33f in receive_ready (cls=0x1d1efd8, tc=0x28fc90) at connection.c:1193
#13 0x624b3b9b in run_ready (rs=0x1d1dcd8, ws=0x1d1c210) at scheduler.c:684
#14 0x624b42e3 in GNUNET_SCHEDULER_run (task=0x624be19c <service_task>, task_cls=0x28fe28) at scheduler.c:864
#15 0x624bee80 in GNUNET_SERVICE_run (argc=3, argv=0x1d1a0d8, serviceName=0x4070d9 "ats", opt=GNUNET_SERVICE_OPTION_NONE, task=0x4015c0 <run>,
task_cls=0x0) at service.c:1584
#16 0x00401695 in main (argc=3, argv=0x1d1a0d8) at gnunet-service-ats.c:177
(gdb) up 4
#4 0x00402558 in _fu41__skip_log () at gnunet-service-ats_addresses.c:328
328 GNUNET_assert (0 == strcmp (info->plugin,
(gdb) l
323 recalculate_assigned_bw ();
324 return GNUNET_OK;
325 }
326 if (aa->session_id != info->session_id)
327 return GNUNET_OK; /* irrelevant */
328 GNUNET_assert (0 == strcmp (info->plugin,
329 aa->plugin));
330 /* session died */
331 aa->session_id = 0;
332 if (GNUNET_YES == aa->active)
(gdb) p info->plugin
$1 = 0x40770c ""
(gdb) p aa->plugin
$2 = 0x1d22d80 "http"
(gdb) p *info
$3 = {peer = {hashPubKey = {bits = {3486761547, 491800589, 3950245833, 2113659024, 1020431238, 2522362565, 3924651474, 1854846817, 1460332057,
1581862428, 3440203499, 1632931948, 184967254, 2916428210, 1332923508, 416360754}}}, addr_len = 0, session_id = 2, ats_count = 80,
addr = 0x27fc40, plugin = 0x40770c "", ats = 0x6adc4ad1, atsp_latency = {rel_value = 18145657035542128}, atsp_utilization_in = {value__ = 0},
atsp_utilization_out = {value__ = 1}, atsp_distance = 0, atsp_cost_wan = 2, atsp_cost_lan = 0, atsp_cost_wlan = 0, assigned_bw_in = {
value__ = 0}, assigned_bw_out = {value__ = 196608}, active = 1} | ||||
|
|
Assert should be a break since this is another process's input. Still, the assertion should hold (ugh). Can you say what the values of 'info->plugin' and 'aa->plugin' are at the time of the crash? |
|
|
crashinfo7.txt contains, among other things, the values of info->plugin and aa->plugin |
|
|
Fixed in SVN 18147. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-11-14 19:17 | LRN | New Issue | |
| 2011-11-14 19:17 | LRN | Status | new => assigned |
| 2011-11-14 19:17 | LRN | Assigned To | => Matthias Wachs |
| 2011-11-14 19:17 | LRN | File Added: crashinfo7.txt | |
| 2011-11-14 23:29 | Christian Grothoff | Assigned To | Matthias Wachs => Christian Grothoff |
| 2011-11-14 23:29 | Christian Grothoff | Target Version | => 0.9.0 |
| 2011-11-14 23:29 | Christian Grothoff | Priority | normal => urgent |
| 2011-11-14 23:37 | Christian Grothoff | Note Added: 0004916 | |
| 2011-11-15 08:18 | LRN | Note Added: 0004917 | |
| 2011-11-15 09:13 | Christian Grothoff | Note Added: 0004918 | |
| 2011-11-15 09:13 | Christian Grothoff | Status | assigned => resolved |
| 2011-11-15 09:13 | Christian Grothoff | Fixed in Version | => 0.9.0 |
| 2011-11-15 09:13 | Christian Grothoff | Resolution | open => fixed |
| 2011-11-30 18:38 | Christian Grothoff | Status | resolved => closed |
| 2024-05-03 13:49 | Christian Grothoff | Category | ATS service => obsolete |