View Issue Details

IDProjectCategoryView StatusLast Update
0002399GNUnetfile-sharing servicepublic2012-11-05 18:34
Reporterbratao Assigned ToChristian Grothoff  
PriorityurgentSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
PlatformWindowsOSWindows 8 
Product Version0.9.3 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002399: Error When Close the fs-gtk Assertion failed at fs_search.c:272.
Description[New Thread 9192.0x1b50]
Jun 01 16:31:35-00000000000023796096 gnunet-fs-gtk-9192 ERROR Assertion failed a
t fs_search.c:272.
Jun 01 16:31:35-00000000000023796099 gnunet-fs-gtk-9192 ERROR Assertion failed a
t fs_search.c:272.
Jun 01 16:31:35-00000000000023796103 gnunet-fs-gtk-9192 ERROR Assertion failed a
t fs_search.c:272.
Jun 01 16:31:35-00000000000023796106 gnunet-fs-gtk-9192 ERROR Assertion failed a
t fs_search.c:272.
Jun 01 16:31:35-00000000000023796110 gnunet-fs-gtk-9192 ERROR Assertion failed a
t fs_search.c:272.
Jun 01 16:31:35-00000000000023796113 gnunet-fs-gtk-9192 ERROR Assertion failed a
t fs_search.c:272.
Jun 01 16:31:35-00000000000023796128 util-scheduler-9192 ERROR Attempt to cancel
 dead task 18369900232523579118!
Jun 01 16:31:35-00000000000023796132 gnunet-fs-gtk-9192 ERROR Assertion failed a
t scheduler.c:918.
Steps To ReproduceEverytime i close the fs-gtk
Additional Information(gdb) bt full
#0 0x76dfb49b in KERNELBASE!DelayLoadFailureHook ()
   from C:\WINDOWS\SysWOW64\KernelBase.dll
No symbol table info available.
#1 0x62ac5054 in GNUNET_abort () at common_logging.c:271
No locals.
#2 0x62aea689 in GNUNET_SCHEDULER_cancel (task=18369900232523579118)
    at scheduler.c:918
        t = <optimized out>
        prev = <optimized out>
        p = <optimized out>
        to = <optimized out>
        ret = <optimized out>
        __FUNCTION__ = "GNUNET_SCHEDULER_cancel"
#3 0x69c11a68 in _fu366__skip_log () at fs_download.c:2240
        pi = {value = {publish = {pc = 0x0, fi = 0x8e, cctx = 0x28f988,
              pctx = 0x4364320, filename = 0x28fa58 "Äÿ(",
              size = 18446744068703084135, eta = {
                rel_value = 8607185441817551193}, duration = {
                rel_value = 303502420933493200},
              completed = 303502420865514384, anonymity = 70664664,
              specifics = {progress = {data = 0x7752a1bf,
                  offset = 28991924603101618, data_len = 8598112480314523648,
                  depth = 2732877687}, resume = {
                  message = 0x7752a1bf "Ã…ÿuöëÝ\220\220þÿÿÿ",
                  chk_uri = 0x28fa68}, completed = {chk_uri = 0x7752a1bf},
                error = {message = 0x7752a1bf "Ã…ÿuöëÝ\220\220þÿÿÿ"}}},
            download = {dc = 0x0, cctx = 0x8e, pctx = 0x28f988,
              sctx = 0x4364320, uri = 0x28fa58,
              filename = 0x777c2d22 "‹ÿU‹ìÿu\024ÿu\020ÿu\fÿu\bh",
              size = 18446744068703084135, eta = {
                rel_value = 8607185441817551193}, duration = {
                rel_value = 303502420933493200},
              completed = 303502420865514384, anonymity = 70664664,
              is_active = 2001904063, specifics = {progress = {
                  data = 0x7752a1bf, offset = 28991924603101618,
                  data_len = 8598112480314523648, depth = 2732877687,
                  trust_offered = 2685840, block_download_duration = {
                    rel_value = 303502420933494040}}, start = {
                  meta = 0x7752a1bf}, resume = {meta = 0x7752a1bf,
                  message = 0x28fa68 "Pû("}, error = {
                  message = 0x7752a1bf "Ã…ÿuöëÝ\220\220þÿÿÿ"}}}, search = {
              sc = 0x0, cctx = 0x8e, pctx = 0x28f988, query = 0x4364320,
              duration = {rel_value = 8609806211680369240},
              anonymity = 3583467111, specifics = {result = {
                  meta = 0xfffffffe, uri = 0x7772e159, result = 0x7772dd8e,
                  applicability_rank = 70664656}, resume_result = {
                  meta = 0xfffffffe, uri = 0x7772e159, result = 0x7772dd8e,
                  availability_rank = 70664656,
                  availability_certainty = 70664664,
                  applicability_rank = 2685840}, update = {cctx = 0xfffffffe,
                  meta = 0x7772e159, uri = 0x7772dd8e,
                  availability_rank = 70664656,
                  availability_certainty = 70664664,
                  applicability_rank = 2685840}, result_suspend = {
                  cctx = 0xfffffffe, meta = 0x7772e159, uri = 0x7772dd8e},
                result_stopped = {cctx = 0xfffffffe, meta = 0x7772e159,
                  uri = 0x7772dd8e}, resume = {
                  message = 0xfffffffe <Address 0xfffffffe out of bounds>,
                  is_paused = 2004017497}, error = {
                  message = 0xfffffffe <Address 0xfffffffe out of bounds>},
                namespace = {ns = 0xfffffffe, name = 0x7772e159 "Â\b",
                  root = 0x7772dd8e "é\n=ÿÿ\220\220\220\220\220‹ÿU‹ìƒì\034S‹]\bV
‹u\f\017·N\004\215CT‰Eì\017·", meta = 0x43641d0, id = {bits = {70664664,
                      2685840, 70664664, 70664664, 2001904063, 2001904063,
                      2685544, 2001904050, 6750208, 0, 2001904063,
                      2732877687, 2685840, 70665496, 70664664,
                      3583917271}}}}}, unindex = {uc = 0x0, cctx = 0x8e,
              filename = 0x28f988 "", size = 8609806211680369240, eta = {
                rel_value = 18446744068703084135}, duration = {
                rel_value = 8607185441817551193},
              completed = 303502420933493200, specifics = {progress = {
                  data = 0x28fb90, offset = 8598112480385188312,
                  data_len = 11534325653873087, depth = 2001904050},
                resume = {message = 0x28fb90 "pû("}, error = {
                  message = 0x28fb90 "pû("}}}}, status = 2001904063}
        have_children = <optimized out>
        search_was_null = <optimized out>
        __FUNCTION__ = "GNUNET_FS_download_stop"
#4 0x69c1a75b in search_result_suspend (cls=0x21ce8c8, key=0x28fb50,
    value=0x4bd59a0) at fs_search.c:1334
        sc = 0x21ce8c8
        sr = 0x4bd59a0
        pi = {value = {publish = {pc = 0x21ce8c8, fi = 0x43a2d30, cctx = 0x0,
              pctx = 0x21581a8,
              filename = 0x63e28 <Address 0x63e28 out of bounds>,
              size = 304874199057432577, eta = {
                rel_value = 303506818980004640}, duration = {
                rel_value = 8607189611568955491},
              completed = 28991922601197572, anonymity = 79720392,
              specifics = {progress = {data = 0x0, offset = 6750208,
                  data_len = 146028888064, depth = 2685592}, resume = {
                  message = 0x0, chk_uri = 0x38}, completed = {
                  chk_uri = 0x0}, error = {message = 0x0}}}, download = {
              dc = 0x21ce8c8, cctx = 0x43a2d30, pctx = 0x0, sctx = 0x21581a8,
              uri = 0x63e28, filename = 0x0, size = 304874199057432577,
              eta = {rel_value = 303506818980004640}, duration = {
                rel_value = 8607189611568955491},
              completed = 28991922601197572, anonymity = 79720392,
              is_active = 1, specifics = {progress = {data = 0x0,
                  offset = 6750208, data_len = 146028888064, depth = 2685592,
                  trust_offered = 0, block_download_duration = {
                    rel_value = 8609806211680369512}}, start = {meta = 0x0},
                resume = {meta = 0x0,
                  message = 0x38 <Address 0x38 out of bounds>}, error = {
                  message = 0x0}}}, search = {sc = 0x21ce8c8,
              cctx = 0x43a2d30, pctx = 0x0, query = 0x21581a8, duration = {
                rel_value = 409128}, anonymity = 1, specifics = {result = {
                  meta = 0x43b2178, uri = 0x4364320, result = 0x43645d8,
                  applicability_rank = 1342177379}, resume_result = {
                  meta = 0x43b2178, uri = 0x4364320, result = 0x43645d8,
                  availability_rank = 1342177379,
                  availability_certainty = 2004017497,
                  applicability_rank = 4}, update = {cctx = 0x43b2178,
                  meta = 0x4364320, uri = 0x43645d8,
                  availability_rank = 1342177379,
                  availability_certainty = 2004017497,
                  applicability_rank = 4}, result_suspend = {
                  cctx = 0x43b2178, meta = 0x4364320, uri = 0x43645d8},
                result_stopped = {cctx = 0x43b2178, meta = 0x4364320,
                  uri = 0x43645d8}, resume = {
                  message = 0x43b2178 "îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþî
þîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþî
þîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ"
..., is_paused = 70664992}, error = {
                  message = 0x43b2178 "îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþî
þîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþî
þîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ"
...}, namespace = {ns = 0x43b2178,
                  name = 0x4364320 "h¤9\004`A9\004îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ
îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ
îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ
îþ"...,
                  root = 0x43645d8 "îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ
îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ
îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ"...
,
                  meta = 0x50000063, id = {bits = {2004017497, 4, 6750208,
                      79720392, 1, 0, 56, 6750208, 0, 0, 34, 2685592, 0,
                      2685800, 2004626722, 3583467111}}}}}, unindex = {
              uc = 0x21ce8c8, cctx = 0x43a2d30, filename = 0x0,
              size = 409128, eta = {rel_value = 304874199057432577},
              duration = {rel_value = 303506818980004640},
              completed = 8607189611568955491, specifics = {progress = {
                  data = 0x4, offset = 4374687688, data_len = 240518168576,
                  depth = 6750208}, resume = {
                  message = 0x4 <Address 0x4 out of bounds>}, error = {
                  message = 0x4 <Address 0x4 out of bounds>}}}},
          status = GNUNET_FS_STATUS_SEARCH_RESULT_SUSPEND}
        __FUNCTION__ = "search_result_suspend"
#5 0x62acfd57 in GNUNET_CONTAINER_multihashmap_iterate (map=0x21ce930,
    it=0x69c1a720 <search_result_suspend>, it_cls=0x21ce8c8)
    at container_multihashmap.c:213
        count = 33
        i = <optimized out>
        e = <optimized out>
        n = 0x21dece0
        kc = {bits = {2550926411, 1813296670, 1213682143, 774880708,
            68088922, 89693438, 915392006, 2340656832, 446161134, 3943500689,
            4254711128, 31217976, 750501495, 3037815820, 467377770, 49739230}}
        __FUNCTION__ = "GNUNET_CONTAINER_multihashmap_iterate"
#6 0x69c1a4bc in GNUNET_FS_search_signal_suspend_ (cls=0x21ce8c8)
    at fs_search.c:1376
        sc = 0x21ce8c8
        pi = {value = {publish = {pc = 0x4c06fd0, fi = 0x4bd59a0, cctx = 0x0,
              pctx = 0x0,
              filename = 0x4ba9c38 "àÝ5\004X19\004îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ
îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ
îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþ
îþ"..., size = 32768, eta = {rel_value = 18446744073709551615},
              duration = {rel_value = 363546}, completed = 0, anonymity = 1,
              specifics = {progress = {data = 0x5,
                  offset = 18446744069494225592, data_len = 4297653336,
                  depth = 2686592}, resume = {
                  message = 0x5 <Address 0x5 out of bounds>,
                  chk_uri = 0x4bf3ab8}, completed = {chk_uri = 0x5}, error = {
                  message = 0x5 <Address 0x5 out of bounds>}}}, download = {
              dc = 0x4c06fd0, cctx = 0x4bd59a0, pctx = 0x0, sctx = 0x0,
              uri = 0x4ba9c38, filename = 0x0, size = 32768, eta = {
                rel_value = 18446744073709551615}, duration = {
                rel_value = 363546}, completed = 0, anonymity = 1,
              is_active = 0, specifics = {progress = {data = 0x5,
                  offset = 18446744069494225592, data_len = 4297653336,
                  depth = 2686592, trust_offered = 1,
                  block_download_duration = {
                    rel_value = 7333014607556574296}}, start = {meta = 0x5},
                resume = {meta = 0x5,
                  message = 0x4bf3ab8 "îþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþî
þîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþîþÑHßXó<,\034"}, error = {
                  message = 0x5 <Address 0x5 out of bounds>}}}, search = {
              sc = 0x4c06fd0, cctx = 0x4bd59a0, pctx = 0x0, query = 0x0,
              duration = {rel_value = 79338552}, anonymity = 32768,
              specifics = {result = {meta = 0x0, uri = 0xffffffff,
                  result = 0xffffffff, applicability_rank = 363546},
                resume_result = {meta = 0x0, uri = 0xffffffff,
                  result = 0xffffffff, availability_rank = 363546,
                  availability_certainty = 0, applicability_rank = 0},
                update = {cctx = 0x0, meta = 0xffffffff, uri = 0xffffffff,
                  availability_rank = 363546, availability_certainty = 0,
                  applicability_rank = 0}, result_suspend = {cctx = 0x0,
                  meta = 0xffffffff, uri = 0xffffffff}, result_stopped = {
                  cctx = 0x0, meta = 0xffffffff, uri = 0xffffffff}, resume = {
                  message = 0x0, is_paused = -1}, error = {message = 0x0},
                namespace = {ns = 0x0,
                  name = 0xffffffff <Address 0xffffffff out of bounds>,
                  root = 0xffffffff <Address 0xffffffff out of bounds>,
                  meta = 0x58c1a, id = {bits = {0, 0, 0, 1, 0, 5, 79641272,
                      79641272, 4294967295, 2686040, 1, 2686592, 1, 2686040,
                      1707350511, 0}}}}}, unindex = {uc = 0x4c06fd0,
              cctx = 0x4bd59a0, filename = 0x0, size = 79338552, eta = {
                rel_value = 32768}, duration = {
                rel_value = 18446744073709551615}, completed = 363546,
              specifics = {progress = {data = 0x0, offset = 1,
                  data_len = 342056658651840517, depth = 79641272}, resume = {
                  message = 0x0}, error = {message = 0x0}}}},
          status = GNUNET_FS_STATUS_DOWNLOAD_SUSPEND}
        i = <optimized out>
        __FUNCTION__ = "GNUNET_FS_search_signal_suspend_"
#7 0x69c08c45 in GNUNET_FS_stop (h=0x21540a8) at fs_api.c:2918
No locals.
#8 0x004013ad in ?? ()
No symbol table info available.
(gdb)
TagsNo tags attached.

Activities

Christian Grothoff

2012-06-02 19:09

manager   ~0005998

The cancellation of the dead task might relate to the use-after free from 0002398. Not sure about the probe issue.

Christian Grothoff

2012-06-08 16:15

manager   ~0006028

I believe SVN 21805 fixes this issue. Please let me know if not.

Issue History

Date Modified Username Field Change
2012-06-02 01:33 bratao New Issue
2012-06-02 10:19 Christian Grothoff Assigned To => Christian Grothoff
2012-06-02 10:19 Christian Grothoff Status new => assigned
2012-06-02 19:09 Christian Grothoff Note Added: 0005998
2012-06-02 19:09 Christian Grothoff Product Version => 0.9.3
2012-06-02 19:09 Christian Grothoff Target Version => 0.9.4
2012-06-03 01:20 Christian Grothoff Priority normal => urgent
2012-06-08 16:15 Christian Grothoff Note Added: 0006028
2012-06-08 16:15 Christian Grothoff Status assigned => feedback
2012-06-13 11:13 Christian Grothoff Status feedback => resolved
2012-06-13 11:13 Christian Grothoff Fixed in Version => 0.9.4
2012-06-13 11:13 Christian Grothoff Resolution open => fixed
2012-11-05 18:34 Christian Grothoff Status resolved => closed