Advertisement
Guest User

Untitled

a guest
Oct 20th, 2014
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.86 KB | None | 0 0
  1. Running!
  2. [M5FDD] msg set to 2
  3. ==6032== Conditional jump or move depends on uninitialised value(s)
  4. ==6032== at 0x50D5275: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
  5. ==6032== by 0xB7EF867: ???
  6. ==6032== by 0xB7EF867: ???
  7. ==6032==
  8. ==6032== Invalid read of size 2
  9. ==6032== at 0x4C2F7EF: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  10. ==6032== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  11. ==6032== by 0x4E5D40A: vm::VComputer::Update(double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  12. ==6032== by 0x42970C: main (in /home/luis/repos/dma/build/vm)
  13. ==6032== Address 0xb278d60 is 0 bytes after a block of size 131,072 alloc'd
  14. ==6032== at 0x4C2B800: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  15. ==6032== by 0x4E5C9D9: vm::VComputer::VComputer(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  16. ==6032== by 0x428D88: main (in /home/luis/repos/dma/build/vm)
  17. ==6032==
  18. ==6032== Invalid read of size 2
  19. ==6032== at 0x4C2F7E0: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  20. ==6032== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  21. ==6032== by 0x4E5D40A: vm::VComputer::Update(double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  22. ==6032== by 0x42970C: main (in /home/luis/repos/dma/build/vm)
  23. ==6032== Address 0xb278d66 is 6 bytes after a block of size 131,072 alloc'd
  24. ==6032== at 0x4C2B800: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  25. ==6032== by 0x4E5C9D9: vm::VComputer::VComputer(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  26. ==6032== by 0x428D88: main (in /home/luis/repos/dma/build/vm)
  27. ==6032==
  28. ==6032== Invalid write of size 2
  29. ==6032== at 0x4C2F7E3: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  30. ==6032== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  31. ==6032== by 0x4E5D40A: vm::VComputer::Update(double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  32. ==6032== by 0x42970C: main (in /home/luis/repos/dma/build/vm)
  33. ==6032== Address 0xae7fa00 is 0 bytes after a block of size 512 alloc'd
  34. ==6032== at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  35. ==6032== by 0x4E675B5: __gnu_cxx::new_allocator<unsigned char>::allocate(unsigned long, void const*) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  36. ==6032== by 0x4E67326: std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  37. ==6032== by 0x4E6DB93: std::vector<unsigned char, std::allocator<unsigned char> >::_M_default_append(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  38. ==6032== by 0x4E6DA62: std::vector<unsigned char, std::allocator<unsigned char> >::resize(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  39. ==6032== by 0x4E6CFC1: vm::dev::m5fdd::M5FDD::insertFloppy(std::shared_ptr<vm::dev::disk::Disk>) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  40. ==6032== by 0x4290FC: main (in /home/luis/repos/dma/build/vm)
  41. ==6032==
  42. ==6032== Invalid read of size 1
  43. ==6032== at 0x4C2F950: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  44. ==6032== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  45. ==6032== by 0x4E5D40A: vm::VComputer::Update(double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  46. ==6032== by 0x42970C: main (in /home/luis/repos/dma/build/vm)
  47. ==6032== Address 0xb298cfa is 130,234 bytes inside a block of size 832,944 free'd
  48. ==6032== at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  49. ==6032== by 0x512720A: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
  50. ==6032== by 0xFFEFFC60F: ???
  51. ==6032== by 0xCC5DF: ???
  52. ==6032== by 0xFFEFFC6B7: ???
  53. ==6032== by 0x80AE7909F: ???
  54. ==6032== by 0xC8: ???
  55. ==6032== by 0x806B19FFF: ???
  56. ==6032== by 0x806B1BFFF: ???
  57. ==6032==
  58. ==6032== Invalid write of size 1
  59. ==6032== at 0x4C2F953: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  60. ==6032== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  61. ==6032== by 0x4E5D40A: vm::VComputer::Update(double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  62. ==6032== by 0x42970C: main (in /home/luis/repos/dma/build/vm)
  63. ==6032== Address 0xae9f7fe is 65,390 bytes inside a block of size 812,224 free'd
  64. ==6032== at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  65. ==6032== by 0x512720A: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
  66. ==6032== by 0xFFEFFC60F: ???
  67. ==6032== by 0xC74EF: ???
  68. ==6032== by 0xFFEFFC6B7: ???
  69. ==6032== by 0x80AE7909F: ???
  70. ==6032== by 0xC3: ???
  71. ==6032== by 0x806519FFF: ???
  72. ==6032== by 0x806699FFF: ???
  73. ==6032== by 0x6FFFFFFFF: ???
  74. ==6032==
  75. ==6032== Invalid read of size 4
  76. ==6032== at 0x5101687: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
  77. ==6032== by 0xBA4E36F: ???
  78. ==6032== by 0x3A00006: ???
  79. ==6032== by 0xFFEFFCC6F: ???
  80. ==6032== by 0x5103AFF: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
  81. ==6032== by 0xAE7FE1F: ???
  82. ==6032== by 0x420400A815: ???
  83. ==6032== by 0xB896A1F: ???
  84. ==6032== by 0xBDA32FF: ???
  85. ==6032== by 0x5AB3BF7: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19)
  86. ==6032== by 0xBA4E36F: ???
  87. ==6032== Address 0x62696c2f0000098c is not stack'd, malloc'd or (recently) free'd
  88. ==6032==
  89. ==6032==
  90. ==6032== Process terminating with default action of signal 11 (SIGSEGV)
  91. ==6032== General Protection Fault
  92. ==6032== at 0x5101687: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
  93. ==6032== by 0xBA4E36F: ???
  94. ==6032== by 0x3A00006: ???
  95. ==6032== by 0xFFEFFCC6F: ???
  96. ==6032== by 0x5103AFF: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
  97. ==6032== by 0xAE7FE1F: ???
  98. ==6032== by 0x420400A815: ???
  99. ==6032== by 0xB896A1F: ???
  100. ==6032== by 0xBDA32FF: ???
  101. ==6032== by 0x5AB3BF7: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19)
  102. ==6032== by 0xBA4E36F: ???
  103. ==6032==
  104. ==6032== Process terminating with default action of signal 11 (SIGSEGV)
  105. ==6032== Access not within mapped region at address 0x28
  106. ==6032== at 0x4009F7E: do_lookup_x (dl-lookup.c:98)
  107. ==6032== by 0x400A990: _dl_lookup_symbol_x (dl-lookup.c:737)
  108. ==6032== by 0x400F556: _dl_fixup (dl-runtime.c:111)
  109. ==6032== by 0x4016514: _dl_runtime_resolve (dl-trampoline.S:45)
  110. ==6032== by 0x4A256BC: _vgnU_freeres (in /usr/lib/valgrind/vgpreload_core-amd64-linux.so)
  111. ==6032== If you believe this happened as a result of a stack
  112. ==6032== overflow in your program's main thread (unlikely but
  113. ==6032== possible), you can try to increase the size of the
  114. ==6032== main thread stack using the --main-stacksize= flag.
  115. ==6032==
  116. ==6032== HEAP SUMMARY:
  117. ==6032== in use at exit: 4,906,260 bytes in 3,551 blocks
  118. ==6032== total heap usage: 8,280 allocs, 4,729 frees, 142,602,719 bytes allocated
  119. ==6032==
  120. ==6032== LEAK SUMMARY:
  121. ==6032== definitely lost: 15,526 bytes in 51 blocks
  122. ==6032== indirectly lost: 18,952 bytes in 97 blocks
  123. ==6032== possibly lost: 890,381 bytes in 29 blocks
  124. ==6032== still reachable: 3,981,401 bytes in 3,374 blocks
  125. ==6032== suppressed: 0 bytes in 0 blocks
  126. ==6032== Rerun with --leak-check=full to see details of leaked memory
  127. ==6032==
  128. ==6032== For counts of detected and suppressed errors, rerun with: -v
  129. ==6032== Use --track-origins=yes to see where uninitialised values come from
  130. ==6032== ERROR SUMMARY: 105981 errors from 7 contexts (suppressed: 1 from 1)
  131. fish: Job 1, “valgrind ./vm -r ../asm/tr3200/floppy.ffi ” terminated by signal SIGSEGV (Address boundary error)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement