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

QtWebKit <select> items causes crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.3.0 RC1, 5.3.0
    • 5.2.1
    • WebKit
    • None
    • Mac OS X 10.9.2

    Description

      I reproduced this bug with QtCrator 3.0.1 default HTML5 VIEWER example. I edited default index.html and added
      <select>
      <option value="volvo">Volvo</option>
      <option value="saab">Saab</option>
      <option value="mercedes">Mercedes</option>
      <option value="audi">Audi</option>
      </select>

      If you click on the dropdown list (like if you want to select another item) but then click outside of it (because you don't want to make any change for example), it will cause a crash.

      Stack trace (project zip attached) here:
      0 QComboBox::hidePopup() QComboBox::hidePopup() 0x10169fdd4
      1 QComboBoxPrivateContainer::mousePressEvent(QMouseEvent*) QComboBoxPrivateContainer::mousePressEvent(QMouseEvent*) 0x10169aace
      2 QWidget::event(QEvent*) QWidget::event(QEvent*) 0x1015eb3fa
      3 QFrame::event(QEvent*) QFrame::event(QEvent*) 0x1016c98c7
      4 QApplicationPrivate::notify_helper(QObject*, QEvent*) QApplicationPrivate::notify_helper(QObject*, QEvent*) 0x1015b2f2c
      5 QApplication::notify(QObject*, QEvent*) QApplication::notify(QObject*, QEvent*) 0x1015b64d9
      6 QCoreApplication::notifyInternal(QObject*, QEvent*) QCoreApplication::notifyInternal(QObject*, QEvent*) 0x100c1a0b2
      7 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) 0x1015b3898
      8 QGraphicsProxyWidgetPrivate::sendWidgetMouseEvent(QGraphicsSceneMouseEvent*) QGraphicsProxyWidgetPrivate::sendWidgetMouseEvent(QGraphicsSceneMouseEvent*) 0x101877774
      9 QGraphicsItem::sceneEvent(QEvent*) QGraphicsItem::sceneEvent(QEvent*) 0x10185d6ef
      10 non-virtual thunk to QGraphicsWidget::sceneEvent(QEvent*) non-virtual thunk to QGraphicsWidget::sceneEvent(QEvent*) 0x1018b50e9
      11 QGraphicsScenePrivate::sendEvent(QGraphicsItem*, QEvent*) QGraphicsScenePrivate::sendEvent(QGraphicsItem*, QEvent*) 0x1018827f7
      12 QGraphicsScenePrivate::sendMouseEvent(QGraphicsSceneMouseEvent*) QGraphicsScenePrivate::sendMouseEvent(QGraphicsSceneMouseEvent*) 0x10188418c
      13 QGraphicsScenePrivate::mousePressEventHandler(QGraphicsSceneMouseEvent*) QGraphicsScenePrivate::mousePressEventHandler(QGraphicsSceneMouseEvent*) 0x10188430b
      14 QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) 0x10188e2aa
      15 QGraphicsScene::event(QEvent*) QGraphicsScene::event(QEvent*) 0x101889a5b
      16 QApplicationPrivate::notify_helper(QObject*, QEvent*) QApplicationPrivate::notify_helper(QObject*, QEvent*) 0x1015b2f2c
      17 QApplication::notify(QObject*, QEvent*) QApplication::notify(QObject*, QEvent*) 0x1015b5a1d
      18 QCoreApplication::notifyInternal(QObject*, QEvent*) QCoreApplication::notifyInternal(QObject*, QEvent*) 0x100c1a0b2
      19 qt_sendSpontaneousEvent(QObject*, QEvent*) qt_sendSpontaneousEvent(QObject*, QEvent*) 0x1015b720c
      20 QGraphicsView::mousePressEvent(QMouseEvent*) QGraphicsView::mousePressEvent(QMouseEvent*) 0x1018affce
      21 QWidget::event(QEvent*) QWidget::event(QEvent*) 0x1015eb3fa
      22 QFrame::event(QEvent*) QFrame::event(QEvent*) 0x1016c98c7
      23 QAbstractScrollArea::viewportEvent(QEvent*) QAbstractScrollArea::viewportEvent(QEvent*) 0x101746fba
      24 QGraphicsView::viewportEvent(QEvent*) QGraphicsView::viewportEvent(QEvent*) 0x1018aeeaa
      25 QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) 0x101747ab5
      26 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) 0x100c1a3ac
      27 QApplicationPrivate::notify_helper(QObject*, QEvent*) QApplicationPrivate::notify_helper(QObject*, QEvent*) 0x1015b2f19
      28 QApplication::notify(QObject*, QEvent*) QApplication::notify(QObject*, QEvent*) 0x1015b64d9
      29 QCoreApplication::notifyInternal(QObject*, QEvent*) QCoreApplication::notifyInternal(QObject*, QEvent*) 0x100c1a0b2
      30 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) 0x1015b3898
      31 QWidgetWindow::handleMouseEvent(QMouseEvent*) QWidgetWindow::handleMouseEvent(QMouseEvent*) 0x101608fb5
      32 QWidgetWindow::event(QEvent*) QWidgetWindow::event(QEvent*) 0x1016082df
      33 QApplicationPrivate::notify_helper(QObject*, QEvent*) QApplicationPrivate::notify_helper(QObject*, QEvent*) 0x1015b2f2c
      34 QApplication::notify(QObject*, QEvent*) QApplication::notify(QObject*, QEvent*) 0x1015b5a1d
      35 QCoreApplication::notifyInternal(QObject*, QEvent*) QCoreApplication::notifyInternal(QObject*, QEvent*) 0x100c1a0b2
      36 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) 0x10100efa2
      37 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) 0x10100e2e1
      38 QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) 0x100ffe338
      39 QCocoaEventDispatcherPrivate::processPostedEvents() QCocoaEventDispatcherPrivate::processPostedEvents() 0x10711a4c7
      40 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) 0x10711afd8
      41 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ 0x7fff8bee0731
      42 __CFRunLoopDoSources0 __CFRunLoopDoSources0 0x7fff8bed1ea2
      43 __CFRunLoopRun __CFRunLoopRun 0x7fff8bed162f
      44 CFRunLoopRunSpecific CFRunLoopRunSpecific 0x7fff8bed10b5
      45 RunCurrentEventLoopInMode RunCurrentEventLoopInMode 0x7fff8a8d1a0d
      46 ReceiveNextEventCommon ReceiveNextEventCommon 0x7fff8a8d1685
      47 _BlockUntilNextEventMatchingListInModeWithFilter _BlockUntilNextEventMatchingListInModeWithFilter 0x7fff8a8d15bc
      48 _DPSNextEvent _DPSNextEvent 0x7fff8f46b3de
      49 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] 0x7fff8f46aa2b
      50 -[NSApplication run] -[NSApplication run] 0x7fff8f45eb2c
      51 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 0x107119d44
      52 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) 0x100c1764d
      53 QCoreApplication::exec() QCoreApplication::exec() 0x100c1a652
      54 main main.cpp 13 0x100005dce
      55 start start 0x100005d04

      Attachments

        Issue Links

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

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              cpainchaud Christophe Painchaud
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes