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

Crash in QX11PixmapData related to X11 and/or OpenGL on RedHat 6 system.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.6.2
    • GUI: OpenGL, GUI: Painting
    • None
    • RedHat 6 (64bit)
      Qt 4.6.2

    Description

      I have an application which crashes one time on a RedHat 6 (64bit) system.
      The application was built on Redhat 5 and is mature for this system for years.
      There this kind of crash never happened so far.

      The crash occured deep insite Qt/X11. It could be an OpenGL issue and/or a racecondition when using X11.
      Here is the snippet of callstack I can provide:

      Thread 1 (Thread 0x7fc0348ce860 (LWP 17314)):
      #0  0x0000003830832a45 in raise () from /lib64/libc.so.6
      #1  0x0000003830834225 in abort () from /lib64/libc.so.6
      #2  0x000000383082b9d5 in __assert_fail () from /lib64/libc.so.6
      #3  0x000000383384d24c in _XAllocID () from /usr/lib64/libX11.so.6
      #4  0x0000003833821741 in XCreateGC () from /usr/lib64/libX11.so.6
      #5  0x000000000124ac5e in QX11PixmapData::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) ()
      #6  0x000000000123d837 in QPixmap::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) ()
      #7  0x000000000128f5ea in QPaintEngine::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) ()
      #8  0x00000000013191c2 in QX11PaintEngine::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) ()
      #9  0x000000000129f860 in QPainterPrivate::draw_helper(QPainterPath const&, QPainterPrivate::DrawOperation) ()
      #10 0x00000000012a1df0 in QPainter::drawRects(QRectF const*, int) ()
      #11 0x00000000012a276f in QPainter::drawPixmap(QRectF const&, QPixmap const&, QRectF const&) ()
      

      Then I found that another thread is insite some X11 calls as well:

      Thread 38 (Thread 0x7fc01f5fe700 (LWP 17347)):
      #0  0x0000003830c0b44c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1  0x0000003833832490 in ?? () from /usr/lib64/libX11.so.6
      #2  0x000000383384d18b in _XIDHandler () from /usr/lib64/libX11.so.6
      #3  0x000000383384627c in ?? () from /usr/lib64/libX11.so.6
      #4  0x00000030e4c7d24d in ?? () from /usr/lib64/libGL.so.1
      #5  0x00000030e4c7ec2b in ?? () from /usr/lib64/libGL.so.1
      #6  0x00000000011630e2 in QGLContext::doneCurrent() ()
      

      Is this issue common to somebody and its maybe fixed already in a later Qt version? I searched the bugs but found nothing except one issue with a similar callstack:
      QTBUG-20185

      Any ideas?

      Thanks in advance.

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            fthake Florian Thake
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes