==32176== Memcheck, a memory error detector
==32176== Copyright (C) 2002-2015, and GNU GPLd, by Julian Seward et al.
==32176== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==32176== Command: ./Work/pthread/sim.out
==32176==
INFO: Reading options file './Work/options/x86sim.options'.
==32176== Thread 90:
==32176== Conditional jump or move depends on uninitialised value(s)
==32176== at 0x6486A42: vfprintf (in /usr/lib64/libc-2.17.so)
==32176== by 0x64908C8: printf (in /usr/lib64/libc-2.17.so)
==32176== by 0x405A22: bf8x8_fst_api(input_window<cint16>*, input_window<cint16>*, output_stream<cacc48>*) (bf8x8_fst_api.cpp:36)
==32176== by 0x408504: b88_kernel_wrapper(input_window<cint16>*, input_window<cint16>*, output_stream<cacc48>*) (wrap_bf8x8_fst_api.cpp:5)
==32176== by 0x46C83D: x86sim::Kernel_b88_bf8x8_fst_api::invokeKernel() (PthreadSim.cpp:56)
==32176== by 0x55CEF2D: x86sim::IMEKernel::execute() (in ${INSTALL_PATH}/aietools/lib/lnx64.o/libx86sim.so)
==32176== by 0x55CDD3A: ??? (in ${INSTALL_PATH}/aietools/lib/lnx64.o/libx86sim.so)
==32176== by 0x5C5FCBE: execute_native_thread_routine (thread.cc:83)
==32176== by 0x4E3CE24: start_thread (in /usr/lib64/libpthread-2.17.so)
==32176== by 0x653734C: clone (in /usr/lib64/libc-2.17.so)
==32176== Uninitialised value was created by a stack allocation
==32176== at 0x4059E8: bf8x8_fst_api(input_window<cint16>*, input_window<cint16>*, output_stream<cacc48>*) (bf8x8_fst_api.cpp:34)
==32176==
==32176== Use of uninitialised value of size 8
==32176== at 0x6485EDB: _itoa_word (in /usr/lib64/libc-2.17.so)
==32176== by 0x6486F55: vfprintf (in /usr/lib64/libc-2.17.so)
==32176== by 0x64908C8: printf (in /usr/lib64/libc-2.17.so)
==32176== by 0x405A22: bf8x8_fst_api(input_window<cint16>*, input_window<cint16>*, output_stream<cacc48>*) (bf8x8_fst_api.cpp:36)
==32176== by 0x408504: b88_kernel_wrapper(input_window<cint16>*, input_window<cint16>*, output_stream<cacc48>*) (wrap_bf8x8_fst_api.cpp:5)
==32176== by 0x46C83D: x86sim::Kernel_b88_bf8x8_fst_api::invokeKernel() (PthreadSim.cpp:56)
==32176== by 0x55CEF2D: x86sim::IMEKernel::execute() (in ${INSTALL_PATH}/aietools/lib/lnx64.o/libx86sim.so)
==32176== by 0x55CDD3A: ??? (in ${INSTALL_PATH}/aietools/lib/lnx64.o/libx86sim.so)
==32176== by 0x5C5FCBE: execute_native_thread_routine (thread.cc:83)
==32176== by 0x4E3CE24: start_thread (in /usr/lib64/libpthread-2.17.so)
==32176== by 0x653734C: clone (in /usr/lib64/libc-2.17.so)
==32176== Uninitialised value was created by a stack allocation
==32176== at 0x4059E8: bf8x8_fst_api(input_window<cint16>*, input_window<cint16>*, output_stream<cacc48>*) (bf8x8_fst_api.cpp:34)
==32176==
...
bf8x8_fst_api, 0
bf8x8_fst_api, 0
bf8x8_fst_api, 0
bf8x8_fst_api, 0
bf8x8_fst_api, 0
bf8x8_fst_api, 0
bf8x8_fst_api, 0
bf8x8_fst_api, 0
bf8x8_fst_api, 0
bf8x8_fst_api, 0
bf8x8_fst_api, 0
bf8x8_fst_api, 0
==32176==
==32176== HEAP SUMMARY:
==32176== in use at exit: 184,181 bytes in 716 blocks
==32176== total heap usage: 77,657 allocs, 76,941 frees, 7,902,765 bytes allocated
==32176==
==32176== For a detailed leak analysis, rerun with: --leak-check=full
==32176==
==32176== For counts of detected and suppressed errors, rerun with: -v
==32176== ERROR SUMMARY: 72 errors from 6 contexts (suppressed: 0 from 0)
Note:
The error message is generated by
valgrind
application instead ofx86simulator
.Running the x86simulator with the Valgrind option will increase the simulation run time.