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

Segmentation fault in cpptools plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: Qt Creator 5.0.0-beta1
    • Fix Version/s: None
    • Component/s: Editors
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      Hi! I have a custom plugin to display Sphinx rst files (https://github.com/procitec/qtcreator-sphinx-plugin).

      Working with the texteditor seems to work fine. Sometimes if i have the QtCreator window in background and click on it to raise it to the top, i get a segfault.

      Attached is the backtrace. Seems that the clangcodemodel (why is this active for my editor?) seems to have trouble by either

      1) Having a valid instance to my editor or

      2) Having a valid context for my editor.

      The same crash seems also to occure on QtCreator exit sometimes.

      Any hints to determine if this is a problem of my plugin or maybe this is due to a (for sure) invalid clang /llvm configuration?

      Should (and how) can i disable the clang for my specific editor/mime-types?

       

       

       

        Attachments

        1. qtc_crash2.txt
          8 kB
        2. qtc_crash4.txt
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            davschul David Schulz
            Reporter:
            j.kreuzberger Joerg Kreuzberger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes