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

Crash of QAccessible::uniqueId - 32 Bit QT on OS X 10.9.1 (Mavericks)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.2.0
    • None
    • macOS

    Description

      Hi,

      i got an issue with the 32 Bit Version of QT5.2 on OS X 10.9.1 (Mavericks)
      (There is no problem with the 64 Bit Version. Also on OS X 10.8 there it works with both, 32-Bit and 64-Bit builds)

      The 32 Bit Version of QT was build with the following Commands:

      1. qt-everywhere-5.2.0/configure -opensource -confirm-license -prefix /PATH_TO_QT/qt5/5.2.0/i386 -xplatform macx-clang-32 -no-c++11 -no-glib -no-dbus -nomake tests -nomake examples
      2. make -j8
      3. make install

      Attached is a minimal example of a Qt Project to reproduce the problem. It contains a standard window with one Button. As soon as the Button is clicked, the program tries to open a File-Dialog. At this moment a "EXC_BAD_ACCESS" (code 2) is thrown. Below is the Stack-Trace.

      Thanks for your help.
      Best regards,
      Aaron

      StackTrace
      #0	0x0015e762 in QAccessible::uniqueId(QAccessibleInterface*) ()
      #1	0x0015ed15 in QAccessibleEvent::uniqueId() const ()
      #2	0x0326d0e9 in QCocoaAccessibility::notifyAccessibilityUpdate(QAccessibleEvent*) ()
      #3	0x0015e94d in QAccessible::updateAccessibility(QAccessibleEvent*) ()
      #4	0x005f78b9 in QWidgetPrivate::show_helper() ()
      #5	0x005f844b in QWidget::setVisible(bool) ()
      #6	0x007a72e3 in QDialog::setVisible(bool) ()
      #7	0x007b159d in QFileDialog::setVisible(bool) ()
      #8	0x005f7644 in QWidget::show() ()
      #9	0x007a68cb in QDialog::exec() ()
      #10	0x007b5ecf in QFileDialog::getOpenFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) ()
      #11	0x000042ae in MainWindow::on_pushButton_clicked() at ***/mainwindow.cpp:20
      #12	0x00003c0d in MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) at ***/build/moc_mainwindow.cpp:67
      #13	0x00003dda in MainWindow::qt_metacall(QMetaObject::Call, int, void**) at ***/build/moc_mainwindow.cpp:100
      #14	0x00d97498 in QMetaObject::activate(QObject*, int, int, void**) ()
      #15	0x00d96fce in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
      #16	0x0094050f in QAbstractButton::clicked(bool) ()
      #17	0x0069dd78 in QAbstractButtonPrivate::emitClicked() ()
      #18	0x0069dc08 in QAbstractButtonPrivate::click() ()
      #19	0x0069ee2e in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
      #20	0x005f8cbe in QWidget::event(QEvent*) ()
      #21	0x0069eb7a in QAbstractButton::event(QEvent*) ()
      #22	0x00739460 in QPushButton::event(QEvent*) ()
      #23	0x005bea2f in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
      #24	0x005c235d in QApplication::notify(QObject*, QEvent*) ()
      #25	0x00d666e0 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
      #26	0x005bf2ef in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
      #27	0x00617f94 in QWidgetWindow::handleMouseEvent(QMouseEvent*) ()
      #28	0x006172ac in QWidgetWindow::event(QEvent*) ()
      #29	0x005bea2f in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
      #30	0x005c173b in QApplication::notify(QObject*, QEvent*) ()
      #31	0x00d666e0 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
      #32	0x00179a9e in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
      #33	0x00178d69 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
      #34	0x00167d90 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
      #35	0x0325aace in QCocoaEventDispatcherPrivate::processPostedEvents() ()
      #36	0x0325b65b in QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) ()
      #37	0x9218be3f in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
      #38	0x9217cccb in __CFRunLoopDoSources0 ()
      #39	0x9217c3ce in __CFRunLoopRun ()
      #40	0x9217bd5a in CFRunLoopRunSpecific ()
      #41	0x9217bbbb in CFRunLoopRunInMode ()
      #42	0x9c018e2d in RunCurrentEventLoopInMode ()
      #43	0x9c018a47 in ReceiveNextEventCommon ()
      #44	0x9c01898d in _BlockUntilNextEventMatchingListInModeWithFilter ()
      #45	0x99d305a9 in _DPSNextEvent ()
      #46	0x99d2fad0 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
      #47	0x99d2235c in -[NSApplication run] ()
      #48	0x0325a2a3 in QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
      #49	0x00d639a1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
      #50	0x00d66cd6 in QCoreApplication::exec() ()
      #51	0x00003f13 in main at ***/main.cpp:10
      

      Attachments

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

        Activity

          People

            frederik Frederik Gladhorn
            afrueh Aaron Frueh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes