nona raises a segmentation fault at the very first call

Bug #1048799 reported by l_arbalette
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned

Bug Description

I can see the panorama preview, but when I want to assemble the panorama, nona raises a segmentation fault.

Hugin Version: 2011.0.0.0f9fdaf56720 setuped on a Gentoo box, compiled with gcc-4.5.4, glibc version = glibc-2.15-r2, kernel version = 3.2.12-gentoo x86_64
boost version = boost-1.49.0-r1

Here are attached or displayed directly in the bug description :
- Hugin crash report
- hugin PTO file used by nano command
- hugin MAKE file generated before nona call
- gdb ouput when calling nona manually and the backtrace output.

If anything else is needed, please tell me : I'm not sure what to post here...

************************************************************************************************
Hugin crash report :
************************************************************************************************

===========================================================================
*************** Panorama makefile generated by Hugin ***************
===========================================================================
System information
===========================================================================
Operating system: GNU/Linux
Release: 3.2.12-gentoo
Kernel version: #1 SMP Wed Jun 6 22:20:52 CEST 2012
Machine: x86_64
Disc usage
Sys. fich. Taille Util. Dispo Uti% Monté sur
rootfs 92G 23G 65G 27% /
/dev/root 92G 23G 65G 27% /
tmpfs 1,5G 300K 1,5G 1% /run
rc-svcdir 1,0M 100K 924K 10% /lib64/rc/init.d
udev 10M 0 10M 0% /dev
shm 1,5G 0 1,5G 0% /dev/shm
/dev/sda3 230G 103G 115G 48% /home
/dev/sda4 137G 117G 20G 86% /mnt/winXP_sda4
/dev/sdb1 230G 50G 168G 23% /mnt/WinDataExt
/dev/sdb2 230G 166G 53G 76% /mnt/LinuxDocs
Memory usage
             total used free shared buffers cached
Mem: 2955 2923 31 0 20 647
-/+ buffers/cache: 2255 699
Swap: 3820 415 3404
===========================================================================
Output options
===========================================================================
Hugin Version: 2011.0.0.0f9fdaf56720
Project file: /home/thibaut/temp/hugin/huginpto_7cV0v6
Output prefix: 1000001464-1000001465
Projection: Rectilinear (0)
Field of view: 70 x 48
Canvas dimensions: 2843 x 1787
Crop area: (56,144) - (2843,1438)
Output exposure value: 12.03
Selected outputs
Normal panorama
* Blended panorama
===========================================================================
Input images
===========================================================================
Number of images in project file: 2
Number of active images: 2
Image 0: /home/thibaut/Commun/02 - Photos/iPhone/1000001464.JPG
Image 0: Size 2592x1936, Exposure: 12.02
Image 1: /home/thibaut/Commun/02 - Photos/iPhone/1000001465.JPG
Image 1: Size 2592x1936, Exposure: 12.04
===========================================================================
Testing programs
===========================================================================
Checking nona...[OK]
Checking enblend...[OK]
Checking enfuse...[OK]
Checking hugin_hdrmerge...[OK]
Checking exiftool...[OK]
===========================================================================
Stitching panorama
===========================================================================
nona -z LZW -r ldr -m TIFF_m -o 1000001464-1000001465 -i 0 /home/thibaut/temp/hugin/huginpto_7cV0v6
make: *** [1000001464-10000014650000.tif] Erreur de segmentation

************************************************************************************************
gdb output
************************************************************************************************

gdb --args nona -z LZW -r ldr -m TIFF_m -o 1000001464-1000001465 -i 0 /home/thibaut/temp/hugin/huginpto_7cV0v6
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/nona...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/nona -z LZW -r ldr -m TIFF_m -o 1000001464-1000001465 -i 0 /home/thibaut/temp/hugin/huginpto_7cV0v6
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffee285700 (LWP 13927)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffee285700 (LWP 13927)]
0x00007ffff7730467 in boost::random::mersenne_twister_engine<unsigned int, 32ul, 624ul, 397ul, 31ul, 2567483615u, 11ul, 4294967295u, 7ul, 2636928640u, 15ul, 4022730752u, 18ul, 1812433253u>::operator()() ()
   from /usr/lib64/hugin/libhuginbase.so.0.0

************************************************************************************************
backtrace output
************************************************************************************************
(gdb) bt
#0 0x00007ffff7730467 in boost::random::mersenne_twister_engine<unsigned int, 32ul, 624ul, 397ul, 31ul, 2567483615u, 11ul, 4294967295u, 7ul, 2636928640u, 15ul, 4022730752u, 18ul, 1812433253u>::operator()() ()
   from /usr/lib64/hugin/libhuginbase.so.0.0
#1 0x00007ffff778a0cb in HuginBase::Photometric::InvResponseTransform<unsigned char, double>::dither(double const&) const () from /usr/lib64/hugin/libhuginbase.so.0.0
#2 0x00007ffff779e2fc in HuginBase::Photometric::InvResponseTransform<unsigned char, double>::apply(vigra::RGBValue<unsigned char, 0u, 1u, 2u>, hugin_utils::TDiff2D<double> const&, vigra::VigraFalseType) const ()
   from /usr/lib64/hugin/libhuginbase.so.0.0
#3 0x00007ffff779e358 in HuginBase::Photometric::InvResponseTransform<unsigned char, double>::apply(vigra::RGBValue<unsigned char, 0u, 1u, 2u>, hugin_utils::TDiff2D<double> const&) const () from /usr/lib64/hugin/libhuginbase.so.0.0
#4 0x00007ffff779e39c in vigra::NumericTraits<vigra::RGBValue<unsigned char, 0u, 1u, 2u> >::RealPromote HuginBase::Photometric::InvResponseTransform<unsigned char, double>::operator()<vigra::RGBValue<unsigned char, 0u, 1u, 2u> >(vigra::RGBValue<unsigned char, 0u, 1u, 2u>, hugin_utils::TDiff2D<double> const&) const () from /usr/lib64/hugin/libhuginbase.so.0.0
#5 0x00007ffff798e100 in void vigra_ext::transformImageIntern<vigra::ConstBasicImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, vigra::RGBValue<unsigned char, 0u, 1u, 2u>**>, vigra::RGBAccessor<vigra::RGBValue<unsigned char, 0u, 1u, 2u> >, vigra::BasicImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, vigra::RGBValue<unsigned char, 0u, 1u, 2u>**>, vigra::RGBAccessor<vigra::RGBValue<unsigned char, 0u, 1u, 2u> >, HuginBase::PTools::Transform const, HuginBase::Photometric::InvResponseTransform<unsigned char, double> const, vigra::BasicImageIterator<unsigned char, unsigned char**>, vigra::StandardValueAccessor<unsigned char>, vigra_ext::interp_cubic>(vigra::triple<vigra::ConstBasicImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, vigra::RGBValue<unsigned char, 0u, 1u, 2u>**>, vigra::ConstBasicImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, vigra::RGBValue<unsigned char, 0u, 1u, 2u>**>, vigra::RGBAccessor<vigra::RGBValue<unsigned char, 0u, 1u, 2u> > >, vigra::triple<vigra::BasicImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, vigra::RGBValue<unsigned char, 0u, 1u, 2u>**>, vigra::BasicImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, vigra::RGBValue<unsigned char, 0u, 1u, 2u>**>, vigra::RGBAccessor<vigra::RGBValue<unsigned char, 0u, 1u, 2u> > >, std::pair<vigra::BasicImageIterator<unsigned char, unsigned char**>, vigra::StandardValueAccessor<unsigned char> >, HuginBase::PTools::Transform const&, HuginBase::Photometric::InvResponseTransform<unsigned char, double> const&, vigra::Diff2D, vigra_ext::interp_cubic, bool, AppBase::MultiProgressDisplay&) () from /usr/lib64/hugin/libhuginbase.so.0.0
#6 0x00007ffff798e293 in vigra_ext::TransformImageIntern<vigra::ConstBasicImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, vigra::RGBValue<unsigned char, 0u, 1u, 2u>**>, vigra::RGBAccessor<vigra::RGBValue<unsigned char, 0u, 1u, 2u> >, vigra::BasicImageIterator<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, vigra::RGBValue<unsigned char, 0u, 1u, 2u>**>, vigra::RGBAccessor<vigra::RGBValue<unsigned char, 0u, 1u, 2u> >, HuginBase::PTools::Transform, HuginBase::Photometric::InvResponseTransform<unsigned char, double>, vigra::BasicImageIterator<unsigned char, unsigned char**>, vigra::StandardValueAccessor<unsigned char>, vigra_ext::interp_cubic>::operator()() () from /usr/lib64/hugin/libhuginbase.so.0.0
#7 0x00007ffff7756855 in boost::function0<void>::operator()() const () from /usr/lib64/hugin/libhuginbase.so.0.0
#8 0x00007ffff5cd556e in ?? () from /usr/lib64/libboost_thread-mt-1_49.so.1.49.0
#9 0x00007ffff4c3ab99 in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff5fc3eed in clone () from /lib64/libc.so.6

Revision history for this message
l_arbalette (larbalette78) wrote :
Revision history for this message
l_arbalette (larbalette78) wrote :
Revision history for this message
tmodes (tmodes) wrote :

That's already fixed in the repository. This is related to a change inside boost.
Update Hugin to 2012.0 (we are currently at RC1, no final yet.)
Or downgrade boost to <1.47 (e.g. 1.46.1)

Changed in hugin:
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.