core_cp ----------------------- harrykar@harrysas:~$ gdb /usr/bin/gnunet-arm core_cp GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gnunet-arm...done. warning: core file may not match specified executable file. [New Thread 32541] Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.1.so...done. done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Core was generated by `gnunet-service-dht -c /home/harrykar/.gnunet/gnunet.conf'. Program terminated with signal 8, Arithmetic exception. #0 0x0000000000405516 in ?? () (gdb) quit harrykar@harrysas:~$ gdb /usr/bin/gnunet-service-dht core_cp GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gnunet-service-dht...done. warning: core file may not match specified executable file. [New Thread 32541] warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/libgnunetstatistics.so.0...done. Loaded symbols for /usr/lib/libgnunetstatistics.so.0 Reading symbols from /usr/lib/libgnunetcore.so.0...done. Loaded symbols for /usr/lib/libgnunetcore.so.0 Reading symbols from /usr/lib/libgnunetnse.so.0...done. Loaded symbols for /usr/lib/libgnunetnse.so.0 Reading symbols from /usr/lib/libgnunettransport.so.0...done. Loaded symbols for /usr/lib/libgnunettransport.so.0 Reading symbols from /usr/lib/libgnunetpeerinfo.so.0...done. Loaded symbols for /usr/lib/libgnunetpeerinfo.so.0 Reading symbols from /usr/lib/libgnunethello.so.0...done. Loaded symbols for /usr/lib/libgnunethello.so.0 Reading symbols from /usr/lib/libgnunetblock.so.0...done. Loaded symbols for /usr/lib/libgnunetblock.so.0 Reading symbols from /usr/lib/libgnunetdatacache.so.0...done. Loaded symbols for /usr/lib/libgnunetdatacache.so.0 Reading symbols from /usr/lib/libgnunetutil.so.4...done. Loaded symbols for /usr/lib/libgnunetutil.so.4 Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.11.1.so...done. done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.11.1.so...done. done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.11.1.so...done. done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libgcrypt.so.11...(no debugging symbols found)...done. Loaded symbols for /lib/libgcrypt.so.11 Reading symbols from /usr/lib/libltdl.so.7...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libltdl.so.7 Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.1.so...done. done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib/libgpg-error.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libgpg-error.so.0 Reading symbols from /usr/lib/gnunet/libgnunet_plugin_block_fs.so...done. Loaded symbols for /usr/lib/gnunet/libgnunet_plugin_block_fs.so Reading symbols from /usr/lib/gnunet/libgnunet_plugin_block_dht.so...done. Loaded symbols for /usr/lib/gnunet/libgnunet_plugin_block_dht.so Reading symbols from /usr/lib/gnunet/libgnunet_plugin_block_test.so...done. Loaded symbols for /usr/lib/gnunet/libgnunet_plugin_block_test.so Reading symbols from /usr/lib/gnunet/libgnunet_plugin_block_dns.so...done. Loaded symbols for /usr/lib/gnunet/libgnunet_plugin_block_dns.so Reading symbols from /usr/lib/gnunet/libgnunet_plugin_datacache_sqlite.so...done. Loaded symbols for /usr/lib/gnunet/libgnunet_plugin_datacache_sqlite.so Reading symbols from /usr/lib/libsqlite3.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libsqlite3.so.0 Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.11.1.so...done. done. Loaded symbols for /lib/libpthread.so.0 Core was generated by `gnunet-service-dht -c /home/harrykar/.gnunet/gnunet.conf'. Program terminated with signal 8, Arithmetic exception. #0 0x0000000000405516 in update_core_preference (cls=0x12e5660, tc=) at gnunet-service-dht_neighbours.c:505 505 preference = (1LL << matching) / k_buckets[bucket].peers_size; (gdb) thread apply all bt full Thread 1 (Thread 32541): #0 0x0000000000405516 in update_core_preference (cls=0x12e5660, tc=) at gnunet-service-dht_neighbours.c:505 matching = 1 bucket = #1 0x00007f3b5a8643b8 in run_ready (task=, task_cls=) at scheduler.c:682 p = GNUNET_SCHEDULER_PRIORITY_KEEP pos = 0x12e5010 tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT, read_ready = 0x12b4180, write_ready = 0x12ba610} #2 GNUNET_SCHEDULER_run (task=, task_cls=) at scheduler.c:863 rs = 0x12b4180 ws = 0x12ba610 ret = shc_int = 0x12ba6a0 shc_term = 0x12ba750 shc_quit = 0x12ba8b0 shc_hup = 0x12ba960 shc_pipe = 0x12ba800 last_tr = busy_wait_warning = 0 pr = 0x12b40e0 c = 0 '\000' #3 0x00007f3b5a86a157 in GNUNET_SERVICE_run (argc=3, argv=0x7fff18da6228, serviceName=0x407d6c "dht", opt=, task=, task_cls=0x0) at service.c:1591 err = cfg_fn = 0x12b3ff0 "/home/harrykar/.gnunet/gnunet.conf" loglev = 0x12b3e80 "WARNING" logfile = 0x0 do_daemonize = 0 i = skew_offset = 4204704 ---Type to continue, or q to quit--- skew_variance = 0 sctx = {cfg = 0x12b3ec0, server = 0x12b4210, addrs = 0x0, serviceName = 0x407d6c "dht", task = 0x402b20 , task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x12b40f0, v6_allowed = 0x12b4130, my_handlers = 0x12bac50, addrlens = 0x0, lsocks = 0x12b3f00, timeout = { rel_value = 18446744073709551615}, ret = 1, ready_confirm_fd = -1, require_found = 1, match_uid = 1, match_gid = 1, options = GNUNET_SERVICE_OPTION_NONE} cfg = 0x12b3ec0 service_options = {{shortName = 99 'c', name = 0x7f3b5a86d2fd "config", argumentHelp = 0x7f3b5a86d304 "FILENAME", description = 0x7f3b5a86d3b0 "use configuration file FILENAME", require_argument = 1, processor = 0x7f3b5a85b890 , scls = 0x7fff18da60f0}, {shortName = 100 'd', name = 0x7f3b5a86d9a9 "daemonize", argumentHelp = 0x0, description = 0x7f3b5a86dd40 "do daemonize (detach from terminal)", require_argument = 0, processor = 0x7f3b5a85b7a0 , scls = 0x7fff18da60fc}, {shortName = 104 'h', name = 0x7f3b5a86d318 "help", argumentHelp = 0x0, description = 0x7f3b5a86d30d "print this help", require_argument = 0, processor = 0x7f3b5a85b930 , scls = 0x407d6c}, { shortName = 76 'L', name = 0x7f3b5a86d31d "log", argumentHelp = 0x7f3b5a86bd9f "LOGLEVEL", description = 0x7f3b5a86d3d0 "configure logging to use LOGLEVEL", require_argument = 1, processor = 0x7f3b5a85b890 , scls = 0x7fff18da60e8}, {shortName = 108 'l', name = 0x7f3b5a86d321 "logfile", argumentHelp = 0x7f3b5a86d329 "LOGFILE", description = 0x7f3b5a86d3f8 "configure logging to write logs to LOGFILE", require_argument = 1, processor = 0x7f3b5a85b890 , scls = 0x7fff18da60e0}, {shortName = 118 'v', name = 0x7f3b5a86d331 "version", argumentHelp = 0x0, description = 0x7f3b5a86d339 "print the version number", require_argument = 0, processor = 0x7f3b5a85bcd0 , scls = 0x7f3b5a86d352}, { shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0, scls = 0x0}} #4 0x00000000004029a6 in main (argc=19814048, argv=0x1) at gnunet-service-dht.c:185 No locals. (gdb) core ---------- harrykar@harrysas:~$ gdb /usr/bin/gnunet-service-dht core GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gnunet-service-dht...done. warning: core file may not match specified executable file. [New Thread 7593] warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/libgnunetstatistics.so.0...done. Loaded symbols for /usr/lib/libgnunetstatistics.so.0 Reading symbols from /usr/lib/libgnunetcore.so.0...done. Loaded symbols for /usr/lib/libgnunetcore.so.0 Reading symbols from /usr/lib/libgnunetnse.so.0...done. Loaded symbols for /usr/lib/libgnunetnse.so.0 Reading symbols from /usr/lib/libgnunettransport.so.0...done. Loaded symbols for /usr/lib/libgnunettransport.so.0 Reading symbols from /usr/lib/libgnunetpeerinfo.so.0...done. Loaded symbols for /usr/lib/libgnunetpeerinfo.so.0 Reading symbols from /usr/lib/libgnunethello.so.0...done. Loaded symbols for /usr/lib/libgnunethello.so.0 Reading symbols from /usr/lib/libgnunetblock.so.0...done. Loaded symbols for /usr/lib/libgnunetblock.so.0 Reading symbols from /usr/lib/libgnunetdatacache.so.0...done. Loaded symbols for /usr/lib/libgnunetdatacache.so.0 Reading symbols from /usr/lib/libgnunetutil.so.4...done. Loaded symbols for /usr/lib/libgnunetutil.so.4 Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.11.1.so...done. done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.11.1.so...done. done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.11.1.so...done. done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libgcrypt.so.11...(no debugging symbols found)...done. Loaded symbols for /lib/libgcrypt.so.11 Reading symbols from /usr/lib/libltdl.so.7...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libltdl.so.7 Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.1.so...done. done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /lib/libgpg-error.so.0...(no debugging symbols found)...done. Loaded symbols for /lib/libgpg-error.so.0 Reading symbols from /usr/lib/gnunet/libgnunet_plugin_block_fs.so...done. Loaded symbols for /usr/lib/gnunet/libgnunet_plugin_block_fs.so Reading symbols from /usr/lib/gnunet/libgnunet_plugin_block_dht.so...done. Loaded symbols for /usr/lib/gnunet/libgnunet_plugin_block_dht.so Reading symbols from /usr/lib/gnunet/libgnunet_plugin_block_test.so...done. Loaded symbols for /usr/lib/gnunet/libgnunet_plugin_block_test.so Reading symbols from /usr/lib/gnunet/libgnunet_plugin_block_dns.so...done. Loaded symbols for /usr/lib/gnunet/libgnunet_plugin_block_dns.so Reading symbols from /usr/lib/gnunet/libgnunet_plugin_datacache_sqlite.so...done. Loaded symbols for /usr/lib/gnunet/libgnunet_plugin_datacache_sqlite.so Reading symbols from /usr/lib/libsqlite3.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libsqlite3.so.0 Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.11.1.so...done. done. Loaded symbols for /lib/libpthread.so.0 Core was generated by `gnunet-service-dht -c /home/harrykar/.gnunet/gnunet.conf'. Program terminated with signal 8, Arithmetic exception. #0 0x0000000000405516 in update_core_preference (cls=0x1baae70, tc=) at gnunet-service-dht_neighbours.c:505 505 preference = (1LL << matching) / k_buckets[bucket].peers_size; (gdb) thread apply all bt full Thread 1 (Thread 7593): #0 0x0000000000405516 in update_core_preference (cls=0x1baae70, tc=) at gnunet-service-dht_neighbours.c:505 matching = 0 bucket = #1 0x00007f975748d3b8 in run_ready (task=, task_cls=) at scheduler.c:682 p = GNUNET_SCHEDULER_PRIORITY_KEEP pos = 0x1baafc0 tc = {reason = GNUNET_SCHEDULER_REASON_TIMEOUT, read_ready = 0x1b7d610, write_ready = 0x1b7d6a0} #2 GNUNET_SCHEDULER_run (task=, task_cls=) at scheduler.c:863 rs = 0x1b7d610 ws = 0x1b7d6a0 ret = shc_int = 0x1b7d730 shc_term = 0x1b7d7e0 shc_quit = 0x1b7d940 shc_hup = 0x1b7d9f0 shc_pipe = 0x1b7d890 last_tr = busy_wait_warning = 0 pr = 0x1b77190 c = 0 '\000' #3 0x00007f9757493157 in GNUNET_SERVICE_run (argc=3, argv=0x7fffc9505988, serviceName=0x407d6c "dht", opt=, task=, task_cls=0x0) at service.c:1591 err = cfg_fn = 0x1b76ff0 "/home/harrykar/.gnunet/gnunet.conf" loglev = 0x1b76e80 "WARNING" logfile = 0x0 do_daemonize = 0 i = skew_offset = 4204704 ---Type to continue, or q to quit--- skew_variance = 0 sctx = {cfg = 0x1b76ec0, server = 0x1b7db20, addrs = 0x1b77020, serviceName = 0x407d6c "dht", task = 0x402b20 , task_cls = 0x0, v4_denied = 0x0, v6_denied = 0x0, v4_allowed = 0x1b771a0, v6_allowed = 0x1b771e0, my_handlers = 0x1b7dd50, addrlens = 0x1b76ee0, lsocks = 0x0, timeout = { rel_value = 18446744073709551615}, ret = 1, ready_confirm_fd = -1, require_found = 1, match_uid = 1, match_gid = 1, options = GNUNET_SERVICE_OPTION_NONE} cfg = 0x1b76ec0 service_options = {{shortName = 99 'c', name = 0x7f97574962fd "config", argumentHelp = 0x7f9757496304 "FILENAME", description = 0x7f97574963b0 "use configuration file FILENAME", require_argument = 1, processor = 0x7f9757484890 , scls = 0x7fffc9505850}, {shortName = 100 'd', name = 0x7f97574969a9 "daemonize", argumentHelp = 0x0, description = 0x7f9757496d40 "do daemonize (detach from terminal)", require_argument = 0, processor = 0x7f97574847a0 , scls = 0x7fffc950585c}, {shortName = 104 'h', name = 0x7f9757496318 "help", argumentHelp = 0x0, description = 0x7f975749630d "print this help", require_argument = 0, processor = 0x7f9757484930 , scls = 0x407d6c}, { shortName = 76 'L', name = 0x7f975749631d "log", argumentHelp = 0x7f9757494d9f "LOGLEVEL", description = 0x7f97574963d0 "configure logging to use LOGLEVEL", require_argument = 1, processor = 0x7f9757484890 , scls = 0x7fffc9505848}, {shortName = 108 'l', name = 0x7f9757496321 "logfile", argumentHelp = 0x7f9757496329 "LOGFILE", description = 0x7f97574963f8 "configure logging to write logs to LOGFILE", require_argument = 1, processor = 0x7f9757484890 , scls = 0x7fffc9505840}, {shortName = 118 'v', name = 0x7f9757496331 "version", argumentHelp = 0x0, description = 0x7f9757496339 "print the version number", require_argument = 0, processor = 0x7f9757484cd0 , scls = 0x7f9757496352}, { shortName = 0 '\000', name = 0x0, argumentHelp = 0x0, description = 0x0, require_argument = 0, processor = 0, scls = 0x0}} #4 0x00000000004029a6 in main (argc=29011632, argv=0x0) at gnunet-service-dht.c:185 No locals. (gdb)