← Back to team overview

desktop-packages team mailing list archive

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

 

Public bug reported:

Clients of nested Mir servers silently crash/exit instantly...

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

** Affects: mir
     Importance: Critical
         Status: New

** Affects: mir/0.18
     Importance: Critical
         Status: New

** Affects: mesa (Ubuntu)
     Importance: Critical
         Status: New

** Affects: mir (Ubuntu)
     Importance: Critical
         Status: New


** Tags: regression

** Also affects: mir
   Importance: Undecided
       Status: New

** Summary changed:

- 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

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

** Also affects: mir/0.18
   Importance: Undecided
       Status: New

** Changed in: mir/0.18
   Importance: Undecided => Critical

** Changed in: mir/0.18
    Milestone: None => 0.18.0

** Also affects: mesa (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: mesa (Ubuntu)
   Importance: Undecided => Critical

** Tags added: regression

-- 
You received this bug notification because you are a member of Desktop
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:
  New
Status in Mir 0.18 series:
  New
Status in mesa package in Ubuntu:
  New
Status in mir package in Ubuntu:
  New

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

  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


Follow ups