Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT Creator Crashes (Segmentation fault).



  • Hello!
    I recently got into QTQuick with QTCreator on linux.
    I'm currently using Fedora 28 with everything up to date.
    I've been working with QTCreator for the last 2 hours and I've already encountered 6-8 crashed.
    It doesn't seem to happen on an exact moment but it's usually when I'm using the QML designer.
    I've tried to look for logs but the only thing that seems to be relevant is this message in the console when it crashes :

    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    Empty filename passed to function
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    ... (lines skipped)
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    void QmlDesigner::RewriterTransaction::commit() No rewriter attached
    void QmlDesigner::RewriterTransaction::commit() No rewriter attached
    void QmlDesigner::RewriterTransaction::commit() No rewriter attached
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    Empty filename passed to function
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    ... (lines skipped)
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    Empty filename passed to function
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    [1]    3489 segmentation fault (core dumped)  qtcreator
    

    I genuinely can't tell why and it's really bothering because I cannot work for more than a few minutes/Seconds at a time...


  • Lifetime Qt Champion

    Hi @furest,

    which version of Creator is this? (Help > About Qt Creator)



  • Hi!
    I'm using the latest available I think... Here's a screenshot of the about box :
    0_1539281993088_23e72848-dede-4d17-8a10-10a81f941be1-image.png


  • Lifetime Qt Champion

    Hi @furest ,

    you could try updating to the version 4.7.1. Also, today the beta version of 4.8 was announced.

    Both are available via the online installer.



  • Sure thing!
    I've uninstalled it through dnf (package manager of fedora) and i'm currently trying through the online installer.
    I will come back once it's done!

    Thank you for the advise!



  • Hello again!
    I've been testing for a bit more than an hour now and it still haven't crashed. Yay! I guess we can say it's fixed.
    Thank you for the hint.


Log in to reply