Bug 357335 - gwenview crashes every time when picture is opened
Summary: gwenview crashes every time when picture is opened
Status: RESOLVED DUPLICATE of bug 353841
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
: 350897 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-12-30 12:28 UTC by Ales Seifert
Modified: 2017-10-15 13:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ales Seifert 2015-12-30 12:28:55 UTC
Application: gwenview (15.08.3)

Qt Version: 5.5.1
Operating System: Linux 4.1.3-1-desktop x86_64
Distribution: "openSUSE Tumbleweed (20151124) (x86_64)"

-- Information about the crash:
gwenview crashes every time when picture is opened, when opened  without image it keeps running

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fde9d806940 (LWP 24474))]

Thread 3 (Thread 0x7fde85426700 (LWP 24475)):
#0  0x00007fde984fc24d in poll () at /lib64/libc.so.6
#1  0x00007fde909a6432 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fde909a8007 in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fde87556e29 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fde98bec94f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fde92bf64a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fde98504bdd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fdd3c072700 (LWP 24482)):
[KCrash Handler]
#6  0x00007fde9844fd38 in raise () at /lib64/libc.so.6
#7  0x00007fde9845118a in abort () at /lib64/libc.so.6
#8  0x00007fde9848e75a in  () at /lib64/libc.so.6
#9  0x00007fde98494096 in malloc_printerr () at /lib64/libc.so.6
#10 0x00007fde9849487e in _int_free () at /lib64/libc.so.6
#11 0x00007fde9cf6f48d in Gwenview::JpegContent::loadFromData(QByteArray const&, Exiv2::Image*) () at /usr/lib64/libgwenviewlib.so.5
#12 0x00007fde9cf6f623 in Gwenview::JpegContent::loadFromData(QByteArray const&) () at /usr/lib64/libgwenviewlib.so.5
#13 0x00007fde9cf6f7fb in Gwenview::JpegContent::load(QString const&) () at /usr/lib64/libgwenviewlib.so.5
#14 0x00007fde9cf850a3 in  () at /usr/lib64/libgwenviewlib.so.5
#15 0x00007fde9cf8528a in  () at /usr/lib64/libgwenviewlib.so.5
#16 0x00007fde98bec94f in  () at /usr/lib64/libQt5Core.so.5
#17 0x00007fde92bf64a4 in start_thread () at /lib64/libpthread.so.0
#18 0x00007fde98504bdd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fde9d806940 (LWP 24474)):
#0  0x00007fde984fc24d in poll () at /lib64/libc.so.6
#1  0x00007fde926d9264 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fde926d936c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fde98e1152b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007fde98dbb63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007fde98dc32fd in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x0000000000443810 in main ()

Reported using DrKonqi
Comment 1 squan 2016-09-03 17:31:57 UTC
Happens for me too for seveeral weeks now:
Actually, I can successfully start gwenview  with no command line arguments.
Also, the initial  view of recently opened folders properly shows folder icons with image preview overlays.
But on any attempt to open a JPG, a PNG or a folder or even navigating a sub folder from within gwenview, gwenview crashes within a few seconds without ever showing any images, see backtrace at the end.

I just did a "zypper search -i gwenview" revealing
S | Name                  | Summary                                 | Type       
--+-----------------------+-----------------------------------------+------------
i | Gwenview              | A simple image viewer                   | application
  | gwenview              | Simple Image Viewer for KDE             | package    
i | gwenview5             | Simple Image Viewer for KDE             | package
which is a bit confusing, but since 'rpm -q Gwenview' yields "package Gwenview is not installed", hence it seems to be some kind of meta 'package' which does not matter for this bug.

Possible duplicates proposed by the KDE crash assistant are bug 353841, bug 354273, bug 357992 and bug 363141. Two of them are for Ubuntu packages (hence, if this is a versioning or package dependency issue, then at least two distributions get it wrong). 

System info from the Gwenview help dialog is
  openSUSE Tumbleweed with 
  KDE Frameworks 5.25.0
  Qt 5.6.1 (kompiliert gegen 5.6.1)
  Das xcb Fenstersystem
and only 'zypper info gwenview5' reveals the application version
  Repository     : openSUSE:Factory           
  Name           : gwenview5                  
  Version        : 16.08.0-1.1                
  Arch           : x86_64                     
  Vendor         : openSUSE

Backtrace of crashing thread:
Application: Gwenview (gwenview), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbee543c9c0 (LWP 29138))]

Thread 4 (Thread 0x7fbd7c499700 (LWP 29185)):
[KCrash Handler]
#6  0x00007fbedfcac975 in raise () at /lib64/libc.so.6
#7  0x00007fbedfcadd8a in abort () at /lib64/libc.so.6
#8  0x00007fbedfce83d0 in __libc_message () at /lib64/libc.so.6
#9  0x00007fbedfcedbd6 in malloc_printerr () at /lib64/libc.so.6
#10 0x00007fbedfcee3ae in _int_free () at /lib64/libc.so.6
#11 0x00007fbee4b8d2b8 in Gwenview::JpegContent::loadFromData(QByteArray const&, Exiv2::Image*) () at /usr/lib64/libgwenviewlib.so.5
#12 0x00007fbee4b5583a in  () at /usr/lib64/libgwenviewlib.so.5
#13 0x00007fbee4b538e1 in  () at /usr/lib64/libgwenviewlib.so.5
#14 0x00007fbee04525df in  () at /usr/lib64/libQt5Core.so.5
#15 0x00007fbee04562d8 in  () at /usr/lib64/libQt5Core.so.5
#16 0x00007fbed9f2c474 in start_thread () at /lib64/libpthread.so.0
#17 0x00007fbedfd603ed in clone () at /lib64/libc.so.6
Comment 2 null 2017-10-14 12:53:23 UTC
Thanks for reporting. Looking at the backtrace, I strongly suspect this is a problem with the exiv library and therefore a duplicate.

I would encourage you to test Gwenview again with a current/supported version of openSUSE (42.2, 42.3, Tumbleweed). Feel free to reopen if it is still crashing and possibly attach a problematic jpg file so we can reproduce.

*** This bug has been marked as a duplicate of bug 353841 ***
Comment 3 null 2017-10-15 13:27:50 UTC
*** Bug 350897 has been marked as a duplicate of this bug. ***