Bug 288115 - Gwenview segmentation fault after deleting opened file
Summary: Gwenview segmentation fault after deleting opened file
Status: RESOLVED DUPLICATE of bug 268064
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 299945 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-03 10:40 UTC by Jakub
Modified: 2012-10-19 13:27 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.40 KB, text/plain)
2012-06-10 21:17 UTC, Wonko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub 2011-12-03 10:40:22 UTC
Application: gwenview (2.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I accidentally opened file which was just in queue to trash. So it showed that "xyz.jpg" file doesn't exist; so I used path bar above photo to open the folder up (on the bar was only classic folder icon and ":"). And when I chose something from list, Gvenview has crashed. I didn't try to do it again.

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

Thread 3 (Thread 0xb696ab70 (LWP 3656)):
#0  timerSourceCheck (source=0xa2218c0) at kernel/qeventdispatcher_glib.cpp:175
#1  0x013fbf24 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x013fc8f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x013fcc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x008c0b37 in QEventDispatcherGlib::processEvents (this=0xa21fc90, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x008911dd in QEventLoop::processEvents (this=0xb696a2b0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00891421 in QEventLoop::exec (this=0xb696a2b0, flags=...) at kernel/qeventloop.cpp:201
#7  0x0079490b in QThread::exec (this=0xa22b630) at thread/qthread.cpp:498
#8  0x00871e2d in QInotifyFileSystemWatcherEngine::run (this=0xa22b630) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x007977b3 in QThreadPrivate::start (arg=0xa22b630) at thread/qthread_unix.cpp:331
#10 0x00f3ed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x00d960ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb4a3cb70 (LWP 3680)):
#0  0x00cc3416 in __kernel_vsyscall ()
#1  0x00d8740e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0140b34b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x013fc896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x013fcc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x008c0b37 in QEventDispatcherGlib::processEvents (this=0xa47a4d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x008911dd in QEventLoop::processEvents (this=0xb4a3c2b0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00891421 in QEventLoop::exec (this=0xb4a3c2b0, flags=...) at kernel/qeventloop.cpp:201
#8  0x0079490b in QThread::exec (this=0xa498748) at thread/qthread.cpp:498
#9  0x00871e2d in QInotifyFileSystemWatcherEngine::run (this=0xa498748) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x007977b3 in QThreadPrivate::start (arg=0xa498748) at thread/qthread_unix.cpp:331
#11 0x00f3ed31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x00d960ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb78cea50 (LWP 2667)):
[KCrash Handler]
#7  0x0281f0bc in KServiceTypeTrader::defaultOffers (this=0xa26b028, serviceType=..., constraint=...) at ../../kdecore/services/kservicetypetrader.cpp:116
#8  0x0281f940 in KServiceTypeTrader::query (this=0xa26b028, serviceType=..., constraint=...) at ../../kdecore/services/kservicetypetrader.cpp:141
#9  0x002d68ec in KImageIO::mimeTypes (mode=KImageIO::Reading) at ../../kio/kio/kimageio.cpp:68
#10 0x006cbd67 in Gwenview::MimeTypeUtils::rasterImageMimeTypes() () from /usr/lib/libgwenviewlib.so.4
#11 0x006cbe17 in Gwenview::MimeTypeUtils::mimeTypeKind(QString const&) () from /usr/lib/libgwenviewlib.so.4
#12 0x006cbfc5 in Gwenview::MimeTypeUtils::fileItemKind(KFileItem const&) () from /usr/lib/libgwenviewlib.so.4
#13 0x006c9d16 in Gwenview::SortedDirModel::filterAcceptsRow(int, QModelIndex const&) const () from /usr/lib/libgwenviewlib.so.4
#14 0x074a86f6 in QSortFilterProxyModelPrivate::source_items_inserted (this=0xa1213f8, source_parent=..., start=0, end=67, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:767
#15 0x074a8b30 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xa1213f8, source_parent=..., start=0, end=67) at itemviews/qsortfilterproxymodel.cpp:1278
#16 0x074aade4 in QSortFilterProxyModel::qt_metacall (this=0xa1213e0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfdefda0) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:137
#17 0x0014fd0e in KDirSortFilterProxyModel::qt_metacall (this=0xa1213e0, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbfdefda0) at ./kdirsortfilterproxymodel.moc:68
#18 0x006c976e in Gwenview::SortedDirModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libgwenviewlib.so.4
#19 0x00898b7d in metacall (argv=0xbfdefda0, idx=37, cl=QMetaObject::InvokeMetaMethod, object=0xa1213e0) at kernel/qmetaobject.cpp:237
#20 QMetaObject::metacall (object=0xa1213e0, cl=QMetaObject::InvokeMetaMethod, idx=37, argv=0xbfdefda0) at kernel/qmetaobject.cpp:232
#21 0x008a7a6a in QMetaObject::activate (sender=0xa121a80, m=0x9c9408, local_signal_index=5, argv=0xbfdefda0) at kernel/qobject.cpp:3278
#22 0x008f5695 in QAbstractItemModel::rowsInserted (this=0xa121a80, _t1=..., _t2=0, _t3=67) at .moc/release-shared/moc_qabstractitemmodel.cpp:181
#23 0x0088c3a0 in QAbstractItemModel::endInsertRows (this=0xa121a80) at kernel/qabstractitemmodel.cpp:2412
#24 0x002aa7a2 in KDirModelPrivate::_k_slotNewItems (this=0xa121b78, directoryUrl=..., items=...) at ../../kio/kio/kdirmodel.cpp:440
#25 0x002aca85 in KDirModel::qt_metacall (this=0xa121a80, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdf0134) at ./kdirmodel.moc:90
#26 0x006f9c62 in ?? () from /usr/lib/libgwenviewlib.so.4
#27 0x00898b7d in metacall (argv=0xbfdf0134, idx=26, cl=QMetaObject::InvokeMetaMethod, object=0xa121a80) at kernel/qmetaobject.cpp:237
#28 QMetaObject::metacall (object=0xa121a80, cl=QMetaObject::InvokeMetaMethod, idx=26, argv=0xbfdf0134) at kernel/qmetaobject.cpp:232
#29 0x008a7a6a in QMetaObject::activate (sender=0xa121bb8, m=0x44ac4c, local_signal_index=10, argv=0xbfdf0134) at kernel/qobject.cpp:3278
#30 0x0028f06d in KDirLister::itemsAdded (this=0xa121bb8, _t1=..., _t2=...) at ./kdirlister.moc:274
#31 0x0028f732 in KDirLister::Private::emitItems (this=0xa121c90) at ../../kio/kio/kdirlister.cpp:2473
#32 0x002981d3 in KDirListerCache::slotEntries (this=0xa121cf0, job=0xa699258, entries=...) at ../../kio/kio/kdirlister.cpp:1228
#33 0x002a138c in KDirListerCache::qt_metacall (this=0xa121cf0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdf03c4) at ./kdirlister_p.moc:104
#34 0x00898b7d in metacall (argv=0xbfdf03c4, idx=11, cl=QMetaObject::InvokeMetaMethod, object=0xa121cf0) at kernel/qmetaobject.cpp:237
#35 QMetaObject::metacall (object=0xa121cf0, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0xbfdf03c4) at kernel/qmetaobject.cpp:232
#36 0x008a7a6a in QMetaObject::activate (sender=0xa699258, m=0x44a5bc, local_signal_index=0, argv=0xbfdf03c4) at kernel/qobject.cpp:3278
#37 0x00275b9d in KIO::ListJob::entries (this=0xa699258, _t1=0xa699258, _t2=...) at ./jobclasses.moc:838
#38 0x0027bba0 in KIO::ListJobPrivate::slotListEntries (this=0xa6e22a8, list=...) at ../../kio/kio/job.cpp:2571
#39 0x0027bd8e in KIO::ListJob::qt_metacall (this=0xa699258, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdf05a8) at ./jobclasses.moc:824
#40 0x00898b7d in metacall (argv=0xbfdf05a8, idx=46, cl=QMetaObject::InvokeMetaMethod, object=0xa699258) at kernel/qmetaobject.cpp:237
#41 QMetaObject::metacall (object=0xa699258, cl=QMetaObject::InvokeMetaMethod, idx=46, argv=0xbfdf05a8) at kernel/qmetaobject.cpp:232
#42 0x008a7a6a in QMetaObject::activate (sender=0xa5c4ec0, m=0x44c6a0, local_signal_index=6, argv=0xbfdf05a8) at kernel/qobject.cpp:3278
#43 0x0032c735 in KIO::SlaveInterface::listEntries (this=0xa5c4ec0, _t1=...) at ./slaveinterface.moc:185
#44 0x0032ff32 in KIO::SlaveInterface::dispatch (this=0xa5c4ec0, _cmd=106, rawdata=...) at ../../kio/kio/slaveinterface.cpp:190
#45 0x0032bc5a in KIO::SlaveInterface::dispatch (this=0xa5c4ec0) at ../../kio/kio/slaveinterface.cpp:88
#46 0x0031d348 in KIO::Slave::gotInput (this=0xa5c4ec0) at ../../kio/kio/slave.cpp:344
#47 0x0031dbbc in KIO::Slave::qt_metacall (this=0xa5c4ec0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfdf0854) at ./slave.moc:82
#48 0x00898b7d in metacall (argv=0xbfdf0854, idx=30, cl=QMetaObject::InvokeMetaMethod, object=0xa5c4ec0) at kernel/qmetaobject.cpp:237
#49 QMetaObject::metacall (object=0xa5c4ec0, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfdf0854) at kernel/qmetaobject.cpp:232
#50 0x008a7a6a in QMetaObject::activate (sender=0xa5b5a78, m=0x449508, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#51 0x0023bf65 in KIO::Connection::readyRead (this=0xa5b5a78) at ./connection.moc:92
#52 0x0023c79a in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#53 KIO::ConnectionPrivate::dequeue (this=0xa252400) at ../../kio/kio/connection.cpp:71
#54 0x0023c86f in KIO::Connection::qt_metacall (this=0xa5b5a78, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xa4772a8) at ./connection.moc:79
#55 0x00898b7d in metacall (argv=0xa4772a8, idx=5, cl=QMetaObject::InvokeMetaMethod, object=0xa5b5a78) at kernel/qmetaobject.cpp:237
#56 QMetaObject::metacall (object=0xa5b5a78, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xa4772a8) at kernel/qmetaobject.cpp:232
#57 0x008a3685 in QMetaCallEvent::placeMetaCall (this=0xa585ae8, object=0xa5b5a78) at kernel/qobject.cpp:535
#58 0x008aab52 in QObject::event (this=0xa5b5a78, e=0xa585ae8) at kernel/qobject.cpp:1217
#59 0x06e7ed54 in notify_helper (e=0xa585ae8, receiver=0xa5b5a78, this=0xa026930) at kernel/qapplication.cpp:4486
#60 QApplicationPrivate::notify_helper (this=0xa026930, receiver=0xa5b5a78, e=0xa585ae8) at kernel/qapplication.cpp:4458
#61 0x06e84103 in QApplication::notify (this=0xa585ae8, receiver=0xa5b5a78, e=0xa585ae8) at kernel/qapplication.cpp:3886
#62 0x01167681 in KApplication::notify (this=0xbfdf1038, receiver=0xa5b5a78, event=0xa585ae8) at ../../kdeui/kernel/kapplication.cpp:311
#63 0x0089219e in QCoreApplication::notifyInternal (this=0xbfdf1038, receiver=0xa5b5a78, event=0xa585ae8) at kernel/qcoreapplication.cpp:787
#64 0x00895f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#65 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa002ca8) at kernel/qcoreapplication.cpp:1428
#66 0x008960ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#67 0x008c06a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#68 postEventSourceDispatch (s=0xa020c00) at kernel/qeventdispatcher_glib.cpp:277
#69 0x013fc25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#70 0x013fc990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#71 0x013fcc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#72 0x008c0ada in QEventDispatcherGlib::processEvents (this=0xa0039d0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#73 0x06f36e3a in QGuiEventDispatcherGlib::processEvents (this=0xa0039d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x008911dd in QEventLoop::processEvents (this=0xbfdf0f84, flags=...) at kernel/qeventloop.cpp:149
#75 0x00891421 in QEventLoop::exec (this=0xbfdf0f84, flags=...) at kernel/qeventloop.cpp:201
#76 0x0089619d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#77 0x06e7c8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#78 0x08063c7d in ?? ()
#79 0x00cdd113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#80 0x08063f4d in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-05-13 19:46:24 UTC
*** Bug 299945 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2012-05-13 19:49:46 UTC
maybe related with bug 268064
Comment 3 Jonathan Thomas 2012-06-08 21:27:41 UTC
*** Bug 301474 has been marked as a duplicate of this bug. ***
Comment 4 Wonko 2012-06-10 21:17:52 UTC
Created attachment 71709 [details]
New crash information added by DrKonqi

gwenview (2.8.4) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.2

I just upgraded from 4.8.3 to 4.8.4, and was using Gwenview meanwhile. When the upgrade was complete, I logged out and in again. From now on, I could not start Gwenview, with or without image argument, it would crash instantly.

I could start Gwenview again after deleting .kde4/share/apps/gwenview/recentfolders. But when I click the 'Folders' on the sidebar, or the 'Start page' tool button, it crashes. If I click the 'Operations' tab, THEN the previously active 'Information' tab, and then 'Folders', Gwenview sometimes does not crash, but it no longer reacts, I have to kill it. Without the sidebar, there is not problem it seems.

This does not happen for another user with an unconfigured KDE.

Tell me if you need a backtrace with more packages compiled with debug information.

-- Backtrace (Reduced):
#6  0x00007f945fce6b48 in KServiceTypeTrader::defaultOffers(QString const&, QString const&) const () from /usr/lib64/libkdecore.so.5
#7  0x00007f945fce6f39 in KServiceTypeTrader::query(QString const&, QString const&) const () from /usr/lib64/libkdecore.so.5
#8  0x00007f946218c291 in KImageIO::mimeTypes(KImageIO::Mode) () from /usr/lib64/libkio.so.5
#9  0x00007f94625bdc83 in Gwenview::MimeTypeUtils::rasterImageMimeTypes () at /var/portage/tmpfs/portage/kde-base/gwenview-4.8.4/work/gwenview-4.8.4/lib/mimetypeutils.cpp:69
#10 0x00007f94625bddad in Gwenview::MimeTypeUtils::mimeTypeKind (mimeType=...) at /var/portage/tmpfs/portage/kde-base/gwenview-4.8.4/work/gwenview-4.8.4/lib/mimetypeutils.cpp:129
Comment 5 Jekyll Wu 2012-07-04 13:24:33 UTC

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