Skip to content

G-API: valgrind issues (2019-11-02) #15836

Closed

Description

@alalek

Valgrind build

==14190== Use of uninitialised value of size 8
==14190==    at 0x6F1A811: _itoa_word (_itoa.c:180)
==14190==    by 0x6F1C1F7: printf_positional (vfprintf.c:2022)
==14190==    by 0x6F1ECB9: vfprintf (vfprintf.c:1688)
==14190==    by 0x6FF4168: __vsnprintf_chk (vsnprintf_chk.c:63)
==14190==    by 0x6FF4094: __snprintf_chk (snprintf_chk.c:34)
==14190==    by 0x5BAF4E: snprintf (stdio2.h:65)
==14190==    by 0x5BAF4E: testing::(anonymous namespace)::PrintByteSegmentInObjectTo(unsigned char const*, unsigned long, unsigned long, std::ostream*) (ts_gtest.cpp:10840)
==14190==    by 0x5BDA53: PrintBytesInObjectToImpl (ts_gtest.cpp:10858)
==14190==    by 0x5BDA53: testing::internal2::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*) (ts_gtest.cpp:10880)
==14190==    by 0x59491C: PrintValue (ts_gtest.h:10569)
==14190==    by 0x59491C: operator<< <char, std::char_traits<char>, cv::gapi::GKernelPackage> (ts_gtest.h:10660)
==14190==    by 0x59491C: DefaultPrintNonContainerTo<cv::gapi::GKernelPackage> (ts_gtest.h:10701)
==14190==    by 0x59491C: DefaultPrintTo<cv::gapi::GKernelPackage> (ts_gtest.h:10892)
==14190==    by 0x59491C: PrintTo<cv::gapi::GKernelPackage> (ts_gtest.h:10927)
==14190==    by 0x59491C: Print (ts_gtest.h:11182)
==14190==    by 0x59491C: UniversalPrint<cv::gapi::GKernelPackage> (ts_gtest.h:11373)
==14190==    by 0x59491C: Print (ts_gtest.h:11301)
==14190==    by 0x59491C: PrintToString<cv::gapi::GKernelPackage> (ts_gtest.h:11510)
==14190==    by 0x59491C: testing::internal::ParameterizedTestCaseInfo<opencv_test::(anonymous namespace)::GAPI_Streaming>::RegisterTests() (ts_gtest.h:12100)
==14190==    by 0x5BC36E: RegisterTests (ts_gtest.h:12228)
==14190==    by 0x5BC36E: testing::internal::UnitTestImpl::RegisterParameterizedTests() (ts_gtest.cpp:4132)
==14190==    by 0x5D6744: testing::internal::UnitTestImpl::PostFlagParsingInit() (ts_gtest.cpp:6463)
==14190==    by 0x5D683B: void testing::internal::InitGoogleTestImpl<char>(int*, char**) (ts_gtest.cpp:7430)
==14190==    by 0x5D6884: testing::InitGoogleTest(int*, char**) (ts_gtest.cpp:7448)
==14190==  Uninitialised value was created by a stack allocation
==14190==    at 0x580D6F: opencv_test::gtest_TestStreamingGAPI_Streaming_EvalGenerator_() (gapi_streaming_tests.cpp:305)

Activity

  1. added a commit that references this issue on Dec 6, 2019
    ddab734
  2. added a commit that references this issue on Mar 30, 2023
    c4bc8ec
  3. added a commit that references this issue on Jul 30, 2026
    956dfdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions