hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #05916
[Bug 1467678] Re: nona segfaults with PNG and TIFF output
Ok, grafted to 2015.0 branch.
2014.0 is using an internal vigra (very old version). So you did not see
the bug. Pablos old implementation does not work with the newer vigra
version. So Hugin is now using slightly modified impexalpha.hxx from
vigra directly (written by Chris Spiel).
** Changed in: hugin
Status: New => Fix Committed
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1467678
Title:
nona segfaults with PNG and TIFF output
Status in Hugin - Panorama Tools GUI:
Fix Committed
Bug description:
System: fedora f22 x86_64
hugin 2015.0.0 rc1 c48252eb571f
libtiff-4.0.3
libpng-1.6.16
libjpeg-turbo-1.4.0
vigra-1.10.0
I'm getting a segfault from nona with PNG and TIFF output, JPEG is
fine.
This is a simple single image project with JPEG input:
nona -i 0 -m TIFF -o junk project.pto
Segmentation fault (core dumped)
Result is the same with or without -m parameter and with multiple photo projects.
OMP_NUM_THREADS=1 doesn't help. I don't have a suitable GPU so I can't test that.
Thread 1 (Thread 0x7f100c213900 (LWP 3761)):
#0 0x00007f100bbabbc8 in void vigra::detail::exportImage<vigra::Diff2D, vigra::MultiImageVectorMaskAccessor4<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::ConstBasicImageIterator<unsigned char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char> > >(vigra::Diff2D, vigra::Diff2D, vigra::MultiImageVectorMaskAccessor4<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::ConstBasicImageIterator<unsigned char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char> >, vigra::ImageExportInfo const&, vigra::VigraFalseType)
() from /usr/lib64/hugin/libhuginbase.so.0.0
No symbol table info available.
#1 0x00007f100bb9760a in void vigra::exportImageAlpha<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::ConstBasicImageIterator<unsigned char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char> >(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> > >, std::pair<vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char> >, vigra::ImageExportInfo const&, vigra::VigraFalseType) [clone .isra.915] [clone .constprop.1312] () from /usr/lib64/hugin/libhuginbase.so.0.0
No symbol table info available.
#2 0x00007f100bbbe152 in HuginBase::Nona::WeightedStitcher<vigra::BasicImage<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, std::allocator<vigra::RGBValue<unsigned char, 0u, 1u, 2u> > >, vigra::BasicImage<unsigned char, std::allocator<unsigned char> > >::stitch(HuginBase::PanoramaOptions const&, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> >&, std::string const&, HuginBase::Nona::SingleImageRemapper<vigra::BasicImage<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, std::allocator<vigra::RGBValue<unsigned char, 0u, 1u, 2u> > >, vigra::BasicImage<unsigned char, std::allocator<unsigned char> > >&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) () from /usr/lib64/hugin/libhuginbase.so.0.0
No symbol table info available.
#3 0x00007f100bb981e9 in HuginBase::Nona::stitchPanoRGB_8_16(HuginBase::PanoramaData const&, HuginBase::PanoramaOptions const&, AppBase::ProgressDisplay*, std::string const&, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > const&, char const*, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) ()
from /usr/lib64/hugin/libhuginbase.so.0.0
No symbol table info available.
#4 0x00007f100bcd2c9a in HuginBase::Nona::stitchPanorama(HuginBase::PanoramaData const&, HuginBase::PanoramaOptions const&, AppBase::ProgressDisplay*, std::string const&, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > const&, std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&) ()
from /usr/lib64/hugin/libhuginbase.so.0.0
No symbol table info available.
#5 0x00007f100b967c0e in HuginBase::NonaFileOutputStitcher::runStitcher() () from /usr/lib64/hugin/libhuginbase.so.0.0
No symbol table info available.
#6 0x0000000000404d27 in main ()
No symbol table info available.
I'll rebuild and try again with unstripped binaries.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1467678/+subscriptions
References