Package: luminance-hdr
Version: 2.6.0+dfsg-2+b8
Severity: important

On bullseye, luminance-hdr almost always crashes on startup on my
machine with the following failure (but does succeed in starting up on
the occasional old .exr file I still have lying around):

================================================================
37317,2> luminance-hdr *exr
libpng warning: iCCP: known incorrect sRGB profile
Min Luminance:  1e-06
Max Luminance:  2.33984
Mapping method:  3
fromLDRPFStoQImage() = 272.595 msec
resizeFrame() = 5.021 msec
pfscopy() = 0.163 msec
pfscopy() = 0.153 msec
pfstmo_mantiuk06 (Mode: Contrast Mapping, scaleFactor: 0.1, saturationFactor: 
0.8, detailFactor: 0.8)

tmo_mantiuk06 = 29.889 msec
Min Luminance:  0
Max Luminance:  1
Mapping method:  0
fromLDRPFStoQImage() = 0.482 msec
Black in = 0, Black out = 0, White in = 0.960784, White out = 1, Gamma = 1
gamma_levels() = 1.142 msec
Min Luminance:  0
Max Luminance:  1
Mapping method:  0
fromLDRPFStoQImage() = 1.771 msec
pfscopy() = 0.059 msec
pfscopy() = 0.049 msec
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 0.564 msec
pfstmo_mantiuk08 (saturation factor: 1, contrast enhancement factor: 1, 
white_y: -2, setluminance: 0)
Display function: gamma-gain-black-ambient
   gamma = 2.2   L_max = 200     L_black = 0.8
   E_amb = 60    k     = 0.01
Display size paramaters:
   pixels per visual degree = 30
   viewing distance = 0.5 [meters]
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 0.476 msec
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 1.667 msec

tmo_mantiuk08 = 76.152 msec
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 0.143 msec
Min Luminance:  0
Max Luminance:  1
Mapping method:  0
fromLDRPFStoQImage() = 1.033 msec
Black in = 0, Black out = 0, White in = 0.980392, White out = 1, Gamma = 1
gamma_levels() = 0.595 msec
Min Luminance:  0
Max Luminance:  1
Mapping method:  0
fromLDRPFStoQImage() = 0.323 msec
pfscopy() = 0.063 msec
pfscopy() = 0.185 msec
pfstmo_fattal02 (alpha: 1, beta: 0.9. saturation: 1, noise: 0.01, fftsolver: 1)

pde residual error: -nan

tmo_fattal02 = 551.336 msec
Min Luminance:  0
Max Luminance:  1
Mapping method:  0
fromLDRPFStoQImage() = 5.318 msec
Black in = 0, Black out = 0, White in = 0.0196078, White out = 1, Gamma = 1
gamma_levels() = 5.143 msec
Min Luminance:  0
Max Luminance:  1
Mapping method:  0
fromLDRPFStoQImage() = 1.46 msec
pfscopy() = 0.187 msec
pfscopy() = 0.061 msec
pfstmo_ferradans11 (rho: -2, inv_alpha: 5)

tmo_ferradans11 = 1017.3 msec
Min Luminance:  0
Max Luminance:  1
Mapping method:  0
fromLDRPFStoQImage() = 1.231 msec
Black in = 0.0156863, Black out = 0, White in = 1, White out = 1, Gamma = 1
gamma_levels() = 7.543 msec
Min Luminance:  0
Max Luminance:  1
Mapping method:  0
fromLDRPFStoQImage() = 7.46 msec
pfscopy() = 0.092 msec
pfscopy() = 0.055 msec
pfstmo_drago03 (bias: 0.85)

tmo_drago03 = 8.034 msec
Min Luminance:  0
Max Luminance:  1
Mapping method:  0
luminance-hdr: ./src/Libpfs/colorspace/rgbremapper.h:95: uint8_t 
Remapper<unsigned char>::operator()(float) const: Assertion `sample >= 0.f' 
failed.
luminance-hdr: ./src/Libpfs/colorspace/rgbremapper.h:95: uint8_t 
Remapper<unsigned char>::operator()(float) const: Assertion `sample >= 0.f' 
failed.
Aborted

================================================================




Whereas if I rebuild 2.4 in a docker image, it loads that image just
fine:

================================================================
37295,32> docker run -ti --rm -e DISPLAY=$DISPLAY -e CWD="$PWD" -v 
/tmp/.X11-unix/:/tmp/.X11-unix -v /home/tconnors:/home/tconnors luminance-hdr 
luminance-hdr *exr
/
/home/tconnors/photos/uncategorised/Tasmania 2021/qiv-2
I18NDIR:  /usr/share/luminance-hdr/i18n
QLibraryInfo::location(QLibraryInfo::TranslationsPath)):  
"/usr/share/qt5/translations"
Database opened
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: unable to load driver: amdgpu_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: amdgpu
libGL error: failed to open drm device: No such file or directory
libGL error: failed to load driver: radeonsi
HdrViewer::mapFrameToImage() [NEW]= 1630.49 msec
MainWindow::updateActions( 0 )
resizeFrame() = 5.516 msec
pfstmo_mantiuk06 (Mode: Contrast Mapping, scaleFactor: 0.1, saturationFactor: 
0.8, detailFactor: 0.8)
fromLDRPFStoQImage() = 0.05 msec
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 2.482 msec
pfstmo_mantiuk08 (saturation factor: 1, contrast enhancement factor: 1, 
white_y: -2, setluminance: 0)
Display function: gamma-gain-black-ambient
   gamma = 2.2   L_max = 200     L_black = 0.8
   E_amb = 60    k     = 0.01
Display size paramaters:
   pixels per visual degree = 30
   viewing distance = 0.5 [meters]
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 4.528 msec
pfstmo_mantiuk08: warning - wrong WHITE_Y in the input imageLuminance factor of 
the reference white: not specified
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 4.7 msec
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 4.652 msec
fromLDRPFStoQImage() = 4.721 msec
pfstmo_fattal02 (alpha: 1, beta: 0.9. saturation: 1, noise: 0.01, fftsolver: 1)

pde residual error: -nan
fromLDRPFStoQImage() = 2.636 msec
pfstmo_drago03 (bias: 0.85)
fromLDRPFStoQImage() = 3.731 msec
pfstmo_durand02 (fftw3f ON, sigma_s: 2, sigma_r: 2, base contrast: 5)
fromLDRPFStoQImage() = 2.62 msec
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 4.649 msec
pfstmo_reinhard02 (key: 0.18, phi: 1, range: 8, lower scale: 1, upper scale: 
43, use scales: 0)
transformColorSpace: Found right match for colorspace conversion
transformXYZ2SRGB() = 3.919 msec
fromLDRPFStoQImage() = 2.777 msec
pfstmo_reinhard05 (brightness: -10, chromatic adaptation: 0, light adaptation: 
1) 
fromLDRPFStoQImage() = 4.098 msec
pfstmo_ashikhmin02 (simple: 0, lc_value: 0.5, eq: 2)
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 4.45 msec
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 0.828 msec
fromLDRPFStoQImage() = 2.177 msec
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 2.227 msec
pfstmo_pattanaik00 (local: 0, multiplier: 1, Acone: 500, Arod: 500, autolum: 1)
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 0.139 msec
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 2.628 msec
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 4.855 msec
fromLDRPFStoQImage() = 4.897 msec
resizeFrame() = 8.302 msec
pfstmo_mantiuk06 (Mode: Contrast Mapping, scaleFactor: 0.1, saturationFactor: 
0.8, detailFactor: 0.8)
fromLDRPFStoQImage() = 1.665 msec
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 0.462 msec
pfstmo_mantiuk08 (saturation factor: 1, contrast enhancement factor: 1, 
white_y: -2, setluminance: 0)
Display function: gamma-gain-black-ambient
   gamma = 2.2   L_max = 200     L_black = 0.8
   E_amb = 60    k     = 0.01
Display size paramaters:
   pixels per visual degree = 30
   viewing distance = 0.5 [meters]
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 0.383 msec
pfstmo_mantiuk08: warning - wrong WHITE_Y in the input imageLuminance factor of 
the reference white: not specified
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 0.686 msec
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 0.798 msec
fromLDRPFStoQImage() = 0.249 msec
pfstmo_fattal02 (alpha: 1, beta: 0.9. saturation: 1, noise: 0.01, fftsolver: 1)

pde residual error: -nan
fromLDRPFStoQImage() = 2.706 msec
pfstmo_drago03 (bias: 0.85)
fromLDRPFStoQImage() = 2.495 msec
pfstmo_durand02 (fftw3f ON, sigma_s: 2, sigma_r: 2, base contrast: 5)
fromLDRPFStoQImage() = 2.635 msec
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 4.581 msec
pfstmo_reinhard02 (key: 0.18, phi: 1, range: 8, lower scale: 1, upper scale: 
43, use scales: 0)
transformColorSpace: Found right match for colorspace conversion
transformXYZ2SRGB() = 3.495 msec
fromLDRPFStoQImage() = 4.889 msec
pfstmo_reinhard05 (brightness: -10, chromatic adaptation: 0, light adaptation: 
1) 
fromLDRPFStoQImage() = 12.783 msec
pfstmo_ashikhmin02 (simple: 0, lc_value: 0.5, eq: 2)
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 5.488 msec
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 0.7 msec
fromLDRPFStoQImage() = 1.622 msec
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 0.683 msec
pfstmo_pattanaik00 (local: 0, multiplier: 1, Acone: 500, Arod: 500, autolum: 1)
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 0.266 msec
transformColorSpace: Found right match for colorspace conversion
transformRGB2XYZ() = 1.005 msec
transformColorSpace: Found right match for colorspace conversion
transformXYZ2RGB() = 2.757 msec
fromLDRPFStoQImage() = 3.763 msec

================================================================





-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable'), (5, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-9-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages luminance-hdr depends on:
ii  dcraw                           9.28-2
ii  hugin-tools                     2020.0.0+dfsg-2
ii  libboost-program-options1.74.0  1.74.0-9
ii  libc6                           2.31-13+deb11u2
ii  libcfitsio9                     3.490-3
ii  libexiv2-27                     0.27.3-3+deb11u1
ii  libfftw3-single3                3.3.8-2
ii  libgcc-s1                       10.2.1-6
ii  libgomp1                        10.2.1-6
pn  libgsl25                        <none>
ii  libilmbase25                    2.5.4-1
ii  libjpeg62-turbo                 1:2.0.6-4
ii  liblcms2-2                      2.12~rc1-2
ii  libopenexr25                    2.5.4-2
ii  libpng16-16                     1.6.37-3
ii  libqt5concurrent5               5.15.2+dfsg-9
ii  libqt5core5a                    5.15.2+dfsg-9
ii  libqt5gui5                      5.15.2+dfsg-9
ii  libqt5network5                  5.15.2+dfsg-9
ii  libqt5printsupport5             5.15.2+dfsg-9
ii  libqt5sql5                      5.15.2+dfsg-9
ii  libqt5sql5-sqlite               5.15.2+dfsg-9
ii  libqt5webkit5                   5.212.0~alpha4-11
ii  libqt5widgets5                  5.15.2+dfsg-9
ii  libqt5xml5                      5.15.2+dfsg-9
ii  libraw20                        0.20.2-1
ii  libstdc++6                      10.2.1-6
ii  libtiff5                        4.2.0-1

luminance-hdr recommends no packages.

luminance-hdr suggests no packages.

-- no debconf information

Reply via email to