Closed s-trinh closed 3 years ago
I am encountering some weird Valgrind issue with Simd::Detection.
Simd::Detection
I am using the latest code.
Details about Simd build with CMake (AVX-512 is set to off explicitely):
Simd Library: Build type: 'Debug' Target: x86_64 Library type: STATIC Toolchain: /usr/bin/c++ Compiler ID: GNU Compiler Version: 5.4.0 Performance statistic: OFF
Code used:
#include <iostream> #include <string> #include "Simd/SimdDetection.hpp" int main(int argc, char * argv[]) { int width = 640, height = 480; unsigned char * bitmap = new unsigned char[width*height]; memset(bitmap, 0, width*height); typedef Simd::Detection<Simd::Allocator> Detection; Detection detection; if (detection.Load("haar_face_0.xml")) { Detection::View image(width, height, Detection::View::Gray8, bitmap); detection.Init(image.Size(), 1.1, Detection::Size(30,30)); Detection::Objects objects; detection.Detect(image, objects); for (size_t i = 0; i < objects.size(); i++) { std::cout << i << ") " << objects[i].rect.Left() << ", " << objects[i].rect.Top() << " ; " << objects[i].rect.Width() << "x" << objects[i].rect.Height() << std::endl; } } delete[] bitmap; return 0; }
Corresponding CMakeLists.txt:
cmake_minimum_required(VERSION 3.0) project(Simd-face) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) find_package(Threads) set(SRCS UseFaceDetection.cpp ) set(HEADERS ) include_directories(<path to>/Simd/src ) add_executable(UseFaceDetection ${SRCS} ${HEADERS}) target_link_libraries(UseFaceDetection ${CMAKE_THREAD_LIBS_INIT} <path to>/Simd-build/libSimd.a)
``` valgrind --track-origins=yes ./UseFaceDetection ==846== Memcheck, a memory error detector ==846== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==846== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info ==846== Command: ./UseFaceDetection ==846== ==846== Invalid read of size 32 ==846== at 0x1B2119B: _mm256_loadu_si256 (avxintrin.h:896) ==846== by 0x1B2119B: LoadGrayIntrepolated (SimdAvx2ResizeBilinear.cpp:342) ==846== by 0x1B2119B: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:390) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Address 0x5d52d91 is 307,169 bytes inside a block of size 307,200 alloc'd ==846== at 0x4C2EB1B: operator new[](unsigned long) (vg_replace_malloc.c:423) ==846== by 0x58CE15: main (UseFaceDetection.cpp:9) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69A7EB: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:74) ==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69A7FD: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:74) ==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69A737: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:71) ==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69A76F: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:72) ==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69A781: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:72) ==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69A7AD: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:73) ==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69A7BF: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:73) ==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69A83B: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:77) ==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69A847: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:77) ==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69B15C: Simd::Base::ChangeColors(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char const*, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:191) ==846== by 0x69B28D: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:209) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69B0CC: Simd::Base::ChangeColors(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char const*, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:188) ==846== by 0x69B28D: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:209) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69B0FC: Simd::Base::ChangeColors(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char const*, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:189) ==846== by 0x69B28D: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:209) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69B12C: Simd::Base::ChangeColors(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char const*, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:190) ==846== by 0x69B28D: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:209) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== Uninitialised value was created by a heap allocation ==846== at 0x4C30259: memalign (vg_replace_malloc.c:898) ==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062) ==846== by 0x1B2039B: Allocate (SimdMemory.h:90) ==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72) ==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732) ==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310) ==846== by 0x58D42C: main (UseFaceDetection.cpp:19) ==846== ==846== Use of uninitialised value of size 8 ==846== at 0x69B198: Simd::Base::ChangeColors(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char const*, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:194) ==846== by 0x69B28D: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:209) ==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478) ==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892) ==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528) ==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator
I am encountering some weird Valgrind issue with
Simd::Detection
.I am using the latest code.
Details about Simd build with CMake (AVX-512 is set to off explicitely):
Code used:
Corresponding CMakeLists.txt:
Valgrind log
``` valgrind --track-origins=yes ./UseFaceDetection ==846== Memcheck, a memory error detector ==846== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==846== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info ==846== Command: ./UseFaceDetection ==846== ==846== Invalid read of size 32 ==846== at 0x1B2119B: _mm256_loadu_si256 (avxintrin.h:896) ==846== by 0x1B2119B: LoadGrayIntrepolated (SimdAvx2ResizeBilinear.cpp:342) ==846== by 0x1B2119B: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:390) ==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408) ==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202) ==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Address 0x5d52d91 is 307,169 bytes inside a block of size 307,200 alloc'd
==846== at 0x4C2EB1B: operator new[](unsigned long) (vg_replace_malloc.c:423)
==846== by 0x58CE15: main (UseFaceDetection.cpp:9)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69A7EB: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:74)
==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69A7FD: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:74)
==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69A737: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:71)
==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69A76F: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:72)
==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69A781: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:72)
==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69A7AD: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:73)
==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69A7BF: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:73)
==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69A83B: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:77)
==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69A847: Simd::Base::Histogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned int*) (SimdBaseHistogram.cpp:77)
==846== by 0x69B232: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:204)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69B15C: Simd::Base::ChangeColors(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char const*, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:191)
==846== by 0x69B28D: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:209)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69B0CC: Simd::Base::ChangeColors(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char const*, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:188)
==846== by 0x69B28D: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:209)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69B0FC: Simd::Base::ChangeColors(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char const*, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:189)
==846== by 0x69B28D: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:209)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69B12C: Simd::Base::ChangeColors(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char const*, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:190)
==846== by 0x69B28D: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:209)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846== Uninitialised value was created by a heap allocation
==846== at 0x4C30259: memalign (vg_replace_malloc.c:898)
==846== by 0x4C30326: posix_memalign (vg_replace_malloc.c:1062)
==846== by 0x1B2039B: Allocate (SimdMemory.h:90)
==846== by 0x1B2039B: Simd::Avx2::(anonymous namespace)::BufferG::BufferG(unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:72)
==846== by 0x1B20A70: Simd::Avx2::ResizeBilinearGray(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:357)
==846== by 0x1B21C8C: Simd::Avx2::ResizeBilinear(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long, unsigned long, unsigned long, unsigned long) (SimdAvx2ResizeBilinear.cpp:408)
==846== by 0x5B0242: SimdResizeBilinear (SimdLib.cpp:4202)
==846== by 0x594F7F: ResizeBilinear (SimdLib.hpp:2732)
==846== by 0x594F7F: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:526)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator > > const&) (SimdDetection.hpp:310)
==846== by 0x58D42C: main (UseFaceDetection.cpp:19)
==846==
==846== Use of uninitialised value of size 8
==846== at 0x69B198: Simd::Base::ChangeColors(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char const*, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:194)
==846== by 0x69B28D: Simd::Base::NormalizeHistogram(unsigned char const*, unsigned long, unsigned long, unsigned long, unsigned char*, unsigned long) (SimdBaseHistogram.cpp:209)
==846== by 0x5ACB42: SimdNormalizeHistogram (SimdLib.cpp:2478)
==846== by 0x5950E7: NormalizeHistogram (SimdLib.hpp:1892)
==846== by 0x5950E7: Simd::Detection::FillLevels(Simd::View) (SimdDetection.hpp:528)
==846== by 0x58FC7B: Simd::Detection::Detect(Simd::View const&, std::vector::Object, std::allocator::Object> >&, int, double, bool, std::vector, std::allocator