Crash when exporting or moving detail window

I’ve come across a reproducible crash of RawTherapee. It seems to be related to selective editing.

Trying to export the photo results in a crash, and trying to move a detail window to the area of selective editing also gives me a CTD…

RT version is 5.11 and I’m on Windows 10.

Is this known? If not where am I supposed to report this?

You can report it here: GitHub · Where software is built

1 Like

Thank you.

Could not reproduce on Fedora 41 built from latest source code. Maybe you can provide more details about your steps leading to crashes?

Here is my try - added a new spot with defaults, opened a Detail window and moved it around the spot area. No crash:

This happens for me with different photos. I can provide a RAW file together with the .pp3 file.

What rules do I need to follow when providing a photo? I learned that there are some copyright restrictions?

Here are two workflows to follow in order to reproduce the CTD:

  1. Start RT - in file browser navigate to the photo - add it to export queue - export to JPEG 8-bit qual 95 Best quality - press export

  2. follow this video: https://youtu.be/2ifGW3NRSto

Here is a link to a .zip file containing the photo and .pp3 file in my dropbox:

https://www.dropbox.com/scl/fi/xc9znio93b5vdgx97ult4/RT-CTD.zip?rlkey=hfqovkte509qthagbnvyaw09w&dl=0

No crash with a self compiled version:

Version: 5.11-1-g40dccc3fc
Branch: dev
Commit: 40dccc3fc
Commit date: 2024-08-31
Compiler: cc 14.2.0
Processor: skylake-raptorlake
System: Windows
Bit depth: 64 bits
Gtkmm: 3.24.9
Lensfun: 0.3.4.0
libjxl: Disabled, Auto
Build type: release
Build flags: -std=c++11 -ffp-contract=off -march=skylake -mtune=raptorlake -Werror=unused-label -Werror=delete-incomplete -fno-math-errno -Wno-attributes -Wall -Wuninitialized -Wcast-qual -Wno-deprecated-declarations -Wno-unused-result -Wunused-macros -fopenmp -Werror=unknown-pragmas -O3 -DNDEBUG -ftree-vectorize
Link flags: -march=skylake -mtune=raptorlake
OpenMP support: ON
MMAP support: ON
Build OS: MINGW64_NT-10.0-26100 3.5.3-d8b21b8c.x86_64 x86_64
Build date: Sun, 01 Sep 2024 08:38:37 +0000 UTC
Build epoch: 1725179917
Build UUID: 13a3e3c4-a657-4c19-9d18-de7911f61698

This is the content of the file AboutThisBuild.txt:

Version: 5.11
Branch: 5.11
Commit: db575c669
Commit date: 2024-08-24
Compiler: cc 14.2.0
Processor: generic x86
System: Windows
Bit depth: 64 bits
Gtkmm: 3.24.9
Lensfun: 0.3.4.0
libjxl: 0.10.3
Build type: release
Build flags: -std=c++11 -ffp-contract=off -mtune=generic -Werror=unused-label -Werror=delete-incomplete -fno-math-errno -Wno-attributes -Wall -Wuninitialized -Wcast-qual -Wno-deprecated-declarations -Wno-unused-result -Wunused-macros -fopenmp -Werror=unknown-pragmas -O3 -DNDEBUG -ftree-vectorize
Link flags: -mtune=generic
OpenMP support: ON
MMAP support: ON
Build OS: MINGW64_NT-10.0-20348 3.5.3-d8b21b8c.x86_64 x86_64
Build date: Sat, 24 Aug 2024 18:43:52 +0000 UTC
Build epoch: 1724525032
Build UUID: 9bcd539b-04ea-4961-8ded-1ac3afe17fa9

no crash here under Windows 10.
I suggest, to set the profile to “neutral” and try again.

no crash either. Win 10, RawTherapee_dev_5.11-169-g61004ef5d_win64_release.

It also crashes with profile Neutral. See this video, I sometimes need to move the detail window around within the selective editing area before it crashes.

However, it always crashes immediately on export.

I tried this on my second computer that differs significantly in hardware but also is on Win 10. It also crashes there.

Please follow the instructions in How to write useful bug reports - RawPedia and don’t forget the stack backtrace as mentioned in that link.

Thank you, I will do.

RT also crashes on export in Manjaro. It saves no pp3 then of the exported image, and I to edit from the beginning.
But the crash is only from time to time and it does not depend on the position within the export list (the other pp3s will be saved).

@kaha i gave it a second try with your files.

First I renamed the pp3 file to *.txt for to open the CR3-File without a pp3-file from neutral. The behaviour was totally ok, no crash neither with zoom-windows over local edits nor with export.

Then, with applying your (renamed, see above) pp3-file, the crash happened very quickly as described.

I deleted the pp3-file, reopened RT and your CR3 and tried the same procedure. No crash at all, even i really tried hard.

So, maybe you can try the same:
First rename R6_03750.CR3.pp3 to R6_03750.CR3.pp3.txt. this will open your CR3-file as neutral and a new pp3-file will be created. Then lets see, if the crash occures again.
hth

Thank you, I will give that a try.

Trying to do the bug reportby following the instructions, but downloading gdb.exe is not possible.

Screenshot (1895)

It always crashes sooner or later when moving the detail area, see here:

No crash here with Martin’s procedure.

However, it crashes with the following additional settings (based on kaha’s pp3):

  • Detail Tab → Contrast by Detail Levels ++
  • Selective Editing → Color & Light → Contrast +
  • Zoom 100% or export (direct or via queue)
  • Crash!

I had these crashes several times before, but could not reproduce them. It seems as if the both contrast settings in combination with Selective Editing → Exposure compensation lead to the crash.

another funny thing.

based on your pp3-file, the crash is reproducable in several versions of 5.11 to 5.11-dev but only on your CR3-file.
On the CR2-files of my camera RT doesnt crash even with your pp3-file.

So i downloaded the actual debug-version RawTherapee_dev_5.11-169-g61004ef5d_win64_debug, and, hoping to get some information, set Verbose=true in options-file.
Your CR3 in combination with your pp3 file did NOT crash at all.
This leaves me with a question-mark.