Menu

#422 Ufraw seg faults on Fuji GFX 50s raw files (RAF)

open
nobody
None
5
2019-06-12
2018-07-03
Chris
No

Ufraw seg faults on Fuji GFX 50s raw files (RAF). While this camera does not appear on the official supported camera list (ufraw nor dcraw), it does work when using dcraw (dcraw raf.RAF | cjeg jpeg.jpeg).

This is what I'm seeing:
$ ufraw-batch raf_full.RAF
$'ufraw-batch raf_full.RAF' terminated by signal SIGSEGV (Address boundary error)

Here's the image I'm using: https://www.dropbox.com/s/qqriihvhtn8hf20/raf_full.RAF?dl=0

Discussion

  • Seth Cohen

    Seth Cohen - 2019-02-02

    Can confirm that this is also an issue for the FUJIFILM GFX 50r.

    ┌─[scohen] - [~/Repos/libgphoto2] - [Sat Feb 02, 11:12]
    └─[$] <git:(master)> ufraw-batch DSCF0001.RAF
    [1]    24311 segmentation fault  ufraw-batch DSCF0001.RAF
    
     
  • Seth Cohen

    Seth Cohen - 2019-02-07

    @u/cgat

    If you feel like building from source - I've attached a patch that I created to work with RAF files. There was a small bug.

    There are some additional fixes to get it to compile on macOS. The main issue was line 36-37 of my patch.

    By the way nice image in dropbox!!!

     
  • Sérgio M. Basto

    https://github.com/sergiomb2/ufraw have this patch except [1] , sould be add ? or not ?

    Thanks

    [1]
    diff --git a/dcraw.cc b/dcraw.cc
    index 88c8068..248674f 100644
    --- a/dcraw.cc
    +++ b/dcraw.cc
    @@ -7163,7 +7163,7 @@ void CLASS parse_fuji (int offset)
    c = order;
    order = 0x4949;
    if ((tag = get4()) > 10000) tag = get4();
    - width = tag;
    + width = get4();
    height = get4();
    order = c;
    }

     

    Last edit: Sérgio M. Basto 2019-05-01
  • Seth Cohen

    Seth Cohen - 2019-05-03

    yes, it should be added.

     
  • Sérgio M. Basto

     
    • Sérgio M. Basto

      I remove it make ufraw crash , every time we open one image .

       

Log in to post a comment.