I attempted to use different filters in G'Mic, such as watercolor and the program would crash. The work is 1280 x 853 with 16 bit RGB. Reproducible: Always Steps to Reproduce: 1. make a 1280 x 853 image, paint in various colors (I used oil brushes) 2. open G'Mic 3. run watercolor under Artistic Actual Results: The program crashes before I get see what the effect might look like. Expected Results: At least give me a preview of the effect, so I can decide if I want it. Process: krita [19877] Path: /Applications/krita.app/Contents/MacOS/krita Identifier: org.krita Version: ??? (???) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: krita [19877] User ID: 505 Date/Time: 2015-08-04 11:26:06.035 -0400 OS Version: Mac OS X 10.10.2 (14C1514) Report Version: 11 Anonymous UUID: 2C071CB5-8943-2C7B-2769-F3C9428BD038 Sleep/Wake UUID: B659066C-952E-4816-947C-5EA33BD45CB0 Time Awake Since Boot: 38000 seconds Time Since Wake: 5600 seconds Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff93c354de mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff93c3464f mach_msg + 55 2 com.apple.CoreFoundation 0x00007fff8e692b34 __CFRunLoopServiceMachPort + 212 3 com.apple.CoreFoundation 0x00007fff8e691ffb __CFRunLoopRun + 1371 4 com.apple.CoreFoundation 0x00007fff8e691858 CFRunLoopRunSpecific + 296 5 com.apple.HIToolbox 0x00007fff8fd43aef RunCurrentEventLoopInMode + 235 6 com.apple.HIToolbox 0x00007fff8fd4386a ReceiveNextEventCommon + 431 7 com.apple.HIToolbox 0x00007fff8fd436ab _BlockUntilNextEventMatchingListInModeWithFilter + 71 8 com.apple.AppKit 0x00007fff9bdb6f81 _DPSNextEvent + 964 9 com.apple.AppKit 0x00007fff9bdb6730 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194 10 com.apple.AppKit 0x00007fff9bdaa593 -[NSApplication run] + 594 11 QtGui 0x0000000108902de3 0x1088c1000 + 269795 12 QtCore 0x00000001097b5b1d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 477 13 QtCore 0x00000001097b8d37 QCoreApplication::exec() + 199 14 org.krita 0x00000001069fcb10 main + 3072 15 libdyld.dylib 0x00007fff914c65c9 start + 1 Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff93c3b232 kevent64 + 10 1 libdispatch.dylib 0x00007fff8fb4fa6a _dispatch_mgr_thread + 52 Thread 2: 0 libsystem_kernel.dylib 0x00007fff93c3a94a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9c9c140d start_wqthread + 13 Thread 3: 0 libsystem_kernel.dylib 0x00007fff93c3a94a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9c9c140d start_wqthread + 13 Thread 4:: QProcessManager 0 libsystem_kernel.dylib 0x00007fff93c3a3fa __select + 10 1 QtCore 0x00000001096b2e72 0x10968d000 + 155250 2 libsystem_pthread.dylib 0x00007fff9c9c3268 _pthread_body + 131 3 libsystem_pthread.dylib 0x00007fff9c9c31e5 _pthread_start + 176 4 libsystem_pthread.dylib 0x00007fff9c9c141d thread_start + 13 Thread 5:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff93c3a3fa __select + 10 1 libsystem_pthread.dylib 0x00007fff9c9c3268 _pthread_body + 131 2 libsystem_pthread.dylib 0x00007fff9c9c31e5 _pthread_start + 176 3 libsystem_pthread.dylib 0x00007fff9c9c141d thread_start + 13 Thread 6: 0 libsystem_kernel.dylib 0x00007fff93c354de mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff93c3464f mach_msg + 55 2 com.apple.CoreFoundation 0x00007fff8e692b34 __CFRunLoopServiceMachPort + 212 3 com.apple.CoreFoundation 0x00007fff8e691ffb __CFRunLoopRun + 1371 4 com.apple.CoreFoundation 0x00007fff8e691858 CFRunLoopRunSpecific + 296 5 com.apple.AppKit 0x00007fff9bf1a33b _NSEventThread + 137 6 libsystem_pthread.dylib 0x00007fff9c9c3268 _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9c9c31e5 _pthread_start + 176 8 libsystem_pthread.dylib 0x00007fff9c9c141d thread_start + 13 Thread 7:: KisTileDataPooler 0 libsystem_kernel.dylib 0x00007fff93c3a136 __psynch_cvwait + 10 1 QtCore 0x00000001096b44c1 0x10968d000 + 160961 2 QtCore 0x00000001096b438f QWaitCondition::wait(QMutex*, unsigned long) + 111 3 QtCore 0x00000001096b009e QSemaphore::acquire(int) + 126 4 libkritaimage.14.dylib 0x000000010741634d 0x107407000 + 62285 5 QtCore 0x00000001096b2e72 0x10968d000 + 155250 6 libsystem_pthread.dylib 0x00007fff9c9c3268 _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9c9c31e5 _pthread_start + 176 8 libsystem_pthread.dylib 0x00007fff9c9c141d thread_start + 13 Thread 8:: KisTileDataSwapper 0 libsystem_kernel.dylib 0x00007fff93c3a136 __psynch_cvwait + 10 1 QtCore 0x00000001096b44c1 0x10968d000 + 160961 2 QtCore 0x00000001096b438f QWaitCondition::wait(QMutex*, unsigned long) + 111 3 QtCore 0x00000001096b046e QSemaphore::tryAcquire(int, int) + 222 4 libkritaimage.14.dylib 0x000000010742da35 KisTileDataSwapper::run() + 53 5 QtCore 0x00000001096b2e72 0x10968d000 + 155250 6 libsystem_pthread.dylib 0x00007fff9c9c3268 _pthread_body + 131 7 libsystem_pthread.dylib 0x00007fff9c9c31e5 _pthread_start + 176 8 libsystem_pthread.dylib 0x00007fff9c9c141d thread_start + 13 Thread 9:: QFileInfoGatherer 0 libsystem_kernel.dylib 0x00007fff93c3a136 __psynch_cvwait + 10 1 QtCore 0x00000001096b44c1 0x10968d000 + 160961 2 QtCore 0x00000001096b438f QWaitCondition::wait(QMutex*, unsigned long) + 111 3 QtGui 0x0000000108dc9065 0x1088c1000 + 5275749 4 QtCore 0x00000001096b2e72 0x10968d000 + 155250 5 libsystem_pthread.dylib 0x00007fff9c9c3268 _pthread_body + 131 6 libsystem_pthread.dylib 0x00007fff9c9c31e5 _pthread_start + 176 7 libsystem_pthread.dylib 0x00007fff9c9c141d thread_start + 13 Thread 10:: QKqueueFileSystemWatcherEngine 0 libsystem_kernel.dylib 0x00007fff93c3b21a kevent + 10 1 QtCore 0x00000001096b2e72 0x10968d000 + 155250 2 libsystem_pthread.dylib 0x00007fff9c9c3268 _pthread_body + 131 3 libsystem_pthread.dylib 0x00007fff9c9c31e5 _pthread_start + 176 4 libsystem_pthread.dylib 0x00007fff9c9c141d thread_start + 13 Thread 11: 0 libsystem_kernel.dylib 0x00007fff93c3a94a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff9c9c140d start_wqthread + 13 Thread 12: Thread 13:: KisGmicSmallApplicator 0 libsystem_c.dylib 0x00007fff991a445d strtod_l + 76 1 libsystem_c.dylib 0x00007fff991ce5f1 __svfscanf_l + 7164 2 libsystem_c.dylib 0x00007fff991d6659 vsscanf_l + 579 3 libsystem_c.dylib 0x00007fff991c683e sscanf + 186 4 kritagmic.so 0x00000001174c6adc 0x1172c4000 + 2108124 5 kritagmic.so 0x00000001174c81f9 0x1172c4000 + 2114041 6 kritagmic.so 0x00000001174c7b87 0x1172c4000 + 2112391 7 kritagmic.so 0x00000001174c7b87 0x1172c4000 + 2112391 8 kritagmic.so 0x00000001174c7b87 0x1172c4000 + 2112391 9 kritagmic.so 0x00000001174c698c 0x1172c4000 + 2107788 10 kritagmic.so 0x00000001173cf569 0x1172c4000 + 1095017 11 kritagmic.so 0x00000001173c469d 0x1172c4000 + 1050269 12 kritagmic.so 0x0000000117329bc1 0x1172c4000 + 416705 13 kritagmic.so 0x000000011739c990 0x1172c4000 + 887184 14 kritagmic.so 0x0000000117367203 0x1172c4000 + 668163 15 kritagmic.so 0x0000000117367203 0x1172c4000 + 668163 16 kritagmic.so 0x000000011739c990 0x1172c4000 + 887184 17 kritagmic.so 0x000000011739c990 0x1172c4000 + 887184 18 kritagmic.so 0x0000000117367203 0x1172c4000 + 668163 19 kritagmic.so 0x000000011739c990 0x1172c4000 + 887184 20 kritagmic.so 0x000000011739c990 0x1172c4000 + 887184 21 kritagmic.so 0x0000000117324a36 0x1172c4000 + 395830 22 kritagmic.so 0x0000000117322999 0x1172c4000 + 387481 23 kritagmic.so 0x00000001173245f8 0x1172c4000 + 394744 24 kritagmic.so 0x00000001172dca11 0x1172c4000 + 100881 25 kritagmic.so 0x00000001172e3315 0x1172c4000 + 127765 26 QtCore 0x00000001096b2e72 0x10968d000 + 155250 27 libsystem_pthread.dylib 0x00007fff9c9c3268 _pthread_body + 131 28 libsystem_pthread.dylib 0x00007fff9c9c31e5 _pthread_start + 176 29 libsystem_pthread.dylib 0x00007fff9c9c141d thread_start + 13 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000010004005 rbx: 0x00000000ffffffff rcx: 0x00007fff5920b098 rdx: 0x0000000000000000 rdi: 0x00007fff5920b200 rsi: 0x0000000007000806 rbp: 0x00007fff5920b0e0 rsp: 0x00007fff5920b098 r8: 0x0000000000001707 r9: 0x00000000ffffffff r10: 0x0000000000000c00 r11: 0x0000000000000206 r12: 0x0000000000000c00 r13: 0x0000000000000000 r14: 0x00007fff5920b200 r15: 0x0000000000001707 rip: 0x00007fff93c354de rfl: 0x0000000000000206 cr2: 0x00000001174eeb30 Logical CPU: 0 Error Code: 0x0100001f Trap Number: 133 External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 1 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 17774 thread_create: 8 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=296.9M resident=218.0M(73%) swapped_out_or_unallocated=78.9M(27%) Writable regions: Total=389.2M written=228.2M(59%) resident=259.7M(67%) swapped_out=0K(0%) unallocated=129.5M(33%) REGION TYPE VIRTUAL =========== ======= Activity Tracing 2048K CG backing stores 7220K CG image 392K CG shared images 464K CoreGraphics 8K CoreImage 8K CoreUI image data 88K Kernel Alloc Once 8K MALLOC 344.0M MALLOC (admin) 32K Memory Tag 242 12K OpenCL 32K STACK GUARD 56.0M Stack 13.7M Stack (reserved) 520K reserved VM address space (unallocated) VM_ALLOCATE 17.2M __DATA 24.3M __IMAGE 528K __LINKEDIT 82.8M __TEXT 214.1M __UNICODE 544K mapped file 115.9M shared memory 4K =========== ======= TOTAL 879.6M TOTAL, minus reserved VM space 879.1M Model: MacBook5,2, BootROM MB52.0088.B06, 2 processors, Intel Core 2 Duo, 2.13 GHz, 4 GB, SMC 1.38f5 Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB Memory Module: BANK 0/DIMM0, 2 GB, DDR2 SDRAM, 800 MHz, 0x2C00000000000000, 0x3136485446323536363448592D3830304A31 Memory Module: BANK 1/DIMM0, 2 GB, DDR2 SDRAM, 800 MHz, 0x7F7F7F7F7F9B0000, - AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.106.98.100.24) Bluetooth: Version 4.3.2f6 15235, 3 services, 19 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en1 Serial ATA Device: Hitachi HTS543216L9SA02, 160.04 GB Serial ATA Device: HL-DT-ST DVDRW GS22N USB Device: Built-in iSight USB Device: ET-0405-UV1.1-1 USB Device: BRCM2046 Hub USB Device: Bluetooth USB Host Controller USB Device: Apple Internal Keyboard / Trackpad USB Device: IR Receiver Thunderbolt Bus:
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.