Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==7411== Invalid read of size 2
- ==7411== at 0x4C2F7EF: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7411== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (VComputer.cpp:274)
- ==7411== by 0x4E5D40A: vm::VComputer::Update(double) (VComputer.cpp:169)
- ==7411== by 0x42970C: main (main.cpp:382)
- ==7411== Address 0xb278d60 is 0 bytes after a block of size 131,072 alloc'd
- ==7411== at 0x4C2B800: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7411== by 0x4E5C9D9: vm::VComputer::VComputer(unsigned long) (VComputer.cpp:25)
- ==7411== by 0x428D88: main (main.cpp:215)
- ==7411==
- ==7411== Invalid read of size 2
- ==7411== at 0x4C2F7E0: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7411== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (VComputer.cpp:274)
- ==7411== by 0x4E5D40A: vm::VComputer::Update(double) (VComputer.cpp:169)
- ==7411== by 0x42970C: main (main.cpp:382)
- ==7411== Address 0xb278d66 is 6 bytes after a block of size 131,072 alloc'd
- ==7411== at 0x4C2B800: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7411== by 0x4E5C9D9: vm::VComputer::VComputer(unsigned long) (VComputer.cpp:25)
- ==7411== by 0x428D88: main (main.cpp:215)
- ==7411==
- ==7411== Invalid write of size 2
- ==7411== at 0x4C2F7E3: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7411== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (VComputer.cpp:274)
- ==7411== by 0x4E5D40A: vm::VComputer::Update(double) (VComputer.cpp:169)
- ==7411== by 0x42970C: main (main.cpp:382)
- ==7411== Address 0xae7fa00 is 0 bytes after a block of size 512 alloc'd
- ==7411== at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==7411== by 0x4E675B5: __gnu_cxx::new_allocator<unsigned char>::allocate(unsigned long, void const*) (new_allocator.h:104)
- ==7411== by 0x4E67326: std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==7411== by 0x4E6DB93: std::vector<unsigned char, std::allocator<unsigned char> >::_M_default_append(unsigned long) (vector.tcc:549)
- ==7411== by 0x4E6DA62: std::vector<unsigned char, std::allocator<unsigned char> >::resize(unsigned long) (stl_vector.h:667)
- ==7411== by 0x4E6CFC1: vm::dev::m5fdd::M5FDD::insertFloppy(std::shared_ptr<vm::dev::disk::Disk>) (M5FDD.cpp:208)
- ==7411== by 0x4290FC: main (main.cpp:250)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement