QT Crashes with "!"empty Value encountered"" in file jsruntime\qv4value.cpp, line 142



  • Hi, I'm using a 3rd party js library and I ran into an issue.

    I've boiled it down to the following code that can reproduce the issue:

    Component.onCompleted:  {
        var a = [];
        a[0] = 1;
        a[2] = 3;
        test.apply(null, a);
    }
    
    function test(a1, a2, a3) {
        print(a1);
        print(a2);//crashes here
        print(a3);
    }
    
    • Has anyone else experienced this issue?
    • Can you reproduce it?
    • Should I report this issue?

Log in to reply
 

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