View Issue Details

IDProjectCategoryView StatusLast Update
0002000GNUnetfile-sharing servicepublic2011-12-26 22:28
ReporterLRN Assigned ToChristian Grothoff  
PriorityhighSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.1Fixed in Version0.9.1 
Summary0002000: Crash in fs service
DescriptionHappened after i've made a search from gnunet-fs-gtk
Additional InformationProgram received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 16452.0x3c28]
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 0x0041120c in _fu566__skip_log () at gnunet-service-fs_pr.c:1405
#3 0x0040192d in handle_start_search (cls=0x0, client=0x34c1d68, message=0x707b10) at gnunet-service-fs.c:418
#4 0x6be77831 in GNUNET_SERVER_inject (server=0x68be80, sender=0x34c1d68, message=0x707b10) at server.c:709
#5 0x6be7825f in client_message_tokenizer_callback (cls=0x68be80, client=0x34c1d68, message=0x707b10) at server.c:931
#6 0x6be793f3 in GNUNET_SERVER_mst_receive (mst=0x691738, client_identity=0x34c1d68, buf=0x0, size=0, purge=0, one_shot=-1) at server_mst.c:219
#7 0x6be77aad in process_mst (client=0x34c1d68, ret=0) at server.c:779
#8 0x6be78190 in restart_processing (cls=0x34c1d68, tc=0x28fc90) at server.c:904
#9 0x6be74577 in run_ready (rs=0x693cc8, ws=0x694ce0) at scheduler.c:684
#10 0x6be74ce5 in GNUNET_SCHEDULER_run (task=0x6be7f04a <service_task>, task_cls=0x28fe28) at scheduler.c:874
#11 0x6be7fd2e in GNUNET_SERVICE_run (argc=3, argv=0x68ac60, serviceName=0x416167 "fs", opt=GNUNET_SERVICE_OPTION_NONE, task=0x401e13 <run>,
    task_cls=0x0) at service.c:1673
#12 0x00402036 in main (argc=3, argv=0x68ac60) at gnunet-service-fs.c:650
(gdb) up
#1 0x6be464c0 in GNUNET_abort () at common_logging.c:271
271 DebugBreak ();
(gdb)
#2 0x0041120c in _fu566__skip_log () at gnunet-service-fs_pr.c:1405
1405 GNUNET_assert (NULL == pr->gh);
(gdb) p *pr
$3 = {public_data = {query = {bits = {1009671158, 1719439937, 493940671, 693804049, 3071653391, 4062196236, 4285551634, 909099913, 440397131,
        2679809750, 737817543, 444696717, 160266631, 400054421, 1047135853, 926703515}}, namespace = {bits = {0 <repeats 16 times>}}, target = {
      hashPubKey = {bits = {0 <repeats 16 times>}}}, rpr_head = 0x49c1390, rpr_tail = 0x49c2ad0, ttl = {abs_value = 1323614775810}, start_time = {
      abs_value = 1323614775810}, anonymity_level = 0, priority = 0, original_priority = 0, options = GSF_PRO_LOCAL_REQUEST,
    type = GNUNET_BLOCK_TYPE_ANY, results_found = 3, has_target = 0}, rh = 0x409be9 <client_response_handler>, rh_cls = 0x6916f8,
  replies_seen = 0x2ed4aa8, bf = 0x6919b8, hnode = 0x0, qe = 0x0, gh = 0x2b59cf8, llc_cont = 0, llc_cont_cls = 0x34c1d68,
  local_result = GNUNET_BLOCK_EVALUATION_OK_DUPLICATE, sender_pid = 0, origin_pid = 0, qe_start = {abs_value = 1323614775860}, warn_task = 0,
  local_result_offset = 1997970356047970310, first_uid = 11558, replies_seen_count = 3, replies_seen_size = 3, mingle = 3778776851,
  have_first_uid = 6}
(gdb) p *pr->gh
$2 = {iter = 0x40fd67 <handle_dht_reply>, iter_cls = 0x99e4c60, dht_handle = 0x0, message = 0x2a67820, key = {bits = {0 <repeats 16 times>}},
  unique_id = 9762413066980425733}
TagsNo tags attached.
Attached Files
crashinfo14.txt (3,018 bytes)   
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 16452.0x3c28]
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  0x0041120c in _fu566__skip_log () at gnunet-service-fs_pr.c:1405
#3  0x0040192d in handle_start_search (cls=0x0, client=0x34c1d68, message=0x707b10) at gnunet-service-fs.c:418
#4  0x6be77831 in GNUNET_SERVER_inject (server=0x68be80, sender=0x34c1d68, message=0x707b10) at server.c:709
#5  0x6be7825f in client_message_tokenizer_callback (cls=0x68be80, client=0x34c1d68, message=0x707b10) at server.c:931
#6  0x6be793f3 in GNUNET_SERVER_mst_receive (mst=0x691738, client_identity=0x34c1d68, buf=0x0, size=0, purge=0, one_shot=-1) at server_mst.c:219
#7  0x6be77aad in process_mst (client=0x34c1d68, ret=0) at server.c:779
#8  0x6be78190 in restart_processing (cls=0x34c1d68, tc=0x28fc90) at server.c:904
#9  0x6be74577 in run_ready (rs=0x693cc8, ws=0x694ce0) at scheduler.c:684
#10 0x6be74ce5 in GNUNET_SCHEDULER_run (task=0x6be7f04a <service_task>, task_cls=0x28fe28) at scheduler.c:874
#11 0x6be7fd2e in GNUNET_SERVICE_run (argc=3, argv=0x68ac60, serviceName=0x416167 "fs", opt=GNUNET_SERVICE_OPTION_NONE, task=0x401e13 <run>,
    task_cls=0x0) at service.c:1673
#12 0x00402036 in main (argc=3, argv=0x68ac60) at gnunet-service-fs.c:650
(gdb) up
#1  0x6be464c0 in GNUNET_abort () at common_logging.c:271
271       DebugBreak ();
(gdb)
#2  0x0041120c in _fu566__skip_log () at gnunet-service-fs_pr.c:1405
1405      GNUNET_assert (NULL == pr->gh);
(gdb) p *pr
$3 = {public_data = {query = {bits = {1009671158, 1719439937, 493940671, 693804049, 3071653391, 4062196236, 4285551634, 909099913, 440397131,
        2679809750, 737817543, 444696717, 160266631, 400054421, 1047135853, 926703515}}, namespace = {bits = {0 <repeats 16 times>}}, target = {
      hashPubKey = {bits = {0 <repeats 16 times>}}}, rpr_head = 0x49c1390, rpr_tail = 0x49c2ad0, ttl = {abs_value = 1323614775810}, start_time = {
      abs_value = 1323614775810}, anonymity_level = 0, priority = 0, original_priority = 0, options = GSF_PRO_LOCAL_REQUEST,
    type = GNUNET_BLOCK_TYPE_ANY, results_found = 3, has_target = 0}, rh = 0x409be9 <client_response_handler>, rh_cls = 0x6916f8,
  replies_seen = 0x2ed4aa8, bf = 0x6919b8, hnode = 0x0, qe = 0x0, gh = 0x2b59cf8, llc_cont = 0, llc_cont_cls = 0x34c1d68,
  local_result = GNUNET_BLOCK_EVALUATION_OK_DUPLICATE, sender_pid = 0, origin_pid = 0, qe_start = {abs_value = 1323614775860}, warn_task = 0,
  local_result_offset = 1997970356047970310, first_uid = 11558, replies_seen_count = 3, replies_seen_size = 3, mingle = 3778776851,
  have_first_uid = 6}
(gdb) p *pr->gh
$2 = {iter = 0x40fd67 <handle_dht_reply>, iter_cls = 0x99e4c60, dht_handle = 0x0, message = 0x2a67820, key = {bits = {0 <repeats 16 times>}},
  unique_id = 9762413066980425733}
crashinfo14.txt (3,018 bytes)   

Activities

LRN

2011-12-13 00:18

developer   ~0005062

Try searching (from GNUnet-fs-gtk) for "video/vnd.avi video/avi video/msvideo video/x-msvideo". This seems to trigger the crash for me.

Christian Grothoff

2011-12-13 15:40

manager   ~0005079

Possibly fixed in SVN 18572, related to 0001786. If this fixes it, client also is buggy (fails to set OPTION_CONTINUED). I cannot reproduce the issue myself. What exact sequence of queries did you issue? Was the above 1 query or 4?

LRN

2011-12-13 19:02

developer   ~0005088

Fix confirmed (at least, it doesn't crash anymore).

Christian Grothoff

2011-12-13 19:15

manager   ~0005090

(07:04:49 PM) grothoff: LRN: did you get 0002000 with one query or many? Also, roughly how many search results were displayed at the time of the crash?
(07:04:57 PM) LRN: with one query
(07:06:28 PM) LRN: actually, "video/vnd.avi video/avi" was enough to crash
(07:06:50 PM) LRN: zero search results were displayed at the time of crash (crashed right after the search started)

Christian Grothoff

2011-12-19 21:38

manager   ~0005145

Can't find anything in the client APIs that would give me any hit as to why the 'bad' sequence of client messages would ever happen. Put in some more assertions, calling this resolved for now (as the main crash bug is certainly gone and the "root" cause is not reproduceable [anymore?]).

Issue History

Date Modified Username Field Change
2011-12-11 15:56 LRN New Issue
2011-12-11 15:56 LRN File Added: crashinfo14.txt
2011-12-12 14:34 Christian Grothoff Assigned To => Christian Grothoff
2011-12-12 14:34 Christian Grothoff Status new => assigned
2011-12-13 00:18 LRN Note Added: 0005062
2011-12-13 15:03 Christian Grothoff Target Version => 0.9.1
2011-12-13 15:40 Christian Grothoff Note Added: 0005079
2011-12-13 18:14 Christian Grothoff Priority normal => high
2011-12-13 18:14 Christian Grothoff Status assigned => feedback
2011-12-13 18:40 Christian Grothoff Severity minor => crash
2011-12-13 19:02 LRN Note Added: 0005088
2011-12-13 19:02 LRN Status feedback => assigned
2011-12-13 19:15 Christian Grothoff Note Added: 0005090
2011-12-19 21:38 Christian Grothoff Note Added: 0005145
2011-12-19 21:38 Christian Grothoff Status assigned => resolved
2011-12-19 21:38 Christian Grothoff Fixed in Version => 0.9.1
2011-12-19 21:38 Christian Grothoff Resolution open => fixed
2011-12-26 22:28 Christian Grothoff Status resolved => closed