Bug ID 1023271
Summary align_image_stack crashes on some TIFF images
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter ingham@i-pi.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

align_image_stack crashes (SEGV) on some TIFF images

Reproducible: always with the images that cause the problem.

This might be this bug:
https://bugs.launchpad.net/hugin/+bug/678721
but it seems a bit old unless it is a regression.

$ gdb `which align_image_stack`                      
GNU gdb (GDB; openSUSE Tumbleweed) 7.11.1
Copyright (C) 2016 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-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/align_image_stack...Reading symbols from
/usr/lib/debug/usr/bin/align_image_stack.debug...done.
done.
(gdb) run -c16 -C -l -a ./foo 5d3_128142-128145_01.tif 5d3_128142.tif
Starting program: /usr/bin/align_image_stack -c16 -C -l -a ./foo
5d3_128142-128145_01.tif 5d3_128142.tif
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
vigra::detail::read_image_bands<unsigned char,
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> > > (
    decoder=0x6b5b80, image_iterator=..., image_accessor=...)
    at /usr/include/vigra/impex.hxx:140
140     /usr/include/vigra/impex.hxx: No such file or directory.
(gdb) bt
#0  vigra::detail::read_image_bands<unsigned char,
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> > > (
    decoder=0x6b5b80, image_iterator=..., image_accessor=...)
    at /usr/include/vigra/impex.hxx:140
#1  0x000000000043c545 in
vigra::detail::importImage<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> > > (
    import_info=..., image_iterator=..., image_accessor=...)
    at /usr/include/vigra/impex.hxx:253
#2  0x000000000047fb2f in
vigra::importImage<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> > > (
    image_iterator=..., import_info=..., image_accessor=...)
    at /usr/include/vigra/impex.hxx:797
#3  vigra::importImage<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> > >
(import_info=..., image=...)
    at /usr/include/vigra/impex.hxx:808
#4  main2<vigra::RGBValue<unsigned char, 0u, 1u, 2u> > (
    files=std::vector of length 2, capacity 2 = {...}, param=...)
    at /usr/src/debug/hugin-2016.2.0/src/tools/align_image_stack.cpp:788
#5  0x000000000041b0e5 in main (argc=<optimized out>, argv=0x7fffffffd648)
    at /usr/src/debug/hugin-2016.2.0/src/tools/align_image_stack.cpp:1183
(gdb)

$ rpm -qa | egrep -i 'pano|hugin'
autopano-sift-C-2.5.1-3.37.x86_64
libpano13-3-2.9.19-1.9.x86_64
libpano-utils-2.9.19-1.9.x86_64
libpano13-3-debuginfo-2.9.19-1.9.x86_64
hugin-debuginfo-2016.2.0-1.5.x86_64
hugin-2016.2.0-1.5.x86_64

$ uname -a
Linux Socrates.i-pi.com 4.9.6-1-default #1 SMP PREEMPT Thu Jan 26 09:09:16 UTC
2017 (d1207ac) x86_64 x86_64 x86_64 GNU/Linux


You are receiving this mail because: