Bug 257633

Summary: Gwenview Crash When Rotating Images
Product: [Applications] gwenview Reporter: robert.l.kief
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: adaptee
Priority: NOR    
Version: 2.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description robert.l.kief 2010-11-22 19:33:37 UTC
Application: gwenview (2.5.2)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.6-48.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:  Gwenview crashed when I tried to rotate the second of several images in the folder.  This crash happened three times out of three with different images.  I had done a slideshow before trying to rotated the images, with no problems.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc35039f840 (LWP 3506))]

Thread 2 (Thread 0x7fc34204b700 (LWP 3514)):
#0  0x000000369360b8c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000369be72d3b in wait (this=<value optimized out>, mutex=0x83eca8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x83eca8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fc350478542 in Gwenview::SemanticInfoThread::run (this=0x83ec90) at /usr/src/debug/kdegraphics-4.5.3/gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:135
#4  0x000000369be7264e in QThreadPrivate::start (arg=0x83ec90) at thread/qthread_unix.cpp:266
#5  0x0000003693606d5b in start_thread () from /lib64/libpthread.so.0
#6  0x0000003692ee4aad in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc35039f840 (LWP 3506)):
[KCrash Handler]
#6  QUrl::QUrl (this=0x7fffa037b950, other=...) at io/qurl.cpp:4158
#7  0x000000369c91f0c9 in KUrl::KUrl (this=0x7fffa037b950, _u=<value optimized out>) at /usr/src/debug/kdelibs-4.5.3/kdecore/io/kurl.cpp:472
#8  0x00000036a612e2a0 in KFileItem::url (this=<value optimized out>) at /usr/src/debug/kdelibs-4.5.3/kio/kio/kfileitem.cpp:1300
#9  0x00007fc350460d34 in Gwenview::urlForIndex (index=<value optimized out>) at /usr/src/debug/kdegraphics-4.5.3/gwenview/lib/thumbnailview/previewitemdelegate.cpp:112
#10 0x00007fc350460ef3 in Gwenview::PreviewItemDelegate::slotRotateRightClicked (this=0x8a93c0) at /usr/src/debug/kdegraphics-4.5.3/gwenview/lib/thumbnailview/previewitemdelegate.cpp:897
#11 0x00007fc350462184 in Gwenview::PreviewItemDelegate::qt_metacall (this=0x8a93c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa037baa0) at /usr/src/debug/kdegraphics-4.5.3/x86_64-redhat-linux-gnu/gwenview/lib/previewitemdelegate.moc:104
#12 0x000000369bf7002f in QMetaObject::activate (sender=0x8f17c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa037baa0) at kernel/qobject.cpp:3272
#13 0x00000036a221f992 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#14 0x00000036a1f6756b in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at widgets/qabstractbutton.cpp:546
#15 0x00000036a1f68b3b in QAbstractButtonPrivate::click (this=0x8aba30) at widgets/qabstractbutton.cpp:539
#16 0x00000036a1f68dac in QAbstractButton::mouseReleaseEvent (this=0x8f17c0, e=0x7fffa037c430) at widgets/qabstractbutton.cpp:1121
#17 0x00000036a202556a in QToolButton::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qtoolbutton.cpp:721
#18 0x00000036a1c06228 in QWidget::event (this=0x8f17c0, event=0x7fffa037c430) at kernel/qwidget.cpp:8187
#19 0x00000036a1bb4b64 in QApplicationPrivate::notify_helper (this=0x744ff0, receiver=0x8f17c0, e=0x7fffa037c430) at kernel/qapplication.cpp:4396
#20 0x00000036a1bb9e5a in QApplication::notify (this=<value optimized out>, receiver=0x8f17c0, e=0x7fffa037c430) at kernel/qapplication.cpp:3959
#21 0x000000369d420446 in KApplication::notify (this=0x7fffa037d170, receiver=0x8f17c0, event=0x7fffa037c430) at /usr/src/debug/kdelibs-4.5.3/kdeui/kernel/kapplication.cpp:310
#22 0x000000369bf5b7ac in QCoreApplication::notifyInternal (this=0x7fffa037d170, receiver=0x8f17c0, event=0x7fffa037c430) at kernel/qcoreapplication.cpp:732
#23 0x00000036a1bb5b65 in sendEvent (receiver=0x8f17c0, event=0x7fffa037c430, alienWidget=0x8f17c0, nativeWidget=0x83af80, buttonDown=0x36a2682658, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0x8f17c0, event=0x7fffa037c430, alienWidget=0x8f17c0, nativeWidget=0x83af80, buttonDown=0x36a2682658, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#25 0x00000036a1c32d68 in QETWidget::translateMouseEvent (this=0x83af80, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#26 0x00000036a1c314b9 in QApplication::x11ProcessEvent (this=0x7fffa037d170, event=0x7fffa037cd80) at kernel/qapplication_x11.cpp:3536
#27 0x00000036a1c58a52 in x11EventSourceDispatch (s=0x748d00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x0000003692a41e33 in g_main_dispatch (context=0x747220) at gmain.c:2149
#29 g_main_context_dispatch (context=0x747220) at gmain.c:2702
#30 0x0000003692a42610 in g_main_context_iterate (context=0x747220, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#31 0x0000003692a428ad in g_main_context_iteration (context=0x747220, may_block=1) at gmain.c:2843
#32 0x000000369bf868af in QEventDispatcherGlib::processEvents (this=0x72d760, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#33 0x00000036a1c586ee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x000000369bf5ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x000000369bf5ad8c in QEventLoop::exec (this=0x7fffa037d090, flags=...) at kernel/qeventloop.cpp:201
#36 0x000000369bf5f20b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#37 0x000000000043c60f in main (argc=5, argv=0x7fffa037d568) at /usr/src/debug/kdegraphics-4.5.3/gwenview/app/main.cpp:139

This bug may be a duplicate of or related to bug 168838.

Possible duplicates by query: bug 168565.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-04 21:55:15 UTC
Feel free to reopen the report if the crash still happens in recent versions ( KDE SC 4.8.x)
Comment 2 robert.l.kief 2012-07-05 15:19:22 UTC
I'm now using Fedora 17 and tried duplicating this Gwenview bug in Fedora 17.  I tried a slidshow followed by rotating and saving images.  All worked normally.