BUG: Crash on Fujifilm X-S10 RAF — NaN in computed white-balance coefficient
Author: toldenburgerCreated Sep 29, 2026Updated Sep 29, 2026
RapidRAW 1.6.4 crashes ~1-2s after opening a Fujifilm X-S10 RAF (X-Trans, 6x6 CFA). The app log shows the computed white-balance vector has a NaN in the 4th coefficient:
Applying calibration with wb: [1.8907285, 1.0, 1.7781457, NaN], xyz2cam: [[1.3426, -0.6334, -0.1177], [-0.4244, 1.2136, 0.2371], [-0.058, 0.1303, 0.598], [0.0, 0.0, 0.0]]This line repeats 3-4 times in under 2 seconds, then the process dies with no further log output, no panic message, and no coredump. Memory usage spikes to 4.8-6.9GB before the crash (odd for a single-image decode), suggesting the NaN drives a runaway allocation somewhere downstream rather than failing cleanly. Reproducible every time (2/2 launches on this file).
Environment: Arch Linux, Hyprland/Wayland, rapidraw-bin 1.6.4-1 (AUR).
Steps to reproduce:
- Open a folder containing Fujifilm X-S10 RAF files.
- Select/preview one of the RAF files.
- App crashes within ~1-2 seconds, no error dialog.
Source: CyberTimon/RapidRAW