← Back to team overview

touch-packages team mailing list archive

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

 

Wrt to the segmentation fault more details in
https://bugs.launchpad.net/mir/+bug/1526658

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1526209

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

Status in Mir:
  Fix Committed
Status in Mir 0.18 series:
  Fix Committed
Status in mesa package in Ubuntu:
  Invalid
Status in mir package in Ubuntu:
  Invalid

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_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:
https://bugs.launchpad.net/mir/+bug/1526209/+subscriptions


References