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

Crash in QCocoaWindow::childWindowAt(QPoint)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.1.0
    • GUI: Window management
    • MacOS 10.8.3, xcode 4.6.2, clang+libc++ in c++11 mode

    Description

      Qt crashes due to a null-pointer access in QCocoaWindow::childWindowAt(QPoint). To reproduce: build the stable branch (de098e21d1f0c533fcace11368d5c76217eb0f56), build Qt Creator against it, start creator, open the issues pane (or any other pane on the bottom), move the mouse over it.

      stack trace:

      * thread #1: tid = 0x1b03, 0x000000010270e9c1 libqcocoa.dylib`QCocoaWindow::childWindowAt(QPoint) + 289, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
          frame #0: 0x000000010270e9c1 libqcocoa.dylib`QCocoaWindow::childWindowAt(QPoint) + 289
          frame #1: 0x0000000102710e3c libqcocoa.dylib`-[QNSView mouseEntered:] + 172
          frame #2: 0x00007fff9292f54f AppKit`-[NSApplication sendEvent:] + 5468
          frame #3: 0x000000010271a8ee libqcocoa.dylib`-[QNSApplication sendEvent:] + 78
          frame #4: 0x00007fff9284524a AppKit`-[NSApplication run] + 636
          frame #5: 0x0000000102717418 libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2360
          frame #6: 0x0000000100d513cd QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 397
          frame #7: 0x0000000100d54312 QtCore`QCoreApplication::exec() + 354
          frame #8: 0x000000010000b932 Qt Creator`main(argc=1, argv=0x00007fff5fbffb00) + 12450 at main.cpp:517
          frame #9: 0x00000001000050f4 Qt Creator`start + 52
      

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              erikv Erik Verbruggen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes