Nexus 4: Resuming with multiple system compositors running leads one of them to crash ("error during hwc prepare()")

Bug #1353887 reported by Daniel van Vugt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Triaged
Medium
Unassigned
mir (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Nexus 4: Mir server crashes on resume ("error during hwc prepare()")

Test case:
   1. mir_demo_server_shell
   2. mir_demo_client_egltriangle
   3. Press the power button to sleep
   4. Press the power button again to wake up

Expected: Rendering continues on screen after wakeup
Observed:
ERROR: /home/dan/bzr/mir/dev/src/platform/graphics/android/real_hwc_wrapper.cpp(60): Throw in function virtual void mir::graphics::android::RealHwcWrapper::set(hwc_display_contents_1_t&) const
Dynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE
std::exception::what: error during hwc prepare(). rc = ffffffff

Update: I just found this is happening because unity-system-compositor is still running. If I freeze USC (kill -STOP) then the problem goes away.

summary: - Nexus 4: Mir server crashes on resume ("error during hwc prepare()")
+ Nexus 4: Resuming with multiple system compositors running leads one of
+ them to crash ("error during hwc prepare()")
description: updated
Changed in mir:
importance: Critical → Medium
status: New → Triaged
Changed in mir:
milestone: 0.7.0 → 0.8.0
Changed in mir:
milestone: 0.8.0 → 0.9.0
Changed in mir:
milestone: 0.9.0 → 0.8.0
Changed in mir:
milestone: 0.8.0 → 0.9.0
Changed in mir:
milestone: 0.9.0 → 0.10.0
Changed in mir:
milestone: 0.10.0 → none
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Hmm, was this fixed with bug 1474891?

Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.