Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-23387

Crash during v8 binding construction

    XMLWordPrintable

Details

    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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            aalpert-nokia Alan Alpert (closed Nokia identity) (Inactive)
            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes