View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001890 | GNUnet | obsolete | public | 2011-11-08 15:11 | 2024-05-03 13:49 |
| Reporter | LRN | Assigned To | Matthias Wachs | ||
| Priority | normal | Severity | crash | Reproducibility | have not tried |
| Status | closed | Resolution | duplicate | ||
| Product Version | Git master | ||||
| Summary | 0001890: Crash during mesh small unicast test (i think) | ||||
| Description | No idea why this is happening. crashinfo4 contains the copy of the backtrace | ||||
| Additional Information | Attaching to process 13376 [New Thread 13376.0x2d68] [New Thread 13376.0x37b8] [New Thread 13376.0x2ef8] [New Thread 13376.0x1660] [New Thread 13376.0x1c34] [New Thread 13376.0x62c] [New Thread 13376.0x1728] Reading symbols from d:\progs\gnunet\bin\gnunet-service-transport.exe...done. [Switching to Thread 13376.0x1728] Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 13376.0x2d68] 0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll [Switching to thread 1 (Thread 13376.0x2d68)] #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 0x0028f418 in ?? () #4 0x654c1912 in _fu14__skip_log () at ats_api_scheduling.c:330 #5 0x654c3219 in _fu74__skip_log () at ats_api_scheduling.c:708 #6 0x0040b40c in _fu419__skip_log () at gnunet-service-transport_neighbours.c:1323 #7 0x00401e96 in _fu23__skip_log () at gnunet-service-transport.c:383 #8 0x654c229b in _fu38__skip_log () at ats_api_scheduling.c:474 #9 0x62483949 in receive_task (cls=0x1d460b0, tc=0x28fc90) at client.c:541 #10 0x624b3b9b in run_ready (rs=0x1d3c780, ws=0x1d3d150) at scheduler.c:684 #11 0x624b42e3 in GNUNET_SCHEDULER_run (task=0x624be19c <service_task>, task_cls=0x28fe28) at scheduler.c:864 #12 0x624bee80 in GNUNET_SERVICE_run (argc=3, argv=0x1d3a260, serviceName=0x414293 "transport", opt=GNUNET_SERVICE_OPTION_NONE, task=0x4020a2 <run>, task_cls=0x0) at service.c:1584 #13 0x0040240f in main (argc=3, argv=0x1d3a260) at gnunet-service-transport.c:556 (gdb) up 4 #4 0x654c1912 in _fu14__skip_log () at ats_api_scheduling.c:330 330 GNUNET_assert (0 == (gdb) l 325 f = 0; 326 for (i = 1; i < sh->session_array_size; i++) 327 { 328 if (session == sh->session_array[i].session) 329 { 330 GNUNET_assert (0 == 331 memcmp (peer, &sh->session_array[i].peer, 332 sizeof (struct GNUNET_PeerIdentity))); 333 return i; 334 } (gdb) p *peer $1 = {hashPubKey = {bits = {1412818084, 3863126528, 1350169573, 2311540437, 1034014850, 2483769006, 4130974419, 638545586, 3337313854, 3042942131, 3882409753, 1093488515, 559996766, 3544596907, 2809600301, 2684817734}}} (gdb) p sh->session_array[i].peer $2 = {hashPubKey = {bits = {2396408260, 71317066, 2764374033, 593830889, 1922016674, 3371761422, 533766981, 4180478103, 275316321, 3339442454, 4145383983, 1761216515, 4077847224, 837009944, 2850614330, 1379151809}}} (gdb) p sh->session_array[i].session $3 = (struct Session *) 0x5dae50 (gdb) p session $4 = (struct Session *) 0x5dae50 (gdb) up #5 0x654c3219 in _fu74__skip_log () at ats_api_scheduling.c:708 708 m->session_id = htonl (get_session_id (sh, session, peer)); (gdb) up #6 0x0040b40c in _fu419__skip_log () at gnunet-service-transport_neighbours.c:1323 1323 GNUNET_ATS_address_in_use (GST_ats, &n->id, n->plugin_name, n->addr, (gdb) l 1318 n->addrlen, 1319 GNUNET_NO); 1320 /* This will be a connection switch, tell ATS about it */ 1321 if (n->state == S_CONNECTED) 1322 { 1323 GNUNET_ATS_address_in_use (GST_ats, &n->id, n->plugin_name, n->addr, 1324 n->addrlen, n->addr, GNUNET_NO); 1325 } 1326 1327 /* set new address */ (gdb) up #7 0x00401e96 in _fu23__skip_log () at gnunet-service-transport.c:383 383 GST_neighbours_switch_to_address_3way (peer, plugin_name, plugin_addr, (gdb) l 378 #endif 379 GST_neighbours_force_disconnect (peer); 380 return; 381 } 382 /* will never return GNUNET_YES since connection is to be established */ 383 GST_neighbours_switch_to_address_3way (peer, plugin_name, plugin_addr, 384 plugin_addr_len, session, ats, 385 ats_count, bandwidth_in, 386 bandwidth_out); 387 } (gdb) up #8 0x654c229b in _fu38__skip_log () at ats_api_scheduling.c:474 474 sh->suggest_cb (sh->suggest_cb_cls, &m->peer, plugin_name, address, (gdb) l 469 { 470 GNUNET_break (0); 471 force_reconnect (sh); 472 return; 473 } 474 sh->suggest_cb (sh->suggest_cb_cls, &m->peer, plugin_name, address, 475 address_length, find_session (sh, ntohl (m->session_id), 476 &m->peer), m->bandwidth_out, 477 m->bandwidth_in, atsi, ats_count); 478 GNUNET_CLIENT_receive (sh->client, &process_ats_message, sh, (gdb) up #9 0x62483949 in receive_task (cls=0x1d460b0, tc=0x28fc90) at client.c:541 541 handler (handler_cls, msg); | ||||
| Tags | No tags attached. | ||||
| Attached Files | crashinfo4.txt (5,232 bytes)
Attaching to process 13376
[New Thread 13376.0x2d68]
[New Thread 13376.0x37b8]
[New Thread 13376.0x2ef8]
[New Thread 13376.0x1660]
[New Thread 13376.0x1c34]
[New Thread 13376.0x62c]
[New Thread 13376.0x1728]
Reading symbols from d:\progs\gnunet\bin\gnunet-service-transport.exe...done.
[Switching to Thread 13376.0x1728]
Continuing.
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 13376.0x2d68]
0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll
[Switching to thread 1 (Thread 13376.0x2d68)]
#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 0x0028f418 in ?? ()
#4 0x654c1912 in _fu14__skip_log () at ats_api_scheduling.c:330
#5 0x654c3219 in _fu74__skip_log () at ats_api_scheduling.c:708
#6 0x0040b40c in _fu419__skip_log () at gnunet-service-transport_neighbours.c:1323
#7 0x00401e96 in _fu23__skip_log () at gnunet-service-transport.c:383
#8 0x654c229b in _fu38__skip_log () at ats_api_scheduling.c:474
#9 0x62483949 in receive_task (cls=0x1d460b0, tc=0x28fc90) at client.c:541
#10 0x624b3b9b in run_ready (rs=0x1d3c780, ws=0x1d3d150) at scheduler.c:684
#11 0x624b42e3 in GNUNET_SCHEDULER_run (task=0x624be19c <service_task>, task_cls=0x28fe28) at scheduler.c:864
#12 0x624bee80 in GNUNET_SERVICE_run (argc=3, argv=0x1d3a260, serviceName=0x414293 "transport", opt=GNUNET_SERVICE_OPTION_NONE,
task=0x4020a2 <run>, task_cls=0x0) at service.c:1584
#13 0x0040240f in main (argc=3, argv=0x1d3a260) at gnunet-service-transport.c:556
(gdb) up 4
#4 0x654c1912 in _fu14__skip_log () at ats_api_scheduling.c:330
330 GNUNET_assert (0 ==
(gdb) l
325 f = 0;
326 for (i = 1; i < sh->session_array_size; i++)
327 {
328 if (session == sh->session_array[i].session)
329 {
330 GNUNET_assert (0 ==
331 memcmp (peer, &sh->session_array[i].peer,
332 sizeof (struct GNUNET_PeerIdentity)));
333 return i;
334 }
(gdb) p *peer
$1 = {hashPubKey = {bits = {1412818084, 3863126528, 1350169573, 2311540437, 1034014850, 2483769006, 4130974419, 638545586, 3337313854, 3042942131,
3882409753, 1093488515, 559996766, 3544596907, 2809600301, 2684817734}}}
(gdb) p sh->session_array[i].peer
$2 = {hashPubKey = {bits = {2396408260, 71317066, 2764374033, 593830889, 1922016674, 3371761422, 533766981, 4180478103, 275316321, 3339442454,
4145383983, 1761216515, 4077847224, 837009944, 2850614330, 1379151809}}}
(gdb) p sh->session_array[i].session
$3 = (struct Session *) 0x5dae50
(gdb) p session
$4 = (struct Session *) 0x5dae50
(gdb) up
#5 0x654c3219 in _fu74__skip_log () at ats_api_scheduling.c:708
708 m->session_id = htonl (get_session_id (sh, session, peer));
(gdb) up
#6 0x0040b40c in _fu419__skip_log () at gnunet-service-transport_neighbours.c:1323
1323 GNUNET_ATS_address_in_use (GST_ats, &n->id, n->plugin_name, n->addr,
(gdb) l
1318 n->addrlen,
1319 GNUNET_NO);
1320 /* This will be a connection switch, tell ATS about it */
1321 if (n->state == S_CONNECTED)
1322 {
1323 GNUNET_ATS_address_in_use (GST_ats, &n->id, n->plugin_name, n->addr,
1324 n->addrlen, n->addr, GNUNET_NO);
1325 }
1326
1327 /* set new address */
(gdb) up
#7 0x00401e96 in _fu23__skip_log () at gnunet-service-transport.c:383
383 GST_neighbours_switch_to_address_3way (peer, plugin_name, plugin_addr,
(gdb) l
378 #endif
379 GST_neighbours_force_disconnect (peer);
380 return;
381 }
382 /* will never return GNUNET_YES since connection is to be established */
383 GST_neighbours_switch_to_address_3way (peer, plugin_name, plugin_addr,
384 plugin_addr_len, session, ats,
385 ats_count, bandwidth_in,
386 bandwidth_out);
387 }
(gdb) up
#8 0x654c229b in _fu38__skip_log () at ats_api_scheduling.c:474
474 sh->suggest_cb (sh->suggest_cb_cls, &m->peer, plugin_name, address,
(gdb) l
469 {
470 GNUNET_break (0);
471 force_reconnect (sh);
472 return;
473 }
474 sh->suggest_cb (sh->suggest_cb_cls, &m->peer, plugin_name, address,
475 address_length, find_session (sh, ntohl (m->session_id),
476 &m->peer), m->bandwidth_out,
477 m->bandwidth_in, atsi, ats_count);
478 GNUNET_CLIENT_receive (sh->client, &process_ats_message, sh,
(gdb) up
#9 0x62483949 in receive_task (cls=0x1d460b0, tc=0x28fc90) at client.c:541
541 handler (handler_cls, msg);
| ||||
|
|
This crash is identical to: https://ng.gnunet.org/bugs/view.php?id=1863 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-11-08 15:11 | LRN | New Issue | |
| 2011-11-08 15:11 | LRN | Status | new => assigned |
| 2011-11-08 15:11 | LRN | Assigned To | => Matthias Wachs |
| 2011-11-08 15:11 | LRN | File Added: crashinfo4.txt | |
| 2011-11-08 15:30 | Matthias Wachs | Category | transport service => ATS service |
| 2011-11-08 15:31 | Matthias Wachs | Note Added: 0004884 | |
| 2011-11-08 15:32 | Matthias Wachs | Status | assigned => closed |
| 2011-11-08 15:32 | Matthias Wachs | Resolution | open => duplicate |
| 2024-05-03 13:49 | Christian Grothoff | Category | ATS service => obsolete |