Mir

Conditional jump or move depends on uninitialised value(s): android::TouchInputMapper::configureSurface(long, bool*) (InputReader.cpp:2938)

Bug #1236697 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
High
Daniel van Vugt

Bug Description

valgrind bin/unit-tests --gtest_filter="SingleTouchInputMapperTest.*"

...
[ RUN ] SingleTouchInputMapperTest.Process_WhenOrientationAware_RotatesMotions
==26028== Conditional jump or move depends on uninitialised value(s)
==26028== at 0x57D116A: android::TouchInputMapper::configureSurface(long, bool*) (InputReader.cpp:2938)
==26028== by 0x57D0434: android::TouchInputMapper::configure(long, android::InputReaderConfiguration const*, unsigned int) (InputReader.cpp:2726)
==26028== by 0x57CA332: android::InputDevice::configure(long, android::InputReaderConfiguration const*, unsigned int) (InputReader.cpp:950)
==26028== by 0x17411A8: android::InputMapperTest::setDisplayInfoAndReconfigure(int, int, int, int) (input_reader.cpp:1026)
==26028== by 0x16E1F67: android::TouchInputMapperTest::prepareDisplay(int) (input_reader.cpp:2125)
==26028== by 0x16F45F3: android::SingleTouchInputMapperTest_Process_WhenOrientationAware_RotatesMotions_Test::TestBody() (input_reader.cpp:2746)
==26028== by 0x18BB835: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/dan/bzr/mir/dev/build/bin/unit-tests)
==26028== by 0x18B7177: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/dan/bzr/mir/dev/build/bin/unit-tests)
==26028== by 0x189F85E: testing::Test::Run() (in /home/dan/bzr/mir/dev/build/bin/unit-tests)
==26028== by 0x18A003B: testing::TestInfo::Run() (in /home/dan/bzr/mir/dev/build/bin/unit-tests)
==26028== by 0x18A06D5: testing::TestCase::Run() (in /home/dan/bzr/mir/dev/build/bin/unit-tests)
==26028== by 0x18A6E33: testing::internal::UnitTestImpl::RunAllTests() (in /home/dan/bzr/mir/dev/build/bin/unit-tests)
==26028==
[ OK ] SingleTouchInputMapperTest.Process_WhenOrientationAware_RotatesMotions (84 ms)
...
==26028== ERROR SUMMARY: 3 errors from 1 contexts (suppressed: 2 from 2)

Related branches

Changed in mir:
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in mir:
status: Triaged → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:~mir-team/mir/development-branch at revision None, scheduled for release in mir, milestone Unknown

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
milestone: none → phone-v1-freeze
Changed in mir:
milestone: phone-v1-freeze → 0.0.14
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers