Bug 389486

Summary: gwenview crached when trying to save rotated images
Product: [Applications] gwenview Reporter: pceres <pasquale_c>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: null
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pceres 2018-01-26 23:00:25 UTC
Application: gwenview (4.14.0 pre)
KDE Platform Version: 4.14.21
Qt Version: 4.8.7
Operating System: Linux 4.4.14 x86_64
Distribution (Platform): Slackware Packages

-- Information about the crash:
I was rotating multiple images that had been shot with the wrong orientation. After rotating a certain number, I clicked on "save all" button, and the program crashed. This is almost sure to happen, provided a high number of rotated images get saved (> 50 )

The crash can be reproduced sometimes.

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

Thread 3 (Thread 0x7fb47ffff700 (LWP 6640)):
#0  0x00007fb4a292636f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fb4a2bc18d4 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/qt/lib/libQtCore.so.4
#2  0x00007fb4a333eb99 in  () at /usr/lib64/libgwenviewlib.so.4
#3  0x00007fb4a2bc13bc in  () at /usr/lib64/qt/lib/libQtCore.so.4
#4  0x00007fb4a2920684 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fb49e6a1efd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fb487721700 (LWP 6626)):
#0  0x00007fb49e69630d in poll () at /lib64/libc.so.6
#1  0x00007fb49bb59954 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fb49bb59a5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fb4a2cf50ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#4  0x00007fb4a2cc55d1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#5  0x00007fb4a2cc58e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#6  0x00007fb4a2bbec39 in QThread::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#7  0x00007fb4a2ca6733 in  () at /usr/lib64/qt/lib/libQtCore.so.4
#8  0x00007fb4a2bc13bc in  () at /usr/lib64/qt/lib/libQtCore.so.4
#9  0x00007fb4a2920684 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fb49e6a1efd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fb4a374f880 (LWP 6625)):
[KCrash Handler]
#6  0x00007fb49e5d03f8 in raise () at /lib64/libc.so.6
#7  0x00007fb49e5d1ffa in abort () at /lib64/libc.so.6
#8  0x00007fb49e6126f9 in  () at /lib64/libc.so.6
#9  0x00007fb49e61af4a in _int_free () at /lib64/libc.so.6
#10 0x00007fb49e61ec1c in free () at /lib64/libc.so.6
#11 0x00007fb4a32ebeed in Gwenview::Document::memoryUsage() const () at /usr/lib64/libgwenviewlib.so.4
#12 0x0000000000454f78 in  ()
#13 0x00000000004564ad in  ()
#14 0x00007fb4a2cd9e30 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/qt/lib/libQtCore.so.4
#15 0x00007fb4a32ef60d in Gwenview::DocumentFactory::slotSaved(KUrl const&, KUrl const&) () at /usr/lib64/libgwenviewlib.so.4
#16 0x00007fb4a2cd9e30 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/qt/lib/libQtCore.so.4
#17 0x00007fb4a32ebb6a in Gwenview::Document::saved(KUrl const&, KUrl const&) () at /usr/lib64/libgwenviewlib.so.4
#18 0x00007fb4a32ec0a1 in Gwenview::Document::slotSaveResult(KJob*) () at /usr/lib64/libgwenviewlib.so.4
#19 0x00007fb4a2cd9e30 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/qt/lib/libQtCore.so.4
#20 0x00007fb49f5bb352 in KJob::result(KJob*) () at /usr/lib64/libkdecore.so.5
#21 0x00007fb49f5bb390 in KJob::emitResult() () at /usr/lib64/libkdecore.so.5
#22 0x00007fb4a32f71f8 in Gwenview::SaveJob::finishSave() () at /usr/lib64/libgwenviewlib.so.4
#23 0x00007fb4a2cd9e30 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/qt/lib/libQtCore.so.4
#24 0x00007fb4a2bb1777 in QFutureWatcherBase::event(QEvent*) () at /usr/lib64/qt/lib/libQtCore.so.4
#25 0x00007fb49ffd648c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#26 0x00007fb49ffdcf5c in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#27 0x00007fb4a0d228ea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#28 0x00007fb4a2cc6c0d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtCore.so.4
#29 0x00007fb4a2cc9e6e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/qt/lib/libQtCore.so.4
#30 0x00007fb4a2cf4f3e in  () at /usr/lib64/qt/lib/libQtCore.so.4
#31 0x00007fb49bb59787 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#32 0x00007fb49bb599b8 in  () at /usr/lib64/libglib-2.0.so.0
#33 0x00007fb49bb59a5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#34 0x00007fb4a2cf50ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#35 0x00007fb4a00799e6 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#36 0x00007fb4a2cc55d1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#37 0x00007fb4a2cc58e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#38 0x00007fb4a048a04c in QDialog::exec() () at /usr/lib64/qt/lib/libQtGui.so.4
#39 0x00000000004541b6 in  ()
#40 0x000000000042e74d in  ()
#41 0x00007fb4a2cd9e30 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/qt/lib/libQtCore.so.4
#42 0x00000000004564d8 in  ()
#43 0x00007fb4a2cd9e30 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/qt/lib/libQtCore.so.4
#44 0x00007fb4a0637532 in QAbstractButton::clicked(bool) () at /usr/lib64/qt/lib/libQtGui.so.4
#45 0x00007fb4a038f763 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#46 0x00007fb4a0390954 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#47 0x00007fb4a0390a44 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#48 0x00007fb4a044bd9a in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#49 0x00007fb4a00294d0 in QWidget::event(QEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#50 0x00007fb49ffd648c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#51 0x00007fb49ffdd0c3 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#52 0x00007fb4a0d228ea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#53 0x00007fb4a2cc6c0d in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtCore.so.4
#54 0x00007fb49ffdc75d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/qt/lib/libQtGui.so.4
#55 0x00007fb4a0053af9 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#56 0x00007fb4a0051df5 in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#57 0x00007fb4a0079942 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#58 0x00007fb49bb59787 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#59 0x00007fb49bb599b8 in  () at /usr/lib64/libglib-2.0.so.0
#60 0x00007fb49bb59a5c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#61 0x00007fb4a2cf50ae in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#62 0x00007fb4a00799e6 in  () at /usr/lib64/qt/lib/libQtGui.so.4
#63 0x00007fb4a2cc55d1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#64 0x00007fb4a2cc58e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#65 0x00007fb4a2ccaec9 in QCoreApplication::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#66 0x0000000000429808 in  ()
#67 0x00007fb49e5bb7d0 in __libc_start_main () at /lib64/libc.so.6
#68 0x0000000000429ac9 in _start ()

Reported using DrKonqi
Comment 1 null 2018-01-27 07:30:39 UTC

*** This bug has been marked as a duplicate of bug 277384 ***