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

Crashes when opening a c++ file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.4.0, Qt Creator 4.1.0
    • C/C++/Obj-C++ Support
    • None
    • Ubuntu 14.04, Debian 8

    Description

      When opening up a C++ file, sometimes the editor crashes when parsing the symbols for the file. Unfortunately I cannot provide the source code of the offending file, but its a simple Qt Test class with GMock. It happens every time on my editor, but never on my coworker's Qt Creator.

      Since the stack trace (attached) shows a crash in fileNameLength(), I looked up the length of the file name and it is 170 characters with the full path.

      Attachments

        1. gdb.txt
          4 kB
        2. stacktrace
          7 kB

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              jopalach Jeremy Opalach
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes