View Issue Details

IDProjectCategoryView StatusLast Update
0002053gnunet-gtkgnunet-fs-gtkpublic2012-02-28 11:06
ReporterLRN Assigned ToChristian Grothoff  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.2Fixed in Version0.9.2 
Summary0002053: Crash when double-clicking an opened directory
Descriptionr18862 + 1
Steps To ReproduceDownload a gnunet directory
Open it
Doubleclick the directory root
Additional Information

Program received signal SIGSEGV, Segmentation fault.
0x6736941f in GNUNET_FS_uri_test_chk (uri=0x0) at f:/src/gnunet-git-svn/src/fs/fs_uri.c:1423
1423      return uri->type == chk;
(gdb) p uri
$1 = (const struct GNUNET_FS_Uri *) 0x0
(gdb) bt
#0  0x6736941f in GNUNET_FS_uri_test_chk (uri=0x0) at f:/src/gnunet-git-svn/src/fs/fs_uri.c:1423
#1  0x00407cf0 in _fu119__skip_log () at ../../../gnunet-gtk-git-svn/src/fs/gnunet-fs-gtk-event_handler.c:624
#2  0x00dcac51 in _gtk_marshal_VOID__BOXED_OBJECT (closure=0x490d338, return_value=0x0, n_param_values=3, param_values=0x36999e0, invocation_hint=0x28f3cc, marshal_data=0x0) at gtkmarshalers.c:1387
#3  0x63a4675f in g_closure_invoke (closure=0x490d338, return_value=0x0, n_param_values=3, param_values=0x36999e0, invocation_hint=0x28f3cc) at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/gobject/gclosure.c:774
#4  0x63a5bf9b in signal_emit_unlocked_R (node=0x3732b78, detail=0, instance=0x49086e0, emission_return=0x0, instance_and_params=0x36999e0) at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/gobject/gsignal.c:3302
#5  0x63a5b622 in g_signal_emit_valist (instance=0x49086e0, signal_id=135, detail=0, var_args=0x28f5b4 "\b\020q\003@Аq\003их(") at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/gobject/gsignal.c:3033
#6  0x63a5b8d8 in g_signal_emit (instance=0x49086e0, signal_id=135, detail=0) at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/gobject/gsignal.c:3090
#7  0x00efbc8a in gtk_tree_view_row_activated (tree_view=0x49086e0, path=0x3719308, column=0x371a9c0) at f:/src/for-mingwmsys/mingw-gtk+-2.24/gtk+-2.24.9-git/gtk/gtktreeview.c:11798
#8  0x00ee8558 in gtk_tree_view_button_press (widget=0x49086e0, event=0x370fdd0) at f:/src/for-mingwmsys/mingw-gtk+-2.24/gtk+-2.24.9-git/gtk/gtktreeview.c:2878
#9  0x00dc9167 in _gtk_marshal_BOOLEAN__BOXED (closure=0x3730cf8, return_value=0x28f828, n_param_values=2, param_values=0x48b0468, invocation_hint=0x28f84c, marshal_data=0xee75de) at gtkmarshalers.c:86
#10 0x63a46a0a in g_type_class_meta_marshal (closure=0x3730cf8, return_value=0x28f828, n_param_values=2, param_values=0x48b0468, invocation_hint=0x28f84c, marshal_data=0xb0)
    at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/gobject/gclosure.c:885
#11 0x63a4675f in g_closure_invoke (closure=0x3730cf8, return_value=0x28f828, n_param_values=2, param_values=0x48b0468, invocation_hint=0x28f84c)
    at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/gobject/gclosure.c:774
#12 0x63a5c0e5 in signal_emit_unlocked_R (node=0x3731070, detail=0, instance=0x49086e0, emission_return=0x28f968, instance_and_params=0x48b0468)
    at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/gobject/gsignal.c:3340
#13 0x63a5b69f in g_signal_emit_valist (instance=0x49086e0, signal_id=34, detail=0, var_args=0x28fa30 "Hъ(") at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/gobject/gsignal.c:3043
#14 0x63a5b8d8 in g_signal_emit (instance=0x49086e0, signal_id=34, detail=0) at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/gobject/gsignal.c:3090
#15 0x00f1cbd9 in gtk_widget_event_internal (widget=0x49086e0, event=0x370fdd0) at f:/src/for-mingwmsys/mingw-gtk+-2.24/gtk+-2.24.9-git/gtk/gtkwidget.c:4984
#16 0x00f1c77f in gtk_widget_event (widget=0x49086e0, event=0x370fdd0) at f:/src/for-mingwmsys/mingw-gtk+-2.24/gtk+-2.24.9-git/gtk/gtkwidget.c:4781
#17 0x00dc7b99 in gtk_propagate_event (widget=0x49086e0, event=0x370fdd0) at f:/src/for-mingwmsys/mingw-gtk+-2.24/gtk+-2.24.9-git/gtk/gtkmain.c:2489
#18 0x00dc6737 in gtk_main_do_event (event=0x370fdd0) at f:/src/for-mingwmsys/mingw-gtk+-2.24/gtk+-2.24.9-git/gtk/gtkmain.c:1645
#19 0x006965df in gdk_event_dispatch (source=0x36ae340, callback=0, user_data=0x0) at f:/src/for-mingwmsys/mingw-gtk+-2.24/gtk+-2.24.9-git/gdk/win32/gdkevents-win32.c:3602
#20 0x685f77ec in g_main_dispatch (context=0x36ae3c0) at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/glib/gmain.c:2513
#21 0x685f831a in g_main_context_dispatch (context=0x36ae3c0) at f:/src/for-mingwmsys/mingw-glib/glib-2.31.3/glib/gmain.c:3050
#22 0x00417892 in dispatch_gtk_task (cls=0x28fe88, tc=0x28fc50) at ../../../gnunet-gtk-git-svn/src/lib/eventloop.c:234
#23 0x6be74b8b in run_ready (rs=0x3687628, ws=0x1a89fd8) at f:/src/gnunet-git-svn/src/util/scheduler.c:684
#24 0x6be752f9 in GNUNET_SCHEDULER_run (task=0x6be6ea68 <program_main>, task_cls=0x28fddc) at f:/src/gnunet-git-svn/src/util/scheduler.c:874
#25 0x6be6f27d in GNUNET_PROGRAM_run (argc=1, argv=0x3682558, binaryName=0x4224dd "gnunet-fs-gtk", binaryHelp=0x422614 "GTK GUI for GNUnet", options=0x4204c0, task=0x418aa5 <run_main_loop>, task_cls=0x28fe88)
    at f:/src/gnunet-git-svn/src/util/program.c:250
#26 0x00418e0e in GNUNET_GTK_main_loop_start (binary_name=0x4224dd "gnunet-fs-gtk", binary_help=0x422614 "GTK GUI for GNUnet", argc=1, argv=0x3682558, options=0x4204c0,
    main_window_file=0x4225f4 "gnunet_fs_gtk_main_window.glade", main_task=0x40e01c <run>) at ../../../gnunet-gtk-git-svn/src/lib/eventloop.c:910
#27 0x0040e267 in main (argc=1, argv=0x3682558) at ../../../gnunet-gtk-git-svn/src/fs/gnunet-fs-gtk.c:825
TagsNo tags attached.

Activities

Christian Grothoff

2012-01-01 20:10

manager   ~0005232

Added assertions to catch this issue earlier in SVN 18880.

Christian Grothoff

2012-01-01 20:10

manager   ~0005233

Doing the same operations should hopefully now generate an assertion failure (uri != NULL check somewhere).

Christian Grothoff

2012-01-01 23:38

manager   ~0005238

Fixed in SVN 18900.

Issue History

Date Modified Username Field Change
2011-12-31 05:00 LRN New Issue
2012-01-01 20:10 Christian Grothoff Note Added: 0005232
2012-01-01 20:10 Christian Grothoff Note Added: 0005233
2012-01-01 20:10 Christian Grothoff Assigned To => Christian Grothoff
2012-01-01 20:10 Christian Grothoff Status new => feedback
2012-01-01 23:38 Christian Grothoff Note Added: 0005238
2012-01-01 23:38 Christian Grothoff Status feedback => resolved
2012-01-01 23:38 Christian Grothoff Fixed in Version => 0.9.2
2012-01-01 23:38 Christian Grothoff Resolution open => fixed
2012-01-02 03:39 Christian Grothoff Target Version => 0.9.2
2012-02-28 11:06 Christian Grothoff Status resolved => closed