Intermittent memory error in ClientSurfaceEvents.client_can_query_current_orientation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alan Griffiths | ||
0.4 |
Fix Released
|
High
|
Alan Griffiths | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Under certain circumstances when running ClientSurfaceEv
I can reproduce this by running:
bin/mir_
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 = ClientSurfaceEv
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ClientSurfaceEvents
[ RUN ] ClientSurfaceEv
=======
==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
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Alberto Aguirre (community): Abstain
- Alan Griffiths: Needs Information
-
Diff: 50 lines (+9/-4)1 file modifiedtests/acceptance-tests/test_client_surface_events.cpp (+9/-4)
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Alberto Aguirre (community): Approve
- Andreas Pokorny (community): Approve
- Cemil Azizoglu (community): Approve
-
Diff: 11 lines (+1/-0)1 file modifiedtests/acceptance-tests/test_client_surface_events.cpp (+1/-0)
Changed in mir: | |
status: | New → In Progress |
assignee: | Alexandros Frantzis (afrantzis) → Alan Griffiths (alan-griffiths) |
milestone: | none → 0.4.0 |
Changed in mir: | |
status: | In Progress → Fix Released |
status: | Fix Released → Fix Committed |
Changed in mir: | |
milestone: | 0.4.0 → 0.5.0 |
no longer affects: | mir |
Changed in mir: | |
milestone: | none → 0.5.0 |
importance: | Undecided → High |
status: | New → Fix Committed |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Fix backported to the 0.4 series at: ------- ------- ------- ------- ------- ------- ------- ---- ------- ------- ------- ------- ------- ------- ------- ----
-------
revno: 1735
committer: Cemil Azizoglu <email address hidden>
branch nick: mir-0.4.0
timestamp: Tue 2014-07-01 18:50:01 +0300
message:
Merge r1737 and r1738 from devel.
-------