the issue was that the hwcomposer was relying on HWC_GEOMETRY_CHANGED
flag to do some initialization of its internal data structures
(including some pthread mutexes). Mir was not setting this flag leaving
those mutexes uninitialized. When hwc tried to lock the uninitialized
mutexes,  we would segfault in hybris at that point.

Fixed by 
1) setting HWC_GEOMETRY_CHANGED during posting
2) submitting a skipped gles layer to force posting everytime.

branch with fix is linked

** Changed in: mir
       Status: Confirmed => In Progress

** Branch linked: lp:~kdub/mir/n7-support

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1231917

Title:
  Mir servers crash with SIGSEGV in libhybris-common.so.1 on Nexus7 when
  using the hwcomposer (tegra3)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1231917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to