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

Mac OSX: Qt Designer crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.1.0 RC1
    • 5.1.0 Beta 1
    • GUI: Window management
    • None
    • Mac OSX
    • macOS
    • d2ec7e05eb26a7b877eef1d78f2b7acbfb20336e

    Description

      [recent stable branch]
      Create a form, try to drag controls.

      GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)
      There is absolutely no warranty for GDB.  Type "show warranty" for details.
      This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries
      [?1034h(gdb) run
      Starting program: /Users/fkleint/dev/qt-5/qtbase/bin/Designer.app/Contents/MacOS/Designer 
      
      
      Program received signal EXC_BAD_ACCESS, Could not access memory.
      Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
      QCocoaWindow::childWindowAt (this=0x111d73010, windowPoint={xp = 1246, yp = 808}) at qcocoawindow.mm:1001
      1001	                if (platformWindow->isExposed())
      (gdb) where
      #0  QCocoaWindow::childWindowAt (this=0x111d73010, windowPoint={xp = 1246, yp = 808}) at qcocoawindow.mm:1001
      #1  0x0000000106d1bff9 in -[QNSView mouseEntered:] (self=0x111d730b0, _cmd=0x7fff8b6fb9ae, theEvent=0x1056db5b0) at qnsview.mm:678
      #2  0x00007fff8af9a54f in -[NSApplication sendEvent:] ()
      #3  0x0000000106d2bdcd in -[QNSApplication sendEvent:] (self=0x10530e0c0, _cmd=0x7fff8b6e7437, event=0x1056db5b0) at qcocoaapplication.mm:183
      #4  0x00007fff8b10369a in -[NSApplication _realDoModalLoop:peek:] ()
      #5  0x00007fff8b103d6e in -[NSApplication runModalSession:] ()
      #6  0x0000000106d2592e in QCocoaEventDispatcher::processEvents (this=0x10530a010, flags={i = 100}) at qcocoaeventdispatcher.mm:406
      #7  0x000000010316768a in QEventLoop::processEvents (this=0x7fff5fbfbc80, flags={i = 100}) at qeventloop.cpp:136
      #8  0x00000001031678bd in QEventLoop::exec (this=0x7fff5fbfbc80, flags={i = 64}) at qeventloop.cpp:212
      #9  0x0000000101663bac in QDialog::exec (this=0x112625250) at dialogs/qdialog.cpp:529
      #10 0x000000010003f760 in QDesignerActions::showNewFormDialog (this=0x11173d9c0, fileName=@0x7fff5fbfbd80) at /Users/fkleint/dev/qt-5/qttools/src/designer/src/designer/qdesigner_actions.cpp:585
      #11 0x000000010003f65d in QDesignerActions::createForm (this=0x11173d9c0) at /Users/fkleint/dev/qt-5/qttools/src/designer/src/designer/qdesigner_actions.cpp:573
      #12 0x00000001000262b3 in QDesigner::callCreateForm (this=0x7fff5fbff990) at /Users/fkleint/dev/qt-5/qttools/src/designer/src/designer/qdesigner.cpp:316
      #13 0x000000010005abd5 in QDesigner::qt_static_metacall (_o=0x7fff5fbff990, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff5fbfc160) at .moc/debug-shared/moc_qdesigner.cpp:87
      #14 0x00000001031bfb31 in QMetaObject::activate (sender=0x1056a8920, signalOffset=3, local_signal_index=0, argv=0x0) at qobject.cpp:3479
      #15 0x00000001031bf01d in QMetaObject::activate (sender=0x1056a8920, m=0x1035198c0, local_signal_index=0, argv=0x0) at qobject.cpp:3354
      #16 0x00000001031ce34b in QSingleShotTimer::timeout (this=0x1056a8920) at qtimer.moc:121
      #17 0x00000001031ce30b in QSingleShotTimer::timerEvent (this=0x1056a8920) at qtimer.cpp:287
      #18 0x00000001031b74e2 in QObject::event (this=0x1056a8920, e=0x7fff5fbfd2d0) at qobject.cpp:1051
      #19 0x00000001013bda7f in QApplicationPrivate::notify_helper (this=0x103d06f70, receiver=0x1056a8920, e=0x7fff5fbfd2d0) at qapplication.cpp:3442
      #20 0x00000001013bf6a8 in QApplication::notify (this=0x7fff5fbff990, receiver=0x1056a8920, e=0x7fff5fbfd2d0) at qapplication.cpp:2845
      #21 0x000000010316bcff in QCoreApplication::notifyInternal (this=0x7fff5fbff990, receiver=0x1056a8920, event=0x7fff5fbfd2d0) at qcoreapplication.cpp:871
      #22 0x0000000103170c54 in QCoreApplication::sendEvent (receiver=0x1056a8920, event=0x7fff5fbfd2d0) at qcoreapplication.h:232
      #23 0x00000001031ff5cc in QTimerInfoList::activateTimers (this=0x10530b890) at qtimerinfo_unix.cpp:643
      #24 0x0000000106d24d24 in QCocoaEventDispatcherPrivate::activateTimersSourceCallback (info=0x10530b810) at qcocoaeventdispatcher.mm:132
      #25 0x00007fff91d70b31 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
      #26 0x00007fff91d70455 in __CFRunLoopDoSources0 ()
      #27 0x00007fff91d937f5 in __CFRunLoopRun ()
      #28 0x00007fff91d930e2 in CFRunLoopRunSpecific ()
      #29 0x00007fff88299eb4 in RunCurrentEventLoopInMode ()
      #30 0x00007fff88299c52 in ReceiveNextEventCommon ()
      #31 0x00007fff88299ae3 in BlockUntilNextEventMatchingListInMode ()
      #32 0x00007fff8aeb9563 in _DPSNextEvent ()
      #33 0x00007fff8aeb8e22 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
      #34 0x00007fff8b103639 in -[NSApplication _realDoModalLoop:peek:] ()
      #35 0x00007fff8b1038fe in -[NSApplication runModalForWindow:] ()
      #36 0x00007fff8b0f6364 in -[NSAlert runModal] ()
      #37 0x00007fff8ae0ce54 in __54-[NSPersistentUIManager promptToIgnorePersistentState]_block_invoke_0 ()
      #38 0x00007fff8ae0c9cf in -[NSApplication _suppressFinishLaunchingFromEventHandlersWhilePerformingBlock:] ()
      #39 0x00007fff8ae0c96e in -[NSPersistentUIManager promptToIgnorePersistentState] ()
      #40 0x00007fff8aebd636 in -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completionHandler:] ()
      #41 0x00007fff8aebd475 in -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] ()
      #42 0x00007fff8aebd07c in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
      #43 0x00007fff8bb1470b in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
      #44 0x00007fff8bb1456d in _NSAppleEventManagerGenericHandler ()
      #45 0x00007fff8dbfe078 in aeDispatchAppleEvent ()
      #46 0x00007fff8dbfded9 in dispatchEventAndSendReply ()
      #47 0x00007fff8dbfdd99 in aeProcessAppleEvent ()
      #48 0x00007fff882a4709 in AEProcessAppleEvent ()
      #49 0x00007fff8aeb9866 in _DPSNextEvent ()
      #50 0x00007fff8aeb8e22 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
      #51 0x00007fff8aeb01d3 in -[NSApplication run] ()
      #52 0x0000000106d25a38 in QCocoaEventDispatcher::processEvents (this=0x10530a010, flags={i = 36}) at qcocoaeventdispatcher.mm:418
      #53 0x000000010316768a in QEventLoop::processEvents (this=0x7fff5fbff8f0, flags={i = 36}) at qeventloop.cpp:136
      #54 0x00000001031678bd in QEventLoop::exec (this=0x7fff5fbff8f0, flags={i = 0}) at qeventloop.cpp:212
      #55 0x000000010316c4c2 in QCoreApplication::exec () at qcoreapplication.cpp:1124
      #56 0x000000010243c186 in QGuiApplication::exec () at qguiapplication.cpp:1196
      #57 0x00000001013bf049 in QApplication::exec () at qapplication.cpp:2689
      #58 0x00000001000246c1 in main (argc=1, argv=0x7fff5fbffa28) at /Users/fkleint/dev/qt-5/qttools/src/designer/src/designer/main.cpp:57
      Current language:  auto; currently objective-c++
      Warning: the current language does not match this frame.
      (gdb) quit
      

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes