SEGFAULT on yakkety

Bug #1623432 reported by Alan Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MirAL
Triaged
High
Unassigned

Bug Description

This seems to be a thing since the mesa 12.0.2 update on Yakkety

<dandrader> alan_g alan_g|afk I get this right after the ubuntu logo fades out: http://pastebin.ubuntu.com/23173719/
<dandrader> alan_g alan_g|afk with miral-shell

And I see it too.

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Running under GDB I see:

ERROR: /home/alan/display_server/mir/src/platforms/mesa/server/kms/real_kms_output.cpp(302): Throw in function virtual void mir::graphics::mesa::RealKMSOutput::set_gamma(const mir::graphics::GammaCurves&)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::system_error> >
std::exception::what: drmModeCrtcSetGamma Failed: Invalid argument

[Inferior 1 (process 1601) exited with code 01]

I *guess* the above segfault comes from catching this exception after the platform is unloaded.

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

The above exception is likely misleading. That code only exists on lp:mir, not in a release.

I still get a segfault with Mir 0.24:

MirEglApp::~MirEglApp()
{
    eglMakeCurrent(egldisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
    if (dummy_surface != EGL_NO_SURFACE)
        destroy_surface(dummy_surface);
    eglDestroyContext(egldisplay, eglctx); <<=== SEGFAULT
    eglTerminate(egldisplay);
}

Changed in miral:
importance: Critical → High
status: In Progress → Triaged
description: updated
Changed in miral:
assignee: Alan Griffiths (alan-griffiths) → nobody
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Any of mir_demo_client_egl* crash in much the same way running under Mir. miral-kiosk (which doesn't use egl internally) doesn't crash.

So this looks like a problem with egl. Not MirAL and (probably) not Mir

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.