View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002011 | GNUnet | statistics service | public | 2011-12-15 20:56 | 2011-12-26 22:28 |
| Reporter | LRN | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | crash | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Target Version | 0.9.1 | Fixed in Version | 0.9.1 | ||
| Summary | 0002011: Crash in gnunet-statistics-gtk | ||||
| Description | r18598 + 4 | ||||
| Additional Information |
Program received signal SIGTRAP, Trace/breakpoint trap.
0x7522280d in KERNELBASE!DeleteAce () from E:\Windows\syswow64\KernelBase.dll
(gdb) bt
#0 0x7522280d in KERNELBASE!DeleteAce () from E:\Windows\syswow64\KernelBase.dll
#1 0x6be464c0 in GNUNET_abort () at common_logging.c:271
#2 0x6adc3b8c in _fu113__skip_log () at statistics_api.c:882
#3 0x6adc1872 in finish (h=0x2f47ee0, code=-1) at statistics_api.c:354
#4 0x6adc20af in _fu44__skip_log () at statistics_api.c:474
#5 0x6be43513 in receive_helper (cls=0x2f47bb0, buf=0x0, available=0, addr=0x419dba0, addrlen=28, errCode=104) at client.c:477
#6 0x6be4dc95 in signal_error (sh=0x2f265f0, errcode=104) at connection.c:1115
#7 0x6be4e161 in receive_ready (cls=0x2f265f0, tc=0x28fc60) at connection.c:1183
#8 0x6be747d7 in run_ready (rs=0x2ef77a0, ws=0x1ae3fe8) at scheduler.c:684
#9 0x6be74f45 in GNUNET_SCHEDULER_run (task=0x6be6e694 <program_main>, task_cls=0x28fdec) at scheduler.c:874
#10 0x6be6eea9 in GNUNET_PROGRAM_run (argc=1, argv=0x2ef5b78, binaryName=0x408080 "gnunet-statistics-gtk",
binaryHelp=0x4081b8 "GTK GUI for viewing GNUnet statistics", options=0x407000, task=0x402f44 <run_main_loop>, task_cls=0x28fe90)
at program.c:250
#11 0x00404368 in GNUNET_GTK_main_loop_start (binary_name=0x408080 "gnunet-statistics-gtk",
binary_help=0x4081b8 "GTK GUI for viewing GNUnet statistics", argc=1, argv=0x2ef5b78, options=0x407000,
main_window_file=0x408190 "gnunet_statistics_gtk_main_window.glade", main_task=0x401484 <run>) at eventloop.c:909
#12 0x00406048 in main (argc=1, argv=0x2ef5b78) at gnunet-statistics-gtk.c:287
(gdb) up
#1 0x6be464c0 in GNUNET_abort () at common_logging.c:271
271 DebugBreak ();
(gdb)
#2 0x6adc3b8c in _fu113__skip_log () at statistics_api.c:882
882 GNUNET_assert (NULL == h->th);
(gdb) p h->th
$3 = (struct GNUNET_CLIENT_TransmitHandle *) 0x2f56150
(gdb) p *h
$4 = {subsystem = 0x2f40eb0 "gnunet-statistics-gtk", cfg = 0x2ef5b58, client = 0x41c6d08, th = 0x2f56150, action_head = 0x41c6ec8,
action_tail = 0x41c76c8, current = 0x41c6e38, watches = 0x2f7fb18, backoff_task = 0, backoff = {rel_value = 1}, watches_size = 15,
do_destroy = 0, receiving = 1}
| ||||
| Tags | No tags attached. | ||||
|
|
Crash is clearly internal to statistics_api.c. So the bug is most likely not in the gtk-specific code... |
|
|
Possibly fixed in SVN 18652. |
|
|
Please re-open should this resurface... |
|
|
Now gnunet-statistics-gtk doesn't crash when statistics service dies, but DOES crash when it is closed afterwards.
Program received signal SIGSEGV, Segmentation fault.
0x6be431c4 in GNUNET_CLIENT_disconnect (sock=0x0, finish_pending_write=0) at client.c:395
395 if (sock->in_receive == GNUNET_YES)
(gdb) bt
#0 0x6be431c4 in GNUNET_CLIENT_disconnect (sock=0x0, finish_pending_write=0) at client.c:395
#1 0x6adc170f in do_disconnect (h=0x2f07fe8) at statistics_api.c:336
#2 0x6adc3ca9 in _fu125__skip_log () at statistics_api.c:921
#3 0x0040169c in shutdown_task (cls=0x0, tc=0x28fc60) at gnunet-statistics-gtk.c:209
#4 0x6be749a3 in run_ready (rs=0x2eb7838, ws=0x1913fe8) at scheduler.c:684
#5 0x6be75111 in GNUNET_SCHEDULER_run (task=0x6be6e860 <program_main>, task_cls=0x28fdec) at scheduler.c:874
#6 0x6be6f075 in GNUNET_PROGRAM_run (argc=1, argv=0x2eb5c10, binaryName=0x408080 "gnunet-statistics-gtk",
binaryHelp=0x4081b8 "GTK GUI for viewing GNUnet statistics", options=0x407000, task=0x402f44 <run_main_loop>, task_cls=0x28fe90)
at program.c:250
#7 0x00404368 in GNUNET_GTK_main_loop_start (binary_name=0x408080 "gnunet-statistics-gtk",
binary_help=0x4081b8 "GTK GUI for viewing GNUnet statistics", argc=1, argv=0x2eb5c10, options=0x407000,
main_window_file=0x408190 "gnunet_statistics_gtk_main_window.glade", main_task=0x401484 <run>) at eventloop.c:909
#8 0x00406048 in main (argc=1, argv=0x2eb5c10) at gnunet-statistics-gtk.c:287
|
|
|
This later crash was already fixed. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-12-15 20:56 | LRN | New Issue | |
| 2011-12-15 21:17 | Christian Grothoff | Assigned To | => Christian Grothoff |
| 2011-12-15 21:17 | Christian Grothoff | Status | new => assigned |
| 2011-12-16 20:16 | Christian Grothoff | Project | gnunet-gtk => GNUnet |
| 2011-12-16 20:16 | Christian Grothoff | Category | gnunet-statistics-gtk => General |
| 2011-12-16 20:16 | Christian Grothoff | Category | General => statistics service |
| 2011-12-16 20:16 | Christian Grothoff | Note Added: 0005113 | |
| 2011-12-16 23:19 | Christian Grothoff | Note Added: 0005114 | |
| 2011-12-16 23:21 | Christian Grothoff | Note Added: 0005115 | |
| 2011-12-16 23:21 | Christian Grothoff | Status | assigned => resolved |
| 2011-12-16 23:21 | Christian Grothoff | Fixed in Version | => 0.9.1 |
| 2011-12-16 23:21 | Christian Grothoff | Resolution | open => fixed |
| 2011-12-16 23:21 | Christian Grothoff | Target Version | => 0.9.1 |
| 2011-12-17 15:51 | LRN | Note Added: 0005122 | |
| 2011-12-17 15:51 | LRN | Status | resolved => feedback |
| 2011-12-17 15:51 | LRN | Resolution | fixed => reopened |
| 2011-12-19 13:52 | Christian Grothoff | Note Added: 0005134 | |
| 2011-12-19 13:52 | Christian Grothoff | Status | feedback => resolved |
| 2011-12-19 13:52 | Christian Grothoff | Resolution | reopened => fixed |
| 2011-12-26 22:28 | Christian Grothoff | Status | resolved => closed |