QtCreator crashes when selecting release/debug build



  • Hello,

    I am working on a Qt project that is compiled using the Qt subdir template. For some reasons, since this afternoon, Qtcreator started to crash when switching from Debug to Release build or Release to Debug build using the Qtcreator interface. To be clear, this does not happen when running the program itself, but when selecting the build mode in QtCreator. The following are some examples of error messages I got when running QtCreator from a terminal :

    @Segmentation fault (core dumped)@
    @*** glibc detected *** qtcreatorSegmentation fault (core dumped)@
    @*** glibc detected *** qtcreator: malloc(): memory corruption (fast): 0x00007f53000365ae ***
    Segmentation fault (core dumped)@
    @*** glibc detected *** qtcreator: invalid fastbin entry (free): 0x00007feed401bee0 ***
    *** glibc detected *** qtcreator: invalid fastbin entry (free): 0x00007feed401b4a0 ***
    ======= Backtrace: =========
    ======= Backtrace: =========
    /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fefb0bbcb96]
    /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fefb0bbcb96]
    /opt/qtcreator-2.8.1/bin/../lib/qtcreator/libQtCore.so.4(ZN10QByteArrayaSERKS+0x32)[0x7fefb16c93a2]
    /opt/qtcreator-2.8.1/bin/../lib/qtcreator/libQtCore.so.4(+0x187c60)[0x7fefb17b8c60]
    /opt/qtcreator-2.8.1/bin/../lib/qtcreator/libQtCore.so.4(+0x18808a)[0x7fefb17b908a]
    /opt/qtcreator-2.8.1/bin/../lib/qtcreator/libQtCore.so.4(_ZN8QProcess5startERK7QStringRK11QStringList6QFlagsIN9QIODevice12OpenModeFlagEE+0x16e)[0x7fefb176f5ae]
    /opt/qtcreator-2.8.1/bin/../lib/qtcreator/libQtCore.so.4(/opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZNK14QMakeEvaluator10runProcessEP8QProcessRK7QString+0xcf/opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZNK14QMakeEvaluator10runProcessEP8QProcessRK7QString+0xcf)[0x7fef948d856f]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN14QMakeEvaluator21evaluateBuiltinExpandEiRK6ProKeyRK13ProStringList+0x5434)[0x7fef948de9a4]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN14QMakeEvaluator22evaluateExpandFunctionERK6ProKeyRPKt+0x10b)[0x7fef948cc2bb]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN14QMakeEvaluator24expandVariableReferencesERPKtib+0x55)[0x7fef948cce25]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN14QMakeEvaluator24expandVariableReferencesERPKtib+0x55)[0x7fef948cce25]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN14QMakeEvaluator13visitProBlockEPKt+0x4b8)[0x7fef948cebc8]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN14QMakeEvaluator12visitProFileEP7ProFileN12QMakeHandler12EvalFileTypeE6QFlagsINS_8LoadFlagEE+0x23b/opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN14QMakeEvaluator12visitProFileEP7ProFileN12QMakeHandler12EvalFileTypeE6QFlagsINS_8LoadFlagEE+0x23b)[0x7fef948d051b]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN14QMakeEvaluator26evaluateBuiltinConditionalEiRK6ProKeyRK13ProStringList+0x1b7b)[0x7fef948e233b]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN14QMakeEvaluator19evaluateFileCheckedERK7QStringN12QMakeHandler12EvalFileTypeE6QFlagsINS_8LoadFlagEE+0x107)[0x7fef948d3197]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN16ProFileEvaluator6acceptEP7ProFile6QFlagsIN14QMakeEvaluator8LoadFlagEE+0x16)[0x7fef948d6446]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQtSupport.so(_ZN14QMakeEvaluator13visitProBlockEPKt+0x86b)[0x7fef948cef7b]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQt4ProjectManager.so(+0x86965)[0x7fef8ee2a965]
    /opt/qtcreator-2.8.1/lib/qtcreator/plugins/QtProject/libQt4ProjectManager.so(_ZN17Qt4ProjectManager14Qt4ProFileNode8evaluateEv+0x57)[0x7fef8ee18b47]
    /opt/qtcreator-2.8.1/bin/../lib/qtcreator/libQtCore.so.4(+0x88e27)[0x7fefb16b9e27]
    /opt/qtcreator-2.8.1/bin/../lib/qtcreator/libQtCore.so.4(+0x88e27)[0x7fefb16b9e27]
    /opt/qtcreator-2.8.1/bin/../lib/qtcreator/libQtCore.so.4(+0x96882)[0x7fefb16c7882]
    /opt/qtcreator-2.8.1/bin/../lib/qtcreator/libQtCore.so.4(+0x96882)[0x7fefb16c7882]
    /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fefb0c323fd]
    /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fefb0c323fd]
    ======= Memory map: ========
    00400000-00410000 r-xp 00000000 08:06 2263049 /opt/qtcreator-2.8.1/bin/qtcreator
    0060f000-00610000 r--p 0000f000 08:06 2263049 /opt/qtcreator-2.8.1/bin/qtcreator
    00610000-00611000 rw-p 00010000 08:06 2263049 /opt/qtcreator-2.8.1/bin/qtcreator
    01120000-03334000 rw-p 00000000 00:00 0 [heap]
    7feed4000000-7feed4048000 rw-p 00000000 00:00 0
    7feed4048000-7feed8000000 ---p 00000000 00:00 0
    7feedc000000-7feedc021000 rw-p 00000000 00:00 0
    7feedc021000-7feee0000000 ---p 00000000 00:00 0
    7feee0000000-7feee0027000 rw-p 00000000 00:00 0
    7feee0027000-7feee4000000 ---p 00000000 00:00 0
    7feee4000000-7feee407b000 rw-p 00000000 00:00 0
    7feee407b000-7feee8000000 ---p 00000000 00:00 0
    7feee8000000-7feee8021000 rw-p 00000000 00:00 0
    7feee8021000-7feeec000000 ---p 00000000 00:00 0
    7feeec000000-7feeeeb13000 rw-p 00000000 00:00 0
    7feeeeb13000-7feef0000000 ---p 00000000 00:00 0
    7feef0000000-7feef0021000 rw-p 0Abandon (core dumped)@

    I never had this problem with this project before this afternoon, and have no idea on how to solve it. Any suggestion ?

    I am using QtCreator 2.8.1 with Qt 4.8.4 on Ubuntu 12.04.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.