helgrind: Lock order violated in mir::client::ConnectionSurfaceMap::erase(int)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alan Griffiths | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
helgrind: Lock order violated in mir::client:
==21606== -------
==21606==
==21606== Thread #2: lock order "0x9258A30 before 0x9258338" violated
==21606==
==21606== Observed (incorrect) order is: acquisition of lock at 0x9258338
==21606== (stack unavailable)
==21606==
==21606== followed by a later acquisition of lock at 0x9258A30
==21606== at 0x4C2FC35: pthread_mutex_lock (in /usr/lib/
==21606== by 0x4F9EB21: __gthread_
==21606== by 0x4F9F171: std::mutex::lock() (mutex:134)
==21606== by 0x4FAFE86: std::unique_
==21606== by 0x4FAFC30: std::unique_
==21606== by 0x4FC18E0: mir::client:
==21606== by 0x4FAA2CB: MirConnection:
==21606== by 0x4FAF3E6: google:
==21606== by 0x4FD0EBD: mir::client:
==21606== by 0x4FE7136: google:
==21606== by 0x4FE7D08: mir::client:
==21606== by 0x4FD195B: mir::client:
==21606==
==21606== -------
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Daniel van Vugt: Approve
-
Diff: 725 lines (+103/-112)10 files modifiedsrc/client/mir_client_library.cpp (+1/-2)
src/client/mir_connection.cpp (+46/-46)
src/client/mir_connection.h (+3/-3)
src/client/mir_surface.cpp (+28/-33)
src/client/mir_surface.h (+3/-3)
src/client/rpc/mir_basic_rpc_channel.cpp (+16/-17)
src/client/rpc/mir_basic_rpc_channel.h (+1/-2)
src/client/rpc/mir_socket_rpc_channel.cpp (+3/-4)
src/client/rpc/mir_socket_rpc_channel.h (+1/-1)
tests/acceptance-tests/test_client_focus_notification.cpp (+1/-1)
Changed in mir: | |
status: | New → In Progress |
Changed in mir: | |
milestone: | none → 0.1.4 |
tags: | added: helgrind |
Changed in mir: | |
importance: | Undecided → Medium |
Changed in mir: | |
status: | Fix Committed → Fix Released |
It would be useful to know which program generated the above trace