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

Crashes with NULL XVisualInfo

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes