Advertisement
Zardoz84

Untitled

Oct 20th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. ==7411== Invalid read of size 2
  2. ==7411== at 0x4C2F7EF: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  3. ==7411== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (VComputer.cpp:274)
  4. ==7411== by 0x4E5D40A: vm::VComputer::Update(double) (VComputer.cpp:169)
  5. ==7411== by 0x42970C: main (main.cpp:382)
  6. ==7411== Address 0xb278d60 is 0 bytes after a block of size 131,072 alloc'd
  7. ==7411== at 0x4C2B800: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  8. ==7411== by 0x4E5C9D9: vm::VComputer::VComputer(unsigned long) (VComputer.cpp:25)
  9. ==7411== by 0x428D88: main (main.cpp:215)
  10. ==7411==
  11. ==7411== Invalid read of size 2
  12. ==7411== at 0x4C2F7E0: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  13. ==7411== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (VComputer.cpp:274)
  14. ==7411== by 0x4E5D40A: vm::VComputer::Update(double) (VComputer.cpp:169)
  15. ==7411== by 0x42970C: main (main.cpp:382)
  16. ==7411== Address 0xb278d66 is 6 bytes after a block of size 131,072 alloc'd
  17. ==7411== at 0x4C2B800: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  18. ==7411== by 0x4E5C9D9: vm::VComputer::VComputer(unsigned long) (VComputer.cpp:25)
  19. ==7411== by 0x428D88: main (main.cpp:215)
  20. ==7411==
  21. ==7411== Invalid write of size 2
  22. ==7411== at 0x4C2F7E3: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  23. ==7411== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (VComputer.cpp:274)
  24. ==7411== by 0x4E5D40A: vm::VComputer::Update(double) (VComputer.cpp:169)
  25. ==7411== by 0x42970C: main (main.cpp:382)
  26. ==7411== Address 0xae7fa00 is 0 bytes after a block of size 512 alloc'd
  27. ==7411== at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  28. ==7411== by 0x4E675B5: __gnu_cxx::new_allocator<unsigned char>::allocate(unsigned long, void const*) (new_allocator.h:104)
  29. ==7411== by 0x4E67326: std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
  30. ==7411== by 0x4E6DB93: std::vector<unsigned char, std::allocator<unsigned char> >::_M_default_append(unsigned long) (vector.tcc:549)
  31. ==7411== by 0x4E6DA62: std::vector<unsigned char, std::allocator<unsigned char> >::resize(unsigned long) (stl_vector.h:667)
  32. ==7411== by 0x4E6CFC1: vm::dev::m5fdd::M5FDD::insertFloppy(std::shared_ptr<vm::dev::disk::Disk>) (M5FDD.cpp:208)
  33. ==7411== by 0x4290FC: main (main.cpp:250)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement