Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.79k stars 316 forks source link

Segmentation fault #5689

Closed dafrasaga closed 4 years ago

dafrasaga commented 4 years ago

Hi with the new dev version if I move the soft radius slider of Shap-mask and Clarity on Wavelets I get Segmentation fault

Desmis commented 4 years ago

@dafrasaga I cannot reconstitued.... Could you give an example (raw, pp3)

Thank you :)

jacques

dafrasaga commented 4 years ago

Hi Desmis, these are the files I open the file with neutral profile, after I enable wavelet+sharp and mask and when I touch Soft Radius RT crashes into segmentation fault

Pictures.zip

Thanatomanic commented 4 years ago

~~I also cannot reproduce. Your provided PP3 is simply a neutral profile? @dafrasaga Which version of RT are you using? If possible, use a development debug build and provide a backtrace of the crash (http://rawpedia.rawtherapee.com/How_to_write_useful_bug_reports)~~

I spoke too soon. I have a crash! Investigating...

Thanatomanic commented 4 years ago

To reproduce, do what @dafrasaga said: open image, apply Neutral, turn on "Wavelet levels", turn on "Sharp-mask and Clarity" and adjust the slider for "Soft Radius". The crash only happens when you're not at 100%.

Here's a backtrace debuglog.txt

Thanatomanic commented 4 years ago

In addition: I tried several other images, and there I could not reproduce the crash. So it has something to do with this particular RAW file as well...

Desmis commented 4 years ago

@dafrasaga @Thanatomanic

I have found the bug.... carelessness on my part

I commi with a fix soon :)

Thank you very much jacques

Desmis commented 4 years ago

@dafrasaga @Thanatomanic

Push commit d63fb77

I hope it fix the crash :)

dafrasaga commented 4 years ago

Thanks..it seems fixed .