Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business


OverviewFelgo 3 Support (Qt 5) › Javascript usage causes crash

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #12264



    I randomly get following crash, unfortunately I can not reproduce it every time. I suspect it’s because of one JavaScript Math methods being used.

    What can I do, what is the root cause of this problem? After opening the scene with these JavaScript methods the application will crash, in QML log there is this interesting line: ASSERT: “isDouble()” in file ..\..\include\QtQml\5.5.1\QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h, line 278


    Thank you very much in advance!

    Best regards


    Felgo Team

    Hi Batman! 😀
    My guess is that somewhere in your code a function is used that requires a double-type parameter. Let’s say you pass an object, a null or an undefined value to this function per accident (this is possible because javascript variables don’t have a fixed type). That would then lead to an error like this.

    You can try to check your variables before passing invalid values to the Math functions you suspect of being the problem.
    Hope this helps!

    Best, GĂźnther

    • This reply was modified 8 years, 3 months ago by  GT.
Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded