Skip to content

[C++][CI] Valgrind errors in StringConversion.ToHalfFloat #41154

@pitrou

Description

@pitrou

Describe the bug, including details regarding any error messages, version, and platform.

See https://dev.azure.com/ursacomputing/crossbow/_build/results?buildId=63003&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=d9b15392-e4ce-5e4c-0c8c-b69645229181&l=4381

[ RUN      ] StringConversion.ToHalfFloat
==12283== Conditional jump or move depends on uninitialised value(s)
==12283==    at 0x5CA5C9A: arrow::util::(anonymous namespace)::BinaryConverter<unsigned int>::ToBinary16(unsigned int) (float16.cc:88)
==12283==    by 0x5CA5EDA: arrow::util::Float16::FromFloat(float) (float16.cc:210)
   fun:_ZN7testing4Test3RunEv
   fun:_ZN7testing8TestInfo3RunEv
   fun:_ZN7testing9TestSuite3RunEv
   fun:_ZN7testing8internal12UnitTestImpl11RunAllTestsEv
   fun:_ZN7testing8internal38HandleSehExceptionsInMethodIfSupportedINS0_12UnitTestImplEbEET0_PT_MS4_FS3_vEPKc
   fun:_ZN7testing8internal35HandleExceptionsInMethodIfSupportedINS0_12UnitTestImplEbEET0_PT_MS4_FS3_vEPKc
   fun:_ZN7testing8UnitTest3RunEv
   fun:_Z13RUN_ALL_TESTSv
   fun:main
}
[       OK ] StringConversion.ToHalfFloat (18 ms)

Component(s)

C++, Continuous Integration

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions