Bug 301780

Summary: Gwenview (KDE 4.8.4) crashes on folders containing images
Product: [Applications] gwenview Reporter: Ingo Strauch <brack>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: 2.8.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ingo Strauch 2012-06-12 21:14:26 UTC
Application: gwenview (2.8.4)
KDE Platform Version: 4.8.4 (4.8.4) "release 511"
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.9-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
Gwenview was updated along the update of KDE to 4.8.4 two days ago and today I executed it for the first time after the update.

Starting gwenview from the KDE menu works when nothing is automatically shown, but as soon as I open a folder that actually contains image files, gwenview always crashes.

I'm using the packages compiled in the KDE:/Release:/48/openSUSE_12.1 repository of the opensuse build service.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f1e6d548700 (LWP 24688)):
#0  0x00007f1e7be1511f in __pthread_mutex_unlock_usercnt (mutex=0x7f1e680009a8, decr=0) at pthread_mutex_unlock.c:52
#1  0x00007f1e79ab2f25 in g_main_context_query (context=0x7f1e680009a0, max_priority=<optimized out>, timeout=0x7f1e6d547ccc, fds=<optimized out>, n_fds=2) at gmain.c:2856
#2  0x00007f1e79ab399a in g_main_context_iterate (context=0x7f1e680009a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3055
#3  0x00007f1e79ab3f59 in g_main_context_iteration (context=0x7f1e680009a0, may_block=1) at gmain.c:3136
#4  0x00007f1e7fb4fe36 in QEventDispatcherGlib::processEvents (this=0x7f1e680008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f1e7fb1f842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1e7fb1fa97 in QEventLoop::exec (this=0x7f1e6d547df0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f1e7fa1f5f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f1e7faff62f in QInotifyFileSystemWatcherEngine::run (this=0x88f2e0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f1e7fa2261b in QThreadPrivate::start (arg=0x88f2e0) at thread/qthread_unix.cpp:307
#10 0x00007f1e7be11f05 in start_thread (arg=0x7f1e6d548700) at pthread_create.c:301
#11 0x00007f1e7d6ac10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f1e677fe700 (LWP 24695)):
#0  0x00007f1e7d6a2ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1e79ab3a98 in g_main_context_poll (n_fds=1, fds=0x7f1e580013e0, timeout=-1, context=0x7f1e580009a0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7f1e580009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007f1e79ab3f59 in g_main_context_iteration (context=0x7f1e580009a0, may_block=1) at gmain.c:3136
#4  0x00007f1e7fb4fe36 in QEventDispatcherGlib::processEvents (this=0x7f1e580008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f1e7fb1f842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1e7fb1fa97 in QEventLoop::exec (this=0x7f1e677fde20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f1e7fa1f5f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f1e7fa2261b in QThreadPrivate::start (arg=0x7f1e60002b30) at thread/qthread_unix.cpp:307
#9  0x00007f1e7be11f05 in start_thread (arg=0x7f1e677fe700) at pthread_create.c:301
#10 0x00007f1e7d6ac10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f1e80cfa760 (LWP 24684)):
[KCrash Handler]
#6  0x00007f1e7eadd475 in KServiceTypeTrader::defaultOffers (this=<optimized out>, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:116
#7  0x00007f1e7eaddc21 in KServiceTypeTrader::query (this=0xdc1890, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kservicetypetrader.cpp:141
#8  0x00007f1e802065f9 in KImageIO::mimeTypes (mode=KImageIO::Reading) at /usr/src/debug/kdelibs-4.8.4/kio/kio/kimageio.cpp:68
#9  0x00007f1e806231f0 in rasterImageMimeTypes () at /usr/src/debug/gwenview-4.8.4/lib/mimetypeutils.cpp:69
#10 Gwenview::MimeTypeUtils::rasterImageMimeTypes () at /usr/src/debug/gwenview-4.8.4/lib/mimetypeutils.cpp:65
#11 0x00007f1e806233ad in Gwenview::MimeTypeUtils::mimeTypeKind (mimeType=...) at /usr/src/debug/gwenview-4.8.4/lib/mimetypeutils.cpp:129
#12 0x00007f1e806234eb in Gwenview::MimeTypeUtils::fileItemKind (item=<optimized out>) at /usr/src/debug/gwenview-4.8.4/lib/mimetypeutils.cpp:150
#13 0x00007f1e8062157e in Gwenview::SortedDirModel::filterAcceptsRow (this=0x82b9e0, row=0, parent=...) at /usr/src/debug/gwenview-4.8.4/lib/semanticinfo/sorteddirmodel.cpp:195
#14 0x00007f1e7e3f6e86 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x7bbb60, source_parent=..., start=<optimized out>, end=108, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:769
#15 0x00007f1e7e3f716f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x7bbb60, source_parent=<optimized out>, start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1280
#16 0x00007f1e7fb34c41 in QMetaObject::activate (sender=0x6f8840, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7213c7c0) at kernel/qobject.cpp:3556
#17 0x00007f1e7fb81654 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=108) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#18 0x00007f1e7fb1aadd in QAbstractItemModel::endInsertRows (this=0x6f8840) at kernel/qabstractitemmodel.cpp:2433
#19 0x00007f1e801de2c5 in KDirModelPrivate::_k_slotNewItems (this=0x7cf5d0, directoryUrl=<optimized out>, items=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/kio/kio/kdirmodel.cpp:441
#20 0x00007f1e7fb34c41 in QMetaObject::activate (sender=0x82c8e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7213cd60) at kernel/qobject.cpp:3556
#21 0x00007f1e801c535a in KDirLister::itemsAdded (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/build/kio/kdirlister.moc:288
#22 0x00007f1e801c5881 in KDirLister::Private::emitItems (this=0x82b270) at /usr/src/debug/kdelibs-4.8.4/kio/kio/kdirlister.cpp:2478
#23 0x00007f1e801cae76 in KDirListerCache::slotEntries (this=0x82c220, job=<optimized out>, entries=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/kio/kio/kdirlister.cpp:1233
#24 0x00007f1e7fb34c41 in QMetaObject::activate (sender=0xb7e520, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7213d1a0) at kernel/qobject.cpp:3556
#25 0x00007f1e801aee14 in KIO::ListJob::entries (this=<optimized out>, _t1=0xb7e520, _t2=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/build/kio/jobclasses.moc:965
#26 0x00007f1e801b40eb in KIO::ListJobPrivate::slotListEntries (this=0xbaa4d0, list=...) at /usr/src/debug/kdelibs-4.8.4/kio/kio/job.cpp:2580
#27 0x00007f1e7fb34c41 in QMetaObject::activate (sender=0x922690, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7213d490) at kernel/qobject.cpp:3556
#28 0x00007f1e802558f5 in KIO::SlaveInterface::listEntries (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/build/kio/slaveinterface.moc:199
#29 0x00007f1e80258b78 in KIO::SlaveInterface::dispatch (this=0x922690, _cmd=<optimized out>, rawdata=...) at /usr/src/debug/kdelibs-4.8.4/kio/kio/slaveinterface.cpp:190
#30 0x00007f1e802550b5 in KIO::SlaveInterface::dispatch (this=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/kio/kio/slaveinterface.cpp:88
#31 0x00007f1e8024832e in KIO::Slave::gotInput (this=0x922690) at /usr/src/debug/kdelibs-4.8.4/kio/kio/slave.cpp:344
#32 0x00007f1e7fb34c41 in QMetaObject::activate (sender=0xafa060, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#33 0x00007f1e8017ab17 in dequeue (this=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/kio/kio/connection.cpp:82
#34 KIO::ConnectionPrivate::dequeue (this=0xafa780) at /usr/src/debug/kdelibs-4.8.4/kio/kio/connection.cpp:71
#35 0x00007f1e7fb39e06 in QObject::event (this=0xafa060, e=<optimized out>) at kernel/qobject.cpp:1204
#36 0x00007f1e7de48fe4 in notify_helper (e=0x8a2cc0, receiver=0xafa060, this=0x6b1320) at kernel/qapplication.cpp:4551
#37 QApplicationPrivate::notify_helper (this=0x6b1320, receiver=0xafa060, e=0x8a2cc0) at kernel/qapplication.cpp:4523
#38 0x00007f1e7de4ddb3 in QApplication::notify (this=0x7fff7213e300, receiver=0xafa060, e=0x8a2cc0) at kernel/qapplication.cpp:4412
#39 0x00007f1e7f073746 in KApplication::notify (this=0x7fff7213e300, receiver=0xafa060, event=0x8a2cc0) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#40 0x00007f1e7fb20d0c in QCoreApplication::notifyInternal (this=0x7fff7213e300, receiver=0xafa060, event=0x8a2cc0) at kernel/qcoreapplication.cpp:915
#41 0x00007f1e7fb245ba in sendEvent (event=0x8a2cc0, receiver=0xafa060) at kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x68c720) at kernel/qcoreapplication.cpp:1539
#43 0x00007f1e7fb4f9a3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=0x6b4d10) at kernel/qeventdispatcher_glib.cpp:279
#45 0x00007f1e79ab358d in g_main_dispatch (context=0x6b4c20) at gmain.c:2425
#46 g_main_context_dispatch (context=0x6b4c20) at gmain.c:2995
#47 0x00007f1e79ab3d88 in g_main_context_iterate (context=0x6b4c20, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#48 0x00007f1e79ab3f59 in g_main_context_iteration (context=0x6b4c20, may_block=1) at gmain.c:3136
#49 0x00007f1e7fb4fdcf in QEventDispatcherGlib::processEvents (this=0x68c000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#50 0x00007f1e7deec69e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f1e7fb1f842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f1e7fb1fa97 in QEventLoop::exec (this=0x7fff7213e260, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007f1e7fb248b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#54 0x0000000000429025 in main (argc=2, argv=0x7fff7213e628) at /usr/src/debug/gwenview-4.8.4/app/main.cpp:142

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

Possible duplicates by query: bug 301662, bug 301474, bug 299945, bug 288115.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-06-12 21:34:20 UTC

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