[Touch-packages] [Bug 1978307] Re: gwenview aborts with a std::out_of_range exception raised in libexiv2

2022-06-19 Thread simonschmeisser
Please try to improve the quality of the backtrace by installing the
debug packages for libexiv2 (and possibly gwenview) and providing more
lines of output

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to exiv2 in Ubuntu.
https://bugs.launchpad.net/bugs/1978307

Title:
  gwenview aborts with a std::out_of_range exception raised in libexiv2

Status in exiv2 package in Ubuntu:
  New
Status in gwenview package in Ubuntu:
  New

Bug description:
  This bug seems to be a regression of KDE bug 441121:
  https://bugs.kde.org/show_bug.cgi?id=441121

  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_signal_restore_set (set=0xbe8c) at 
../sysdeps/unix/sysv/linux/nptl-signals.h:80
  #2  __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:48
  #3  0xf5d1fe91 in __GI_abort () at abort.c:79
  #4  0xf5f3b97d in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
  #5  0xf5f43174 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
  #6  0xf5f431dd in std::terminate() () from 
/usr/lib/i386-linux-gnu/libstdc++.so.6
  #7  0xf5f434dc in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
  #8  0xf5f6defa in std::__throw_out_of_range_fmt(char const*, ...) () from 
/usr/lib/i386-linux-gnu/libstdc++.so.6
  #9  0xf5881da3 in ?? () from /usr/lib/i386-linux-gnu/libexiv2.so.14

  Packages:
  libexiv2-14:i3860.25-3.1ubuntu0.18.0 i386 
  gwenview4:17.12.3-0ubuntu1   i386

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/exiv2/+bug/1978307/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1941752] Re: Regression: exiv2 0.27.3-3ubuntu1.5 makes Gwenview crash when opening images exported by darktable

2021-12-30 Thread simonschmeisser
This is a debdiff applicable for focal-security. This backports an
upstream fix for the regression introduced when fixing CVE-2021-37620. I
build it locally in pbuilder and it fixes the crash in gwenview as
expected.

** Patch added: "1-0.27.2-8ubuntu2.7.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/exiv2/+bug/1941752/+attachment/5550448/+files/1-0.27.2-8ubuntu2.7.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to exiv2 in Ubuntu.
https://bugs.launchpad.net/bugs/1941752

Title:
  Regression: exiv2 0.27.3-3ubuntu1.5 makes Gwenview crash when opening
  images exported by darktable

Status in Gwenview:
  Fix Released
Status in exiv2 package in Ubuntu:
  Confirmed
Status in gwenview package in Ubuntu:
  Confirmed

Bug description:
  Since the recent security update of exiv2, Gwenview crashes when
  trying to open image files that got exported by darktable.

  Steps to reproduce:

  * Make a test installation of Kubuntu 21.04 in VirtualBox
  * Install all updates
  * Install darktable
  * Copy one of the images in /usr/share/wallpapers (or any other image) to 
your home directory and open it with darktable
  * Within darktable, export a copy of the image (no need to do any actual 
modifications)
  * Try to open that copy with Gwenview. Gwenview will crash.

  I'm attaching a crash report hinting that this is related to exiv2.

  Temporary workaround:
  If I downgrade libexiv2-27 to 0.27.3-3ubuntu1.4, Gwenview doesn't crash, so 
it seems the crash is related to changes in 0.27.3-3ubuntu1.5.

  I don't know if the underlying cause is actually some bug in exiv2,
  Gwenview or darktable.

  Kind regards, Jan

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: libexiv2-27 0.27.3-3ubuntu1.5
  ProcVersionSignature: Ubuntu 5.11.0-31.33-generic 5.11.22
  Uname: Linux 5.11.0-31-generic x86_64
  ApportVersion: 2.20.11-0ubuntu65.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: KDE
  Date: Thu Aug 26 15:16:47 2021
  InstallationDate: Installed on 2021-08-26 (0 days ago)
  InstallationMedia: Kubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  SourcePackage: exiv2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gwenview/+bug/1941752/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp