Hugin crashes when loading 16 bit tiff files

Bug #678697 reported by c3101
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Low
Unassigned

Bug Description

I've created 16 bit tiff files with qtpfsgui to use as input files for hugin.

autopano-sift completes the control point generation without any problems, but as soon as you load the resulting pto file into hugin, it crashes with the following error:

$ hugin 16bit.pto
Panorama obj created
hugin: tif_luv.c:292: LogLuvDecode32: Assertion `s == 0' failed.
Could not load pano13Aborted (core dumped)

Tags: 16bit crash hdr
Revision history for this message
nobody (nobody-users) wrote :

Logged In: NO

could reproduce this with 16bit tiff image from qtpfsgui with the following steps.
1. load cr2 image in qtpfsgui
2. save as hdr-tiff
3. open hugin
4. load the image
5. as there is no embedded exif data hugin will ask for focal length...
6. after closing that dialog (regardless if you fill in values or not) hugin crashes.

Revision history for this message
xvlun (xvlun) wrote :

Logged In: YES
user_id=2000354
Originator: NO

forgot to mention the hugin version is the recent for fedora 8, qtpfsgui is 1.9.0. 16bit files from bibble work smoothly, no crashes there.

Revision history for this message
c3101 (c3101) wrote :

Logged In: YES
user_id=1968042
Originator: YES

Hugin version: 0.7~beta4-0ubuntu3.1
Ubuntu 7.10
qtpfsgui: 1.8.12-0ubuntu1

Revision history for this message
Pablo d'Angelo (pablo.dangelo) wrote :

Logged In: YES
user_id=30308
Originator: NO

This is not a normal 16 bit tiff, but a LogLuv HDR tiff. Not sure why it crashes, though. Won't fix for 0.7.0

Can it be opened in other applications (cinepaint?)

Revision history for this message
c3101 (c3101) wrote :

Logged In: YES
user_id=1968042
Originator: YES

Yes, it opens fine in cinpepaint, krita and gimp.

Revision history for this message
Lukas Jirkovsky (l-jirkovsky) wrote :

I was able to reproduce it. Hugin crashes with
hugin: tif_luv.c:292: LogLuvDecode32: Assertion `s == 0' failed.
in console. I'll take a closer look at it.

Yuv (yuv)
Changed in hugin:
status: New → Confirmed
importance: Undecided → High
rew (r-e-wolff)
tags: added: 16bit crash hdr
Yuv (yuv)
Changed in hugin:
importance: High → Low
Revision history for this message
Lukas Jirkovsky (l-jirkovsky) wrote :

Fixed by the commit 3128adb98320 in hugin and commit 76ad0679d06d in enblend.

Changed in hugin:
status: Confirmed → Fix Committed
Revision history for this message
Lukas Jirkovsky (l-jirkovsky) wrote :

I should point out that the LogLuv TIFF is not yet correctly supported, see #735632

Yuv (yuv)
Changed in hugin:
status: Fix Committed → 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.