Bug 233919

Summary: Gwenview crashes when you move the folder an open image was in.
Product: [Applications] gwenview Reporter: north
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description north 2010-04-10 07:35:25 UTC
Application that crashed: gwenview
Version of the application: 2.3.4
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32-3-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
1: Open image with gwenview
2: Move folder that image was inside somewhere else
3: Boom (segfault) see attached

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

Thread 2 (Thread 0x7f4f897a5910 (LWP 6640)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f4f9461b499 in QWaitConditionPrivate::wait (this=0x1d78b00, mutex=0x1d78af8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x1d78b00, mutex=0x1d78af8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4f94f7493c in ?? () from /usr/lib/libgwenviewlib.so.4
#4  0x00007f4f9461a4a5 in QThreadPrivate::start (arg=0x1d78ae0) at thread/qthread_unix.cpp:188
#5  0x00007f4f8ee9973a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f4f924cf69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4f95625750 (LWP 6638)):
[KCrash Handler]
#5  0x00007f4f94b37253 in KFileItem::isDir (this=0x1d5aca0) at ../../kio/kio/kfileitem.cpp:969
#6  0x00007f4f94b24e88 in KDirModelPrivate::removeFromNodeHash (this=0x1d5bd80, node=0x1d5aca0, url=...) at ../../kio/kio/kdirmodel.cpp:200
#7  0x00007f4f94b25d9b in KDirModelPrivate::_k_slotDeleteItems (this=0x1d5bd80, items=<value optimized out>) at ../../kio/kio/kdirmodel.cpp:487
#8  0x00007f4f94b27872 in KDirModel::qt_metacall (this=0x1d5aeb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe8d18250) at ./kdirmodel.moc:83
#9  0x00007f4f94f6f6c0 in ?? () from /usr/lib/libgwenviewlib.so.4
#10 0x00007f4f94714df2 in QMetaObject::activate (sender=0x1d5a6e0, from_signal_index=<value optimized out>, to_signal_index=17, argv=0x0) at kernel/qobject.cpp:3112
#11 0x00007f4f94b0b635 in KDirLister::itemsDeleted (this=0x1d5aca0, _t1=<value optimized out>) at ./kdirlister.moc:289
#12 0x00007f4f94b0c371 in KDirLister::Private::emitItemsDeleted (this=0x1d5a3d0, _items=<value optimized out>) at ../../kio/kio/kdirlister.cpp:2351
#13 0x00007f4f94b1b2ae in KDirListerCache::itemsDeleted (this=0x1d5a080, listers=<value optimized out>, deletedItems=...) at ../../kio/kio/kdirlister.cpp:1697
#14 0x00007f4f94b1ccea in KDirListerCache::slotFilesRemoved (this=0x1d5a080, fileList=<value optimized out>) at ../../kio/kio/kdirlister.cpp:808
#15 0x00007f4f94b1d174 in KDirListerCache::slotFilesRemoved (this=0x1d5a080, fileList=<value optimized out>) at ../../kio/kio/kdirlister.cpp:763
#16 0x00007f4f94b1dad0 in KDirListerCache::qt_metacall (this=0x1d5a080, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe8d186c0) at ./kdirlister_p.moc:92
#17 0x00007f4f94714df2 in QMetaObject::activate (sender=0x1d8ab10, from_signal_index=<value optimized out>, to_signal_index=9, argv=0x0) at kernel/qobject.cpp:3112
#18 0x00007f4f94b28db5 in OrgKdeKDirNotifyInterface::FilesRemoved (this=0x1d5aca0, _t1=<value optimized out>) at ./kdirnotify.moc:125
#19 0x00007f4f94b28f30 in OrgKdeKDirNotifyInterface::qt_metacall (this=0x1d8ab10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe8d187c0) at ./kdirnotify.moc:83
#20 0x00007f4f8f7a7b83 in QDBusConnectionPrivate::deliverCall (this=0x1d05200, object=0x1d8ab10, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:891
#21 0x00007f4f8f7af35f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#22 0x00007f4f9470f6c8 in QObject::event (this=0x1d8ab10, e=0x21ce740) at kernel/qobject.cpp:1110
#23 0x00007f4f92c4001d in QApplicationPrivate::notify_helper (this=0x1c6cb40, receiver=0x1d8ab10, e=0x21ce740) at kernel/qapplication.cpp:4065
#24 0x00007f4f92c4807a in QApplication::notify (this=0x7fffe8d193e0, receiver=0x1d8ab10, e=0x21ce740) at kernel/qapplication.cpp:4030
#25 0x00007f4f93d24de6 in KApplication::notify (this=0x7fffe8d193e0, receiver=0x1d8ab10, event=0x21ce740) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x00007f4f946ffc9c in QCoreApplication::notifyInternal (this=0x7fffe8d193e0, receiver=0x1d8ab10, event=0x21ce740) at kernel/qcoreapplication.cpp:610
#27 0x00007f4f947008e4 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x1c53f40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1c53f40) at kernel/qcoreapplication.cpp:1247
#29 0x00007f4f947287d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#30 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#31 0x00007f4f8f0ea90e in g_main_dispatch (context=0x1c6f520) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:1960
#32 IA__g_main_context_dispatch (context=0x1c6f520) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2513
#33 0x00007f4f8f0ee2c8 in g_main_context_iterate (context=0x1c6f520, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2591
#34 0x00007f4f8f0ee3f0 in IA__g_main_context_iteration (context=0x1c6f520, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#35 0x00007f4f9472839c in QEventDispatcherGlib::processEvents (this=0x1c53ba0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#36 0x00007f4f92cd6f1f in QGuiEventDispatcherGlib::processEvents (this=0x1d5aca0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x00007f4f946fe562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f4f946fe934 in QEventLoop::exec (this=0x7fffe8d19330, flags=...) at kernel/qeventloop.cpp:201
#39 0x00007f4f94700ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#40 0x0000000000440640 in _start ()
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2010-04-11 00:33:17 UTC
Related crashes are being tracked at bug 196695 (seems to be fixed in KDE SC 4.4)
Regards

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