[android] various crashes when unplugging external display on a nested configuration
Bug #1501927 reported by
Alberto Aguirre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alberto Aguirre | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With mir 0.16 and lp:mir start a nested server
sudo mir_demo_server --arw-file --display-config sidebyside
mir_demo_server --host-socket /tmp/mir_socket --display-config sidebyside
Hotplug an external monitor and unplug it.
You'll get crashes/aborts at various places:
1. pure virtual method call aborts
2. SEGFAULT trying to access display_buffer in mc::DefaultDisp
3. SEGFAULT in mrg::RenderingT
4. other but all points to accessing dead objects.
Related branches
lp://staging/~albaguirre/mir/fix-1501927
- Alexandros Frantzis (community): Approve
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 171 lines (+85/-22)2 files modifiedsrc/platforms/android/server/display.cpp (+14/-15)
tests/unit-tests/graphics/android/test_display.cpp (+71/-7)
tags: | added: android multimonitor nested |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:mir at revision 3001, scheduled for release in mir, milestone 0.17.0