Bug 442103

Summary: Gwenview crashes when started by clicking on .png file in Dolphin
Product: [Applications] gwenview Reporter: Jim Cunning <jim>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: REPORTED ---    
Severity: crash CC: ashark, meven29
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Crash backtrace

Description Jim Cunning 2021-09-07 01:39:10 UTC
Created attachment 141349 [details]
Crash backtrace

SUMMARY


STEPS TO REPRODUCE
1. Open a directory in Dolphin
2. Click on a .png image file

OBSERVED RESULT
Gwenview briefly displays image then closes with crash report

EXPECTED RESULT
Display of .png image

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.11.0-27-generic
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 15.5 GiB of RAM

ADDITIONAL INFORMATION
Comment 1 Andrew Shark 2023-08-22 21:22:34 UTC
Does it happen with all png files? Please check with the current version of the app.
Comment 2 Andrew Shark 2023-08-22 23:14:38 UTC
Similar bug: Bug 443460
Comment 3 Méven Car 2023-11-26 14:08:36 UTC
Thread 1 (Thread 0x7f4260141440 (LWP 226577)):
[KCrash Handler]
[...]
#14 0x00007f426557c60f in Exiv2::Xmpdatum::write(std::ostream&, Exiv2::ExifData const*) const () from /lib/x86_64-linux-gnu/libexiv2.so.27
#15 0x00007f4267a72fd9 in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#16 0x00007f4267a6ef23 in Gwenview::ImageMetaInfoModel::setExiv2Image(Exiv2::Image const*) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#17 0x00007f4267a2b470 in Gwenview::Document::setExiv2Image(std::unique_ptr<Exiv2::Image, std::default_delete<Exiv2::Image> >) () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5

[...]

It seems to be due to the exiv data of the file, could you send the file ?
Comment 4 Jim Cunning 2023-11-26 19:26:49 UTC
    I did not retain the file(s) causing the crash behavior, or more
   likely cannot find them now, as my original bug report was more than
   two years ago. If I can find a file that demonstrates the problem, I
   will update the bug report.

   On 11/26/23 06:08, Méven Car wrote:

     https://bugs.kde.org/show_bug.cgi?id=442103          
     Méven Car      <meven29@gmail.com> [1]      changed:
     
                What    |Removed                     |Added
     ----------------------------------------------------------------------------
                      CC|                            |     meven29@gmail.com [1]     
     --- Comment #3 from Méven Car      <meven29@gmail.com> [1]      ---
     Thread 1 (Thread 0x7f4260141440 (LWP 226577)):
     [KCrash Handler]
     [...]
     #14 0x00007f426557c60f in Exiv2::Xmpdatum::write(std::ostream&, Exiv2::ExifData
     const*) const () from /lib/x86_64-linux-gnu/libexiv2.so.27
     #15 0x00007f4267a72fd9 in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
     #16 0x00007f4267a6ef23 in
     Gwenview::ImageMetaInfoModel::setExiv2Image(Exiv2::Image const*) () from
     /lib/x86_64-linux-gnu/libgwenviewlib.so.5
     #17 0x00007f4267a2b470 in
     Gwenview::Document::setExiv2Image(std::unique_ptr<Exiv2::Image,
     std::default_delete<Exiv2::Image> >) () from
     /lib/x86_64-linux-gnu/libgwenviewlib.so.5
     
     [...]
     
     It seems to be due to the exiv data of the file, could you send the file ?


   


   1. mailto:meven29@gmail.com