Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==27929== Memcheck, a memory error detector.
- ==27929== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
- ==27929== Using LibVEX rev 1854, a library for dynamic binary translation.
- ==27929== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
- ==27929== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
- ==27929== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
- ==27929==
- ==27929== My PID = 27929, parent PID = 1271. Prog and args are:
- ==27929== ncdc
- ==27929==
- --27929--
- --27929-- Command line
- --27929-- ncdc
- --27929-- Startup, with flags:
- --27929-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
- --27929-- -v
- --27929-- --leak-check=full
- --27929-- --log-file=./valgrindlog
- --27929-- Contents of /proc/version:
- --27929-- Linux version 2.6.25-2-686 (Debian 2.6.25-7) (maks@debian.org) (gcc version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 SMP Fri Jul 18 17:46:56 UTC 2008
- --27929-- Arch and hwcaps: X86, x86-sse1
- --27929-- Page sizes: currently 4096, max supported 4096
- --27929-- Valgrind library directory: /usr/lib/valgrind
- --27929-- Reading syms from /lib/ld-2.7.so (0x4000000)
- --27929-- Reading debug info from /lib/ld-2.7.so...
- --27929-- ... CRC mismatch (computed 0f4d8d49 wanted a869dbba)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /home/phoenix/.local/bin/ncdc (0x8048000)
- --27929-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
- --27929-- object doesn't have a dynamic symbol table
- --27929-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
- --27929-- Reading suppressions file: /usr/lib/valgrind/default.supp
- --27929-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x401D000)
- --27929-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x401F000)
- --27929-- Reading syms from /lib/i686/cmov/libm-2.7.so (0x4030000)
- --27929-- Reading debug info from /lib/i686/cmov/libm-2.7.so...
- --27929-- ... CRC mismatch (computed 84d25b4e wanted e5d74bdb)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /usr/lib/debug/libncursesw.so.5.7 (0x4056000)
- --27929-- Reading syms from /lib/libbz2.so.1.0.4 (0x40A3000)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /home/phoenix/.local/lib/libglib-2.0.so.0.3000.2 (0x40B3000)
- --27929-- Reading syms from /home/phoenix/.local/lib/libgio-2.0.so.0.3000.2 (0x41C1000)
- --27929-- Reading syms from /home/phoenix/.local/lib/libgobject-2.0.so.0.3000.2 (0x42D9000)
- --27929-- Reading syms from /home/phoenix/.local/lib/libgmodule-2.0.so.0.3000.2 (0x431B000)
- --27929-- Reading syms from /home/phoenix/.local/lib/libgthread-2.0.so.0.3000.2 (0x431E000)
- --27929-- Reading syms from /lib/i686/cmov/librt-2.7.so (0x4322000)
- --27929-- Reading debug info from /lib/i686/cmov/librt-2.7.so...
- --27929-- ... CRC mismatch (computed 5f5a9293 wanted e0853be5)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /usr/lib/libxml2.so.2.6.32 (0x432B000)
- --27929-- Reading debug info from /usr/lib/libxml2.so.2.6.32...
- --27929-- ... CRC mismatch (computed 526028cb wanted b3cc444f)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /usr/lib/libsqlite3.so.0.8.6 (0x4465000)
- --27929-- Reading debug info from /usr/lib/libsqlite3.so.0.8.6...
- --27929-- ... CRC mismatch (computed 11492c73 wanted e1950a9b)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /lib/i686/cmov/libpthread-2.7.so (0x44D4000)
- --27929-- Reading debug info from /lib/i686/cmov/libpthread-2.7.so...
- --27929-- ... CRC mismatch (computed 84adc8b7 wanted c5430422)
- --27929-- Reading syms from /lib/i686/cmov/libc-2.7.so (0x44ED000)
- --27929-- Reading debug info from /lib/i686/cmov/libc-2.7.so...
- --27929-- ... CRC mismatch (computed d055fe5e wanted 5e6dc3cf)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /lib/i686/cmov/libdl-2.7.so (0x4648000)
- --27929-- Reading debug info from /lib/i686/cmov/libdl-2.7.so...
- --27929-- ... CRC mismatch (computed b596727c wanted ea21a73b)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /usr/lib/libffi.so.5.0.8 (0x464C000)
- --27929-- Reading debug info from /usr/lib/libffi.so.5.0.8...
- --27929-- ... CRC mismatch (computed 6b1e76bd wanted 36cc93db)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /usr/lib/libz.so.1.2.3.3 (0x4653000)
- --27929-- Reading debug info from /usr/lib/libz.so.1.2.3.3...
- --27929-- ... CRC mismatch (computed b8d0f447 wanted 25ef9422)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /lib/i686/cmov/libresolv-2.7.so (0x4668000)
- --27929-- Reading debug info from /lib/i686/cmov/libresolv-2.7.so...
- --27929-- ... CRC mismatch (computed 475b4548 wanted e1d5dcba)
- --27929-- object doesn't have a symbol table
- --27929-- REDIR: 0x4563940 (rindex) redirected to 0x40230c0 (rindex)
- --27929-- REDIR: 0x4562f50 (strcmp) redirected to 0x4023770 (strcmp)
- --27929-- REDIR: 0x45634c0 (strlen) redirected to 0x4023470 (strlen)
- --27929-- REDIR: 0x45636e0 (strncmp) redirected to 0x40236e0 (strncmp)
- --27929-- REDIR: 0x4562de0 (index) redirected to 0x40231b0 (index)
- --27929-- REDIR: 0x4565900 (strchrnul) redirected to 0x4024450 (strchrnul)
- --27929-- REDIR: 0x455f700 (malloc) redirected to 0x4022cb0 (malloc)
- --27929-- REDIR: 0x4564890 (mempcpy) redirected to 0x40244b0 (mempcpy)
- --27929-- REDIR: 0x4564d40 (memcpy) redirected to 0x40238e0 (memcpy)
- --27929-- REDIR: 0x455d8d0 (free) redirected to 0x4021ad0 (free)
- --27929-- REDIR: 0x45637f0 (strncpy) redirected to 0x40235a0 (strncpy)
- --27929-- REDIR: 0x455f3f0 (calloc) redirected to 0x4020d60 (calloc)
- --27929-- REDIR: 0x455fb80 (realloc) redirected to 0x4022dc0 (realloc)
- --27929-- REDIR: 0x4564830 (memset) redirected to 0x4024380 (memset)
- --27929-- REDIR: 0x4564330 (memchr) redirected to 0x4023890 (memchr)
- --27929-- REDIR: 0x45647c0 (memmove) redirected to 0x40243e0 (memmove)
- --27929-- REDIR: 0x4564a20 (stpcpy) redirected to 0x4024110 (stpcpy)
- --27929-- REDIR: 0x4562c30 (strcat) redirected to 0x4023240 (strcat)
- --27929-- REDIR: 0x4563570 (strnlen) redirected to 0x4023430 (strnlen)
- --27929-- REDIR: 0x4562fc0 (strcpy) redirected to 0x40234d0 (strcpy)
- --27929-- REDIR: 0x4565830 (rawmemchr) redirected to 0x4024490 (rawmemchr)
- --27929-- Reading syms from /lib/i686/cmov/libnss_files-2.7.so (0x6FF9000)
- --27929-- Reading debug info from /lib/i686/cmov/libnss_files-2.7.so...
- --27929-- ... CRC mismatch (computed d4a0fe2c wanted d42ea96b)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /lib/i686/cmov/libnss_dns-2.7.so (0x7005000)
- --27929-- Reading debug info from /lib/i686/cmov/libnss_dns-2.7.so...
- --27929-- ... CRC mismatch (computed 7dfed674 wanted 096ffc38)
- --27929-- object doesn't have a symbol table
- --27929-- Reading syms from /usr/lib/gconv/CP1252.so (0x6FF0000)
- --27929-- Reading debug info from /usr/lib/gconv/CP1252.so...
- --27929-- ... CRC mismatch (computed 9099d6ae wanted 6bd528e0)
- --27929-- object doesn't have a symbol table
- ==27929== Invalid read of size 4
- ==27929== at 0x80799EA: ui_fl_dosel (ui.c:1206)
- ==27929== by 0x8079DE0: ui_fl_queue (ui.c:1265)
- ==27929== by 0x807A9D9: ui_search_key (ui.c:2205)
- ==27929== by 0x807ADC9: ui_input (ui.c:2787)
- ==27929== by 0x806B4F3: stdin_read (main.c:141)
- ==27929== by 0x414067C: g_io_unix_dispatch (giounix.c:166)
- ==27929== by 0x40F79F4: g_main_context_dispatch (gmain.c:2441)
- ==27929== by 0x40FB512: g_main_context_iterate (gmain.c:3089)
- ==27929== by 0x40FB9D9: g_main_loop_run (gmain.c:3297)
- ==27929== by 0x806AEF9: main (main.c:471)
- ==27929== Address 0x0 is not stack'd, malloc'd or (recently) free'd
- ==27929==
- ==27929== Process terminating with default action of signal 11 (SIGSEGV)
- ==27929== Access not within mapped region at address 0x0
- ==27929== at 0x80799EA: ui_fl_dosel (ui.c:1206)
- ==27929== by 0x8079DE0: ui_fl_queue (ui.c:1265)
- ==27929== by 0x807A9D9: ui_search_key (ui.c:2205)
- ==27929== by 0x807ADC9: ui_input (ui.c:2787)
- ==27929== by 0x806B4F3: stdin_read (main.c:141)
- ==27929== by 0x414067C: g_io_unix_dispatch (giounix.c:166)
- ==27929== by 0x40F79F4: g_main_context_dispatch (gmain.c:2441)
- ==27929== by 0x40FB512: g_main_context_iterate (gmain.c:3089)
- ==27929== by 0x40FB9D9: g_main_loop_run (gmain.c:3297)
- ==27929== by 0x806AEF9: main (main.c:471)
- --27929-- Discarding syms at 0x6FF0000-0x6FF4000 in /usr/lib/gconv/CP1252.so due to munmap()
- --27929-- Discarding syms at 0x6FF9000-0x7005000 in /lib/i686/cmov/libnss_files-2.7.so due to munmap()
- --27929-- Discarding syms at 0x7005000-0x700B000 in /lib/i686/cmov/libnss_dns-2.7.so due to munmap()
- ==27929==
- ==27929== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 69 from 2)
- ==27929==
- ==27929== 1 errors in context 1 of 1:
- ==27929== Invalid read of size 4
- ==27929== at 0x80799EA: ui_fl_dosel (ui.c:1206)
- ==27929== by 0x8079DE0: ui_fl_queue (ui.c:1265)
- ==27929== by 0x807A9D9: ui_search_key (ui.c:2205)
- ==27929== by 0x807ADC9: ui_input (ui.c:2787)
- ==27929== by 0x806B4F3: stdin_read (main.c:141)
- ==27929== by 0x414067C: g_io_unix_dispatch (giounix.c:166)
- ==27929== by 0x40F79F4: g_main_context_dispatch (gmain.c:2441)
- ==27929== by 0x40FB512: g_main_context_iterate (gmain.c:3089)
- ==27929== by 0x40FB9D9: g_main_loop_run (gmain.c:3297)
- ==27929== by 0x806AEF9: main (main.c:471)
- ==27929== Address 0x0 is not stack'd, malloc'd or (recently) free'd
- --27929--
- --27929-- supp: 8 dl-hack5-32bit-addr-1
- --27929-- supp: 61 dl-hack3-cond-1
- ==27929==
- ==27929== IN SUMMARY: 1 errors from 1 contexts (suppressed: 69 from 2)
- ==27929==
- ==27929== malloc/free: in use at exit: 2,942,759 bytes in 12,588 blocks.
- ==27929== malloc/free: 92,936 allocs, 80,348 frees, 35,343,708 bytes allocated.
- ==27929==
- ==27929== searching for pointers to 12,588 not-freed blocks.
- ==27929== checked 11,485,384 bytes.
- ==27929==
- ==27929==
- ==27929== 136 bytes in 1 blocks are possibly lost in loss record 14 of 42
- ==27929== at 0x4020E22: calloc (vg_replace_malloc.c:397)
- ==27929== by 0x4010C9B: _dl_allocate_tls (in /lib/ld-2.7.so)
- ==27929== by 0x44D9672: pthread_create@@GLIBC_2.1 (in /lib/i686/cmov/libpthread-2.7.so)
- ==27929== by 0x431FBEA: g_thread_create_posix_impl (gthread-posix.c:355)
- ==27929== by 0x41229AE: g_thread_create_full (gthread.c:2032)
- ==27929== by 0x80598B9: db_init (db.c:1366)
- ==27929== by 0x806AC4C: main (main.c:408)
- ==27929==
- ==27929==
- ==27929== 352 bytes in 23 blocks are possibly lost in loss record 24 of 42
- ==27929== at 0x4022D6E: malloc (vg_replace_malloc.c:207)
- ==27929== by 0x4100303: g_malloc (gmem.c:164)
- ==27929== by 0x4117912: g_slice_alloc (gslice.c:842)
- ==27929== by 0x42E1558: _g_atomic_array_copy (gatomicarray.c:79)
- ==27929== by 0x4301566: type_node_add_iface_entry_W (gtype.c:1383)
- ==27929== by 0x430846C: type_add_interface_Wm (gtype.c:1455)
- ==27929== by 0x430885F: g_type_add_interface_static (gtype.c:2821)
- ==27929== by 0x41F6144: _g_dummy_proxy_resolver_get_type (gdummyproxyresolver.c:51)
- ==27929== by 0x42151E4: _g_io_modules_ensure_loaded (giomodule.c:794)
- ==27929== by 0x4234DA7: get_default_tls_backend (gtlsbackend.c:91)
- ==27929== by 0x41217DE: g_once_impl (gthread.c:1064)
- ==27929== by 0x4234D6C: g_tls_backend_get_default (gtlsbackend.c:127)
- ==27929==
- ==27929==
- ==27929== 36,711 bytes in 342 blocks are possibly lost in loss record 38 of 42
- ==27929== at 0x4022D6E: malloc (vg_replace_malloc.c:207)
- ==27929== by 0x4474694: sqlite3_malloc (in /usr/lib/libsqlite3.so.0.8.6)
- ==27929== by 0x44747E3: (within /usr/lib/libsqlite3.so.0.8.6)
- ==27929== by 0x4498223: (within /usr/lib/libsqlite3.so.0.8.6)
- ==27929== by 0x805A6FA: db_thread_func (db.c:415)
- ==27929== by 0x4122FBE: g_thread_create_proxy (gthread.c:1962)
- ==27929== by 0x44DA4BF: start_thread (in /lib/i686/cmov/libpthread-2.7.so)
- ==27929== by 0x45CD84D: clone (in /lib/i686/cmov/libc-2.7.so)
- ==27929==
- ==27929== LEAK SUMMARY:
- ==27929== definitely lost: 0 bytes in 0 blocks.
- ==27929== possibly lost: 37,199 bytes in 366 blocks.
- ==27929== still reachable: 2,904,468 bytes in 12,201 blocks.
- ==27929== suppressed: 1,092 bytes in 21 blocks.
- ==27929== Reachable blocks (those to which a pointer was found) are not shown.
- ==27929== To see them, rerun with: --leak-check=full --show-reachable=yes
- --27929-- memcheck: sanity checks: 1815 cheap, 43 expensive
- --27929-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
- --27929-- memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10
- --27929-- memcheck: auxmaps_L2: 0 searches, 0 nodes
- --27929-- memcheck: SMs: n_issued = 401 (6416k, 6M)
- --27929-- memcheck: SMs: n_deissued = 109 (1744k, 1M)
- --27929-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M)
- --27929-- memcheck: SMs: max_undefined = 85 (1360k, 1M)
- --27929-- memcheck: SMs: max_defined = 495 (7920k, 7M)
- --27929-- memcheck: SMs: max_non_DSM = 347 (5552k, 5M)
- --27929-- memcheck: max sec V bit nodes: 57 (2k, 0M)
- --27929-- memcheck: set_sec_vbits8 calls: 91 (new: 57, updates: 34)
- --27929-- memcheck: max shadow mem size: 5858k, 5M
- --27929-- translate: fast SP updates identified: 38,995 ( 87.4%)
- --27929-- translate: generic_known SP updates identified: 4,225 ( 9.4%)
- --27929-- translate: generic_unknown SP updates identified: 1,387 ( 3.1%)
- --27929-- tt/tc: 338,117 tt lookups requiring 537,251 probes
- --27929-- tt/tc: 338,117 fast-cache updates, 5 flushes
- --27929-- transtab: new 32,364 (714,109 -> 10,078,747; ratio 141:10) [0 scs]
- --27929-- transtab: dumped 0 (0 -> ??)
- --27929-- transtab: discarded 301 (6,141 -> ??)
- --27929-- scheduler: 173,003,542 jumps (bb entries).
- --27929-- scheduler: 1,815/489,651 major/minor sched events.
- --27929-- sanity: 1816 cheap, 43 expensive checks.
- --27929-- exectx: 6,151 lists, 5,025 contexts (avg 0 per list)
- --27929-- exectx: 172,908 searches, 172,288 full compares (996 per 1000)
- --27929-- exectx: 412,355 cmp2, 302 cmp4, 0 cmpAll
- --27929-- errormgr: 70 supplist searches, 4,007 comparisons during search
- --27929-- errormgr: 70 errlist searches, 472 comparisons during search
Add Comment
Please, Sign In to add comment