View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002398 | GNUnet | file-sharing service | public | 2012-06-01 23:42 | 2012-11-05 18:34 |
Reporter | bratao | Assigned To | Christian Grothoff | ||
Priority | urgent | Severity | crash | Reproducibility | random |
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | Windows 8 | OS Version | Release Preview |
Product Version | 0.9.3 | ||||
Target Version | 0.9.4 | Fixed in Version | 0.9.4 | ||
Summary | 0002398: Assertion failed a t container_multihashmap.c:203. | ||||
Description | After sometime runing I got a crash. Last debug lines: Still not got under GDB, as soon as I got, I will post the log (gnunet-fs-gtk.exe:5772): GLib-GObject-CRITICAL **: g_object_unref: assertion `G _IS_OBJECT (object)' failed Jun 01 14:38:20-00000000000016999167 gnunet-fs-gtk-5772 ERROR Assertion failed a t fs_download.c:1124. (gnunet-fs-gtk.exe:5772): Gtk-WARNING **: Unable to retrieve the file info for ` file:///e:/Projetos/SecureP2P/gnunet-gtk/download/03_When_The_Body_Speaks.mp3': Error stating file 'e:\Projetos\SecureP2P\gnunet-gtk\download\03_When_The_Body_S peaks.mp3': No such file or directory Jun 01 14:39:23-00000000000017062361 gnunet-fs-gtk-5772 ERROR Assertion failed a t container_multihashmap.c:203. | ||||
Tags | No tags attached. | ||||
|
Ok, got a trace (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 0x62acfdf0 in GNUNET_CONTAINER_multihashmap_iterate (map=0x0, it=0x69c0b0c8 <retry_entry>, it_cls=0x441a568) at container_multihashmap.c:203 count = 0 i = <optimized out> e = <optimized out> n = <optimized out> kc = {bits = {117978, 0, 1774303468, 70513120, 80271448, 3746306304, 2685768, 2001904276, 71411048, 2685848, 71411048, 1774242060, 0, 2685848, 0, 0}} __FUNCTION__ = "GNUNET_CONTAINER_multihashmap_iterate" #3 0x69c0ca16 in activate_fs_download (cls=0x441a568, client=0x4abf348) at fs_download.c:1443 dc = 0x441a568 pi = {value = {publish = {pc = 0x441a568, fi = 0x433f1e0, cctx = 0x0, pctx = 0x0, filename = 0x44199c0 "\003", size = 32768, eta = { rel_value = 18446744073709551615}, duration = { rel_value = 27443}, completed = 0, anonymity = 1, specifics = {progress = {data = 0x4ab2a20, offset = 7111133373296439434, data_len = 11536041638887841, depth = 2094}, resume = {message = 0x4ab2a20 "ð`g", chk_uri = 0x62ac2c9a}, completed = {chk_uri = 0x4ab2a20}, error = {message = 0x4ab2a20 "ð`g"}}}, download = { dc = 0x441a568, cctx = 0x433f1e0, pctx = 0x0, sctx = 0x0, uri = 0x44199c0, filename = 0x0, size = 32768, eta = { rel_value = 18446744073709551615}, duration = { rel_value = 27443}, completed = 0, anonymity = 1, is_active = 1, specifics = {progress = {data = 0x4ab2a20, offset = 7111133373296439434, data_len = 11536041638887841, depth = 2094, trust_offered = 0, block_download_duration = { rel_value = 304944602241620064}}, start = { meta = 0x4ab2a20}, resume = {meta = 0x4ab2a20, message = 0x62ac2c9a "‰C@‰SD‰ØƒÄ,[^_]Ãf\220\061ۉ؃Ä,[^_]Ã\200 \070\001\031ÛƒË\001é\036ÿÿÿ\215v"}, error = {message = 0x4ab2a20 "ð`g"}}}, search = {sc = 0x441a568, cctx = 0x433f1e0, pctx = 0x0, query = 0x0, duration = {rel_value = 71408064}, anonymity = 32768, specifics = {result = {meta = 0x0, uri = 0xffffffff, result = 0xffffffff, applicability_rank = 27443}, resume_result = {meta = 0x0, uri = 0xffffffff, result = 0xffffffff, availability_rank = 27443, availability_certainty = 0, applicability_rank = 0}, update = {cctx = 0x0, meta = 0xffffffff, uri = 0xffffffff, availability_rank = 27443, 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 = 0x6b33, id = {bits = {0, 0, 0, 1, 1, 78326304, 1655450778, 1774350474, 1655689760, 417, 2685944, 2094, 0, 80271456, 71000448, 2820037840}}}}}, unindex = { uc = 0x441a568, cctx = 0x433f1e0, filename = 0x0, size = 71408064, eta = {rel_value = 32768}, duration = { rel_value = 18446744073709551615}, completed = 27443, specifics = {progress = {data = 0x0, offset = 4294967297, data_len = 7110106951726082592, depth = 1774350474}, resume = {message = 0x0}, error = {message = 0x0}}}}, status = GNUNET_FS_STATUS_DOWNLOAD_ACTIVE} __FUNCTION__ = "activate_fs_download" #4 0x69c0244a in start_job (qe=0x441bb38) at fs_api.c:59 __FUNCTION__ = "start_job" #5 0x69c0287b in process_job_queue (cls=0x6c40a8, tc=0x28fcf0) at fs_api.c:125 h = 0x6c40a8 qe = <optimized out> next = 0x4419e90 run_time = <optimized out> restart_at = {rel_value = 18446744073709551615} rst = <optimized out> end_time = <optimized out> __FUNCTION__ = "process_job_queue" #6 0x62aebab4 in run_ready (ws=0x777188, rs=0x776160) at scheduler.c:602 p = <optimized out> pos = 0x4c888c8 tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT, read_ready = 0x776160, write_ready = 0x777188} #7 GNUNET_SCHEDULER_run (task=0x62ae57a0 <program_main>, task_cls=0x28fddc) at scheduler.c:790 rs = 0x776160 ws = 0x777188 timeout = <optimized out> ret = <optimized out> shc_int = 0x659138 shc_term = 0x659158 last_tr = 4238 busy_wait_warning = 0 pr = 0x658e98 c = 98 'b' __FUNCTION__ = "GNUNET_SCHEDULER_run" #8 0x62ae5f0f in GNUNET_PROGRAM_run2 (argc=1, argv=0x658a38, binaryName=0x41c28f "gnunet-fs-gtk", binaryHelp=0x41c2f4 "GTK GUI for GNUnet", options=0x41b000, task=0x416620, task_cls=0x28fe80, run_without_scheduler=0) at program.c:261 cc = {args = 0x658a3c, cfgfile = 0x774380 "~/.gnunet/gnunet.conf", task = 0x416620, task_cls = 0x28fe80, cfg = 0x658a18} path = <optimized out> loglev = 0x0 logfile = 0x0 ret = 1 cnt = 6 skew_offset = 33498032494069917 skew_variance = 16090266460097333377 cfg = 0x658a18 defoptions = {{shortName = 99 'c', name = 0x62b0046c "config", argumentHelp = 0x62b00473 "FILENAME", description = 0x62b0047c "use configuration file FILENAME", require_argument = 1, processor = 0x62adcf4c <GNUNET_GETOPT_set_string>, scls = 0x28fde0}, {shortName = 104 'h', name = 0x62b0049c "help", argumentHelp = 0x0, description = 0x62b004a1 "print this help", require_argument = 0, processor = 0x62adcbb0 <GNUNET_GETOPT_format_help_>, scls = 0x41c2f4}, {shortName = 76 'L', name = 0x62b004b1 "log", argumentHelp = 0x62b004b5 "LOGLEVEL", description = 0x62b004c0 "configure logging to use LOGLEVEL", require_argument = 1, processor = 0x62adcf4c <GNUNET_GETOPT_set_string>, scls = 0x28fe00}, {shortName = 108 'l', name = 0x62b004e2 "logfile", argumentHelp = 0x62b004ea "LOGFILE", description = 0x62b004f4 "configure logging to write logs to LOGFILE ", require_argument = 1, processor = 0x62adcf4c <GNUNET_GETOPT_set_string>, scls = 0x28fe04}, {shortName = 118 'v', name = 0x62b0051f "version", argumentHelp = 0x0, description = 0x62b00527 "print the version number", require_argument = 0, processor = 0x62adcb84 <GNUNET_GETOPT_print_version_>, scls = 0x62b00540}} allopts = 0x658e68 gargs = 0x6 <Address 0x6 out of bounds> lpfx = 0x658f48 "««««îþîþ" spc = <optimized out> #9 0x62ae60af in GNUNET_PROGRAM_run (argc=1, argv=0x658a38, binaryName=0x41c28f "gnunet-fs-gtk", binaryHelp=0x41c2f4 "GTK GUI for GNUnet", options=0x41b000, task=0x416620, task_cls=0x28fe80) at program.c:296 No locals. #10 0x00417b54 in ?? () No symbol table info available. #11 0x004010b9 in ?? () No symbol table info available. #12 0x00401284 in ?? () No symbol table info available. #13 0x773983db in RegisterWaitForSingleObject () from C:\WINDOWS\SysWOW64\kernel32.dll No symbol table info available. #14 0x7ea3d000 in ?? () No symbol table info available. #15 0x77739a3f in ?? () No symbol table info available. #16 0x77739a12 in ?? () No symbol table info available. #17 0x00000000 in ?? () No symbol table info available. (gdb) |
|
Looks like some use-after-free, valgrind (or valgrind-like) reports would be very useful... |
|
I believe SVN 21805 fixes this issue. Please let me know if not. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-06-01 23:42 | bratao | New Issue | |
2012-06-02 01:24 | bratao | Note Added: 0005994 | |
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:07 | Christian Grothoff | Note Added: 0005997 | |
2012-06-02 19:09 | Christian Grothoff | Product Version | Git master => 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 15:07 | Christian Grothoff | Category | other => file-sharing service |
2012-06-08 16:15 | Christian Grothoff | Note Added: 0006027 | |
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 |