Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73824

Segmentation fault when the exiting the application under platform eglfs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12
    • 5.11
    • GUI: OpenGL, QPA: EGLFS
    • None
    • Linux/Other display system

    Description

      If you run an application under eglfs, it falls with segfault on the exit. For example, examples/gui/analogclock, examples/widgets/widgets/analogclock, examples/opengl/cube, examples/opengl/qopenglwidget, etc. (I have added the function keyPressEvent to exit  by qApp->quit(), if needed).
      It isn't appear in applications using QQuickView or QGLWindow.
      This is because QCoreApplication destructor, where the variable self = 0 (therefore, qGuiApp = 0), is called before than QOpenGLVertexArrayObject::destroy(), where qGuiApp is accessed (qGuiApp->thread()).
      I think, it's required to check qGuiApp in QOpenGLVertexArrayObject::destroy().

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            Elena Elena Zaretskaya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes