Mir

Comment 0 for bug 1335819

Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

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:

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

More http://paste.ubuntu.com/7725250/