QtCreator suddenly freezes
-
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.
-
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?
-
Your qt libs built as Debug?
How are hardware configuration of your machine where you buildings apps? -
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
-
Can you add the debugger log?
-
Now? When it works correctly?
-
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 forSOCKETINFO' value can't find linker symbol for virtual table for
<anonymous struct>' value
can't find linker symbol for virtual table forSOCKETINFO' value can't find linker symbol for virtual table for
<anonymous struct>' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
SOCKETINFO' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
<anonymous struct>' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
SOCKETINFO' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
SOCKETINFO' value
foundqt_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 forSOCKETINFO' value can't find linker symbol for virtual table for
<anonymous struct>' value
can't find linker symbol for virtual table forSOCKETINFO' value can't find linker symbol for virtual table for
<anonymous struct>' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
SOCKETINFO' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
<anonymous struct>' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
SOCKETINFO' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
SOCKETINFO' value
foundqt_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 forSOCKETINFO' value can't find linker symbol for virtual table for
<anonymous struct>' value
can't find linker symbol for virtual table forSOCKETINFO' value can't find linker symbol for virtual table for
<anonymous struct>' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
SOCKETINFO' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
<anonymous struct>' value
foundqt_meta_stringdata_ColorPickerPopup' instead can't find linker symbol for virtual table for
SOCKETINFO' value
foundqt_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
-
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?