View Issue Details

IDProjectCategoryView StatusLast Update
0003306gnunet-gtkgnunet-fs-gtkpublic2014-02-16 15:35
Reporterhark Assigned ToChristian Grothoff  
PrioritynormalSeveritycrashReproducibilityunable to reproduce
Status closedResolutionunable to reproduce 
Summary0003306: crash when starting gnunet-fs-gtk
DescriptionProgram received signal SIGSEGV, Segmentation fault.
GNUNET_CONTAINER_meta_data_get_by_type (
    md=0x7ffff6e86a77,
    type=type@entry=EXTRACTOR_METATYPE_MIMETYPE)
    at container_meta_data.c:492
492 if ((type == pos->type) &&

(gdb) backtrace
#0 GNUNET_CONTAINER_meta_data_get_by_type (
    md=0x7ffff6e86a77,
    type=type@entry=EXTRACTOR_METATYPE_MIMETYPE)
    at container_meta_data.c:492
#1 0x00007ffff6e94170 in GNUNET_FS_meta_data_test_for_directory (md=<optimized out>) at fs_directory.c:62
#2 0x00000000004157a9 in setup_download (
    de=0x9edef0, pde=0x0, sr=<optimized out>,
    anonymity=1, dc=<optimized out>,
    uri=<optimized out>,
    filename=0x9c40a0 "/home/dev/SO-mononom/",
    meta=0x9c3b90, size=36145, completed=0)
    at gnunet-fs-gtk_event-handler.c:3331
#3 0x00000000004177d3 in GNUNET_GTK_fs_event_handler
    (cls=<optimized out>, info=0x7fffffffdca0)
    at gnunet-fs-gtk_event-handler.c:3992
#4 0x00007ffff6e97a0f in GNUNET_FS_download_make_status_ (pi=pi@entry=0x7fffffffdca0,
    dc=dc@entry=0x9c3d20) at fs_download.c:127 -
#5 0x00007ffff6e8c904 in signal_download_resume (t---
    dc=0x9c3d20) at fs_api.c:2451
#6 0x00007ffff6e8cba7 in signal_result_resume (
    cls=cls@entry=0x9aaa40,
    key=key@entry=0x7fffffffde10, value=0x9c3790)
    at fs_api.c:2505
#7 0x00007ffff74e289c in GNUNET_CONTAINER_multihashmap_iterate (map=0x96ffc0,
    it=it@entry=0x7ffff6e8cb80 <signal_result_resume>, it_cls=it_cls@entry=0x9aaa40)
    at container_multihashmap.c:358
#8 0x00007ffff6e8cb72 in signal_search_resume (
    sc=sc@entry=0x9aaa40) at fs_api.c:2777
#9 0x00007ffff6e90d96 in deserialize_search (
    h=h@entry=0x7fbb20, rh=rh@entry=0x924020,
    psearch_result=psearch_result@entry=0x0,
    serialization=serialization@entry=0x81b710 "UVsfrJ") at fs_api.c:2855
#10 0x00007ffff6e90f1f in deserialize_search_file ( -
    cls=0x7fbb20, o continue, or q <return> to quit---
    filename=0x844d70 "/home/dev/.local/share/gnunet//fs/persistence//gnunet-fs-gtk/search/UVsfrJ")
    at fs_api.c:2902
#11 0x00007ffff74ee83f in GNUNET_DISK_directory_scan
    (
    dir_name=dir_name@entry=0x81b6c0 "/home/dev/.local/share/gnunet//fs/persistence//gnunet-fs-gtk/search/",
    callback=callback@entry=0x7ffff6e90e40 <deserialize_search_file>, callback_cls=callback_cls@entry=0x7fbb20)
    at disk.c:1222
#12 0x00007ffff6e8c116 in deserialization_master (
    master_path=<optimized out>,
    proc=0x7ffff6e90e40 <deserialize_search_file>,
    h=0x7fbb20) at fs_api.c:2972
#13 0x00007ffff6e93f62 in GNUNET_FS_start (
    cfg=0x6832d0, -
gtk", upcb=0x416f70 <GNUNET_GTK_fs_event_handler>, fs----Type <return> to continue, or q <return> to quit---
    upcb_cls=upcb_cls@entry=0x0, flags=flags@entry=3)
    at fs_api.c:3032
#14 0x000000000040d8b2 in run (cls=0x7fffffffe5b0,
    tc=<optimized out>) at gnunet-fs-gtk.c:819
#15 0x00007ffff74ffe41 in run_ready (ws=0x62f3b0,
    rs=0x62f320) at scheduler.c:595
#16 GNUNET_SCHEDULER_run (
    task=task@entry=0x7ffff74fb130 <program_main>,
    task_cls=task_cls@entry=0x7fffffffe3f0)
    at scheduler.c:817
#17 0x00007ffff74fb8b2 in GNUNET_PROGRAM_run2 (
    argc=<optimized out>, argc@entry=1,
    argv=0x7fffffffe738,
    binaryName=binaryName@entry=0x422d8d "gnunet-fs-gtk",
    binaryHelp=binaryHelp@entry=0x422e55 "GTK GUI for GNUnet", options=options@entry=0x62a260,
    task=task@entry=0x7ffff7bd9220 <run_main_loop>, -
    task_cls=task_cls@entry=0x7fffffffe5b0, to quit---
    run_without_scheduler=run_without_scheduler@entry=0) at program.c:302
#18 0x00007ffff74fbbea in GNUNET_PROGRAM_run (
    argc=argc@entry=1, argv=<optimized out>,
    binaryName=binaryName@entry=0x422d8d "gnunet-fs-gtk",
    binaryHelp=binaryHelp@entry=0x422e55 "GTK GUI for GNUnet", options=options@entry=0x62a260,
    task=task@entry=0x7ffff7bd9220 <run_main_loop>,
    task_cls=task_cls@entry=0x7fffffffe5b0)
    at program.c:341
#19 0x00007ffff7bda09f in GNUNET_GTK_main_loop_start
    (
    binary_name=binary_name@entry=0x422d8d "gnunet-fs-gtk",
    binary_help=binary_help@entry=0x422e55 "GTK GUI for GNUnet", argc=1, argv=<optimized out>,
    options=options@entry=0x62a260, -
    main_window_file=main_window_file@entry=0x423200 "gnunet_fs_gtk_main_window.glade",
    main_task=main_task@entry=0x40d400 <run>)
    at eventloop.c:991
#20 0x000000000040cc2c in main (
    argc=<optimized out>, argv=<optimized out>)
    at gnunet-fs-gtk.c:914
(gdb)
Steps To Reproducestart gnunet-fs-gtk
TagsNo tags attached.

Activities

hark

2014-02-04 22:41

reporter   ~0008072

after deleting

.local/share/gnunet/fs/persistence/gnunet-fs-gtk/

it's not crashing anymore

Christian Grothoff

2014-02-06 09:56

manager   ~0008075

Do you have a backup of that .local/share/gnunet/fs/persistence/gnunet-fs-gtk/
directory? That would be helpful to reproduce the issue. It looks like memory corruption, thus a trace with valgrind would have been very helpful...

hark

2014-02-13 05:12

reporter   ~0008100

After putting the folder back, it doesn't crash anymore.

Attached is the file .local/share/gnunet/fs/persistence/gnunet-fs-gtk/download-child/82JZ1b , this is after moving it, starting gnunet, and putting it back

So i'm not sure how to reproduce this, cause i didn't make a backup of that file.

Christian Grothoff

2014-02-16 15:35

manager   ~0008106

Closing for now, let's hope somebody will eventually produce this in a way that can be reproduced (don't delete files...).

Issue History

Date Modified Username Field Change
2014-02-04 22:30 hark New Issue
2014-02-04 22:41 hark Note Added: 0008072
2014-02-06 09:56 Christian Grothoff Note Added: 0008075
2014-02-06 09:56 Christian Grothoff Assigned To => Christian Grothoff
2014-02-06 09:56 Christian Grothoff Status new => feedback
2014-02-06 09:56 Christian Grothoff Product Version => Git master
2014-02-13 05:12 hark Note Added: 0008100
2014-02-13 05:12 hark Status feedback => assigned
2014-02-16 15:35 Christian Grothoff Note Added: 0008106
2014-02-16 15:35 Christian Grothoff Reproducibility have not tried => unable to reproduce
2014-02-16 15:35 Christian Grothoff Status assigned => closed
2014-02-16 15:35 Christian Grothoff Resolution open => unable to reproduce
2014-02-16 15:35 Christian Grothoff Product Version Git master =>