Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Running!
- [M5FDD] msg set to 2
- ==6032== Conditional jump or move depends on uninitialised value(s)
- ==6032== at 0x50D5275: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
- ==6032== by 0xB7EF867: ???
- ==6032== by 0xB7EF867: ???
- ==6032==
- ==6032== Invalid read of size 2
- ==6032== at 0x4C2F7EF: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6032== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x4E5D40A: vm::VComputer::Update(double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x42970C: main (in /home/luis/repos/dma/build/vm)
- ==6032== Address 0xb278d60 is 0 bytes after a block of size 131,072 alloc'd
- ==6032== at 0x4C2B800: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6032== by 0x4E5C9D9: vm::VComputer::VComputer(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x428D88: main (in /home/luis/repos/dma/build/vm)
- ==6032==
- ==6032== Invalid read of size 2
- ==6032== at 0x4C2F7E0: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6032== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x4E5D40A: vm::VComputer::Update(double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x42970C: main (in /home/luis/repos/dma/build/vm)
- ==6032== Address 0xb278d66 is 6 bytes after a block of size 131,072 alloc'd
- ==6032== at 0x4C2B800: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6032== by 0x4E5C9D9: vm::VComputer::VComputer(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x428D88: main (in /home/luis/repos/dma/build/vm)
- ==6032==
- ==6032== Invalid write of size 2
- ==6032== at 0x4C2F7E3: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6032== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x4E5D40A: vm::VComputer::Update(double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x42970C: main (in /home/luis/repos/dma/build/vm)
- ==6032== Address 0xae7fa00 is 0 bytes after a block of size 512 alloc'd
- ==6032== at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6032== by 0x4E675B5: __gnu_cxx::new_allocator<unsigned char>::allocate(unsigned long, void const*) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x4E67326: std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x4E6DB93: std::vector<unsigned char, std::allocator<unsigned char> >::_M_default_append(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x4E6DA62: std::vector<unsigned char, std::allocator<unsigned char> >::resize(unsigned long) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x4E6CFC1: vm::dev::m5fdd::M5FDD::insertFloppy(std::shared_ptr<vm::dev::disk::Disk>) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x4290FC: main (in /home/luis/repos/dma/build/vm)
- ==6032==
- ==6032== Invalid read of size 1
- ==6032== at 0x4C2F950: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6032== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x4E5D40A: vm::VComputer::Update(double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x42970C: main (in /home/luis/repos/dma/build/vm)
- ==6032== Address 0xb298cfa is 130,234 bytes inside a block of size 832,944 free'd
- ==6032== at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6032== by 0x512720A: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
- ==6032== by 0xFFEFFC60F: ???
- ==6032== by 0xCC5DF: ???
- ==6032== by 0xFFEFFC6B7: ???
- ==6032== by 0x80AE7909F: ???
- ==6032== by 0xC8: ???
- ==6032== by 0x806B19FFF: ???
- ==6032== by 0x806B1BFFF: ???
- ==6032==
- ==6032== Invalid write of size 1
- ==6032== at 0x4C2F953: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6032== by 0x4E5DAF5: vm::VComputer::Tick(unsigned int, double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x4E5D40A: vm::VComputer::Update(double) (in /home/luis/repos/dma/build/libVCOMPUTER.so)
- ==6032== by 0x42970C: main (in /home/luis/repos/dma/build/vm)
- ==6032== Address 0xae9f7fe is 65,390 bytes inside a block of size 812,224 free'd
- ==6032== at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6032== by 0x512720A: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
- ==6032== by 0xFFEFFC60F: ???
- ==6032== by 0xC74EF: ???
- ==6032== by 0xFFEFFC6B7: ???
- ==6032== by 0x80AE7909F: ???
- ==6032== by 0xC3: ???
- ==6032== by 0x806519FFF: ???
- ==6032== by 0x806699FFF: ???
- ==6032== by 0x6FFFFFFFF: ???
- ==6032==
- ==6032== Invalid read of size 4
- ==6032== at 0x5101687: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
- ==6032== by 0xBA4E36F: ???
- ==6032== by 0x3A00006: ???
- ==6032== by 0xFFEFFCC6F: ???
- ==6032== by 0x5103AFF: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
- ==6032== by 0xAE7FE1F: ???
- ==6032== by 0x420400A815: ???
- ==6032== by 0xB896A1F: ???
- ==6032== by 0xBDA32FF: ???
- ==6032== by 0x5AB3BF7: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19)
- ==6032== by 0xBA4E36F: ???
- ==6032== Address 0x62696c2f0000098c is not stack'd, malloc'd or (recently) free'd
- ==6032==
- ==6032==
- ==6032== Process terminating with default action of signal 11 (SIGSEGV)
- ==6032== General Protection Fault
- ==6032== at 0x5101687: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
- ==6032== by 0xBA4E36F: ???
- ==6032== by 0x3A00006: ???
- ==6032== by 0xFFEFFCC6F: ???
- ==6032== by 0x5103AFF: ??? (in /usr/lib/nvidia-331/libGL.so.331.38)
- ==6032== by 0xAE7FE1F: ???
- ==6032== by 0x420400A815: ???
- ==6032== by 0xB896A1F: ???
- ==6032== by 0xBDA32FF: ???
- ==6032== by 0x5AB3BF7: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19)
- ==6032== by 0xBA4E36F: ???
- ==6032==
- ==6032== Process terminating with default action of signal 11 (SIGSEGV)
- ==6032== Access not within mapped region at address 0x28
- ==6032== at 0x4009F7E: do_lookup_x (dl-lookup.c:98)
- ==6032== by 0x400A990: _dl_lookup_symbol_x (dl-lookup.c:737)
- ==6032== by 0x400F556: _dl_fixup (dl-runtime.c:111)
- ==6032== by 0x4016514: _dl_runtime_resolve (dl-trampoline.S:45)
- ==6032== by 0x4A256BC: _vgnU_freeres (in /usr/lib/valgrind/vgpreload_core-amd64-linux.so)
- ==6032== If you believe this happened as a result of a stack
- ==6032== overflow in your program's main thread (unlikely but
- ==6032== possible), you can try to increase the size of the
- ==6032== main thread stack using the --main-stacksize= flag.
- ==6032==
- ==6032== HEAP SUMMARY:
- ==6032== in use at exit: 4,906,260 bytes in 3,551 blocks
- ==6032== total heap usage: 8,280 allocs, 4,729 frees, 142,602,719 bytes allocated
- ==6032==
- ==6032== LEAK SUMMARY:
- ==6032== definitely lost: 15,526 bytes in 51 blocks
- ==6032== indirectly lost: 18,952 bytes in 97 blocks
- ==6032== possibly lost: 890,381 bytes in 29 blocks
- ==6032== still reachable: 3,981,401 bytes in 3,374 blocks
- ==6032== suppressed: 0 bytes in 0 blocks
- ==6032== Rerun with --leak-check=full to see details of leaked memory
- ==6032==
- ==6032== For counts of detected and suppressed errors, rerun with: -v
- ==6032== Use --track-origins=yes to see where uninitialised values come from
- ==6032== ERROR SUMMARY: 105981 errors from 7 contexts (suppressed: 1 from 1)
- 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