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

V8 Crash when setting breakpoints in Connections {}

    XMLWordPrintable

Details

    Description

      Steps to reproduce with the attached code:
      1) Ensure that QML debugging is enabled in Projects/Run [QtCreator]
      2) Start debugging
      3) After the application is running, set a breakpoint on line 18 in cnx.qml
      4) Click on the application window
      5) The V8 Engine crashes

      note: V8 does not crash if I do not set a breakpoint in debugging mode.
      Also, this happens if a custom signal is emitted by a QML Component defined in a separate QML file.
      See the attached example for the case which crashes and the one which does not.

      0 v8::internal::OS::DebugBreak platform-linux.cc 389 0xb76b81f6
      1 v8::internal::OS::Abort platform-linux.cc 371 0xb76b81ec
      2 V8_Fatal checks.cc 58 0xb735c5fc
      3 v8::internal::Object::Lookup objects.cc 151 0xb74a61c0
      4 v8::internal::LookupForRead ic.cc 424 0xb74449b8
      5 v8::internal::CallICBase::LoadFunction ic.cc 526 0xb7445015
      6 v8::internal::CallIC_Miss ic.cc 1928 0xb744b447
      7 ?? 0x5a40a236
      8 ?? 0x5a423ec0
      9 ?? 0x5a45f32b
      10 ?? 0x5a40f519
      11 ?? 0x5a40a0aa
      12 v8::internal::Invoke execution.cc 125 0xb7397ad9
      13 v8::internal::Execution::Call execution.cc 194 0xb7397ebf
      14 v8::internal::Execution::Call execution.cc 161 0xb7397cc5
      15 v8::Function::Call api.cc 3706 0xb7311c42
      16 QQmlJavaScriptExpression::evaluate qqmljavascriptexpression.cpp 135 0xb79f580a
      17 QQmlBoundSignalExpression::evaluate qqmlboundsignal.cpp 151 0xb798da6c
      18 QQmlBoundSignal::subscriptionCallback qqmlboundsignal.cpp 305 0xb798e326
      19 QQmlNotifier::emitNotify qqmlnotifier.cpp 60 0xb79d6461
      20 QQmlData::signalEmitted qqmlengine.cpp 449 0xb7930527
      21 QMetaObject::activate qobject.cpp 3273 0xb61ef574
      22 QQuickMouseArea::clicked moc_qquickmousearea_p.cpp 781 0xb7e6831a
      23 QQuickMouseArea::setPressed qquickmousearea.cpp 1151 0xb7d87e60
      24 QQuickMouseArea::mouseReleaseEvent qquickmousearea.cpp 807 0xb7d86838
      25 QQuickItemPrivate::deliverMouseEvent qquickitem.cpp 3761 0xb7cf4a34
      26 QQuickCanvas::sendEvent qquickcanvas.cpp 1718 0xb7d09f23
      27 QQuickCanvasPrivate::deliverMouseEvent qquickcanvas.cpp 1141 0xb7d07426
      28 QQuickCanvas::mouseReleaseEvent qquickcanvas.cpp 1178 0xb7d07552
      29 QQuickView::mouseReleaseEvent qquickview.cpp 537 0xb7dddb3e
      30 QWindow::event qwindow.cpp 1441 0xb655b1f4
      31 QQuickCanvas::event qquickcanvas.cpp 1049 0xb7d06cd6
      32 QApplicationPrivate::notify_helper qapplication.cpp 3598 0xb6c18854
      33 QApplication::notify qapplication.cpp 3057 0xb6c1613f
      34 QCoreApplication::notifyInternal qcoreapplication.cpp 702 0xb61b6463
      35 QCoreApplication::sendSpontaneousEvent qcoreapplication.h 213 0xb6553689
      36 QGuiApplicationPrivate::processMouseEvent qguiapplication.cpp 1177 0xb654e9e4
      37 QGuiApplicationPrivate::processWindowSystemEvent qguiapplication.cpp 1047 0xb654e375
      38 QWindowSystemInterface::sendWindowSystemEvents qwindowsysteminterface_qpa.cpp 481 0xb6541a9a
      39 QUnixEventDispatcherQPA::processEvents qunixeventdispatcher_qpa.cpp 70 0xb415bf76
      40 QEventLoop::processEvents qeventloop.cpp 135 0xb61b3b27
      41 QEventLoop::exec qeventloop.cpp 211 0xb61b3dde
      42 QCoreApplication::exec qcoreapplication.cpp 954 0xb61b6ac6
      43 QGuiApplication::exec qguiapplication.cpp 983 0xb654e13f
      44 QApplication::exec qapplication.cpp 2948 0xb6c15dec
      45 main main.cpp 440 0x804d69b

      Attachments

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

        Activity

          People

            ajana Aurindam Jana
            ajana Aurindam Jana
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes