Guest User

Untitled

a guest
May 24th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.19 KB | None | 0 0
  1. ==27929== Memcheck, a memory error detector.
  2. ==27929== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
  3. ==27929== Using LibVEX rev 1854, a library for dynamic binary translation.
  4. ==27929== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
  5. ==27929== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
  6. ==27929== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
  7. ==27929==
  8. ==27929== My PID = 27929, parent PID = 1271. Prog and args are:
  9. ==27929== ncdc
  10. ==27929==
  11. --27929--
  12. --27929-- Command line
  13. --27929-- ncdc
  14. --27929-- Startup, with flags:
  15. --27929-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
  16. --27929-- -v
  17. --27929-- --leak-check=full
  18. --27929-- --log-file=./valgrindlog
  19. --27929-- Contents of /proc/version:
  20. --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
  21. --27929-- Arch and hwcaps: X86, x86-sse1
  22. --27929-- Page sizes: currently 4096, max supported 4096
  23. --27929-- Valgrind library directory: /usr/lib/valgrind
  24. --27929-- Reading syms from /lib/ld-2.7.so (0x4000000)
  25. --27929-- Reading debug info from /lib/ld-2.7.so...
  26. --27929-- ... CRC mismatch (computed 0f4d8d49 wanted a869dbba)
  27. --27929-- object doesn't have a symbol table
  28. --27929-- Reading syms from /home/phoenix/.local/bin/ncdc (0x8048000)
  29. --27929-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
  30. --27929-- object doesn't have a dynamic symbol table
  31. --27929-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
  32. --27929-- Reading suppressions file: /usr/lib/valgrind/default.supp
  33. --27929-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x401D000)
  34. --27929-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x401F000)
  35. --27929-- Reading syms from /lib/i686/cmov/libm-2.7.so (0x4030000)
  36. --27929-- Reading debug info from /lib/i686/cmov/libm-2.7.so...
  37. --27929-- ... CRC mismatch (computed 84d25b4e wanted e5d74bdb)
  38. --27929-- object doesn't have a symbol table
  39. --27929-- Reading syms from /usr/lib/debug/libncursesw.so.5.7 (0x4056000)
  40. --27929-- Reading syms from /lib/libbz2.so.1.0.4 (0x40A3000)
  41. --27929-- object doesn't have a symbol table
  42. --27929-- Reading syms from /home/phoenix/.local/lib/libglib-2.0.so.0.3000.2 (0x40B3000)
  43. --27929-- Reading syms from /home/phoenix/.local/lib/libgio-2.0.so.0.3000.2 (0x41C1000)
  44. --27929-- Reading syms from /home/phoenix/.local/lib/libgobject-2.0.so.0.3000.2 (0x42D9000)
  45. --27929-- Reading syms from /home/phoenix/.local/lib/libgmodule-2.0.so.0.3000.2 (0x431B000)
  46. --27929-- Reading syms from /home/phoenix/.local/lib/libgthread-2.0.so.0.3000.2 (0x431E000)
  47. --27929-- Reading syms from /lib/i686/cmov/librt-2.7.so (0x4322000)
  48. --27929-- Reading debug info from /lib/i686/cmov/librt-2.7.so...
  49. --27929-- ... CRC mismatch (computed 5f5a9293 wanted e0853be5)
  50. --27929-- object doesn't have a symbol table
  51. --27929-- Reading syms from /usr/lib/libxml2.so.2.6.32 (0x432B000)
  52. --27929-- Reading debug info from /usr/lib/libxml2.so.2.6.32...
  53. --27929-- ... CRC mismatch (computed 526028cb wanted b3cc444f)
  54. --27929-- object doesn't have a symbol table
  55. --27929-- Reading syms from /usr/lib/libsqlite3.so.0.8.6 (0x4465000)
  56. --27929-- Reading debug info from /usr/lib/libsqlite3.so.0.8.6...
  57. --27929-- ... CRC mismatch (computed 11492c73 wanted e1950a9b)
  58. --27929-- object doesn't have a symbol table
  59. --27929-- Reading syms from /lib/i686/cmov/libpthread-2.7.so (0x44D4000)
  60. --27929-- Reading debug info from /lib/i686/cmov/libpthread-2.7.so...
  61. --27929-- ... CRC mismatch (computed 84adc8b7 wanted c5430422)
  62. --27929-- Reading syms from /lib/i686/cmov/libc-2.7.so (0x44ED000)
  63. --27929-- Reading debug info from /lib/i686/cmov/libc-2.7.so...
  64. --27929-- ... CRC mismatch (computed d055fe5e wanted 5e6dc3cf)
  65. --27929-- object doesn't have a symbol table
  66. --27929-- Reading syms from /lib/i686/cmov/libdl-2.7.so (0x4648000)
  67. --27929-- Reading debug info from /lib/i686/cmov/libdl-2.7.so...
  68. --27929-- ... CRC mismatch (computed b596727c wanted ea21a73b)
  69. --27929-- object doesn't have a symbol table
  70. --27929-- Reading syms from /usr/lib/libffi.so.5.0.8 (0x464C000)
  71. --27929-- Reading debug info from /usr/lib/libffi.so.5.0.8...
  72. --27929-- ... CRC mismatch (computed 6b1e76bd wanted 36cc93db)
  73. --27929-- object doesn't have a symbol table
  74. --27929-- Reading syms from /usr/lib/libz.so.1.2.3.3 (0x4653000)
  75. --27929-- Reading debug info from /usr/lib/libz.so.1.2.3.3...
  76. --27929-- ... CRC mismatch (computed b8d0f447 wanted 25ef9422)
  77. --27929-- object doesn't have a symbol table
  78. --27929-- Reading syms from /lib/i686/cmov/libresolv-2.7.so (0x4668000)
  79. --27929-- Reading debug info from /lib/i686/cmov/libresolv-2.7.so...
  80. --27929-- ... CRC mismatch (computed 475b4548 wanted e1d5dcba)
  81. --27929-- object doesn't have a symbol table
  82. --27929-- REDIR: 0x4563940 (rindex) redirected to 0x40230c0 (rindex)
  83. --27929-- REDIR: 0x4562f50 (strcmp) redirected to 0x4023770 (strcmp)
  84. --27929-- REDIR: 0x45634c0 (strlen) redirected to 0x4023470 (strlen)
  85. --27929-- REDIR: 0x45636e0 (strncmp) redirected to 0x40236e0 (strncmp)
  86. --27929-- REDIR: 0x4562de0 (index) redirected to 0x40231b0 (index)
  87. --27929-- REDIR: 0x4565900 (strchrnul) redirected to 0x4024450 (strchrnul)
  88. --27929-- REDIR: 0x455f700 (malloc) redirected to 0x4022cb0 (malloc)
  89. --27929-- REDIR: 0x4564890 (mempcpy) redirected to 0x40244b0 (mempcpy)
  90. --27929-- REDIR: 0x4564d40 (memcpy) redirected to 0x40238e0 (memcpy)
  91. --27929-- REDIR: 0x455d8d0 (free) redirected to 0x4021ad0 (free)
  92. --27929-- REDIR: 0x45637f0 (strncpy) redirected to 0x40235a0 (strncpy)
  93. --27929-- REDIR: 0x455f3f0 (calloc) redirected to 0x4020d60 (calloc)
  94. --27929-- REDIR: 0x455fb80 (realloc) redirected to 0x4022dc0 (realloc)
  95. --27929-- REDIR: 0x4564830 (memset) redirected to 0x4024380 (memset)
  96. --27929-- REDIR: 0x4564330 (memchr) redirected to 0x4023890 (memchr)
  97. --27929-- REDIR: 0x45647c0 (memmove) redirected to 0x40243e0 (memmove)
  98. --27929-- REDIR: 0x4564a20 (stpcpy) redirected to 0x4024110 (stpcpy)
  99. --27929-- REDIR: 0x4562c30 (strcat) redirected to 0x4023240 (strcat)
  100. --27929-- REDIR: 0x4563570 (strnlen) redirected to 0x4023430 (strnlen)
  101. --27929-- REDIR: 0x4562fc0 (strcpy) redirected to 0x40234d0 (strcpy)
  102. --27929-- REDIR: 0x4565830 (rawmemchr) redirected to 0x4024490 (rawmemchr)
  103. --27929-- Reading syms from /lib/i686/cmov/libnss_files-2.7.so (0x6FF9000)
  104. --27929-- Reading debug info from /lib/i686/cmov/libnss_files-2.7.so...
  105. --27929-- ... CRC mismatch (computed d4a0fe2c wanted d42ea96b)
  106. --27929-- object doesn't have a symbol table
  107. --27929-- Reading syms from /lib/i686/cmov/libnss_dns-2.7.so (0x7005000)
  108. --27929-- Reading debug info from /lib/i686/cmov/libnss_dns-2.7.so...
  109. --27929-- ... CRC mismatch (computed 7dfed674 wanted 096ffc38)
  110. --27929-- object doesn't have a symbol table
  111. --27929-- Reading syms from /usr/lib/gconv/CP1252.so (0x6FF0000)
  112. --27929-- Reading debug info from /usr/lib/gconv/CP1252.so...
  113. --27929-- ... CRC mismatch (computed 9099d6ae wanted 6bd528e0)
  114. --27929-- object doesn't have a symbol table
  115. ==27929== Invalid read of size 4
  116. ==27929== at 0x80799EA: ui_fl_dosel (ui.c:1206)
  117. ==27929== by 0x8079DE0: ui_fl_queue (ui.c:1265)
  118. ==27929== by 0x807A9D9: ui_search_key (ui.c:2205)
  119. ==27929== by 0x807ADC9: ui_input (ui.c:2787)
  120. ==27929== by 0x806B4F3: stdin_read (main.c:141)
  121. ==27929== by 0x414067C: g_io_unix_dispatch (giounix.c:166)
  122. ==27929== by 0x40F79F4: g_main_context_dispatch (gmain.c:2441)
  123. ==27929== by 0x40FB512: g_main_context_iterate (gmain.c:3089)
  124. ==27929== by 0x40FB9D9: g_main_loop_run (gmain.c:3297)
  125. ==27929== by 0x806AEF9: main (main.c:471)
  126. ==27929== Address 0x0 is not stack'd, malloc'd or (recently) free'd
  127. ==27929==
  128. ==27929== Process terminating with default action of signal 11 (SIGSEGV)
  129. ==27929== Access not within mapped region at address 0x0
  130. ==27929== at 0x80799EA: ui_fl_dosel (ui.c:1206)
  131. ==27929== by 0x8079DE0: ui_fl_queue (ui.c:1265)
  132. ==27929== by 0x807A9D9: ui_search_key (ui.c:2205)
  133. ==27929== by 0x807ADC9: ui_input (ui.c:2787)
  134. ==27929== by 0x806B4F3: stdin_read (main.c:141)
  135. ==27929== by 0x414067C: g_io_unix_dispatch (giounix.c:166)
  136. ==27929== by 0x40F79F4: g_main_context_dispatch (gmain.c:2441)
  137. ==27929== by 0x40FB512: g_main_context_iterate (gmain.c:3089)
  138. ==27929== by 0x40FB9D9: g_main_loop_run (gmain.c:3297)
  139. ==27929== by 0x806AEF9: main (main.c:471)
  140. --27929-- Discarding syms at 0x6FF0000-0x6FF4000 in /usr/lib/gconv/CP1252.so due to munmap()
  141. --27929-- Discarding syms at 0x6FF9000-0x7005000 in /lib/i686/cmov/libnss_files-2.7.so due to munmap()
  142. --27929-- Discarding syms at 0x7005000-0x700B000 in /lib/i686/cmov/libnss_dns-2.7.so due to munmap()
  143. ==27929==
  144. ==27929== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 69 from 2)
  145. ==27929==
  146. ==27929== 1 errors in context 1 of 1:
  147. ==27929== Invalid read of size 4
  148. ==27929== at 0x80799EA: ui_fl_dosel (ui.c:1206)
  149. ==27929== by 0x8079DE0: ui_fl_queue (ui.c:1265)
  150. ==27929== by 0x807A9D9: ui_search_key (ui.c:2205)
  151. ==27929== by 0x807ADC9: ui_input (ui.c:2787)
  152. ==27929== by 0x806B4F3: stdin_read (main.c:141)
  153. ==27929== by 0x414067C: g_io_unix_dispatch (giounix.c:166)
  154. ==27929== by 0x40F79F4: g_main_context_dispatch (gmain.c:2441)
  155. ==27929== by 0x40FB512: g_main_context_iterate (gmain.c:3089)
  156. ==27929== by 0x40FB9D9: g_main_loop_run (gmain.c:3297)
  157. ==27929== by 0x806AEF9: main (main.c:471)
  158. ==27929== Address 0x0 is not stack'd, malloc'd or (recently) free'd
  159. --27929--
  160. --27929-- supp: 8 dl-hack5-32bit-addr-1
  161. --27929-- supp: 61 dl-hack3-cond-1
  162. ==27929==
  163. ==27929== IN SUMMARY: 1 errors from 1 contexts (suppressed: 69 from 2)
  164. ==27929==
  165. ==27929== malloc/free: in use at exit: 2,942,759 bytes in 12,588 blocks.
  166. ==27929== malloc/free: 92,936 allocs, 80,348 frees, 35,343,708 bytes allocated.
  167. ==27929==
  168. ==27929== searching for pointers to 12,588 not-freed blocks.
  169. ==27929== checked 11,485,384 bytes.
  170. ==27929==
  171. ==27929==
  172. ==27929== 136 bytes in 1 blocks are possibly lost in loss record 14 of 42
  173. ==27929== at 0x4020E22: calloc (vg_replace_malloc.c:397)
  174. ==27929== by 0x4010C9B: _dl_allocate_tls (in /lib/ld-2.7.so)
  175. ==27929== by 0x44D9672: pthread_create@@GLIBC_2.1 (in /lib/i686/cmov/libpthread-2.7.so)
  176. ==27929== by 0x431FBEA: g_thread_create_posix_impl (gthread-posix.c:355)
  177. ==27929== by 0x41229AE: g_thread_create_full (gthread.c:2032)
  178. ==27929== by 0x80598B9: db_init (db.c:1366)
  179. ==27929== by 0x806AC4C: main (main.c:408)
  180. ==27929==
  181. ==27929==
  182. ==27929== 352 bytes in 23 blocks are possibly lost in loss record 24 of 42
  183. ==27929== at 0x4022D6E: malloc (vg_replace_malloc.c:207)
  184. ==27929== by 0x4100303: g_malloc (gmem.c:164)
  185. ==27929== by 0x4117912: g_slice_alloc (gslice.c:842)
  186. ==27929== by 0x42E1558: _g_atomic_array_copy (gatomicarray.c:79)
  187. ==27929== by 0x4301566: type_node_add_iface_entry_W (gtype.c:1383)
  188. ==27929== by 0x430846C: type_add_interface_Wm (gtype.c:1455)
  189. ==27929== by 0x430885F: g_type_add_interface_static (gtype.c:2821)
  190. ==27929== by 0x41F6144: _g_dummy_proxy_resolver_get_type (gdummyproxyresolver.c:51)
  191. ==27929== by 0x42151E4: _g_io_modules_ensure_loaded (giomodule.c:794)
  192. ==27929== by 0x4234DA7: get_default_tls_backend (gtlsbackend.c:91)
  193. ==27929== by 0x41217DE: g_once_impl (gthread.c:1064)
  194. ==27929== by 0x4234D6C: g_tls_backend_get_default (gtlsbackend.c:127)
  195. ==27929==
  196. ==27929==
  197. ==27929== 36,711 bytes in 342 blocks are possibly lost in loss record 38 of 42
  198. ==27929== at 0x4022D6E: malloc (vg_replace_malloc.c:207)
  199. ==27929== by 0x4474694: sqlite3_malloc (in /usr/lib/libsqlite3.so.0.8.6)
  200. ==27929== by 0x44747E3: (within /usr/lib/libsqlite3.so.0.8.6)
  201. ==27929== by 0x4498223: (within /usr/lib/libsqlite3.so.0.8.6)
  202. ==27929== by 0x805A6FA: db_thread_func (db.c:415)
  203. ==27929== by 0x4122FBE: g_thread_create_proxy (gthread.c:1962)
  204. ==27929== by 0x44DA4BF: start_thread (in /lib/i686/cmov/libpthread-2.7.so)
  205. ==27929== by 0x45CD84D: clone (in /lib/i686/cmov/libc-2.7.so)
  206. ==27929==
  207. ==27929== LEAK SUMMARY:
  208. ==27929== definitely lost: 0 bytes in 0 blocks.
  209. ==27929== possibly lost: 37,199 bytes in 366 blocks.
  210. ==27929== still reachable: 2,904,468 bytes in 12,201 blocks.
  211. ==27929== suppressed: 1,092 bytes in 21 blocks.
  212. ==27929== Reachable blocks (those to which a pointer was found) are not shown.
  213. ==27929== To see them, rerun with: --leak-check=full --show-reachable=yes
  214. --27929-- memcheck: sanity checks: 1815 cheap, 43 expensive
  215. --27929-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
  216. --27929-- memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10
  217. --27929-- memcheck: auxmaps_L2: 0 searches, 0 nodes
  218. --27929-- memcheck: SMs: n_issued = 401 (6416k, 6M)
  219. --27929-- memcheck: SMs: n_deissued = 109 (1744k, 1M)
  220. --27929-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M)
  221. --27929-- memcheck: SMs: max_undefined = 85 (1360k, 1M)
  222. --27929-- memcheck: SMs: max_defined = 495 (7920k, 7M)
  223. --27929-- memcheck: SMs: max_non_DSM = 347 (5552k, 5M)
  224. --27929-- memcheck: max sec V bit nodes: 57 (2k, 0M)
  225. --27929-- memcheck: set_sec_vbits8 calls: 91 (new: 57, updates: 34)
  226. --27929-- memcheck: max shadow mem size: 5858k, 5M
  227. --27929-- translate: fast SP updates identified: 38,995 ( 87.4%)
  228. --27929-- translate: generic_known SP updates identified: 4,225 ( 9.4%)
  229. --27929-- translate: generic_unknown SP updates identified: 1,387 ( 3.1%)
  230. --27929-- tt/tc: 338,117 tt lookups requiring 537,251 probes
  231. --27929-- tt/tc: 338,117 fast-cache updates, 5 flushes
  232. --27929-- transtab: new 32,364 (714,109 -> 10,078,747; ratio 141:10) [0 scs]
  233. --27929-- transtab: dumped 0 (0 -> ??)
  234. --27929-- transtab: discarded 301 (6,141 -> ??)
  235. --27929-- scheduler: 173,003,542 jumps (bb entries).
  236. --27929-- scheduler: 1,815/489,651 major/minor sched events.
  237. --27929-- sanity: 1816 cheap, 43 expensive checks.
  238. --27929-- exectx: 6,151 lists, 5,025 contexts (avg 0 per list)
  239. --27929-- exectx: 172,908 searches, 172,288 full compares (996 per 1000)
  240. --27929-- exectx: 412,355 cmp2, 302 cmp4, 0 cmpAll
  241. --27929-- errormgr: 70 supplist searches, 4,007 comparisons during search
  242. --27929-- errormgr: 70 errlist searches, 472 comparisons during search
Add Comment
Please, Sign In to add comment