← Back to team overview

desktop-packages team mailing list archive

[Bug 1526209] Re: [regression] Clients of nested Mir servers silently crash/exit instantly


Fix Released in Mir 0.18.0. Although it's good to mention this bug got
different fixes between the 0.18 and 0.19 branches, it's probably still
best to only mention it in the changelog for one of them.

** Changed in: mir
       Status: Fix Committed => Fix Released

** Changed in: mir
    Milestone: 0.19.0 => None

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.

  [regression] Clients of nested Mir servers silently crash/exit

Status in Mir:
  Fix Released
Status in Mir 0.18 series:
  Fix Released
Status in mesa package in Ubuntu:
Status in mir package in Ubuntu:

Bug description:
  Clients of nested Mir servers silently crash/exit instantly (on

  This happens in Mir trunk lp:mir and lp:mir/0.18, but not in

    sudo bin/mir_demo_server_minimal -f /tmp/outside &
    sudo bin/mir_proving_server -f /tmp/inside --host-socket=/tmp/outside &
    sudo bin/mir_demo_client_egltriangle -m /tmp/inside

  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/x86_64-linux-gnu/libX11-xcb.so.1.0.0)
  ==16515==    by 0x517AC73: ??? (in /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1.0.0)
  ==16515==    by 0x5174ADE: ??? (in /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1.0.0)
  ==16515==    by 0x5174B98: ??? (in /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1.0.0)
  ==16515==    by 0x5170B31: eglInitialize (in /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1.0.0)
  ==16515==    by 0x4031A9: mir_eglapp_init (eglapp.c:350)
  ==16515==    by 0x4024EC: main (egltriangle.c:85)

  #0  0x00007ffff5b6e6e0 in XGetXCBConnection ()
     from /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1
  #1  0x00007ffff7893c74 in ?? ()
     from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
  #2  0x00007ffff788dadf in ?? ()
     from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
  #3  0x00007ffff788db99 in ?? ()
     from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
  #4  0x00007ffff7889b32 in eglInitialize ()
     from /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
  #5  0x00000000004031aa in mir_eglapp_init (argc=3, argv=0x7fffffffe548,
      width=0x7fffffffdd48, height=0x7fffffffdd4c)
      at /home/dan/bzr/mir/0.18/examples/eglapp.c:350
  #6  0x00000000004024ed in main (argc=3, argv=0x7fffffffe548)
      at /home/dan/bzr/mir/0.18/examples/egltriangle.c:85

To manage notifications about this bug go to: