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. QtCreator suddenly freezes
Forum Updated to NodeBB v4.3 + New Features

QtCreator suddenly freezes

Scheduled Pinned Locked Moved Qt Creator and other tools
8 Posts 4 Posters 5.3k Views 1 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.
  • G Offline
    G Offline
    Gourmand
    wrote on last edited by
    #1

    All was Ok, I made some changes to project and run with debug. All works, nothing looks suspicious. I wanted just watch how some code processes some data. Set breakpoint to proper line and started Run. But did not wait for stop... Application worked but unexpectedly slowly. I tried cancel it then started again. Same result. It starts, I see how first necessary DLL loaded. And then it loads DLLs one after 15 seconds. I can see app's main window only after several minutes after srart. I tried rebuild application even rebooted Windows. Looks like problem is with gdb. If I set breakpoint while QtCreator "waits" - red circle doesn't appear until gdb answers. It can pass 5 seconds or 10. I don't know so much about gdb and cannot figure out what happened to it. QtCreator works itself. I can run application without debugger - it starts immediately. But debugger doesn't longer work normally. All I tried - all didn't help.

    One important notice - I DID NOT CHANGE ANY GDB OR DEBUGGING SETTINGS. Just debugged as obvious with default settings. Something happened "itself".

    Anybody help? I need debugger. Project is already large and complex enough.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Gourmand
      wrote on last edited by
      #2

      I don't know what happened, I just created more code and tested with qDebug(). But now debugger works again as it must... What it was?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vsorokin
        wrote on last edited by
        #3

        Your qt libs built as Debug?
        How are hardware configuration of your machine where you buildings apps?

        --
        Vasiliy

        1 Reply Last reply
        0
        • G Offline
          G Offline
          Gourmand
          wrote on last edited by
          #4

          bq. Your qt libs built as Debug?

          I use prebuild Qt libs from SDK install, of course debugging versions were linked to application

          bq. How are hardware configuration of your machine where you buildings apps?

          Athlon 64 X2 @3800, 2 GB DDR-II RAM, SATA-II HDDs ~1TB, WinXP Pro SP2 (32bit)

          machine config doesn't matter - before accident and after that debugging works normally

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Duck
            wrote on last edited by
            #5

            Can you add the debugger log?

            1 Reply Last reply
            0
            • G Offline
              G Offline
              Gourmand
              wrote on last edited by
              #6

              Now? When it works correctly?

              1 Reply Last reply
              0
              • G Offline
                G Offline
                Gourmand
                wrote on last edited by
                #7

                This happined again, and again. Both times it was when I set 2 breakpoints in two different slots placed in dynamically loaded plugin. If I removed both breakpoints - debugger runs well. If I set them up - debugger freezes. Don't ask me for code - it is large, complex and partially closed.

                And I permanently see in application console a watterfall of similar messages:

                @can't find linker symbol for virtual table for <anonymous struct>' value can't find linker symbol for virtual table for SOCKETINFO' value
                can't find linker symbol for virtual table for SOCKETINFO' value can't find linker symbol for virtual table for <anonymous struct>' value
                can't find linker symbol for virtual table for SOCKETINFO' value can't find linker symbol for virtual table for <anonymous struct>' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for SOCKETINFO' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for <anonymous struct>' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for SOCKETINFO' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for SOCKETINFO' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for <anonymous struct>' value
                can't find linker symbol for virtual table for <anonymous struct>' value can't find linker symbol for virtual table for SOCKETINFO' value
                can't find linker symbol for virtual table for SOCKETINFO' value can't find linker symbol for virtual table for <anonymous struct>' value
                can't find linker symbol for virtual table for SOCKETINFO' value can't find linker symbol for virtual table for <anonymous struct>' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for SOCKETINFO' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for <anonymous struct>' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for SOCKETINFO' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for SOCKETINFO' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for <anonymous struct>' value
                can't find linker symbol for virtual table for <anonymous struct>' value found qt_meta_stringdata_ColorPickerPopup' instead
                can't find linker symbol for virtual table for <anonymous struct>' value can't find linker symbol for virtual table for SOCKETINFO' value
                can't find linker symbol for virtual table for SOCKETINFO' value can't find linker symbol for virtual table for <anonymous struct>' value
                can't find linker symbol for virtual table for SOCKETINFO' value can't find linker symbol for virtual table for <anonymous struct>' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for SOCKETINFO' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for <anonymous struct>' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for SOCKETINFO' value
                found qt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for SOCKETINFO' value
                found `qt_meta_stringdata_ColorPickerPopup' instead@

                this listing I've got after 1 (one!) step in debugger

                probably debugger freezing can happen on the score of similar "error" situations

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  ktdiedrich
                  wrote on last edited by
                  #8

                  The Qt-creator editor freezes frequently (and unfreezes in about 5-6 seconds) when typing, using "Follow symbol under cursor", "Find Usages" and scrolling. I am on Fedora Linux 18. I tried both Qt-creator 2.8.0 and 3.0.0. Two CPUs usage goes to 100% when Qt-creator freezes.
                  Is anyone else having this problem?

                  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