← Back to team overview

desktop-packages team mailing list archive

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

 

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::RecentlyUsedCache::load(const mir::graphics::Renderable&)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::logic_error> >
std::exception::what: Buffer does not support GL rendering


** Description changed:

- Clients of nested Mir servers silently crash/exit instantly...
+ 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
+   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
+    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
+    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
+    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
+    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
+    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
+     at /home/dan/bzr/mir/0.18/examples/egltriangle.c:85

** Changed in: mir (Ubuntu)
       Status: New => Incomplete

-- 
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:
  Incomplete

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