← Back to team overview

hugin-devs team mailing list archive

[Bug 679309] Re: caught exception: std::bad_alloc

 

So?

How about: This is a wishlist item: Nona should produce a more useful
error message: It should print something like: "unable to allocate
memory for the canvas of XXXXXXXxYYYYYYY pixels. (hmm. It seems it is
currently just an uncaught exception. You can catch exceptions, right?)

And separate bug: This is a whishlist item: Do something sensible in the
sequence-of-events that Bruno posted.

-- 
caught exception: std::bad_alloc
https://bugs.launchpad.net/bugs/679309
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.

Status in Hugin - Panorama Tools GUI: New

Bug description:
Hello,

this is https://bugs.launchpad.net/ubuntu/+source/hugin/+bug/363903 from Ubuntu.

Loading the testase quoted in bugreport http://dl.getdropbox.com/u/921561/project.tar.gz into hugin and using the Stitch now button still yields this error with 2009.2.0rc1:
Checking nona...[OK]
Checking enblend...[OK]
Checking enfuse...[OK]
Checking hugin_hdrmerge...[OK]
Checking exiftool...[OK]
nona  -z PACKBITS -r ldr -m TIFF_m -o jjljljljljjljl -i 0 /tmp/huginpto_OBVtyS
caught exception: std::bad_alloc
make: *** [jjljljljljjljl0000.tif] Error 1

Actually it is not even neccessary to go through the GUI, this command

nona -z PACKBITS -r ldr -m TIFF_m -o dsc_6798-dsc_6825 -i 0 dsc_6798-dsc_6825.pto

triggers the error.