View Issue Details

IDProjectCategoryView StatusLast Update
0001883gnunet-gtkgnunet-fs-gtkpublic2011-11-30 18:38
ReporterLRN Assigned ToChristian Grothoff  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionopen 
PlatformW32OSNTOS Version6.1.7601
Target Version0.9.0Fixed in Version0.9.0 
Summary0001883: Crash in gnunet-fs-gtk
Descriptionsee below
Steps To Reproduce1) Run gnunet-fs-gtk
2) Main menu -> File sharing -> Publish
Additional InformationAttaching to process 3064
[New Thread 3064.0x28a4]
[New Thread 3064.0x1138]
[New Thread 3064.0x1fd4]
[New Thread 3064.0x2b9c]
[New Thread 3064.0x27b4]
[New Thread 3064.0x1f68]
[New Thread 3064.0x2bf0]
[New Thread 3064.0x20dc]
Reading symbols from d:\progs\gnunet\bin\gnunet-fs-gtk.exe...done.
[Switching to Thread 3064.0x20dc]
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 3064.0x28a4]
0x772515ee in ntdll!LdrQueryProcessModuleInformation () from E:\Windows\SysWOW64\ntdll.dll
[Switching to thread 1 (Thread 3064.0x28a4)]
#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 0x0028ea78 in ?? ()
#4 0x6735abdf in find_trees (cls=0x28f06c, key=0x28f088, value=0x45cc4b0) at fs_namespace.c:989
#5 0x62491d12 in GNUNET_CONTAINER_multihashmap_get_multiple (map=0x6aac890, key=0x28f088, it=0x6735ab77 <find_trees>, it_cls=0x28f06c)
    at container_multihashmap.c:485
#6 0x6735b097 in _fu644__skip_log () at fs_namespace.c:1107
#7 0x004096d7 in add_namespace_to_ts (cls=0x44be2e0, name=0x44c7a39 "LRN", id=0x28f1c0)
    at ../../../gnunet-gtk-git-svn/src/fs/gnunet-fs-gtk-main_window_file_publish.c:1548
#8 0x6735a080 in _fu632__skip_log () at fs_namespace.c:609
#9 0x6249b110 in GNUNET_DISK_directory_scan (dirName=0x6a748a0 "E:\\Users\\LRN\\\\.gnunet\\identities\\", callback=0x67359e6c <process_namespace>,
    callback_cls=0x28f3e4) at disk.c:872
#10 0x6735a0ce in GNUNET_FS_namespace_list (h=0x334fe80, cb=0x4095b0 <add_namespace_to_ts>, cb_cls=0x44be2e0) at fs_namespace.c:635
#11 0x0040cf3d in GNUNET_GTK_main_menu_file_publish_activate_cb (dummy=0x3357188, data=0x0)
    at ../../../gnunet-gtk-git-svn/src/fs/gnunet-fs-gtk-main_window_file_publish.c:1635
#12 0x63a45356 in g_closure_invoke (closure=0x3376110, return_value=0x0, n_param_values=1, param_values=0x44c11e0, invocation_hint=0x28f57c)
    at f:/src/mingwports-native/glib/glib-2.28.5/gobject/gclosure.c:767
#13 0x63a53a4d in signal_emit_unlocked_R (node=<optimized out>, detail=0, instance=0x3357188, emission_return=0x0, instance_and_params=0x44c11e0)
    at f:/src/mingwports-native/glib/glib-2.28.5/gobject/gsignal.c:3252
#14 0x63a5b300 in g_signal_emit_valist (instance=0x3357188, signal_id=100, detail=0, var_args=0x28f73c "n")
    at f:/src/mingwports-native/glib/glib-2.28.5/gobject/gsignal.c:2983
#15 0x63a5b457 in g_signal_emit (instance=0x3357188, signal_id=100, detail=0) at f:/src/mingwports-native/glib/glib-2.28.5/gobject/gsignal.c:3040
#16 0x00a9b72c in gtk_widget_activate (widget=0x3357188) at ../../gtk+-2.24.0/gtk/gtkwidget.c:5011
#17 0x009a56df in gtk_menu_shell_activate_item (menu_shell=0x335a0a8, menu_item=0x3357188, force_deactivate=1)
    at ../../gtk+-2.24.0/gtk/gtkmenushell.c:1256
#18 0x009a5a5c in gtk_menu_shell_button_release (widget=0x335a0a8, event=0x3356590) at ../../gtk+-2.24.0/gtk/gtkmenushell.c:683
#19 0x009942cb in _gtk_marshal_BOOLEAN__BOXED (closure=0x72e580, return_value=0x28f930, n_param_values=2, param_values=0x3388ea0,
    invocation_hint=0x28f91c, marshal_data=0x99bbdc) at ../../gtk+-2.24.0/gtk/gtkmarshalers.c:86
#20 0x63a45356 in g_closure_invoke (closure=0x72e580, return_value=0x28f930, n_param_values=2, param_values=0x3388ea0, invocation_hint=0x28f91c)
    at f:/src/mingwports-native/glib/glib-2.28.5/gobject/gclosure.c:767
#21 0x63a5370d in signal_emit_unlocked_R (node=<optimized out>, detail=0, instance=0x335a0a8, emission_return=0x28fa68,
    instance_and_params=0x3388ea0) at f:/src/mingwports-native/glib/glib-2.28.5/gobject/gsignal.c:3290
#22 0x63a5b166 in g_signal_emit_valist (instance=0x335a0a8, signal_id=33, detail=0, var_args=0x28fae0 "uu(")
    at f:/src/mingwports-native/glib/glib-2.28.5/gobject/gsignal.c:2993
#23 0x63a5b457 in g_signal_emit (instance=0x335a0a8, signal_id=33, detail=0) at f:/src/mingwports-native/glib/glib-2.28.5/gobject/gsignal.c:3040
#24 0x00a9c40b in gtk_widget_event_internal (widget=0x335a0a8, event=0x3356590) at ../../gtk+-2.24.0/gtk/gtkwidget.c:4980
#25 0x00992b4f in gtk_propagate_event (widget=0x335a0a8, event=0x3356590) at ../../gtk+-2.24.0/gtk/gtkmain.c:2477
#26 0x00992dd4 in gtk_main_do_event (event=0x3356590) at ../../gtk+-2.24.0/gtk/gtkmain.c:1672
#27 0x6c378b45 in gdk_event_dispatch (source=0x3337860, callback=0, user_data=0x0) at ../../../gtk+-2.24.0/gdk/win32/gdkevents-win32.c:3371
#28 0x685eb80b in g_main_dispatch (context=0x72f988) at f:/src/mingwports-native/glib/glib-2.28.5/glib/gmain.c:2440
#29 g_main_context_dispatch (context=0x72f988) at f:/src/mingwports-native/glib/glib-2.28.5/glib/gmain.c:3013
#30 0x624ac9d1 in run_ready (rs=0x331d820, ws=0x331d938) at scheduler.c:684
#31 0x624acf10 in GNUNET_SCHEDULER_run (task=0x624a79e4 <program_main>, task_cls=0x28fdec) at scheduler.c:864
#32 0x624a81f9 in GNUNET_PROGRAM_run (argc=1, argv=0x331a6f8, binaryName=0x41502b "gnunet-fs-gtk", binaryHelp=0x4151c8 "GTK GUI for GNUnet",
    options=0x4130e0, task=0x40f610 <run_main_loop>, task_cls=0x28fe90) at program.c:250
#33 0x004109a8 in GNUNET_GTK_main_loop_start (binary_name=0x41502b "gnunet-fs-gtk", binary_help=0x4151c8 "GTK GUI for GNUnet", argc=1,
    argv=0x331a6f8, options=0x4130e0, main_window_file=0x4151a8 "gnunet_fs_gtk_main_window.glade", main_task=0x40876c <run>)
    at ../../../gnunet-gtk-git-svn/src/lib/eventloop.c:909
#34 0x00412518 in main (argc=1, argv=0x331a6f8) at ../../../gnunet-gtk-git-svn/src/fs/gnunet-fs-gtk.c:249
(gdb) up 4
#4 0x6735abdf in find_trees (cls=0x28f06c, key=0x28f088, value=0x45cc4b0) at fs_namespace.c:989
989 GNUNET_assert (nsn->tree_id < fc->tree_array_size);
TagsNo tags attached.
Attached Files
identities.tar.xz (2,952 bytes)
updates.tar.xz (1,032 bytes)

Activities

Christian Grothoff

2011-11-05 19:58

manager   ~0004863

Does not crash for me; looking at your trace, this is clearly specific to information in your ~/.gnunet/identities/ directory. If you're willing to share this (this can be highly private information!), that might make it easier to diagnose the bug...

Christian Grothoff

2011-11-05 20:00

manager   ~0004864

Also, knowing the exact value of 'nsn->tree_id' in fs_namespace.c:989 might be useful...

LRN

2011-11-05 20:01

developer   ~0004865

Attached the identities directory.
nsn->tree_id will have to wait until i finish my current testsuite run.

Christian Grothoff

2011-11-05 20:14

manager   ~0004866

(gdb) print *nsn
$1 = {id = 0x19824b0 "", update = 0x1981fc0 "", md = 0x198b050,
  uri = 0x197b8f0, nug = 1, tree_id = 0}
(gdb) print fc->tree_array_size
$2 = 0

Christian Grothoff

2011-11-05 20:15

manager   ~0004867

(gdb) print fc->nug
$3 = 1
(gdb) print nsn->nug
$4 = 1

Christian Grothoff

2011-11-05 20:23

manager   ~0004868

Fixed in SVN 18029.

Issue History

Date Modified Username Field Change
2011-11-05 13:01 LRN New Issue
2011-11-05 19:58 Christian Grothoff Note Added: 0004863
2011-11-05 19:58 Christian Grothoff Assigned To => Christian Grothoff
2011-11-05 19:58 Christian Grothoff Status new => assigned
2011-11-05 20:00 Christian Grothoff Note Added: 0004864
2011-11-05 20:00 LRN File Added: identities.tar.xz
2011-11-05 20:01 LRN Note Added: 0004865
2011-11-05 20:13 LRN File Added: updates.tar.xz
2011-11-05 20:14 Christian Grothoff Note Added: 0004866
2011-11-05 20:15 Christian Grothoff Note Added: 0004867
2011-11-05 20:23 Christian Grothoff Note Added: 0004868
2011-11-05 20:24 Christian Grothoff Status assigned => resolved
2011-11-05 20:24 Christian Grothoff Product Version => 0.9.0pre4
2011-11-05 20:24 Christian Grothoff Fixed in Version => 0.9.0
2011-11-05 20:24 Christian Grothoff Target Version => 0.9.0
2011-11-30 18:38 Christian Grothoff Status resolved => closed