#338 UFRaw0.18 crashes with large raws + 16 Bit Output

Udo Appel

UFRaw 0.18 with GIMP 2.6.12, Windows XP SP 3.

When I start the 16 Bit- TIFF- conversion of a directly before loaded CR2-file from my Canon 5D MkII, which has very large raw-files (5634 x 3753 pixel), UFRaw begins Interpolating, stops it at 98 percent or so and then crashes with the message "ufraw.exe has encountered a problem and needs to be closed" etc. or so. Then I saw, that UFRaw has created a TIFF-file with only 1 KB, but no ID-file (“Create ID-file”- option was set to “also”). This 1 KB- TIFF-file cannot be opened by any Image viewing- or Image manipulationg program. When “Create ID-file”- option is set to “only”, UFRaw creates an ID-file. When I then load this ID-file into UFRaw-batch, the result is the same as described above (crash, error-message, undecodable 1 KB- TIFF- file).

With JPG- or 8 Bit- TIFF- output, UFRaw works normal.

I made several attempts with cropping the raw-image at its left side by using the crop-and-rotate-tab, then started the 16 Bit-TIFF- conversion and saw, what happens.


1.) Image cropped at its left side so that image dimensions are now 5049 x 3753 pixel: UFRaw begins Interpolating, stops at 99 percent or so, then UFRaw disappears from the desktop without any message. UFRaw has created a TIFF-file with only 1 KB, but no ID-file (like described above).

2.) Image cropped at its left side so that image dimensions are now 4999 (or smaller) x 3753 pixel: UFRaw works normal.

In all these results, it makes no difference, which interpolation algorithm is chosen.

Best regards
Udo Appel
(My last posting was at 30 Oct. 2009, sorry for providing no contribution since that time)


  • Niels Kristian Bech Jensen

    I can confirm the crash with UFRaw 0.19.1 (32-bit installer) on Windows 7 (64-bit), but UFRaw works as expected on both 32-bit and 64-bit Linux.

    Niels Kristian

  • Niels Kristian Bech Jensen

    • status: open --> open-accepted
    • milestone: --> UFRaw_development_branch
  • Udo Appel

    Udo Appel - 2013-03-11

    New attempt with UFRaw 0.19.1 on Windows XP SP3: Same crash, identical behaviour as reported initially.

    Best regards,
    Udo Appel

  • Udi Fuchs

    Udi Fuchs - 2013-03-12

    It was actually a stack overflow. It seems that the win32 stack is too small. This is now fixed in CVS.


  • Udi Fuchs

    Udi Fuchs - 2013-03-12
    • status: open-accepted --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks