App crashed with ..QV4::Value::FromHeapObject
-
@aran Thanks for the reply..the problem is the projets is so big..~1000 qml files...and i also cant`t trace the real cause of the issue, perhap some clue on whats the use of QV4::value:fromHeapObject then i can try to trace it.
@Sheep The problem is that the error message is not very helpful. It crashes when reading some value from the heap somewhere. If you can track down where/when it crashes (maybe with some debug statements), that might help isolate the guilty part of the code.
Also, there is something about
if
andsetTimeOut
in the panel on the right, maybe checking the contents of these could provide some clue. -
@Sheep The problem is that the error message is not very helpful. It crashes when reading some value from the heap somewhere. If you can track down where/when it crashes (maybe with some debug statements), that might help isolate the guilty part of the code.
Also, there is something about
if
andsetTimeOut
in the panel on the right, maybe checking the contents of these could provide some clue.@aran I've recently run into this and can't seem to find an answer.
The crash happens on the application exit. For most situations this probably wouldn't be an issue but we have a monitor looking for the exit code, and the crash prevents that from happening.
I'm in a similar situation with dozens of qml files and models so debugging is difficult. The call stack is no help because it looks a lot like yours. A previous release (based on Qt 5.12.4) worked without the crash but the new one (based on 5.15.8) crashes. There have been other modifications so I'm reluctant to point at the Qt version at this time.I'm wondering if you've had any luck with solving this issue.
Thanks.