← Back to team overview

touch-packages team mailing list archive

[Bug 1335819] Re: Intermittent memory error in ClientSurfaceEvents.client_can_query_current_orientation

 

** Changed in: mir
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1335819

Title:
  Intermittent memory error in
  ClientSurfaceEvents.client_can_query_current_orientation

Status in Mir:
  Fix Released
Status in Mir 0.4 series:
  Fix Released
Status in “mir” package in Ubuntu:
  Fix Released

Bug description:
  Under certain circumstances when running
  ClientSurfaceEvents.client_can_query_current_orientation (and
  presumably other ClientSurfaceEvents.* tests) we run into a memory
  error.

  I can reproduce this by running:

  bin/mir_acceptance_tests
  --gtest_filter=ClientSurfaceEvents.client_can_query_current_orientation
  --gtest_repeat=1000

  when the system is under high load (e.g. run the tests and at the same
  time make -j4 in another mir branch).

  With address sanitizer I get (see attachment for complete output):

  Note: Google Test filter = ClientSurfaceEvents.client_can_query_current_orientation
  [==========] Running 1 test from 1 test case.
  [----------] Global test environment set-up.
  [----------] 1 test from ClientSurfaceEvents
  [ RUN      ] ClientSurfaceEvents.client_can_query_current_orientation
  =================================================================
  ==16497==ERROR: AddressSanitizer: heap-use-after-free on address 0x6040003a0178 at pc 0x7ff68ba206c5 bp 0x7fffd93df990 sp 0x7fffd93df988
  READ of size 8 at 0x6040003a0178 thread T0

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1335819/+subscriptions