Hide Forgot
Description of problem: I develop something in C langage, and when I put in a header file (.h) these line : #ifndef _myFile_ #define _myFile_ and then press "page down" key on the keyboard, qt creator freeze and crash It happened to me 3 times now ! Version-Release number of selected component: qt-creator-2.8.1-1.fc19 Additional info: reporter: libreport-2.1.9 backtrace_rating: 4 cmdline: /usr/bin/qtcreator crash_function: CPlusPlus::Preprocessor::run executable: /usr/bin/qtcreator kernel: 3.9.9-301.fc19.x86_64 runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #0 CPlusPlus::Preprocessor::run at pp-engine.cpp:767 #1 CPlusPlus::TypeOfExpression::preprocessedExpression at TypeOfExpression.cpp:202 #2 CPlusPlus::TypeOfExpression::preprocess at TypeOfExpression.cpp:151 #3 CppEditor::Internal::FunctionDeclDefLink::changes at cppfunctiondecldeflink.cpp:571 #4 CppEditor::Internal::CPPEditorWidget::updateFunctionDeclDefLinkNow at cppeditor.cpp:2184 #5 CppEditor::Internal::CPPEditorWidget::qt_static_metacall at .moc/release-shared/moc_cppeditor.cpp:199 #6 QMetaObject::activate at kernel/qobject.cpp:3547 #7 QObject::event at kernel/qobject.cpp:1156 #8 QApplicationPrivate::notify_helper at kernel/qapplication.cpp:4562 #9 QApplication::notify at kernel/qapplication.cpp:4348
Created attachment 827823 [details] File: backtrace
Created attachment 827824 [details] File: cgroup
Created attachment 827825 [details] File: core_backtrace
Created attachment 827826 [details] File: dso_list
Created attachment 827827 [details] File: environ
Created attachment 827828 [details] File: exploitable
Created attachment 827829 [details] File: limits
Created attachment 827830 [details] File: maps
Created attachment 827831 [details] File: open_fds
Created attachment 827832 [details] File: proc_pid_status
Created attachment 827833 [details] File: var_log_messages
I cannot reproduce the problem here. Could you post more detailed steps to reproduce? You might also have better chances of getting the bug fixed by filing a bug report upstream at [1]. It would great if you could do so and post a link to the report here. Thanks. [1] https://bugreports.qt-project.org
It looks strange for me because I cannot reproduce it anymore now ! A just take a C code from a colleague and I started to "clean" it by adding some header file, etc. When I put the #ifndef and then #define, I just wanted to go to the end of the file by pressing "page down" or "down arrow" in order to put the #endif and at that moment QtCreator freeze. I happened to me 3 times, I was able to reproduce the freese... but I continue to code, and now it's gone :/ I'm sorry not to be able to help you more... if the bug come again, I will post on qt-project + link here, yes. Thanks
The Qt-Creator 3.0 release is also upcoming (beta currently packaged in rawhide). You might also want to check with that release if the issue appears again. I'm closing this bug for now, if you encounter the issue again feel free to reopen. Thanks.