Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33243

crash when clicking error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 18.0.0
    • Editors
    • None
    • Linux/X11

      Change setting to not let qt creator change from compile output to issues list
      Open up project with a build error.
      Click "Compile output".
      Click on a build error in the compile output to go to the file.
      Click on the error
      fireworks (nullptr dereference)

      I have added the if(g_get_Tasks). Without it there is a crash.
      In this specific situation, updateTaskHandlerActionsState() is called before setupTaskHandlers()

      Strangely, the above added if(g_get_Tasks) seems to fix the problem and the click still works to take you to the error in the issues page. setupTaskHandlers is called immediately after returning and everything seems to just work. Feels like a bit of a kludge, but nullptr check seems reasonable to add regardless!

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

            davschul David Schulz
            daniel.trevitz@belden.com Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes