Summary: | Krita 2.9.5 OS X crashes when performing a preview of some functions in G'Mic | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | wahiaronkwas <bearrfeet65> |
Component: | G'Mic for Krita | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED LATER | ||
Severity: | crash | CC: | frejulfr, halla, schwarzeralptraum |
Priority: | NOR | ||
Version: | 2.9.4 | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
wahiaronkwas
2015-08-04 15:50:53 UTC
Hi, I can confirm the issue. This is likely because we need special code to make the the G'Mic window work... Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_platform.dylib 0x00007fff83196cde OSAtomicDequeue + 30 1 libsystem_malloc.dylib 0x00007fff8106371a nano_calloc + 76 2 libsystem_malloc.dylib 0x00007fff81061b61 malloc_zone_calloc + 79 3 libsystem_malloc.dylib 0x00007fff810622ca calloc + 49 4 com.apple.CoreGraphics 0x00007fff8a9b0ee7 CGGStateCreateCopy + 25 5 com.apple.CoreGraphics 0x00007fff8a9b0eb8 CGGStackSave + 47 6 com.apple.CoreGraphics 0x00007fff8a9b0e69 CGContextSaveGState + 32 7 QtGui 0x000000010eeb3c8d 0x10ee79000 + 240781 8 QtGui 0x000000010f0ce09e 0x10ee79000 + 2445470 9 com.apple.CoreGraphics 0x00007fff8ad3898a CGPatternDelegateDrawPattern + 66 10 libRIP.A.dylib 0x00007fff84278202 build_tile + 5009 11 libRIP.A.dylib 0x00007fff84268bd3 ripc_GetColor + 5461 12 libRIP.A.dylib 0x00007fff842673d4 ripc_Render + 156 13 libRIP.A.dylib 0x00007fff8427c9c0 ripc_DrawPath + 364 14 com.apple.CoreGraphics 0x00007fff8aa11e69 CGContextDrawPath + 192 15 QtGui 0x000000010f0cc5a5 0x10ee79000 + 2438565 16 QtGui 0x000000010f0cca3e 0x10ee79000 + 2439742 17 QtGui 0x000000010f0005c0 QPaintEngine::drawRects(QRect const*, int) + 240 18 QtGui 0x000000010f0123b8 QPainter::drawRects(QRect const*, int) + 296 19 QtGui 0x000000010f01c894 QPainter::fillRect(QRect const&, QBrush const&) + 932 20 QtGui 0x000000010f20139f QPlastiqueStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const + 7503 21 QtGui 0x000000010f3da767 QTreeView::drawBranches(QPainter*, QRect const&, QModelIndex const&) const + 1303 22 QtGui 0x000000010f3d9a59 QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const + 3113 23 QtGui 0x000000010f3d7bbe QTreeView::drawTree(QPainter*, QRegion const&) const + 926 24 QtGui 0x000000010f3d77bc QTreeView::paintEvent(QPaintEvent*) + 220 25 QtGui 0x000000010ef4d16e QWidget::event(QEvent*) + 1998 26 QtGui 0x000000010f2997ab QFrame::event(QEvent*) + 43 27 QtGui 0x000000010f31771c QAbstractScrollArea::viewportEvent(QEvent*) + 108 28 QtGui 0x000000010f397162 QAbstractItemView::viewportEvent(QEvent*) + 1186 29 QtGui 0x000000010f3d75c1 QTreeView::viewportEvent(QEvent*) + 225 30 QtGui 0x000000010f317f25 0x10ee79000 + 4845349 31 QtCore 0x000000010fda6a9d QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 109 32 QtGui 0x000000010ef0239c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 236 33 QtGui 0x000000010ef052db QApplication::notify(QObject*, QEvent*) + 7051 34 libkritaui.14.dylib 0x000000010d4b2358 KisApplication::notify(QObject*, QEvent*) + 24 35 QtCore 0x000000010fda6786 QCoreApplication::notifyInternal(QObject*, QEvent*) + 118 36 QtGui 0x000000010ef48079 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1961 37 QtGui 0x000000010ef48840 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1232 38 QtGui 0x000000010ef486b8 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 840 39 QtGui 0x000000010ef48265 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2453 40 QtGui 0x000000010ef48840 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1232 41 QtGui 0x000000010ef486b8 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 840 42 QtGui 0x000000010ef486b8 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 840 43 QtGui 0x000000010ef486b8 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 840 44 QtGui 0x000000010ef486b8 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 840 45 QtGui 0x000000010ef486b8 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 840 46 QtGui 0x000000010ef486b8 QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 840 47 QtGui 0x000000010ef48265 QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2453 48 QtGui 0x000000010eea845a 0x10ee79000 + 193626 49 com.apple.AppKit 0x00007fff89c0b04f -[NSView _drawRect:clip:] + 3748 50 com.apple.AppKit 0x00007fff89c098c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1799 51 com.apple.AppKit 0x00007fff89c09ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787 52 com.apple.AppKit 0x00007fff89c07706 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 841 53 com.apple.AppKit 0x00007fff89c06eb1 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 314 54 com.apple.AppKit 0x00007fff89c03e9f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828 55 com.apple.AppKit 0x00007fff89be32da -[NSView displayIfNeeded] + 1680 56 com.apple.AppKit 0x00007fff89c4874e _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 884 57 com.apple.AppKit 0x00007fff8a21e061 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1331 + 46 58 com.apple.CoreFoundation 0x00007fff84890d67 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 59 com.apple.CoreFoundation 0x00007fff84890cd7 __CFRunLoopDoObservers + 391 60 com.apple.CoreFoundation 0x00007fff848823b8 __CFRunLoopRun + 776 61 com.apple.CoreFoundation 0x00007fff84881e75 CFRunLoopRunSpecific + 309 62 com.apple.HIToolbox 0x00007fff81c7ba0d RunCurrentEventLoopInMode + 226 63 com.apple.HIToolbox 0x00007fff81c7b685 ReceiveNextEventCommon + 173 64 com.apple.HIToolbox 0x00007fff81c7b5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65 65 com.apple.AppKit 0x00007fff89aac24e _DPSNextEvent + 1434 66 com.apple.AppKit 0x00007fff89aab89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 67 com.apple.AppKit 0x00007fff89a9f99c -[NSApplication run] + 553 68 QtGui 0x000000010eebade3 0x10ee79000 + 269795 69 QtCore 0x000000010fda3b1d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 477 70 QtCore 0x000000010fda6d37 QCoreApplication::exec() + 199 71 org.krita 0x000000010cf3cb10 main + 3072 72 libdyld.dylib 0x00007fff8df7d5fd start + 1 *** Bug 351671 has been marked as a duplicate of this bug. *** I have tested with multiple other filters under the artistic category and the preview over canvas displays without error or any crashing in v3.0. The only flaw I see is a decrease in response time while preview is up, but only for some filters. It should be noted that currently there does not exist a watercolor filter under Artistic, so I was unable to test specific case. Krita 3.0 OSX 10.10.5 Scratch that, I have reproduced the error. I foolishly tested wrong filters. Forget the previous comment (comment 3) The author of gmic, David Tschumperle, told me that gmic on OSX also needs to be built with gcc, not with clang (just like msvc doesn't work for Windows). So for now, I've disabled gmic on OSX. |