[regression] Clients of nested Mir servers silently crash/exit instantly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Critical
|
Mir development team | ||
0.18 |
Fix Released
|
Critical
|
Mir development team | ||
mesa (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
mir (Ubuntu) |
Invalid
|
Critical
|
Unassigned |
Bug Description
Clients of nested Mir servers silently crash/exit instantly (on xenial)
This happens in Mir trunk lp:mir and lp:mir/0.18, but not in lp:mir/0.17
sudo bin/mir_
sudo bin/mir_
sudo bin/mir_
And the client silently exits with return code 139.
Valgrind or gdb show the problem though:
==16515== Process terminating with default action of signal 11 (SIGSEGV)
==16515== Access not within mapped region at address 0x123460A8
==16515== at 0x6EA16E0: XGetXCBConnection (in /usr/lib/
==16515== by 0x517AC73: ??? (in /usr/lib/
==16515== by 0x5174ADE: ??? (in /usr/lib/
==16515== by 0x5174B98: ??? (in /usr/lib/
==16515== by 0x5170B31: eglInitialize (in /usr/lib/
==16515== by 0x4031A9: mir_eglapp_init (eglapp.c:350)
==16515== by 0x4024EC: main (egltriangle.c:85)
#0 0x00007ffff5b6e6e0 in XGetXCBConnection ()
from /usr/lib/
#1 0x00007ffff7893c74 in ?? ()
from /usr/lib/
#2 0x00007ffff788dadf in ?? ()
from /usr/lib/
#3 0x00007ffff788db99 in ?? ()
from /usr/lib/
#4 0x00007ffff7889b32 in eglInitialize ()
from /usr/lib/
#5 0x00000000004031aa in mir_eglapp_init (argc=3, argv=0x7fffffff
width=
at /home/dan/
#6 0x00000000004024ed in main (argc=3, argv=0x7fffffff
at /home/dan/
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Daniel van Vugt: Approve
- Cemil Azizoglu (community): Needs Information
-
Diff: 126 lines (+11/-29)5 files modifiedsrc/platforms/mesa/server/kms/platform_symbols.cpp (+3/-21)
src/platforms/mesa/server/x11/graphics/graphics.cpp (+1/-1)
tests/unit-tests/graphics/mesa/kms/test_platform.cpp (+2/-2)
tests/unit-tests/graphics/mesa/x11/test_platform.cpp (+2/-2)
tests/unit-tests/graphics/test_platform_prober.cpp (+3/-3)
summary: |
- Clients of nested Mir servers silently crash/exit instantly + [regression] Clients of nested Mir servers silently crash/exit instantly |
Changed in mir: | |
importance: | Undecided → Critical |
milestone: | none → 0.19.0 |
Changed in mesa (Ubuntu): | |
importance: | Undecided → Critical |
tags: | added: regression |
Changed in mir: | |
status: | Incomplete → In Progress |
assignee: | nobody → Mir development team (mir-team) |
Changed in mir (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Changed in mir: | |
status: | Fix Released → Fix Committed |
Connecting a software client to the affected nested server actually made the nested server crash:
ERROR: /home/dan/ bzr/mir/ fixmirout/ src/gl/ recently_ used_cache. cpp(44) : Throw in function virtual std::shared_ ptr<mir: :gl::Texture> mir::gl: :RecentlyUsedCa che::load( const mir::graphics: :Renderable& ) exception_ detail: :clone_ impl<boost: :exception_ detail: :error_ info_injector< std::logic_ error> > :what: Buffer does not support GL rendering
Dynamic exception type: boost::
std::exception: