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

Crashes when opening a c++ file

XMLWordPrintable

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

      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.

        1. stacktrace
          7 kB
          Jeremy Opalach
        2. gdb.txt
          4 kB
          Vincas Dargis
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes