View Issue Details

IDProjectCategoryView StatusLast Update
0001878GNUnettransport servicepublic2011-11-30 18:38
ReporterLRN Assigned ToMatthias Wachs  
PriorityhighSeveritycrashReproducibilityunable to reproduce
Status closedResolutionfixed 
Target Version0.9.0 
Summary0001878: Crash in test_transport_api_disconnect_tcp
Descriptionr17984
Additional InformationAttaching to process 9896
[New Thread 9896.0x2fbc]
[New Thread 9896.0x2560]
[New Thread 9896.0x1c6c]
[New Thread 9896.0x2f50]
Reading symbols from f:\src\gnunet-git-svn\src\transport\.libs\test_transport_api_disconnect_tcp.exe...done.
[Switching to Thread 9896.0x2f50]
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 9896.0x2fbc]
0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll
[Switching to thread 1 (Thread 9896.0x2fbc)]
#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 0x0028f6bc in ?? ()
#4 0x6c2c42ca in _fu122__skip_log () at transport_api.c:1109
#5 0x661c1b23 in _fu14__skip_log () at transport-testing.c:215
#6 0x624ac9d1 in run_ready (rs=0x1f6c190, ws=0x1f6c2a8) at scheduler.c:685
#7 0x624acf10 in GNUNET_SCHEDULER_run (task=0x624a79e4 <program_main>, task_cls=0x28fe3c) at scheduler.c:867
#8 0x624a81f9 in GNUNET_PROGRAM_run (argc=5, argv=0x4053a8, binaryName=0x1f6b870 "test_transport_api_disconnect_tcp",
    binaryHelp=0x4052fe "nohelp", options=0x407044, task=0x4022d3 <run>, task_cls=0x40702c) at program.c:252
#9 0x004024fa in check () at test_transport_api_disconnect.c:388
#10 0x0040275d in _fu47__skip_log () at test_transport_api_disconnect.c:436
(gdb) up 4
#4 0x6c2c42ca in _fu122__skip_log () at transport_api.c:1109
1109 schedule_control_transmit (handle, size, &send_hello, msg);
(gdb) p handle
$1 = (struct GNUNET_TRANSPORT_Handle *) 0x1f6dd38
(gdb) p size
$2 = 352
(gdb) p send_hello
$3 = {size_t (void *, size_t, void *)} 0x6c2c3de5 <send_hello>
(gdb) p msg
$4 = (struct GNUNET_MessageHeader *) 0x1f6dd38
(gdb) l *((DWORD *)0x0028f6bc)[3]
0x6c2c34cd is in schedule_control_transmit (transport_api.c:846).
841 #endif
842 th = GNUNET_malloc (sizeof (struct GNUNET_TRANSPORT_TransmitHandle));
843 th->notify = notify;
844 th->notify_cls = notify_cls;
845 th->notify_size = size;
846 GNUNET_CONTAINER_DLL_insert_tail (h->control_head, h->control_tail, th);
847 schedule_transmission (h);
848 }
849
850
(gdb) p *handle
$5 = {cls = 0x10006001, rec = 0, nc_cb = 0x10601, nd_cb = 0x26c5f6e6, control_head = 0x28b3cd0, control_tail = 0x91efae2, my_hello = 0x11b521f4,
  client = 0x43e28890, cth = 0x4be314d6, hwl_head = 0x3afec1b4, hwl_tail = 0xa80a656b, cfg = 0xa1cf32ae, neighbours = 0x2240f124,
  ready_heap = 0x69742683, self = {hashPubKey = {bits = {3637935199, 1215693682, 3589401309, 798961296, 1660995846, 710689384, 972599311,
        4229213022, 3394360560, 1133274016, 1354879930, 2845340830, 151956926, 3993642730, 989751491, 932681844}}},
  reconnect_task = 2968404146825420131, quota_task = 8681281377163937428, reconnect_delay = {rel_value = 10371834216994268016},
  check_self = 1563789037}
TagsNo tags attached.

Activities

Matthias Wachs

2011-11-07 10:31

reporter   ~0004869

testcase did not cancel connect_request: try_connect task was scheduled after testcases ended badly

Issue History

Date Modified Username Field Change
2011-11-04 13:58 LRN New Issue
2011-11-06 22:18 Christian Grothoff Assigned To => Matthias Wachs
2011-11-06 22:18 Christian Grothoff Severity minor => crash
2011-11-06 22:18 Christian Grothoff Status new => assigned
2011-11-06 22:18 Christian Grothoff Category => transport service
2011-11-06 22:20 Christian Grothoff Priority normal => high
2011-11-06 22:20 Christian Grothoff Product Version => 0.9.0pre4
2011-11-06 22:20 Christian Grothoff Target Version => 0.9.0
2011-11-07 10:31 Matthias Wachs Note Added: 0004869
2011-11-07 10:31 Matthias Wachs Reproducibility have not tried => unable to reproduce
2011-11-07 10:31 Matthias Wachs Status assigned => resolved
2011-11-07 10:31 Matthias Wachs Resolution open => fixed
2011-11-30 18:38 Christian Grothoff Status resolved => closed