Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.0.0
-
None
Description
There is no exception handling in the v8binding initialisation code called from the VME. If a dynamically-loaded component has an invalid binding, the unhandled exception can cause a crash.
import QtQuick 2.0 Item { id: root; Component { id: comp Text { property var value: 5 property string str: 'some multiline ' + value + 'str ing' } } Component.onCompleted: comp.createObject(root,{"value" : undefined}) }
Attachments
For Gerrit Dashboard: QTBUG-23387 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
11879,11 | Handle exceptions while compiling v8 bindings | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |
14780,13 | Rewrite multiline strings properly | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |
14972,5 | Check dynamic slot function for nullness before evaluation | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |