mir_unit_tests is crashing with SIGSEGV in libhybris gl functions
Bug #1264968 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Daniel van Vugt | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Suddenly there are lots of mir_unit_tests failing on mako in unmocked gl functions (/usr/lib/
e.g.
(gdb) bt
#0 0xbefc1fb0 in ?? ()
#1 0x41875b20 in glDeleteShader ()
from /usr/lib/
#2 0x407c5f62 in mir::compositor
this=0x212cbbc, __in_chrg=
It appears this should have always happened as we forgot to mock many gl functions. Not sure how/why it passed before.
Related branches
lp://staging/~vanvugt/mir/fix-1264968
- PS Jenkins bot (community): Approve (continuous-integration)
- Daniel van Vugt: Approve
- Andreas Pokorny (community): Approve
-
Diff: 257 lines (+140/-36)3 files modifiedinclude/test/mir_test_doubles/mock_gl.h (+62/-36)
tests/mir_test_doubles/mock_gl.cpp (+71/-0)
tests/unit-tests/compositor/test_gl_renderer.cpp (+7/-0)
Changed in mir: | |
importance: | Critical → High |
assignee: | nobody → Daniel van Vugt (vanvugt) |
status: | Triaged → In Progress |
summary: |
- Lots of mir_unit_tests failing on mako in unmocked gl functions + Lots of mir_unit_tests failing on mako, crashing in gl functions (/usr/lib/arm-linux-gnueabihf/libhybris-egl/libGLESv2.so.2) |
tags: | added: testsfail |
summary: |
- Lots of mir_unit_tests failing on mako, crashing in gl functions - (/usr/lib/arm-linux-gnueabihf/libhybris-egl/libGLESv2.so.2) + mir_unit_tests is crashing with SIGSEGV in libhybris gl functions |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hmm, looks like a consequence of recent updates to libhybris.