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

EGLFS_KMS: floating-point exception if mesa-10.2.7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.6
    • Component/s: QPA: EGLFS, QPA: KMS
    • Labels:
      None
    • Environment:
      CentOS 7.0, Qt-5.6.0, gcc-4.8.3, libdrm-2.4.56, mesa-10.2.7

      Description

      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.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes