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

crash in drawControl on mac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 5.5.0 Alpha
    • GUI: Painting
    • None
    • macOS

      QCommonStyle::drawControl crashes on Mac 10.10:

      Process: texstudio [9376]
      Path: /Applications/texstudio.app/Contents/MacOS/texstudio
      Identifier: texstudio
      Version: 2.9.4 (???)
      Code Type: X86-64 (Native)
      Parent Process: ??? [1]
      Responsible: texstudio [9376]
      User ID: 501

      Date/Time: 2015-06-26 14:26:58.120 +0200
      OS Version: Mac OS X 10.10.3 (14D136)
      Report Version: 11
      Anonymous UUID: 27A105CE-918B-FAC6-65D6-1ED001C119A4

      Sleep/Wake UUID: 266EF46F-E339-4EE0-A336-2F7D8C9ECC04

      Time Awake Since Boot: 46000 seconds
      Time Since Wake: 630 seconds

      Crashed Thread: 0 Dispatch queue: com.apple.main-thread

      Exception Type: EXC_CRASH (SIGABRT)
      Exception Codes: 0x0000000000000000, 0x0000000000000000

      Application Specific Information:
      Assertion failed: (alpha >= 0 && alpha <= 1), function ripc_GetPattern, file RIP/RIPColor.c, line 662.

      Performing @selector(itemFired from sender NSMenuItem 0x6080000bfaa0

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 libsystem_kernel.dylib 0x00007fff92c06286 __pthread_kill + 10
      1 libsystem_c.dylib 0x00007fff95576b53 abort + 129
      2 libsystem_c.dylib 0x00007fff9553ec39 __assert_rtn + 321
      3 libRIP.A.dylib 0x00007fff9495ccf0 ripc_GetColor + 5793
      4 libRIP.A.dylib 0x00007fff9495ac46 ripc_Render + 163
      5 libRIP.A.dylib 0x00007fff94957b32 ripc_DrawRects + 372
      6 com.apple.CoreGraphics 0x00007fff97eeedce CGContextFillRects + 96
      7 com.apple.HIToolbox 0x00007fff9680516b TilePixMapListCG + 854
      8 com.apple.HIToolbox 0x00007fff968070d7 _ThemeImageTile + 191
      9 com.apple.HIToolbox 0x00007fff96806efe _ThemeImageDrawMultiple + 1968
      10 com.apple.HIToolbox 0x00007fff967efa01 _HIThemeDrawButtonPulsed(CGRect const*, ThemeImageDrawInfo*, unsigned int, HIThemeButtonDrawInfo const*, CGContext*) + 169
      11 com.apple.HIToolbox 0x00007fff967eed16 _HIThemeDrawButtonInternal(CGRect const*, HIThemeButtonDrawInfo const*, HIThemeButtonDrawInfo const*, ThemeEraseXUPP*, ThemeButtonDrawXUPP*, void*, CGContext*, unsigned int, CGRect*) + 16048
      12 com.apple.HIToolbox 0x00007fff967eae60 HIThemeDrawButton + 26
      13 QtWidgets 0x00000001056db457 0x1056c2000 + 103511
      14 QtWidgets 0x0000000105767632 QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const + 1074
      15 QtWidgets 0x00000001056d49f3 0x1056c2000 + 76275
      16 QtWidgets 0x000000010586c888 QPushButton::paintEvent(QPaintEvent*) + 120
      17 QtWidgets 0x0000000105732c0b QWidget::event(QEvent*) + 2123
      18 QtWidgets 0x00000001057d8a03 QAbstractButton::event(QEvent*) + 179
      19 QtWidgets 0x00000001056f332b QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
      20 QtWidgets 0x00000001056f6648 QApplication::notify(QObject*, QEvent*) + 8136
      21 QtCore 0x000000010648bd83 QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
      22 QtWidgets 0x000000010572c370 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3152
      23 QtWidgets 0x000000010572cc9a QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1226
      24 QtWidgets 0x000000010572cb20 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 848
      25 QtWidgets 0x000000010572cb20 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 848
      26 QtWidgets 0x000000010572cb20 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 848
      27 QtWidgets 0x000000010572cb20 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 848
      28 QtWidgets 0x000000010572c700 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 4064
      29 QtWidgets 0x00000001056ffd76 0x1056c2000 + 253302
      30 QtWidgets 0x00000001057000b3 0x1056c2000 + 254131
      31 QtWidgets 0x00000001057230cc QWidgetPrivate::syncBackingStore() + 236
      32 QtWidgets 0x0000000105732ed4 QWidget::event(QEvent*) + 2836
      33 QtWidgets 0x00000001056f332b QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
      34 QtWidgets 0x00000001056f6648 QApplication::notify(QObject*, QEvent*) + 8136
      35 QtCore 0x000000010648ca5b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 971
      36 libqcocoa.dylib 0x0000000108a3fb8e 0x108a1f000 + 134030
      37 libqcocoa.dylib 0x0000000108a40411 0x108a1f000 + 136209
      38 com.apple.CoreFoundation 0x00007fff95754a01 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 17
      39 com.apple.CoreFoundation 0x00007fff95746c5c __CFRunLoopDoSources0 + 476
      40 com.apple.CoreFoundation 0x00007fff957461bf __CFRunLoopRun + 927
      41 com.apple.CoreFoundation 0x00007fff95745bd8 CFRunLoopRunSpecific + 296
      42 com.apple.HIToolbox 0x00007fff9676b56f RunCurrentEventLoopInMode + 235
      43 com.apple.HIToolbox 0x00007fff9676b1ee ReceiveNextEventCommon + 179
      44 com.apple.HIToolbox 0x00007fff9676b12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
      45 com.apple.AppKit 0x00007fff93d2b9bb _DPSNextEvent + 978
      46 com.apple.AppKit 0x00007fff93d2af68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
      47 com.apple.AppKit 0x00007fff93ef6987 -[NSApplication _realDoModalLoop:peek:] + 666
      48 com.apple.AppKit 0x00007fff94120f44 -[NSApplication runModalSession:] + 71
      49 libqcocoa.dylib 0x0000000108a3f23a 0x108a1f000 + 131642
      50 QtCore 0x000000010648937d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
      51 QtWidgets 0x00000001058d8192 QDialog::exec() + 514
      52 texstudio 0x00000001048ff45e ConfigManager::execConfigDialog() + 12158
      53 texstudio 0x00000001047ed177 Texmaker::GeneralOptions() + 1911
      54 texstudio 0x0000000104c6547e Texmaker::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 12542
      55 QtCore 0x00000001064be7ab QMetaObject::activate(QObject*, int, int, void**) + 2987
      56 QtWidgets 0x00000001056ea46f QAction::activate(QAction::ActionEvent) + 271
      57 QtWidgets 0x00000001056ea8d4 0x1056c2000 + 166100
      58 QtCore 0x00000001064be7ab QMetaObject::activate(QObject*, int, int, void**) + 2987
      59 libqcocoa.dylib 0x0000000108a42e00 0x108a1f000 + 146944
      60 libsystem_trace.dylib 0x00007fff998dccd7 _os_activity_initiate + 75
      61 com.apple.AppKit 0x00007fff93eeefb1 -[NSApplication sendAction:to:from:] + 452
      62 com.apple.AppKit 0x00007fff93eeed4e -[NSMenuItem _corePerformAction] + 382
      63 com.apple.AppKit 0x00007fff93eeea7c -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
      64 libsystem_trace.dylib 0x00007fff998dccd7 _os_activity_initiate + 75
      65 com.apple.AppKit 0x00007fff93fb5c10 -[NSMenu performActionForItemAtIndex:] + 131
      66 com.apple.AppKit 0x00007fff93fb5b76 -[NSMenu _internalPerformActionForItemAtIndex:] + 35
      67 com.apple.AppKit 0x00007fff93fb59c2 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 107
      68 com.apple.AppKit 0x00007fff93ed6e6b NSSLMMenuEventHandler + 724
      69 com.apple.HIToolbox 0x00007fff96741b6c DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1260
      70 com.apple.HIToolbox 0x00007fff96740fae SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 386
      71 com.apple.HIToolbox 0x00007fff96756cb6 SendEventToEventTarget + 40
      72 com.apple.HIToolbox 0x00007fff96790f45 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 428
      73 com.apple.HIToolbox 0x00007fff967ceb8d SendMenuCommandWithContextAndModifiers + 59
      74 com.apple.HIToolbox 0x00007fff967ceb30 SendMenuItemSelectedEvent + 188
      75 com.apple.HIToolbox 0x00007fff967cea09 FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 96
      76 com.apple.HIToolbox 0x00007fff967cf481 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef*, unsigned short) + 702
      77 com.apple.HIToolbox 0x00007fff967cf0fe _HandleMenuSelection2 + 446
      78 com.apple.AppKit 0x00007fff93df4de0 _NSHandleCarbonMenuEvent + 277
      79 com.apple.AppKit 0x00007fff93d2bd0d _DPSNextEvent + 1828
      80 com.apple.AppKit 0x00007fff93d2af68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
      81 com.apple.AppKit 0x00007fff93d20bf3 -[NSApplication run] + 594
      82 libqcocoa.dylib 0x0000000108a3f2fd 0x108a1f000 + 131837
      83 QtCore 0x000000010648937d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
      84 QtCore 0x000000010648c35a QCoreApplication::exec() + 346
      85 texstudio 0x000000010473c246 main + 2758
      86 texstudio 0x0000000104738e34 start + 52

      Note, TeXstudio uses the Manhattanstyle (like Qt Creator), but that doe not eem to affect QPuhButton .

      The same problem occured here:

      https://github.com/Sync-my-L2P/Sync-my-L2P/issues/58

      https://github.com/haiwen/seafile-client/issues/561

      https://github.com/bjorn/tiled/issues/808

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

            sorvig Morten Sørvig
            benibela Benito van der Zander
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes