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

EGLFS_KMS: floating-point exception if mesa-10.2.7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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

    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

        1. qt-fixFPE.patch
          1 kB
          Elena Zaretskaya
        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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes