Bug 346263 - gwenview crash after rotating twice
Summary: gwenview crash after rotating twice
Status: RESOLVED DUPLICATE of bug 333834
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
Depends on:
Blocks:
 
Reported: 2015-04-16 13:18 UTC by Nico Kruber
Modified: 2017-07-30 10:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Kruber 2015-04-16 13:18:25 UTC
Application: gwenview (4.14.0 pre)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.16.7-13-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

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

in order to rotate a 180° images to its correct orientation I clicked the "rotate left" button twice - the second time before the first rotation actually finished
-> then, gwenview crashed

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

Thread 5 (Thread 0x7f2444e5c700 (LWP 26820)):
#0  0x00007f24576f9904 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f24576b74f9 in g_main_context_query () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f24576b7b52 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f24576b7cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f245df230de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f24400008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f245def4e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2444e5bd20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f245def5165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2444e5bd20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f245ddf20bf in QThread::exec() (this=this@entry=0x180bdb0) at thread/qthread.cpp:538
#8  0x00007f245ded6783 in QInotifyFileSystemWatcherEngine::run() (this=0x180bdb0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f245ddf479f in QThreadPrivate::start(void*) (arg=0x180bdb0) at thread/qthread_unix.cpp:349
#10 0x00007f2457ff10a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f245bb7e06d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f2437b2f700 (LWP 26833)):
#0  0x00007f2457ff505f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f245ddf4c86 in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x18e4fc0) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f245ddf4c86 in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x18e15d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f245ea1b0b3 in  () at /usr/lib64/libgwenviewlib.so.4
#4  0x00007f245ddf479f in QThreadPrivate::start(void*) (arg=0x18e1570) at thread/qthread_unix.cpp:349
#5  0x00007f2457ff10a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f245bb7e06d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f243ffff700 (LWP 27292)):
#0  0x00007f2457ff5408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f245ddf4c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x21b43b0) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f245ddf4c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x23c2f00, mutex=mutex@entry=0x22bcdc8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f245dde87ba in QThreadPoolThread::run() (this=0x23c2ef0) at concurrent/qthreadpool.cpp:142
#4  0x00007f245ddf479f in QThreadPrivate::start(void*) (arg=0x23c2ef0) at thread/qthread_unix.cpp:349
#5  0x00007f2457ff10a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f245bb7e06d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f243732e700 (LWP 27677)):
#0  0x00007f2457ff5408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f245ddf4c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x24745e00) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f245ddf4c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x136b8e00, mutex=mutex@entry=0x22bcdc8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f245dde87ba in QThreadPoolThread::run() (this=0x136b8df0) at concurrent/qthreadpool.cpp:142
#4  0x00007f245ddf479f in QThreadPrivate::start(void*) (arg=0x136b8df0) at thread/qthread_unix.cpp:349
#5  0x00007f2457ff10a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f245bb7e06d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f245f0a5880 (LWP 26819)):
[KCrash Handler]
#5  0x00007f245defc83e in QMetaObject::cast(QObject*) const (this=0x7f245ec6d200, obj=0x41) at kernel/qmetaobject.cpp:274
#6  0x00007f245e9ca13f in  () at /usr/lib64/libgwenviewlib.so.4
#7  0x00007f245e9cb7dd in Gwenview::Document::prepareDownSampledImageForZoom(double) () at /usr/lib64/libgwenviewlib.so.4
#8  0x00007f245ea043fa in Gwenview::ImageScaler::doScale() () at /usr/lib64/libgwenviewlib.so.4
#9  0x00007f245e9e3e74 in Gwenview::RasterImageView::updateBuffer(QRegion const&) () at /usr/lib64/libgwenviewlib.so.4
#10 0x00007f245e9e3fb1 in Gwenview::RasterImageView::onZoomChanged() () at /usr/lib64/libgwenviewlib.so.4
#11 0x00007f245e9d5ff0 in  () at /usr/lib64/libgwenviewlib.so.4
#12 0x00007f245e9e3ba1 in Gwenview::RasterImageView::updateImageRect(QRect const&) () at /usr/lib64/libgwenviewlib.so.4
#13 0x00007f245e9e5839 in  () at /usr/lib64/libgwenviewlib.so.4
#14 0x00007f245df0a1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x24687cb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffe68002cc0) at kernel/qobject.cpp:3576
#15 0x00007f245e9c8a95 in Gwenview::Document::imageRectUpdated(QRect const&) () at /usr/lib64/libgwenviewlib.so.4
#16 0x00007f245df0e59e in QObject::event(QEvent*) (this=0x24687cb0, e=<optimized out>) at kernel/qobject.cpp:1231
#17 0x00007f245c7ee76c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#18 0x00007f245c7f4cad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#19 0x00007f245d506cea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#20 0x00007f245def62ad in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe68003340, receiver=receiver@entry=0x24687cb0, event=event@entry=0x7f241801f5e0) at kernel/qcoreapplication.cpp:953
#21 0x00007f245def957d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f241801f5e0, receiver=0x24687cb0) at kernel/qcoreapplication.h:231
#22 0x00007f245def957d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1625860) at kernel/qcoreapplication.cpp:1577
#23 0x00007f245def9a23 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#24 0x00007f245df238fe in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at kernel/qcoreapplication.h:236
#25 0x00007f245df238fe in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x16b6ff0) at kernel/qeventdispatcher_glib.cpp:300
#26 0x00007f24576b7a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#27 0x00007f24576b7c48 in  () at /usr/lib64/libglib-2.0.so.0
#28 0x00007f24576b7cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#29 0x00007f245df230be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x162b100, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#30 0x00007f245c88b676 in  () at /usr/lib64/libQtGui.so.4
#31 0x00007f245def4e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe680032e0, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f245def5165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe680032e0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f245defa5b9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1225
#34 0x0000000000429ded in  ()
#35 0x00007f245babab05 in __libc_start_main () at /lib64/libc.so.6
#36 0x000000000042a092 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-07-30 10:01:07 UTC
*** This bug has been marked as a duplicate of bug 333834 ***