Bug 363458 - Gwenview crashes on JPEG files
Summary: Gwenview crashes on JPEG files
Status: RESOLVED UPSTREAM
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-05-24 08:43 UTC by Mykola Krachkovsky
Modified: 2019-02-06 19:32 UTC (History)
2 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 Mykola Krachkovsky 2016-05-24 08:43:47 UTC
Application: gwenview (16.07.70)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.22.0
Operating System: Linux 4.1.21-14-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

1. Open Gwenview.
2. Locate folder containing JPEG files.
3. Got crash on thumbnail generating.

or

1. Open JPEG file using Gwenview (or gwenview kpart module in krusader).
2. Got crash too.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f9cafc25700 (LWP 4457)):
#0  0x00007f9cc3570bbd in poll () at /lib64/libc.so.6
#1  0x00007f9cbb39b422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f9cbb39d00f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f9cb1f5d5f9 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f9cc3c74a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f9cbd7f00a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f9cc3578fed in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f9cadc96700 (LWP 4458)):
#0  0x00007f9cc3570bbd in poll () at /lib64/libc.so.6
#1  0x00007f9cbd2d3e64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f9cbd2d3f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f9cc3e8735b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f9cc3e34fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f9cc3c6ff5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f9cc322a225 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f9cc3c74a29 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f9cbd7f00a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f9cc3578fed in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f9b5f86b700 (LWP 4493)):
#0  0x00007f9cbd7f43e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f9cc3c755e8 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f9cc3c719e0 in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f9cc3c74a29 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f9cbd7f00a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f9cc3578fed in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f9b5e238700 (LWP 4494)):
[KCrash Handler]
#6  0x00007f9cc29c88c2 in Exiv2::Exifdatum::Exifdatum(Exiv2::Exifdatum const&) () at /usr/lib64/libexiv2.so.14
#7  0x00007f9cc82ce669 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator=(std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> > const&) (this=<optimized out>) at /usr/include/c++/4.8/bits/stl_list.h:114
#8  0x00007f9cc82ce669 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator=(std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> > const&) (__p=<optimized out>, this=0x7f9b5e2378d0) at /usr/include/c++/4.8/ext/new_allocator.h:120
#9  0x00007f9cc82ce669 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator=(std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> > const&) (this=0x7f9b5e2378d0) at /usr/include/c++/4.8/bits/stl_list.h:505
#10 0x00007f9cc82ce669 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator=(std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> > const&) (__position=..., this=0x7f9b5e2378d0) at /usr/include/c++/4.8/bits/stl_list.h:1561
#11 0x00007f9cc82ce669 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator=(std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> > const&) (this=0x7f9b5e2378d0) at /usr/include/c++/4.8/bits/stl_list.h:1026
#12 0x00007f9cc82ce669 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator=(std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> > const&) (__last=..., __first=<incomplete type>, this=0x7f9b5e2378d0) at /usr/include/c++/4.8/bits/stl_list.h:1491
#13 0x00007f9cc82ce669 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator=(std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> > const&) (__a=..., __last=<incomplete type>, __first=..., this=0x7f9b5e2378d0) at /usr/include/c++/4.8/bits/stl_list.h:627
#14 0x00007f9cc82ce669 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator=(std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> > const&) (this=0x7f9b500045f0, __last=..., __first=..., __position=...) at /usr/include/c++/4.8/bits/stl_list.h:1152
#15 0x00007f9cc82ce669 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator=(std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> > const&) (this=0x7f9b500045f0, __x=std::list = {...}) at /usr/include/c++/4.8/bits/list.tcc:199
#16 0x00007f9cc82cd14c in Gwenview::JpegContent::loadFromData(QByteArray const&, Exiv2::Image*) (this=<optimized out>) at /usr/include/exiv2/exif.hpp:438
#17 0x00007f9cc82cd14c in Gwenview::JpegContent::loadFromData(QByteArray const&, Exiv2::Image*) (this=this@entry=0x7f9b5e237b30, data=..., exiv2Image=exiv2Image@entry=0x7f9b500033e0) at /usr/src/debug/gwenview-16.07.70git.20160421T183416~9e6470b/lib/jpegcontent.cpp:242
#18 0x00007f9cc82cd395 in Gwenview::JpegContent::loadFromData(QByteArray const&) (this=this@entry=0x7f9b5e237b30, data=...) at /usr/src/debug/gwenview-16.07.70git.20160421T183416~9e6470b/lib/jpegcontent.cpp:226
#19 0x00007f9cc82cd57d in Gwenview::JpegContent::load(QString const&) (this=this@entry=0x7f9b5e237b30, path=...) at /usr/src/debug/gwenview-16.07.70git.20160421T183416~9e6470b/lib/jpegcontent.cpp:214
#20 0x00007f9cc82e3c13 in Gwenview::ThumbnailContext::load(QString const&, int) (this=this@entry=0x7f9b5e237ce0, pixPath=..., pixelSize=pixelSize@entry=256) at /usr/src/debug/gwenview-16.07.70git.20160421T183416~9e6470b/lib/thumbnailprovider/thumbnailgenerator.cpp:116
#21 0x00007f9cc82e45b7 in Gwenview::ThumbnailGenerator::run() (this=0x12547e0) at /usr/src/debug/gwenview-16.07.70git.20160421T183416~9e6470b/lib/thumbnailprovider/thumbnailgenerator.cpp:279
#22 0x00007f9cc3c74a29 in  () at /usr/lib64/libQt5Core.so.5
#23 0x00007f9cbd7f00a4 in start_thread () at /lib64/libpthread.so.0
#24 0x00007f9cc3578fed in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f9cc8b868c0 (LWP 4456)):
#0  0x00007f9cbd7f403f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f9cbb39b669 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f9cbb39cd5f in  () at /usr/lib64/libxcb.so.1
#3  0x00007f9cbb39ce72 in xcb_wait_for_reply () at /usr/lib64/libxcb.so.1
#4  0x00007f9cb1f576ba in QXcbConnection::sync() () at /usr/lib64/libQt5XcbQpa.so.5
#5  0x00007f9cb1f763de in  () at /usr/lib64/libQt5XcbQpa.so.5
#6  0x00007f9cb1f76544 in  () at /usr/lib64/libQt5XcbQpa.so.5
#7  0x00007f9cc44fde6d in QBackingStore::beginPaint(QRegion const&) () at /usr/lib64/libQt5Gui.so.5
#8  0x00007f9cc552117e in  () at /usr/lib64/libQt5Widgets.so.5
#9  0x00007f9cc5522519 in  () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007f9cc5541e6f in QWidgetPrivate::syncBackingStore() () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007f9cc5556655 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007f9cc566734b in QMainWindow::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f9cc6b11c37 in KMainWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#14 0x00007f9cc6b4df15 in KXmlGuiWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#15 0x00007f9cc5514e9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f9cc55194fa in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f9cc3e36fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f9cc3e38daa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f9cc3e87cb3 in  () at /usr/lib64/libQt5Core.so.5
#20 0x00007f9cbd2d3c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#21 0x00007f9cbd2d3ed8 in  () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f9cbd2d3f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#23 0x00007f9cc3e8733c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f9cc3e34fdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f9cc3e3cec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#26 0x000000000042d43c in main(int, char**) (argc=1, argv=<optimized out>) at /usr/src/debug/gwenview-16.07.70git.20160421T183416~9e6470b/app/main.cpp:166

Possible duplicates by query: bug 268760, bug 266660, bug 263545.

Reported using DrKonqi
Comment 1 Christoph Feck 2016-05-24 10:43:41 UTC
Crash is in libexiv2.

Please report this issue directly upstream to libexiv2 developers via http://dev.exiv2.org/projects/exiv2/issues