SUMMARY Open the G'Mic-qt interface then open another G'Mic-qt interface without closing the first one. Apply a layer from the first interface or close the first interface and krita.exe will crash. STEPS TO REPRODUCE 1. Open the first G'Mic-qt interface 2. Open a second G'Mic-qt interface 3-1. Close the first G'Mic-qt interface 3-2. Apply a filter from the first G'Mic-qt interface OBSERVED RESULT Krita.exe crashes and the first G'Mic-qt interface crashes. The second remains open. EXPECTED RESULT The interface should close without any problems or a filter would be applied SOFTWARE/OS VERSIONS Windows: used and tested on windows 10 macOS: no data Linux/KDE Plasma: no data (available in About System) KDE Plasma Version: no data KDE Frameworks Version: no data Qt Version: 2.7.1 64bit ADDITIONAL INFORMATION I use the G'Mic-qt interface very often and sometimes accidentally open 2. From my experience the second one works fine but the issue happens 100% of the time.
To clarify: G'MIC-qt Version is 2.7.1 64bit (what it says at the top). Not the linux version
I can confirm this for appimages 4.2.9 to the latest 5.0.0 prealpha. Except that if I apply a filter from the first G'MIC window, it locks up with no crash. Then the operating system reports that it has stopped working and offers to 'Force Quit' or 'Wait'. Force Quit will make krita crash. For the case of opening two G'MIC windows and closing the first one, this is the terminal output: ------------------------------------------------ gmic-qt: socket Key: "{5a5f6e09-9e45-4ea8-845d-deb9fbc25d98}" QObject::startTimer: Timers cannot have negative intervals gmic-qt: socket Key: "{b93c8632-b67b-4f1a-97f7-8b1a7f4ee46b}" QObject::startTimer: Timers cannot have negative intervals QProcess: Destroyed while process ("/opt/krita/gmiclink") is still running. Segmentation fault ----------------------------------------------
Created attachment 130349 [details] backtrace of the crash, when first gmic window is closed (3-1); Linux, git master
Fixed with the plugin-i-fication of GMic done in https://invent.kde.org/graphics/krita/-/merge_requests/581.