Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Creator crashes by opening a special cpp-file
Forum Updated to NodeBB v4.3 + New Features

Creator crashes by opening a special cpp-file

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 2 Posters 151 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Andy314A Offline
    Andy314A Offline
    Andy314
    wrote last edited by Andy314
    #1

    Hello, I use the Creator 16.0.1 MSVC_2022.

    The creator seem to be in a endless loop (no error shown, no reaction) after opening a special source file.

    I have disable the Clang-Code model. The file must no be in any project.
    A copy of this file, does not crash during opening, but crashed after collapsing the code view.

    I tried to find out the problematic code position by deleting lines but have not found a real logic roule.
    It has to do with scrolling and collapsing.

    Any ideas ?

    1 Reply Last reply
    0
    • Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote last edited by
      #2

      A copy of this file, does not crash during opening, but crashed after collapsing the code view.

      What's the difference between the copy and the original? Network drive / local harddisk? Different network locations?
      Try opening the file from a hard disk and run Qt Creator from the command line with the -noload all option. It disables all plugins.

      Software Engineer
      The Qt Company, Oslo

      Andy314A 1 Reply Last reply
      4
      • Axel SpoerlA Axel Spoerl

        A copy of this file, does not crash during opening, but crashed after collapsing the code view.

        What's the difference between the copy and the original? Network drive / local harddisk? Different network locations?
        Try opening the file from a hard disk and run Qt Creator from the command line with the -noload all option. It disables all plugins.

        Andy314A Offline
        Andy314A Offline
        Andy314
        wrote last edited by
        #3

        @Axel-Spoerl said in Creator crashes by opening a special cpp-file:

        A copy of this file, does not crash during opening, but crashed after collapsing the code view.

        What's the difference between the copy and the original? Network drive / local harddisk? Different network locations?
        Try opening the file from a hard disk and run Qt Creator from the command line with the -noload all option. It disables all plugins.

        The copy was in the same directory. I think the only difference was, that the Creator stores and restore the last state and it was in collapsed state.
        Now the file is unders some circumstances again in un-collasing state and I can work on it.

        Neverthlesse, I can reproducable a cash of creator with this special file with "unfold all" - I have define a hotkey for it. I can share the file, if someone will test it.

        1 Reply Last reply
        0
        • Axel SpoerlA Offline
          Axel SpoerlA Offline
          Axel Spoerl
          Moderators
          wrote last edited by
          #4

          Does that happen with any file or just with that specific one?

          Software Engineer
          The Qt Company, Oslo

          Andy314A 1 Reply Last reply
          0
          • Axel SpoerlA Axel Spoerl

            Does that happen with any file or just with that specific one?

            Andy314A Offline
            Andy314A Offline
            Andy314
            wrote last edited by
            #5

            @Axel-Spoerl said in Creator crashes by opening a special cpp-file:

            Does that happen with any file or just with that specific one?

            I have worked with a lot of files the last days, so I think its the only file.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved