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

EGLFS_KMS: floating-point exception if mesa-10.2.7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6
    • 5.6.0
    • QPA: EGLFS, QPA: KMS
    • None
    • CentOS 7.0, Qt-5.6.0, gcc-4.8.3, libdrm-2.4.56, mesa-10.2.7

      I run qt opengl example under platform eglfs without X Window System.
      And if mesa-10.2.7 is installed the application is falling down with floating-point exception.
      This happens because in QEglFSKmsCursor constructor the function gbm_bo_create return NULL (qeglfskmscursor.cpp:74), but the pointer m_bo is used in the function changeCursor without verification.

      If mesa has been updated to version 11.0.0 (and libdrm to 2.4.67) this bug doesn't appear.

      The attached path will solve this problem.

        For Gerrit Dashboard: QTBUG-52404
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes