gwenview aborts with a std::out_of_range exception raised in libexiv2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
exiv2 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gwenview (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This bug seems to be a regression of KDE bug 441121: https:/
When opening certain JPG files, gwenview aborts with an uncaught C++ exception std::out_of_range
System is Ubuntu 18.04.6 LTS x86 with up-to-date packages.
Terminal output and gdb backtrace follow.
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::at: __n (which is 19) >= this->size() (which is 19)
Thread 1 "gwenview" received signal SIGABRT, Aborted.
0xf7fd5079 in __kernel_vsyscall ()
(gdb) bt
#0 0xf7fd5079 in __kernel_vsyscall ()
#1 0xf5d1ea02 in __libc_
#2 __GI_raise (sig=6) at ../sysdeps/
#3 0xf5d1fe91 in __GI_abort () at abort.c:79
#4 0xf5f3b97d in ?? () from /usr/lib/
#5 0xf5f43174 in ?? () from /usr/lib/
#6 0xf5f431dd in std::terminate() () from /usr/lib/
#7 0xf5f434dc in __cxa_throw () from /usr/lib/
#8 0xf5f6defa in std::__
#9 0xf5881da3 in ?? () from /usr/lib/
Packages:
libexiv2-14:i386 0.25-3.
gwenview 4:17.12.3-0ubuntu1 i386
The problem seems not to appear on x86_64!
On another system gwenview opens the very same file.
Working packages on x86_64: 1ubuntu0. 18.04.1 amd64
libexiv2-14:amd64 0.25-3.
gwenview 4:17.12.3-0ubuntu1 amd64
Non-working packages on x86: 1ubuntu0. 18.04.1 i386
libexiv2-14:i386 0.25-3.
gwenview 4:17.12.3-0ubuntu1 i386
(sorry they were truncated in the bug description)