Created attachment 116901 [details] Error dialog appearing SUMMARY STEPS TO REPRODUCE 1. Open Krita, open an image. Choose "Filter / Start G'MIC-Qt". 2. Select filter 'Artistic / Stylize' (If not already available, update filters by pressing the 'Update filters' button). Choose one of the pre-defined style (not "Custom"), and press the "Apply" button. 3. The filter is working well until it returns. An error message appear, and the outcome is not transferred back from the G'MIC-Qt plug-in to Krita. OBSERVED RESULT Here is the full log on the console window: dtschump@elara:~/Downloads$ ./krita-4.1.7-x86_64.appimage QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout /tmp/.mount_krita-FWHZ65/usr/lib/krita-python-libs/krita added to PYTHONPATH krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Bold") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Light") krita.general: Could not find font QVariant(QString, "Source Sans Pro") with style QVariant(QString, "Regular") >>> true QUrl("file:///home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora") "file:///home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora" "/home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora" >>> true QUrl("file:///home/dtschump/work/img/portraits/portrait24.jpg") "file:///home/dtschump/work/img/portraits/portrait24.jpg" "/home/dtschump/work/img/portraits/portrait24.jpg" >>> true QUrl("file:///home/dtschump/work/img/fish.jpg") "file:///home/dtschump/work/img/fish.jpg" "/home/dtschump/work/img/fish.jpg" >>> true QUrl("file:///home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora") "file:///home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora" "/home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora" >>> true QUrl("file:///home/dtschump/work/img/portraits/portrait24.jpg") "file:///home/dtschump/work/img/portraits/portrait24.jpg" "/home/dtschump/work/img/portraits/portrait24.jpg" >>> true QUrl("file:///home/dtschump/work/img/fish.jpg") "file:///home/dtschump/work/img/fish.jpg" "/home/dtschump/work/img/fish.jpg" >>> true QUrl("file:///home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora") "file:///home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora" "/home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora" >>> true QUrl("file:///home/dtschump/work/img/fish.jpg") "file:///home/dtschump/work/img/fish.jpg" "/home/dtschump/work/img/fish.jpg" >>> true QUrl("file:///home/dtschump/work/img/portraits/portrait24.jpg") "file:///home/dtschump/work/img/portraits/portrait24.jpg" "/home/dtschump/work/img/portraits/portrait24.jpg" >>> true QUrl("file:///home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora") "file:///home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora" "/home/dtschump/work/src/gmic/html/img/gmicky_deevad.ora" >>> true QUrl("file:///home/dtschump/work/img/fish.jpg") "file:///home/dtschump/work/img/fish.jpg" "/home/dtschump/work/img/fish.jpg" >>> true QUrl("file:///home/dtschump/work/img/portraits/portrait24.jpg") "file:///home/dtschump/work/img/portraits/portrait24.jpg" "/home/dtschump/work/img/portraits/portrait24.jpg" file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/opacity-decrease file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/opacity-increase file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/lightness-increase file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/lightness-decrease file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/zoom-in file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotate-canvas-left file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotation-reset file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/rotate-canvas-right file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/zoom-out file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/brushsize-decrease file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/brushsize-increase file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/preset-switcher file:///tmp/.mount_krita-FWHZ65/usr/lib/qml/org/krita/sketch/components/Button.qml:84:9: QML Image: Failed to get image from provider: image://icon/edit-clear krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]" krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+[" krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]" krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+[" QObject::connect: No such signal KisViewManager::destroyed(QObject *o) gmic-qt: socket Key: "{00dbfc05-615b-4768-948b-8830fea995ce}" QObject::startTimer: Timers cannot have negative intervals [gmic_krita_qt]./preview/ v -99 fx_stylize_preview 0,4,0,1,0.5,2,3,0.5,0.1,2,5,0,0.7,100,0,1,0,5,5,7,1,30,1000,2,0 [gmic_krita_qt]./preview/ v -99 fx_stylize_preview 15,4,0,1,0.5,2,3,0.5,0.1,2,5,0,0.7,100,0,1,0,5,5,7,1,30,1000,2,0 [gmic_krita_qt]./apply/ v -99 fx_stylize 15,4,0,1,0.5,2,3,0.5,0.1,2,5,0,0.7,100,0,1,0,5,5,7,1,30,1000,2,0 SAFE ASSERT (krita): "parts.size() == 5" in file /home/appimage/workspace/Krita_Release_Appimage_Build/krita/plugins/extensions/qmic/QMic.cpp, line 340 Aborted (core dumped) EXPECTED RESULT Filter returns its result as a modified image in Krita. SOFTWARE/OS VERSIONS Windows: MacOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Using the latest Linux64bits AppImage downloaded from the Krita website (v. 4.1.7). Attached is the screenshot of the error dialog that appears when the Stylize filter returns.
I cannot find the filter, can you check if it still happens with the latest Krita nightly builds?
Created attachment 119314 [details] With latest G'MIC 2.5.6 and latest Krita Appimage (nightly build)
Yes this does happen with the latest build (appimage : krita-4.2.0-pre-alpha-4022dda-x86_64.appimage, downloaded this morning). I'm using Ubuntu 18.10 (64bits). In the G'MIC plug-in, the 'Stylize' filter is located under 'Artistic / Stylize' (with latest filter updates, so having file `$HOME/.config/gmic/update256.gmic`). Filter selection work, the filter is running correctly (progress of the preview window is visible). The problem comes when the plug-in sends back the image data to Krita.
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information.
same crash behavior with the gmic-qt 2.7.1 version in Ubuntu 18.04.
Marking as RESOLVED UPSTREAM because this is a bug in GMic: https://github.com/dtschump/gmic/issues/260 . tl; dr: the fx_stylize command sets the layer name to an uninitialized variable.