Qt World Summit: Register Today!

Bus error (core dumped) in qnx

  • @import QtQuick 2.0

    Rectangle {
    width: 360
    height: 360
    property string samplestr: "1-10,1-11,"
    Text {
    text: qsTr("Hello World")
    anchors.centerIn: parent

    MouseArea {
        anchors.fill: parent
        onClicked: {
            var array = samplestr.split(',')
           console.log("ppp",array) // here crashing if i remove array  its working fine.Why?


    if i run the above its crashing and when i remove array in console.log its working fine (it is happening only in qnx).
    please replay to my post

  • What version of QNX and Qt did you use? I tried this on my target and it did not crash:
    qml: ppp [1-10,1-11,]

  • I have same bus error. I am using Qt 5.10.1 with QNX 7.0 SDP. Any suggestions here?

Log in to reply