enfuse: Can not read TIFF directory count

Bug #679092 reported by nobody
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Critical
Unassigned

Bug Description

I was stitching a LARGE panorama (60+ input images, HDR). Hugin had spent at least 15 minutes rendering using all four processors at 99% capacity. When I got back after dinner it had crashed with the message that I should report the crash here. This is the error message I got:

/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 13.6439 -m TIFF_m -o test_1_exposure_layers_ -i 0 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_oFIvnB
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 15.6439 -m TIFF_m -o test_1_exposure_layers_ -i 1 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_oFIvnB
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 11.6439 -m TIFF_m -o test_1_exposure_layers_ -i 2 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_oFIvnB
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 13.6439 -m TIFF_m -o test_1_exposure_layers_ -i 60 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_oFIvnB
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 15.6439 -m TIFF_m -o test_1_exposure_layers_ -i 61 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_oFIvnB
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 11.6439 -m TIFF_m -o test_1_exposure_layers_ -i 62 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_oFIvnB
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/enfuse -o test_1_stack_ldr_0000.tif test_1_exposure_layers_0000.tif test_1_exposure_layers_0001.tif test_1_exposure_layers_0002.tif test_1_exposure_layers_0060.tif test_1_exposure_layers_0061.tif test_1_exposure_layers_0062.tif
TIFFReadDirectory: test_1_exposure_layers_0000.tif: Can not read TIFF directory count.

enfuse: error opening input file "test_1_exposure_layers_0000.tif":

Precondition violation!
Unable to open file 'test_1_exposure_layers_0000.tif'.

gnumake: *** [test_1_stack_ldr_0000.tif] Error 1

Revision history for this message
etherflyer (etherflyer) wrote :

I tried it again, keeping an eye on Activity Monitor. The process using the CPU was "nona", and it used between 30 and 100% of my computer (quad-core MacPro). Free memory (6 GB installed) varied between 39 MB and 2.97 GB. I was runnign nothing except Hugin and Activity Monitor.

Second crash looked like the first:

/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 13.6439 -m TIFF_m -o test_2_exposure_layers_ -i 0 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_tkZZ1W
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 15.6439 -m TIFF_m -o test_2_exposure_layers_ -i 1 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_tkZZ1W
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 11.6439 -m TIFF_m -o test_2_exposure_layers_ -i 2 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_tkZZ1W
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 13.6439 -m TIFF_m -o test_2_exposure_layers_ -i 60 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_tkZZ1W
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 15.6439 -m TIFF_m -o test_2_exposure_layers_ -i 61 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_tkZZ1W
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/nona -z PACKBITS -r ldr -e 11.6439 -m TIFF_m -o test_2_exposure_layers_ -i 62 /var/folders/20/20rYwUnkH-CXYg+uxVxTXE+++TI/-Tmp-/huginpto_tkZZ1W
/Applications/Hugin.app/Contents/Resources/HuginStitchProject.app/Contents/MacOS/enfuse -o test_2_stack_ldr_0000.tif test_2_exposure_layers_0000.tif test_2_exposure_layers_0001.tif test_2_exposure_layers_0002.tif test_2_exposure_layers_0060.tif test_2_exposure_layers_0061.tif test_2_exposure_layers_0062.tif
TIFFReadDirectory: test_2_exposure_layers_0000.tif: Can not read TIFF directory count.

enfuse: error opening input file "test_2_exposure_layers_0000.tif":

Precondition violation!
Unable to open file 'test_2_exposure_layers_0000.tif'.

gnumake: *** [test_2_stack_ldr_0000.tif] Error 1

Input pictures are 63 TIFF files (16-bit, 57.9 MB).

Revision history for this message
Bruno Postle (brunopostle) wrote :

Hi the tool that crashed was 'enfuse' which was trying exposure blend six images together - Does that sound right? six is an odd (even) number of brackets.

Even so it shouldn't crash, have you checked that there is enough disk space during the stitch? hugin may be using a different disk for temporary files than you expect.

Revision history for this message
rew (r-e-wolff) wrote :

Bruno, the weird number (6) for the exposure occurs because the user probably took a full 360 degree pano, ending nicely aligned on the first images after taking 3x19 pictures in between at 18 degree intervals.

Should blending a double stack work?

Should a warning be printed? (One stack is 6 high, all the others only 3!).

It seems that nona wrote an invalid tiff file. If this didn't work at all, we'd see nobody getting results on MacOS. So I suggest closing this bug. The questions above warrant a new one about the double stack.

Changed in hugin:
importance: Medium → Critical
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.