Beep6581 / RawTherapee

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

Crash / segmentation faul when zooming in into one specific raw file #6351

Open abrock opened 3 years ago

abrock commented 3 years ago

Short description

I have one Sony ARW file from a Alpha 7R II (I used APSC-crop) which triggers a segmentation fault. It is reproducible every time in "Release" and "RelWithDebInfo" build mode but not "Debug" mode. I tried to run RT with a debugger using QtCreator but it always stops with "SIGSTOP", not idea why. Therefore I installed the RelWithDebInfo build, started RT and attached gdb.

Steps to reproduce

  1. Put the file into a directory.
  2. Switch to the directory and run "rawtherapee ."
  3. Open the file
  4. Zoom in using the mouse wheel
  5. When the zoom hits 100% there is a segmentation fault

Expected behavior

Image visible 100%.

Additional information

Other useful information:

heckflosse commented 3 years ago

Can not reproduce

Version: 5.8-3038-g38f15e185
Branch: dev
Commit: 38f15e185
Commit date: 2021-08-29
Compiler: gcc 10.3.0
Processor: undefined
System: Windows
Bit depth: 64 bits
Gtkmm: V3.24.3
Lensfun: V0.3.2.0
Build type: Release
Build flags: -Wno-parentheses -std=c++11 -march=native -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=native
OpenMP support: ON
MMAP support: ON

Please provide the .pp3 file and post the content of AboutThisBuild.txt

jade-nl commented 3 years ago

I'm, like OP, on Linux and Debian (10/Buster) and I'm not able to reproduce this either. Tried Official stable 5.8 appimage, the 5.8-2995 appimage and the latest development, self build, 5.8-3077.

abrock commented 3 years ago

I'm able to reproduce the bug, but only on this one machine, not on the other Debian testing machine. The bug is reproducible without any pp3 file but I attached the one which is created.

rawtherapee-backtrace2.txt AboutThisBuild.txt A7_08989.ARW.pp3.txt