← Back to team overview

touch-packages team mailing list archive

[Bug 1510218] Re: mir_connection_get_egl_pixel_format() crashes if libEGL is loaded RTLD_LAZY

 

> I'm not promising a fix, because this is an intentional feature.

Do you have other nice features like that? :)

> mir_connection_get_egl_pixel_format() crashes if you're not linked to
libEGL

QtUbuntu is linked to libEGL.

> Unfortunately we can't link to EGL. Because then you have:
>   (a) Software clients linked to libEGL;

Wouldn't it just be the Android platform plugin that would be linked to
libEGL?

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

Title:
  mir_connection_get_egl_pixel_format() crashes if libEGL is loaded
  RTLD_LAZY

Status in Mir:
  In Progress
Status in mir package in Ubuntu:
  Triaged

Bug description:
  mir_connection_get_egl_pixel_format() crashes on Android (at least)
  when used in QtUbuntu. There might be some specific conditions
  triggering the issue there because I haven't been able to reproduce it
  in a standalone test [1] trying to follow the same initialisation
  process.

  This is strange because if I directly call
  "eglGetConfigAttrib(display, config, EGL_NATIVE_VISUAL_ID, &visual)"
  it works perfectly fine.

  Here's a QtUbuntu branch [2] using the function.

  [1] http://bazaar.launchpad.net/~loic.molinari/+junk/ubuntu-touch-test/view/head:/ubuntu-touch-test.c
  [2] lp:~loic.molinari/qtubuntu/requested-surface-format-fix-use-mir_connection_get_egl_pixel_format

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1510218/+subscriptions