NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.38k stars 14.33k forks source link

nufraw: segmentation fault #109444

Open asbachb opened 3 years ago

asbachb commented 3 years ago

Describe the bug nufraw runs into an segmentation fault when the raw image needs to be processed. Extracting images with --embedded-image does not create a segmentation fault.

This is a follow up to #108993 and #108626

To Reproduce

./nufraw-batch --out-type=png --noexif --output=/tmp/preview.png ~/Photos/P1250767.RW2
[1]    15111 segmentation fault (core dumped)  ./nufraw-batch --out-type=png --noexif

Expected behavior An png image should be created.

Notify maintainers

Metadata nixpkgs master 4a45d6a60f7c10e8cf81fa36a0cfacf292693893

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
- nufraw
- nufraw-thumbnailer
# a list of nixos modules affected by the problem
module:
asbachb commented 3 years ago

I started a branch (see https://github.com/asbachb/nixpkgs/tree/bugfix/nufraw/pkgs/development/libraries/lensfun) which applies the archlinux patch for lensfun package which seems to fix the segmentation fault problem.

Nevertheless the resulting image is just black.

asbachb commented 3 years ago

Lens generic seems to work. But after you select a specific lens the preview of nufraw gets black again.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info