[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #55 from caulier.gil...@gmail.com --- Great. I will update the digiKam when new release will be available Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #54 from David Tschumperlé --- Gilles, we finally found the bug in G'MIC 3.2.2. It should be fixed with this commit: https://github.com/GreycLab/gmic/commit/617c3ee986f42f3fce67e173b3e5f3e8f4e5fcd4 We'll try to release 3.2.3 next week, with a few improvements over the bugfix. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #53 from caulier.gil...@gmail.com --- Created attachment 157714 --> https://bugs.kde.org/attachment.cgi?id=157714&action=edit git rebase instruction 2 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #52 from caulier.gil...@gmail.com --- Created attachment 157713 --> https://bugs.kde.org/attachment.cgi?id=157713&action=edit git rebase instruction 1 Hi Geoff, The rebase instruction is given in the merge request / Changes view, because there is a conflict to solve as another guy as committed a fix in the head repository (a translator who review typo). Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #51 from Geoff King --- Hi Gilles, I created an account, forked, edited the text, saved 2 patch/commit files, and made a merge request. I got a message "Merge blocked: fast-forward merge is not possible. To merge this request, first rebase locally." Reading through the help file, I tried /rebase in a comment, but not sure that did anything. Any recommendations? Sorry to bother you with something like this, I've never used git or this system before so I'm probably missing something simple. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #50 from caulier.gil...@gmail.com --- If you have a KDE gitlab account, just fork the documentation repository, fix text, and create a merge request. I detailed all stages to do it in the README/Contribute Workflow section: https://invent.kde.org/documentation/digikam-doc/-/blob/master/README.md File to patch is this one : digikam-doc/image_editor/enhancement_tools.rst Look the last section at end of file. Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #49 from Geoff King --- Hi Gilles, I read through the G'MIC-Qt chapter in the digiKam online documentation and it looks good to me. I didn’t see any obvious errors. I could suggest a few minor grammatical or style changes if we want to be picky, but that may be just regional language use preference. If you would like me to suggest edits what is the best way to do that? Thanks, Geoff On Sun, Mar 26, 2023 at 4:28 AM wrote: > https://bugs.kde.org/show_bug.cgi?id=422996 > > --- Comment #48 from caulier.gil...@gmail.com --- > Hi Geoff, > > I write a G'MIC-Qt chapter in the digiKam online documentation. If you can > take > a look and give me a feedback, it will be very appreciate: > > > https://docs.digikam.org/en/image_editor/enhancement_tools.html#g-mic-qt-tool > > Thanks in advance > > Gilles Caulier > > -- > You are receiving this mail because: > You reported the bug. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #48 from caulier.gil...@gmail.com --- Hi Geoff, I write a G'MIC-Qt chapter in the digiKam online documentation. If you can take a look and give me a feedback, it will be very appreciate: https://docs.digikam.org/en/image_editor/enhancement_tools.html#g-mic-qt-tool Thanks in advance Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 caulier.gil...@gmail.com changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|--- |FIXED Version Fixed In||8.0.0 --- Comment #47 from caulier.gil...@gmail.com --- This file is now fixed with next 8.0.0 release. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #46 from caulier.gil...@gmail.com --- Hi Geoff, I found a possible case where alpha channel is populated with nothing but exists in memory when converting from DK container to GMic container. It fixed with this commit: https://github.com/cgilles/gmic-qt/commit/777d351e422c8d268f2af96e106e7909077c556f For the Batch process i found the code in GMicQt (headless engine). It's also used in Krita, but i don't see how krita can batch process more than one file... Gilles Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #45 from caulier.gil...@gmail.com --- Hi Geoff, Nope. the transparency is a property of image in digiKam which is converted to CImg container used by GMicQt. And the reverse operation is also done of course. I'm sure i write the code (:=)))... I don't remember how i created this dysfunction. and i cannot reproduce the problem now. Perhaps i used a GMicQt filter which have a bug... Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #44 from Geoff King --- Hi, To add to my note about alpha transparency. If I start with png that I know has alpha transparency created in Affinity, it works fine. I can see with the transparency in digikam. GmicQT edits and exports image back into digikam with alpha transparency as png just fine. Maybe original starting image needs to have alpha transparency? Regards, Geoff -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #43 from Geoff King --- Hi Gilles, GmicQT seems to be working really good now. I messed with it for a good while tonight and found crash issues with g'mic in testing. Now trying with a 2015 MacBook and MacOS 12.6.3. (In reply to caulier.gilles from comment #41) > > Now, as the plugin can be called more than once, i see another problem with > the image data. > > 1/ Apply a filter from GMic > 2/ Recall Gmic > 3/ Look the preview is full transparent. > > This happen only with certain kind of images. It's probably relevant of > number of color channels. I will take a look. > I do not see this issue. But see my comment further below about transparency. > Q: do you know if a host application use GmicQt in a batch processing ? > Typically, the idea is to make a digiKam Batch Queue Manager plugin... I don't know much about batch processing with GmicQT. Would be a nice addition I think. One Gmic issue I did see was that within GmicQT for some filters they have transparent areas, but the transparent parts were saved as black. For example the polaroid filter has a transparent outline. When I saved the image in Digikam this area turned black. I tried setting the Image Editor workspace format as PNG and exporting to PNG and TIFF and some other formats. After exporting, I tried opening the saved files in Affinity. Maybe I'm missing something, since I haven't really done a lot of transparency or editing in Digikam, but have done various transparency stuff in the past in other programs. Regards, Geoff -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #42 from caulier.gil...@gmail.com --- Geoff, Take a care about this bug too: #467215 In other words, do not touch the dark theme settings in gmic-qt, until i rebuild the macos PKG. Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #41 from caulier.gil...@gmail.com --- Hi Geoff Now, as the plugin can be called more than once, i see another problem with the image data. 1/ Apply a filter from GMic 2/ Recall Gmic 3/ Look the preview is full transparent. This happen only with certain kind of images. It's probably relevant of number of color channels. I will take a look. Q: do you know if a host application use GmicQt in a batch processing ? Typically, the idea is to make a digiKam Batch Queue Manager plugin... Best Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #40 from caulier.gil...@gmail.com --- Hi Geof, The PKG 8.0.0 pre-release installer must have the last crash fixed, i think. Please try and report me... Best Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #39 from Geoff King --- Hi Gilles, I tried with latest version today and can confirm those two filters (Colors/Mixer LAB and Color Temperature) do not crash. I also tried opening and closing the plugin several times running different filters and had zero crashes while using it with several edits to a photo. However, it did crash upon closing digikam. Geoff -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #38 from caulier.gil...@gmail.com --- Geoff, I think it still a problem if the Gmic-qt is called more than one time: start Gmic-qt, apply a filter, close it, reopen the tool, and look if it crash... Can you confirm ? Else, look like the Mixer-lab work fine now : https://i.imgur.com/NKvcEOS.png Best Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #37 from caulier.gil...@gmail.com --- Hi Geoff, Colors/Mixer LAb and Color Temperature tool from Gmic-Qt do not crash on my macbbok pro intel using Ventura. Try the last 8.0.0 pre-release bundle published today. I updated *gmic* to last 3.2.2... Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #36 from caulier.gil...@gmail.com --- update cimg/gmic/gmic-qt to last v3.2.2 : https://github.com/cgilles/gmic-qt/commit/b00dccd0d003bd46c800a4141e9988495ad3fe47 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #35 from caulier.gil...@gmail.com --- Hi Geof, yesterday, the new gmic + gmicqt version 3.2.2 have been released. We are for now in 3.1.6. I will update all code before to conclude. And yes, i see the improvements also in my computer, and also few crashes in specific filters. I still few way to study for improvements : - Use gcc instead clang as compiler. i remember a thread in gmic issue about the right compiler to use. - libfftw under mac which is problematic. I read also an older thread about this subject. I'm not sure if it's always the case. So wait a little bit. perhaps an update of code will fix last crashes. If no, well we will need to identify which filters crash exactly, and found something common to report to gmic team. Best Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #34 from Geoff King --- Hi, This is so much better. Thank You. I was able to use it and play with most filters now with no issues. The original report pointed to "Film Simulate" and that now works fine - no crashes after several processed photos with different settings. Also an earlier report pointed to "Artistic > Cartoon" and that now works fine also. I'm now using digiKam-8.0.0-20230318T115132-MacOS-x86-64.pkg on a MacBook Air 2022 12.6.3. However, I still did get a few repeatable crashes but they appear to be filter specific, for example, Colors > Mixer [LAB] or Color Temperature seems to always crash quickly when entering. I can report those separately if you prefer. Should I make a new bug report here or somewhere else? As it is now this is a big improvement and usable, if I stay away from a few specific filters. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #33 from caulier.gil...@gmail.com --- Git commit 8d86963ec06d56e9fb8e96df3c149abaf20a1c4b by Gilles Caulier. Committed on 18/03/2023 at 10:44. Pushed by cgilles into branch 'master'. Increase stack size under Windows and MacOS to prevent crash with Gmic-qt Related: bug 467215 M +4-0core/CMakeLists.txt A +29 -0core/cmake/rules/RulesMacOS.cmake M +14 -2core/cmake/rules/RulesWindows.cmake https://invent.kde.org/graphics/digikam/commit/8d86963ec06d56e9fb8e96df3c149abaf20a1c4b -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #32 from caulier.gil...@gmail.com --- Hi Geoff, As i can see on the DOWNSTREAM bug from gmic-qt, the problem is locate on the stack size under MacOS which is very small. all memory allocation on the stack done in gmic-qt algorithm will fill the capacity and crash violently. With my last commit, I patched the gmic-qt build rules to increase the stack with the Clang compiler to override the default value. https://github.com/cgilles/gmic-qt/commits/master I will recompile digiKam and gmic-qt while this week end. Best Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #31 from caulier.gil...@gmail.com --- DOWNSTREAM bug from GMICQt: https://github.com/c-koi/gmic-qt/issues/160 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 caulier.gil...@gmail.com changed: What|Removed |Added CC||m...@dismail.de --- Comment #30 from caulier.gil...@gmail.com --- *** Bug 467215 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #29 from caulier.gil...@gmail.com --- Hi all, GMicQt 3.1. will be available in next digiKam 7.8.0 : https://i.imgur.com/8iji6Bo.png Please, let's me hear if problem remain in daily pre-release bundles (will be updated in a few hours). Best Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #28 from caulier.gil...@gmail.com --- Hi, If i look into Krita bugzilla i can see at least 2 bugs under MacOS : https://bugs.kde.org/show_bug.cgi?id=351671 https://bugs.kde.org/show_bug.cgi?id=350965 And look the comment here : https://bugs.kde.org/show_bug.cgi?id=350965#c5 It's clear, Gmic must support other compiler that GCC, as Clang. For me it's a UPSTREAM bug. Best Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 caulier.gil...@gmail.com changed: What|Removed |Added Version|7.2.0 |7.5.0 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #27 from caulier.gil...@gmail.com --- Hi Geoff, I tried Krita 5.0 for under BigSur (intel), and it crash too after few minutes. GmicQt is 3.0. Happy new year Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 caulier.gil...@gmail.com changed: What|Removed |Added Version|7.0.0 |7.2.0 --- Comment #26 from caulier.gil...@gmail.com --- Hi Geoff, Yes i still crash. I need to update my github meta repository to host GMic-qt code for digiKam plugin. I seen Krita start to use a different way to host GMic-qt plugin too. The problem to host Gmic-qt tool as application plugin do not come from digiKam only. They wrap original source code from gmic-qt by plenty of patches... https://invent.kde.org/graphics/krita/-/tree/master/3rdparty_plugins/ext_gmic ...and i don't yet found time to review the difference with my github meta repository. I want to be sure to understand all. Best Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #25 from Geoff King --- Hello. Just an update. Still crashes immediately upon clicking gmic in digikam. In Showfoto it can usually run for few minutes but after a bunch of clicks of different settings or filters it will usually crash. rocess: digikam [15239] Path: /Applications/digiKam.org/digikam.app/Contents/MacOS/digikam Identifier:digikam Version: 7.2.0 (7.2.0) Code Type: X86-64 (Native) Parent Process:??? [1] Responsible: digikam [15239] User ID: 501 Date/Time: 2021-04-11 18:39:31.672 -0400 OS Version:Mac OS X 10.15.7 (19H524) Report Version:12 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #24 from caulier.gil...@gmail.com --- digiKam 7.2.0 official release is published with more than 360 files closed from bugzilla: https://www.digikam.org/news/2021-03-22-7.2.0_release_announcement/ Can you reproduce the dysfunction with this version ? Thanks in advance for your feedback Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #23 from Geoff King --- Created attachment 134911 --> https://bugs.kde.org/attachment.cgi?id=134911&action=edit additional crash info from showfoto. This bug was originally about digikam, but I may also have relevant info from showfoto. Attached is a crash log from Showfoto. This is on Mac with digiKam-7.2.0-rc-20210115T054811-MacOS-x86-64-debug. I have a consistent crash in showfoto after using gmic. In the attached crash log, I had been playing with gmic just before, but had cleanly exited the editor and then closed showfoto. This happens consistently upon closing showfoto. If I run gmic, then showfoto will crash later. showfoto does not normally crash if I do not use gmic. This is significantly different than digikam because, in showfoto you can still used gmic usually, at least for a few minute before it crashes. However, in digikam it is crashing immediately for me now. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #22 from Geoff King --- Created attachment 134899 --> https://bugs.kde.org/attachment.cgi?id=134899&action=edit lldb log and terminal output for crash from gmic Including this since it is more recent, and I think I did the crash log correctly with more info, and the debug terminal output is also included and looks like it has useful info. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #21 from caulier.gil...@gmail.com --- yes, i will look for an update soon... Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #20 from Geoff King --- Hello. I see that there is a new gmic version out 2.9.4 that includes some bug fixes. Could you please update to that newer version to see if it helps the situation on Mac. Currently it is crashing instantly upon starting the G'Mic effect. Thanks, Geoff -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #19 from Geoff King --- Created attachment 134629 --> https://bugs.kde.org/attachment.cgi?id=134629&action=edit crash log BELOW HAD IMAGE IN EDITOR. CLICKED THE G'MIC-QT EFFECT AND IT CRASHED IMMEDIATELY. THIS IS A CHANGE FROM LAST TIME I TRIED IT A FEW DAYS AGO WHERE IT WOULD USUALLY CRASH ONCE IN G'MIC AFTER A FEW CLICKS. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #18 from caulier.gil...@gmail.com --- Hi Geoff, Yes a good help will be to use the "debug" PKG version available at usual place : https://files.kde.org/digikam/digiKam-7.2.0-rc-20210106T161328-MacOS-x86-64-debug.pkg.mirrorlist This one include debug symbols which will allow to get a debugger back-trace when crash occurs. Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #17 from Geoff King --- Do you need more feedback or crash reports from me? -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 caulier.gil...@gmail.com changed: What|Removed |Added Latest Commit||https://invent.kde.org/grap ||hics/digikam/commit/f91750b ||4b88581047aa0de7e00b22ff8f0 ||91f248 Version Fixed In|https://invent.kde.org/grap | |hics/digikam/commit/f91750b | |4b88581047aa0de7e00b22ff8f0 | |91f248 | -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #16 from caulier.gil...@gmail.com --- Git commit eca031f86badcf648504feda8c51d40862e3dd84 by Gilles Caulier. Committed on 03/01/2021 at 12:51. Pushed by cgilles into branch 'master'. copy recursively this debug directory M +1-1project/bundles/macports/03-build-digikam.sh https://invent.kde.org/graphics/digikam/commit/eca031f86badcf648504feda8c51d40862e3dd84 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 caulier.gil...@gmail.com changed: What|Removed |Added Version Fixed In||https://invent.kde.org/grap ||hics/digikam/commit/f91750b ||4b88581047aa0de7e00b22ff8f0 ||91f248 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #15 from caulier.gil...@gmail.com --- Git commit f91750b4b88581047aa0de7e00b22ff8f091f248 by Gilles Caulier. Committed on 02/01/2021 at 21:45. Pushed by cgilles into branch 'master'. Missing to copy debug symbols dir for GmicQt plugin. This directory is not installed with cmake. CCBUGS: 422996 M +3-1project/bundles/macports/03-build-digikam.sh https://invent.kde.org/graphics/digikam/commit/f91750b4b88581047aa0de7e00b22ff8f091f248 diff --git a/project/bundles/macports/03-build-digikam.sh b/project/bundles/macports/03-build-digikam.sh index e3c35cd38a..c936de92a4 100755 --- a/project/bundles/macports/03-build-digikam.sh +++ b/project/bundles/macports/03-build-digikam.sh @@ -3,7 +3,7 @@ # Script to build digiKam using MacPorts # This script must be run as sudo # -# Copyright (c) 2015-2020 by Gilles Caulier +# Copyright (c) 2015-2021 by Gilles Caulier # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. @@ -182,6 +182,8 @@ cmake --build . --config RelWithDebInfo --target ext_gmic_qt-- -j$CPU_CORES cmake --build . --config RelWithDebInfo --target ext_mosaicwall -- -j$CPU_CORES mv -f $INSTALL_PREFIX/libexec/qt5/plugins/digikam/editor/*.so $INSTALL_PREFIX/lib/plugins/digikam/editor/ +# Install GmicQt plugin debug symbols. +cp $BUILDING_DIR/ext_gmicqt/ext_gmic_qt-prefix/src/ext_gmic_qt-build/Editor_GmicQt_Plugin.so.dSYM $INSTALL_PREFIX/lib/plugins/digikam/editor/ || true # -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #14 from Geoff King --- Hi, I do not see these filter errors on Ubuntu. It seems fine in some short testing. Also this Mac version seems to be noticeable slower to changes to the sliders or applying the effect when compared with a significantly lower spec Ubuntu machine I'm using for comparison. On the Mac, I did just get a crash, when clicking through filters. This was the Artistic > Cartoon filter after clicking the refresh button in the top right corner. I was also getting a "preview error:" in the preview pane which I didn't take a screenshot of. Process 37099 stopped * thread #58, stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x00013861b2d2 Editor_GmicQt_Plugin.so`gmic& gmic::_run(cimg_library::CImgList const&, unsigned int&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, unsigned int const*, bool*, char const*, cimg_library::CImg const*) + 194 Editor_GmicQt_Plugin.so`gmic::_run: -> 0x13861b2d2 <+194>: cmpq %rcx, (%rax) 0x13861b2d5 <+197>: jne0x13861b2e8 ; <+216> 0x13861b2d7 <+199>: movq -0x108(%rbp), %rcx 0x13861b2de <+206>: cmpq %rcx, 0x8(%rax) Target 0: (digikam) stopped. (lldb) bt * thread #58, stop reason = EXC_BAD_ACCESS (code=1, address=0x0) * frame #0: 0x00013861b2d2 Editor_GmicQt_Plugin.so`gmic& gmic::_run(cimg_library::CImgList const&, unsigned int&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, cimg_library::CImgList&, unsigned int const*, bool*, char const*, cimg_library::CImg const*) + 194 frame #1: 0x000138772643 Editor_GmicQt_Plugin.so`void* gmic_parallel(void*) + 115 frame #2: 0x7fff6faf0109 libsystem_pthread.dylib`_pthread_start + 148 frame #3: 0x7fff6faebb8b libsystem_pthread.dylib`thread_start + 15 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #13 from caulier.gil...@gmail.com --- Hi Geoff, Do you seen the same dysfunction under Linux version ? Happy new year Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #12 from Geoff King --- Created attachment 134478 --> https://bugs.kde.org/attachment.cgi?id=134478&action=edit preview error example 1 I am getting lots of messages like this on various filters. This one was triggered by moving the brightness slider. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #11 from caulier.gil...@gmail.com --- Hi all, and happy new year With this commit from my personal clone of GMicQt, i add macOS debug symbols rules to be able to catch traces in debugger when plugin crash under macOS: https://github.com/cgilles/gmic-qt/commit/cf9135964e91fbedb60731b341ddb56298fe35e2 This clone on github is included to whole digiKam macOS bundle. To David Tschumperlé: feel free to backport this commit to official GMicQt repository. Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #10 from Geoff King --- Unfortunately GMicQT crashes more often than before. The dialog will open, and I can usually select a filter and change some settings. However, it usually crashes when clicking Apply. This is on Catalina 10.5.7 and digiKam-7.2.0-beta2-20201219T112949-MacOS-x86-64 Thanks, Geoff -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #9 from caulier.gil...@gmail.com --- Hi, A new version of digiKam 7.2.0-beta2 PKG installer for MacOS compatible with HighSierra to BigSur is available for testing here : https://files.kde.org/digikam/ This PKG include a more recent version of GMicQt plugin (2.92), including a up-to-date GMic + CImg codes Can you take a look if plugin work better now ? Thanks in advance Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #8 from Geoff King --- Hello. Tested on macOS Catalina 10.15.6 and Digikam 7.0.0. I tried G'Mic on a few files, I did a few tries, and went for about 10 minutes clicking through different filters and changing settings. However, I did get several crashes eventually, which seem to be more prevalent with some of the filters in the Color category, such as Abstraction and CMYK Tone. The crashes happened when selecting the filter. Thanks. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 caulier.gil...@gmail.com changed: What|Removed |Added Severity|normal |crash -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #7 from caulier.gil...@gmail.com --- Thanks David. I use a Macbook pro here, so i will check this pre-processor condition. It's interesting to see the huge limitation of stack under OSX. I know that we needs to fix in the pass all local class allocations in function with new operator to prevent memory allocation error (using LibRaw class in digiKam for ex.). Best Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 --- Comment #6 from David Tschumperlé --- After checking, it seems we already have taken care of it : https://github.com/c-koi/gmic-qt/blob/master/src/FilterThread.cpp#L44 But maybe the condition `#ifdef _IS_MACOS_` does not hold ? We cannot check here, as we don't have a machine with MacOSX. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 David Tschumperlé changed: What|Removed |Added CC||david.tschumpe...@gmail.com --- Comment #5 from David Tschumperlé --- Maybe a useful note about G'MIC on MacOSX : A few years ago, when trying to make G'MIC work on MacOSX (but the CLI tool, not the G'MIC-Qt plug-in), we experienced a lot of random crashes, happening when new threads were created by the G'MIC interpreter (it looked similar to what your log shows). The reason was that the default stack size allocated when creating a new thread on MacOSX is ridiculously low (512Kb, while it's several MB on Windows/Linux), and thus, the G'MIC interpreter (which is a pretty complex function) was running out of stack memory. We added a work-around in the G'MIC interpreter code, specifically to solve this for MacOSX, file 'gmic.cpp', l.10324 : https://github.com/dtschump/gmic/blob/master/src/gmic.cpp#L10324 Anyway, I'm not sure we did the same for the threads created by the G'MIC-Qt plug-in, and in that case, it would mean that the main G'MIC instance is run with a 512Kb stack (as it's run in a thread created by G'MIC-Qt). Maybe something to investigate. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 422996] Digikam Crash with GMicQt plugin on Mac Mojave
https://bugs.kde.org/show_bug.cgi?id=422996 caulier.gil...@gmail.com changed: What|Removed |Added Component|ImageEditor |Plugin-Editor-GmicQt Summary|Digikam Crash with G'Mic on |Digikam Crash with GMicQt |Mac Mojave |plugin on Mac Mojave -- You are receiving this mail because: You are watching all bug changes.