Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.57 KB | None | 0 0
  1. veDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.h:67)
  2. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  3. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  4. ==4313==
  5. ==4313== Invalid read of size 1
  6. ==4313== at 0x4C2BFA2: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  7. ==4313== by 0x623BA48: Console::WriteLine(TextConverter) (char_traits.h:261)
  8. ==4313== by 0x6233648: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:828)
  9. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  10. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  11. ==4313== Address 0x5e298a8 is 24 bytes inside a block of size 79 free'd
  12. ==4313== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  13. ==4313== by 0x52F1C12: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  14. ==4313== by 0x623BA3B: Console::WriteLine(TextConverter) (libCrossLibs.cpp:280)
  15. ==4313== by 0x6233648: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:828)
  16. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  17. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  18. ==4313==
  19. ==4313== Invalid read of size 1
  20. ==4313== at 0x4C2BFB4: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  21. ==4313== by 0x623BA48: Console::WriteLine(TextConverter) (char_traits.h:261)
  22. ==4313== by 0x6233648: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:828)
  23. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  24. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  25. ==4313== Address 0x5e298a9 is 25 bytes inside a block of size 79 free'd
  26. ==4313== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  27. ==4313== by 0x52F1C12: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  28. ==4313== by 0x623BA3B: Console::WriteLine(TextConverter) (libCrossLibs.cpp:280)
  29. ==4313== by 0x6233648: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:828)
  30. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  31. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  32. ==4313==
  33. alloc --- Allocates space on the disk for a fragmentID
  34. ==4313== Conditional jump or move depends on uninitialised value(s)
  35. ==4313== at 0x580B7B9: wcslen (wcslen.S:139)
  36. ==4313== by 0x53067BF: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  37. ==4313== by 0x62333DC: GetUnicodeString(char const*) (platform.h:100)
  38. ==4313== by 0x6233678: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.h:67)
  39. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  40. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  41. ==4313==
  42. ==4313== Conditional jump or move depends on uninitialised value(s)
  43. ==4313== at 0x580B7CA: wcslen (wcslen.S:145)
  44. ==4313== by 0x53067BF: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  45. ==4313== by 0x62333DC: GetUnicodeString(char const*) (platform.h:100)
  46. ==4313== by 0x6233678: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.h:67)
  47. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  48. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  49. ==4313==
  50. ==4313==
  51. ==4313== More than 100 errors detected. Subsequent errors
  52. ==4313== will still be recorded, but in less detail than before.
  53. wipe --- Irrevocably erases all contents of this IC80 Filesystem
  54. ==4313== Conditional jump or move depends on uninitialised value(s)
  55. ==4313== at 0x580B735: wcslen (wcslen.S:97)
  56. ==4313== by 0x53067BF: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  57. ==4313== by 0x62333DC: GetUnicodeString(char const*) (platform.h:100)
  58. ==4313== by 0x62336D3: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.h:67)
  59. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  60. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  61. ==4313==
  62. ==4313== Invalid read of size 8
  63. ==4313== at 0x580B73B: wcslen (wcslen.S:99)
  64. ==4313== by 0x53067BF: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  65. ==4313== by 0x6233344: wstrlen(wchar_t const*) (platform.h:94)
  66. ==4313== by 0x6233B60: GetAsciiString(wchar_t const*) (platform.h:103)
  67. ==4313== by 0x623BA2F: Console::WriteLine(TextConverter) (libCrossLibs.h:83)
  68. ==4313== by 0x62336FE: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:830)
  69. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  70. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  71. ==4313== Address 0x5e29ff0 is 176 bytes inside a block of size 180 alloc'd
  72. ==4313== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  73. ==4313== by 0x5304C60: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_create(unsigned long, unsigned long, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  74. ==4313== by 0x5306678: wchar_t* std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_S_construct<wchar_t const*>(wchar_t const*, wchar_t const*, std::allocator<wchar_t> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  75. ==4313== by 0x53067D2: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  76. ==4313== by 0x62333DC: GetUnicodeString(char const*) (platform.h:100)
  77. ==4313== by 0x62336D3: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.h:67)
  78. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  79. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  80. ==4313==
  81. newfile --- Creates a new indexed file
  82. ==4313== Invalid read of size 8
  83. ==4313== at 0x580B777: wcslen (wcslen.S:117)
  84. ==4313== by 0x53067BF: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  85. ==4313== by 0x6233344: wstrlen(wchar_t const*) (platform.h:94)
  86. ==4313== by 0x6233B60: GetAsciiString(wchar_t const*) (platform.h:103)
  87. ==4313== by 0x623BA2F: Console::WriteLine(TextConverter) (libCrossLibs.h:83)
  88. ==4313== by 0x6233752: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:831)
  89. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  90. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  91. ==4313== Address 0x5e2a4a8 is 232 bytes inside a block of size 236 alloc'd
  92. ==4313== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  93. ==4313== by 0x5304C60: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_create(unsigned long, unsigned long, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  94. ==4313== by 0x5306678: wchar_t* std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_S_construct<wchar_t const*>(wchar_t const*, wchar_t const*, std::allocator<wchar_t> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  95. ==4313== by 0x53067D2: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  96. ==4313== by 0x62333DC: GetUnicodeString(char const*) (platform.h:100)
  97. ==4313== by 0x623372C: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.h:67)
  98. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  99. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  100. ==4313==
  101. setall --- Sets all bytes in a file to a given value
  102. help
  103. exit --- Exits this utility.
  104. dumpfile --- Dumps the file at a specified fragment index to a file on the local hard drive.
  105. lsfrags --- Lists fragments at the fragmentation layer
  106. mountindex --- Mounts the indexing layer of the file system
  107. ls --- Lists the files stored on the indexing partition.
  108. alloc --- Allocates space on the disk for a fragmentID
  109. wipe --- Irrevocably erases all contents of this IC80 Filesystem
  110. newfile --- Creates a new indexed file
  111. setall --- Sets all bytes in a file to a given value
  112. help
  113. exit --- Exits this utility.
  114. dumpfile --- Dumps the file at a specified fragment index to a file on the local hard drive.
  115. lsfrags --- Lists fragments at the fragmentation layer
  116. mountindex --- Mounts the indexing layer of the file system
  117. ls --- Lists the files stored on the indexing partition.
  118. alloc --- Allocates space on the disk for a fragmentID
  119. wipe --- Irrevocably erases all contents of this IC80 Filesystem
  120. newfile --- Creates a new indexed file
  121. setall --- Sets all bytes in a file to a given value
  122. help
  123. exit --- Exits this utility.
  124. dumpfile --- Dumps the file at a specified fragment index to a file on the local hard drive.
  125. lsfrags --- Lists fragments at the fragmentation layer
  126. mountindex --- Mounts the indexing layer of the file system
  127. ls --- Lists the files stored on the indexing partition.
  128. alloc --- Allocates space on the disk for a fragmentID
  129. wipe --- Irrevocably erases all contents of this IC80 Filesystem
  130. newfile --- Creates a new indexed file
  131. setall --- Sets all bytes in a file to a given value
  132. help
  133. exit --- Exits this utility.
  134. dumpfile --- Dumps the file at a specified fragment index to a file on the local hard drive.
  135. lsfrags --- Lists fragments at the fragmentation layer
  136. mountindex --- Mounts the indexing layer of the file system
  137. ls --- Lists the files stored on the indexing partition.
  138. alloc --- Allocates space on the disk for a fragmentID
  139. wipe --- Irrevocably erases all contents of this IC80 Filesystem
  140. newfile --- Creates a new indexed file
  141. setall --- Sets all bytes in a file to a given value
  142. help
  143. exit --- Exits this utility.
  144. dumpfile --- Dumps the file at a specified fragment index to a file on the local hard drive.
  145. lsfrags --- Lists fragments at the fragmentation layer
  146. mountindex --- Mounts the indexing layer of the file system
  147. ls --- Lists the files stored on the indexing partition.
  148. alloc --- Allocates space on the disk for a fragmentID
  149. wipe --- Irrevocably erases all contents of this IC80 Filesystem
  150. newfile --- Creates a new indexed file
  151. setall --- Sets all bytes in a file to a given value
  152. help
  153. exit --- Exits this utility.
  154. dumpfile --- Dumps the file at a specified fragment index to a file on the local hard drive.
  155. lsfrags --- Lists fragments at the fragmentation layer
  156. mountindex --- Mounts the indexing layer of the file system
  157. ls --- Lists the files stored on the indexing partition.
  158. alloc --- Allocates space on the disk for a fragmentID
  159. wipe --- Irrevocably erases all contents of this IC80 Filesystem
  160. newfile --- Creates a new indexed file
  161. setall --- Sets all bytes in a file to a given value
  162. lsfrags
  163. --4313-- REDIR: 0x57fbe00 (strchrnul) redirected to 0x4c2e3b0 (strchrnul)
  164. --4313-- REDIR: 0x57ec680 (free) redirected to 0x4c2a7c0 (free)
  165. --4313-- REDIR: 0x57f43a0 (memchr) redirected to 0x4c2cce0 (memchr)
  166. ==4313== Conditional jump or move depends on uninitialised value(s)
  167. ==4313== at 0x580B6A1: wcslen (wcslen.S:53)
  168. ==4313== by 0x623788F: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE7_E9_M_invokeERKSt9_Any_data (char_traits.h:332)
  169. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  170. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  171. ==4313==
  172. ==4313== Conditional jump or move depends on uninitialised value(s)
  173. ==4313== at 0x580B809: wcslen (wcslen.S:172)
  174. ==4313== by 0x623788F: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE7_E9_M_invokeERKSt9_Any_data (char_traits.h:332)
  175. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  176. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  177. ==4313==
  178. ==4313== Conditional jump or move depends on uninitialised value(s)
  179. ==4313== at 0x580B825: wcslen (wcslen.S:183)
  180. ==4313== by 0x623788F: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE7_E9_M_invokeERKSt9_Any_data (char_traits.h:332)
  181. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  182. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  183. ==4313==
  184. ==4313== Invalid read of size 1
  185. ==4313== at 0x57E3200: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1362)
  186. ==4313== by 0x57D8DDC: fwrite (iofwrite.c:45)
  187. ==4313== by 0x52E7054: std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  188. ==4313== by 0x623BA5D: Console::WriteLine(TextConverter) (ostream:515)
  189. ==4313== by 0x62378C2: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE7_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:906)
  190. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  191. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  192. ==4313== Address 0x5e3f138 is 24 bytes inside a block of size 33 free'd
  193. ==4313== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  194. ==4313== by 0x52F1C12: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  195. ==4313== by 0x623BA3B: Console::WriteLine(TextConverter) (libCrossLibs.cpp:280)
  196. ==4313== by 0x62378C2: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE7_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:906)
  197. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  198. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  199. ==4313==
  200. ==4313== Invalid read of size 1
  201. ==4313== at 0x57E320E: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1361)
  202. ==4313== by 0x57D8DDC: fwrite (iofwrite.c:45)
  203. ==4313== by 0x52E7054: std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  204. ==4313== by 0x623BA5D: Console::WriteLine(TextConverter) (ostream:515)
  205. ==4313== by 0x62378C2: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE7_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:906)
  206. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  207. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  208. ==4313== Address 0x5e3f13a is 26 bytes inside a block of size 33 free'd
  209. ==4313== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  210. ==4313== by 0x52F1C12: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  211. ==4313== by 0x623BA3B: Console::WriteLine(TextConverter) (libCrossLibs.cpp:280)
  212. ==4313== by 0x62378C2: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE7_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:906)
  213. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  214. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  215. ==4313==
  216. 1 --- 50
  217. 1 --- 90
  218. ==4313== Invalid read of size 8
  219. ==4313== at 0x57E31DE: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1362)
  220. ==4313== by 0x57D8DDC: fwrite (iofwrite.c:45)
  221. ==4313== by 0x52E7054: std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  222. ==4313== by 0x623BA5D: Console::WriteLine(TextConverter) (ostream:515)
  223. ==4313== by 0x62378C2: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE7_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:906)
  224. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  225. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  226. ==4313== Address 0x5e420f8 is 24 bytes inside a block of size 42 free'd
  227. ==4313== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  228. ==4313== by 0x52F1C12: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  229. ==4313== by 0x623BA3B: Console::WriteLine(TextConverter) (libCrossLibs.cpp:280)
  230. ==4313== by 0x62378C2: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE7_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:906)
  231. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  232. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  233. ==4313==
  234. 0 --- 5.24286e+07
  235. setall
  236. ==4313== Invalid read of size 8
  237. ==4313== at 0x580B6BF: wcslen (wcslen.S:62)
  238. ==4313== by 0x53067BF: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  239. ==4313== by 0x6233344: wstrlen(wchar_t const*) (platform.h:94)
  240. ==4313== by 0x6233B60: GetAsciiString(wchar_t const*) (platform.h:103)
  241. ==4313== by 0x623B9BF: Console::Write(TextConverter) (libCrossLibs.h:83)
  242. ==4313== by 0x62366D3: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE0_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:834)
  243. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  244. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  245. ==4313== Address 0x5e42228 is 0 bytes after a block of size 88 alloc'd
  246. ==4313== at 0x4C2B1C7: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  247. ==4313== by 0x5304C60: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_create(unsigned long, unsigned long, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  248. ==4313== by 0x5306678: wchar_t* std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_S_construct<wchar_t const*>(wchar_t const*, wchar_t const*, std::allocator<wchar_t> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  249. ==4313== by 0x53067D2: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  250. ==4313== by 0x62333DC: GetUnicodeString(char const*) (platform.h:100)
  251. ==4313== by 0x62366A5: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE0_E9_M_invokeERKSt9_Any_data (libCrossLibs.h:67)
  252. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  253. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  254. ==4313==
  255. ==4313== Invalid read of size 1
  256. ==4313== at 0x4C2BFA2: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  257. ==4313== by 0x623B9D8: Console::Write(TextConverter) (char_traits.h:261)
  258. ==4313== by 0x62366D3: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE0_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:834)
  259. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  260. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  261. ==4313== Address 0x5e42468 is 24 bytes inside a block of size 40 free'd
  262. ==4313== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  263. ==4313== by 0x52F1C12: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  264. ==4313== by 0x623B9CB: Console::Write(TextConverter) (libCrossLibs.cpp:284)
  265. ==4313== by 0x62366D3: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE0_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:834)
  266. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  267. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  268. ==4313==
  269. ==4313== Invalid read of size 1
  270. ==4313== at 0x4C2BFB4: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  271. ==4313== by 0x623B9D8: Console::Write(TextConverter) (char_traits.h:261)
  272. ==4313== by 0x62366D3: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE0_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:834)
  273. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  274. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  275. ==4313== Address 0x5e42469 is 25 bytes inside a block of size 40 free'd
  276. ==4313== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  277. ==4313== by 0x52F1C12: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  278. ==4313== by 0x623B9CB: Console::Write(TextConverter) (libCrossLibs.cpp:284)
  279. ==4313== by 0x62366D3: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE0_E9_M_invokeERKSt9_Any_data (libCrossLibs.cpp:834)
  280. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  281. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  282. ==4313==
  283. Enter file ID: 5
  284. ==4313== Conditional jump or move depends on uninitialised value(s)
  285. ==4313== at 0x580B6B9: wcslen (wcslen.S:60)
  286. ==4313== by 0x53067BF: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  287. ==4313== by 0x62333DC: GetUnicodeString(char const*) (platform.h:100)
  288. ==4313== by 0x623677B: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE0_E9_M_invokeERKSt9_Any_data (libCrossLibs.h:67)
  289. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  290. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  291. ==4313==
  292. Enter value:
  293. 24
  294. ==4313== Conditional jump or move depends on uninitialised value(s)
  295. ==4313== at 0x580B7FB: wcslen (wcslen.S:163)
  296. ==4313== by 0x53067BF: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(wchar_t const*, std::allocator<wchar_t> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
  297. ==4313== by 0x62333DC: GetUnicodeString(char const*) (platform.h:100)
  298. ==4313== by 0x62367FB: _ZNSt17_Function_handlerIFvvEZN10Filesystem22InteractiveDiagnosticsESt10shared_ptrI8IConsoleEEUlvE0_E9_M_invokeERKSt9_Any_data (libCrossLibs.h:67)
  299. ==4313== by 0x6239791: Filesystem::InteractiveDiagnostics(std::shared_ptr<IConsole>) (functional:2161)
  300. ==4313== by 0x401412: main (CrossLibsTester.cpp:27)
  301. ==4313==
  302. Please wait.... Depending on the size of the file this could take quite some time, and may hang your OS while the operation is in progress....
  303. --4313-- REDIR: 0x57f4d10 (memset) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
  304. --4313-- REDIR: 0x57f4d50 (__GI_memset) redirected to 0x4c2e080 (memset)
  305. --4313-- REDIR: 0x57f4cc0 (memcpy@GLIBC_2.2.5) redirected to 0x4a25610 (_vgnU_ifunc_wrapper)
  306. --4313-- REDIR: 0x58b6630 (__memmove_ssse3_back) redirected to 0x4c2cd20 (memcpy@GLIBC_2.2.5)
  307. ==4313== Thread 2:
  308. ==4313== Invalid write of size 1
  309. ==4313== at 0x6234355: workerThread(void*) (libCrossLibs.cpp:357)
  310. ==4313== by 0x4E39E99: start_thread (pthread_create.c:308)
  311. ==4313== by 0x585CDBC: clone (clone.S:112)
  312. ==4313== Address 0x5e24b48 is 8 bytes inside a block of size 16 free'd
  313. ==4313== at 0x4C2A4BC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  314. ==4313== by 0x6242711: void std::vector<WorkerThread, std::allocator<WorkerThread> >::_M_insert_aux<WorkerThread const&>(__gnu_cxx::__normal_iterator<WorkerThread*, std::vector<WorkerThread, std::allocator<WorkerThread> > >, WorkerThread const&&&) (new_allocator.h:98)
  315. ==4313== by 0x62380CE: QueueItem(TaskItem*) (stl_vector.h:834)
  316. ==4313== by 0x6242912: ParallelTask::Run(std::function<void ()(std::shared_ptr<IManagedObject>)>) (libCrossLibs.cpp:311)
  317. ==4313== by 0x62355DB: Stream_SyncRead(std::shared_ptr<Stream>, std::shared_ptr<IDataBuffer>, int) (libCrossLibs.cpp:511)
  318. ==4313== by 0x62357DE: ReadFragment(std::shared_ptr<Stream>, FileFragment&) (libCrossLibs.cpp:543)
  319. ==4313== by 0x623F6D0: Filesystem::WriteBytes(std::shared_ptr<IDataBuffer>, unsigned long long, unsigned long long, int) (libCrossLibs.cpp:744)
  320. ==4313== by 0x623EE00: SafeFileStream::Write(std::shared_ptr<IDataBuffer>, int) (libCrossLibs.cpp:989)
  321. ==4313== by 0x6240BA8: _ZNSt17_Function_handlerIFSt10shared_ptrI14IManagedObjectEvEZN6Stream10WriteAsyncES0_I11IDataBufferEiEUlvE_E9_M_invokeERKSt9_Any_data (libCrossLibs.h:247)
  322. ==4313== by 0x62342ED: workerThread(void*) (functional:2161)
  323. ==4313== by 0x4E39E99: start_thread (pthread_create.c:308)
  324. ==4313== by 0x585CDBC: clone (clone.S:112)
  325. ==4313==
  326. Complete.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement