Improper handling of values in HuginBase::PTools::Transform::transform causes assertion error in libpano13
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hugin |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi there
We just want to share that the latest version (2022.0.0) of pto_merge causes reaching assertion error, which is improper to the normal execution.
The stack execution from the function HuginBase:
Here is the output of gdb results.
### Bug Report
(gdb) r
Starting program: /home/ubuntu/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
pto_merge: math.c:846: erect_lambertaz
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/
50 ../sysdeps/
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/
#1 0x00007ffff48e9859 in __GI_abort () at abort.c:79
#2 0x00007ffff48e9729 in __assert_fail_base (
fmt=
assertion=
function=
#3 0x00007ffff48fafd6 in __GI___assert_fail (assertion=
file=
at assert.c:101
#4 0x00007ffff5d5ce68 in erect_lambertaz
#5 0x00007ffff5d5b8d3 in execute_stack_new () from /lib/x86_
#6 0x00007ffff733a368 in **HuginBase:
dest=..., src=...)
at /home/ubuntu/
#7 0x00007ffff724a33f in HuginBase:
at /home/ubuntu/
#8 0x00007ffff724c31e in HuginBase:
params=
at /home/ubuntu/
#9 0x00007ffff724c859 in HuginBase:
at /home/ubuntu/
#10 0x00007ffff71cd2ba in HuginBase:
ptoVersion=
at /home/ubuntu/
#11 0x00007ffff71f7619 in HuginBase:
documentTyp
#12 0x000055555555e976 in main (argc=<optimized out>, argv=0x7fffffff
at /usr/include/
### Envionment
OS: Ubuntu 20.04.5 LTS x86_64
Release: hugin 2022.0.0
Program: pto_merge
libhuginbase: 2020.0.0 (retrieved and compiled from source code)
libpano13: 2.9.19
To reproduce the problem, we need to build hugin:
sudo cmake -DCMAKE_
### How to reproduce
$ pto_merge poc-file *.jpg
(*.jpg any name of jpg file including asterisk(*))
poc-file is attached.
information type: | Private Security → Public Security |
Changed in hugin: | |
status: | Fix Committed → Fix Released |
Fixed in repository.