Closed stefantalpalaru closed 1 year ago
but the first DNG sample on this page also triggers the segfault
works fine with this:
$ cat Release/AboutThisBuild.txt
Version: 5.8-3098-g404a584c7
Branch: dev
Commit: 404a584c7
Commit date: 2022-06-12
Compiler: gcc 12.1.0
Processor: undefined
System: Windows
Bit depth: 64 bits
Gtkmm: V3.24.5
Lensfun: V0.3.2.0
Build type: Release
Build flags: -Wno-parentheses -std=c++11 -fno-tree-loop-vectorize -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
Build OS: MINGW64_NT-10.0-19043 3.3.5-341.x86_64 x86_64
Build date: Thu, 16 Jun 2022 10:19:58 +0000 UTC
Build epoch: 1655374798
Build UUID: 310a7c7c-f0fa-4192-bcbe-5ce8c94c492a
I found a way to replicate it on CPU families other than Piledriver:
cd build
rm -f CMakeCache.txt; CFLAGS="-O3 -mfma -mtune=bdver2 -ggdb" CXXFLAGS="$CFLAGS" LDFLAGS="" cmake -DENABLE_TCMALLOC=ON -DOPTION_OMP=ON -DCMAKE_BUILD_TYPE="release" -DPROC_TARGET_NUMBER=0 -DBUILD_BUNDLE=ON -DBUNDLE_BASE_INSTALL_DIR="$HOME/programs/rawtherapee" ..
make clean; make -j8 install
gdb ~/programs/rawtherapee/rawtherapee
I can no longer replicate the problem in the latest Git HEAD.
Using the "dev" branch HEAD:
The segfault happens even when I disable OpenMP and TCMalloc.
I'm trying to open a DNG file produced by DJI Osmo Action, but the first DNG sample on this page also triggers the segfault: https://www.kenrockwell.com/leica/m9/sample-photos-3.htm