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

Crashes with NULL XVisualInfo

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.3
    • 5.7.1, 5.8.0
    • QPA: X11/XCB
    • None
    • Debian sid/testing
    • 3c59065d5cb5f82f90ed2e830e10c5807deeaf2c

    Description

      Original bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841951

      The problem is basically that src/platformsupport/glxconvenience/qglxconvenience.cpp::208 is not checked for NULL. It seems our user has an issue with his video card/software stack.

      Anthony Towns created a simple test case for the user to reproduce:

      https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841951#32 and https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=841951;filename=test.cpp;msg=32

      which returns NULL in one case:

      https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841951#58

      So I don't know for sure where is the real bug, but I think this line should be checked for NULL at least to avoid the crash. Before submitting the one-liner that fixes it I would like to know if you want some more info to debug this.

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              lisandropm Lisandro Damián Nicanor Pérez Meyer
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes