Bug 220815 - Gwenview crashes on photo opening [qFree, QString::free, ~QString]
Summary: Gwenview crashes on photo opening [qFree, QString::free, ~QString]
Status: RESOLVED DUPLICATE of bug 196207
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:
Depends on:
Blocks:
 
Reported: 2009-12-31 16:02 UTC by Nikos
Modified: 2012-10-19 13:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos 2009-12-31 16:02:44 UTC
Application: gwenview (2.3.0)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-17-generic-pae i686
Distribution: Ubuntu 9.10

-- Information about the crash:
Gwenview suddenly crashed when tried to open a jpg file. On second try, the file was loaded normally.

The crash can be reproduced some of the times.

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

Thread 2 (Thread 0xb38e6b70 (LWP 6526)):
[KCrash Handler]
#6  0xb5da6f0c in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0xb5da8c38 in ?? () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5dab806 in free () from /lib/tls/i686/cmov/libc.so.6
#9  0xb70fea1d in qFree (ptr=0x9374cd8) at global/qmalloc.cpp:60
#10 0xb714e8e0 in QString::free (d=0xfe374c78) at tools/qstring.cpp:1108
#11 0xb71de39c in ~QString (this=0x935de90, type=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:869
#12 QFSFileEngine::fileFlags (this=0x935de90, type=...) at io/qfsfileengine_unix.cpp:827
#13 0xb71901a2 in QFileInfoPrivate::getFileFlags (this=0x935dd10, request=...) at io/qfileinfo.cpp:154
#14 0xb71903cc in QFileInfo::isSymLink (this=0xb38e4ed8) at io/qfileinfo.cpp:1022
#15 0xb71d54cd in QFSFileEnginePrivate::canonicalized (path=...) at io/qfsfileengine.cpp:167
#16 0xb71dd18d in QFSFileEngine::fileName (this=0x935d5f0, file=QAbstractFileEngine::CanonicalName) at io/qfsfileengine_unix.cpp:1014
#17 0xb7190fbf in QFileInfoPrivate::getFileName (this=0x9006be0, name=QAbstractFileEngine::CanonicalName) at io/qfileinfo.cpp:134
#18 0xb71918fc in QFileInfo::canonicalFilePath (this=0xb38e60d8) at io/qfileinfo.cpp:551
#19 0xb703f445 in Nepomuk::ResourceManagerPrivate::localFileData (this=0x8f1a7a0, file=..., type=...) at ../../../nepomuk/core/resourcemanager.cpp:135
#20 0xb703f9b0 in Nepomuk::ResourceManagerPrivate::data (this=0x8f1a7a0, uri=..., type=...) at ../../../nepomuk/core/resourcemanager.cpp:78
#21 0xb7058143 in Resource (this=0xb38e6208, uri=..., type=...) at ../../../nepomuk/core/resource.cpp:90
#22 0xb763efa1 in Gwenview::RetrieveTask::execute (this=0x9372ad8) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:59
#23 0xb763ee77 in Gwenview::SemanticInfoThread::run (this=0x8f39648) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:139
#24 0xb71043ae in QThreadPrivate::start (arg=0x8f39648) at thread/qthread_unix.cpp:244
#25 0xb59ec80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#26 0xb5e087ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4fce760 (LWP 6525)):
#0  0xb7707430 in __kernel_vsyscall ()
#1  0xb5dfaba6 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb50f5d80 in ?? () from /usr/lib/libxcb.so.1
#3  0xb50f62eb in ?? () from /usr/lib/libxcb.so.1
#4  0xb50f6687 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0xb572b2e9 in _XSend () from /usr/lib/libX11.so.6
#6  0xb572b480 in _XReply () from /usr/lib/libX11.so.6
#7  0xb5718e8d in XQueryPointer () from /usr/lib/libX11.so.6
#8  0xb63b7420 in QCursor::pos () at kernel/qcursor_x11.cpp:155
#9  0xb7625438 in Gwenview::PreviewItemDelegate::slotRowsChanged (this=0x8fa7240) at ../../../gwenview/lib/thumbnailview/previewitemdelegate.cpp:831
#10 0xb7625893 in Gwenview::PreviewItemDelegate::qt_metacall (this=0x8fa7240, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfba3930) at ./previewitemdelegate.moc:107
#11 0xb720b11a in QMetaObject::metacall (object=0x8fa7240, cl=QMetaObject::ReadProperty, idx=20, argv=0xbfba3930) at kernel/qmetaobject.cpp:237
#12 0xb721989b in QMetaObject::activate (sender=0x8fa2b38, m=0xb7655148, local_signal_index=5, argv=0xbfba3930) at kernel/qobject.cpp:3294
#13 0xb762cf3f in Gwenview::ThumbnailView::rowsInsertedSignal (this=0x8fa2b38, _t1=..., _t2=0, _t3=208) at ./thumbnailview.moc:176
#14 0xb762cfb8 in Gwenview::ThumbnailView::rowsInserted (this=0x8fa2b38, parent=..., start=0, end=208) at ../../../gwenview/lib/thumbnailview/thumbnailview.cpp:360
#15 0xb76305d5 in Gwenview::ThumbnailView::qt_metacall (this=0x8fa2b38, _c=QMetaObject::InvokeMetaMethod, _id=79, _a=0xbfba3aa0) at ./thumbnailview.moc:121
#16 0xb720b11a in QMetaObject::metacall (object=0x8fa2b38, cl=QMetaObject::ReadProperty, idx=79, argv=0xbfba3aa0) at kernel/qmetaobject.cpp:237
#17 0xb721989b in QMetaObject::activate (sender=0x8f3cd80, m=0xb731a198, local_signal_index=5, argv=0xbfba3aa0) at kernel/qobject.cpp:3294
#18 0xb726a3af in QAbstractItemModel::rowsInserted (this=0x8f3cd80, _t1=..., _t2=0, _t3=208) at .moc/release-shared/moc_qabstractitemmodel.cpp:181
#19 0xb71feb43 in QAbstractItemModel::endInsertRows (this=0x8f3cd80) at kernel/qabstractitemmodel.cpp:2410
#20 0xb694c15d in QSortFilterProxyModelPrivate::insert_source_items (this=0x8f31fc8, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, 
    emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:656
#21 0xb694c65c in QSortFilterProxyModelPrivate::source_items_inserted (this=0x8f31fc8, source_parent=..., start=<value optimized out>, end=209, orient=Qt::Vertical)
    at itemviews/qsortfilterproxymodel.cpp:740
#22 0xb694df7f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x8f31fc8, source_parent=..., start=0, end=209) at itemviews/qsortfilterproxymodel.cpp:1211
#23 0xb694fb4f in QSortFilterProxyModel::qt_metacall (this=0x8f3cd80, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfba3e20) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:135
#24 0xb769b8ca in KDirSortFilterProxyModel::qt_metacall (this=0x8f3cd80, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbfba3e20) at ./kdirsortfilterproxymodel.moc:68
#25 0xb760efca in Gwenview::SortedDirModel::qt_metacall (this=0x8f3cd80, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbfba3e20) at ./sorteddirmodel.moc:69
#26 0xb720b11a in QMetaObject::metacall (object=0x8f3cd80, cl=QMetaObject::ReadProperty, idx=37, argv=0xbfba3e20) at kernel/qmetaobject.cpp:237
#27 0xb721989b in QMetaObject::activate (sender=0x8f30cd0, m=0xb731a198, local_signal_index=5, argv=0xbfba3e20) at kernel/qobject.cpp:3294
#28 0xb726a3af in QAbstractItemModel::rowsInserted (this=0x8f30cd0, _t1=..., _t2=0, _t3=209) at .moc/release-shared/moc_qabstractitemmodel.cpp:181
#29 0xb71feb43 in QAbstractItemModel::endInsertRows (this=0x8f30cd0) at kernel/qabstractitemmodel.cpp:2410
#30 0xb741f863 in KDirModelPrivate::_k_slotNewItems (this=0x8f32500, directoryUrl=..., items=...) at ../../kio/kio/kdirmodel.cpp:433
#31 0xb7422077 in KDirModel::qt_metacall (this=0x8f30cd0, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0xbfba41c4) at ./kdirmodel.moc:88
#32 0xb763924a in Gwenview::SemanticInfoDirModel::qt_metacall (this=0x8f30cd0, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0xbfba41c4) at ./semanticinfodirmodel.moc:76
#33 0xb720b11a in QMetaObject::metacall (object=0x8f30cd0, cl=QMetaObject::ReadProperty, idx=26, argv=0xbfba41c4) at kernel/qmetaobject.cpp:237
#34 0xb721989b in QMetaObject::activate (sender=0x8f30dd8, m=0xb758dfbc, local_signal_index=10, argv=0xbfba41c4) at kernel/qobject.cpp:3294
#35 0xb7403609 in KDirLister::itemsAdded (this=0x8f30dd8, _t1=..., _t2=...) at ./kdirlister.moc:274
#36 0xb74046c6 in KDirLister::Private::emitItems (this=0x8f30ec8) at ../../kio/kio/kdirlister.cpp:2324
#37 0xb7408025 in KDirListerCache::slotEntries (this=0x8f30f90, job=0x8f66cc8, entries=...) at ../../kio/kio/kdirlister.cpp:1117
#38 0xb7418cd6 in KDirListerCache::qt_metacall (this=0x8f30f90, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfba4474) at ./kdirlister_p.moc:104
#39 0xb720b11a in QMetaObject::metacall (object=0x8f30f90, cl=QMetaObject::ReadProperty, idx=11, argv=0xbfba4474) at kernel/qmetaobject.cpp:237
#40 0xb721989b in QMetaObject::activate (sender=0x8f66cc8, m=0xb758d320, local_signal_index=0, argv=0xbfba4474) at kernel/qobject.cpp:3294
#41 0xb73dc6e9 in KIO::ListJob::entries (this=0x8f66cc8, _t1=0x8f66cc8, _t2=...) at ./jobclasses.moc:835
#42 0xb73ed283 in KIO::ListJobPrivate::slotListEntries (this=0x928fb68, list=...) at ../../kio/kio/job.cpp:2369
#43 0xb73ed638 in KIO::ListJob::qt_metacall (this=0x8f66cc8, _c=QMetaObject::InvokeMetaMethod, _id=46, _a=0xbfba4688) at ./jobclasses.moc:821
#44 0xb720b11a in QMetaObject::metacall (object=0x8f66cc8, cl=QMetaObject::ReadProperty, idx=46, argv=0xbfba4688) at kernel/qmetaobject.cpp:237
#45 0xb721989b in QMetaObject::activate (sender=0x8f66d10, m=0xb758ff44, local_signal_index=6, argv=0xbfba4688) at kernel/qobject.cpp:3294
#46 0xb74ad293 in KIO::SlaveInterface::listEntries (this=0x8f66d10, _t1=...) at ./slaveinterface.moc:185
#47 0xb74b05b7 in KIO::SlaveInterface::dispatch (this=0x8f66d10, _cmd=106, rawdata=...) at ../../kio/kio/slaveinterface.cpp:193
#48 0xb74ad803 in KIO::SlaveInterface::dispatch (this=0x8f66d10) at ../../kio/kio/slaveinterface.cpp:91
#49 0xb74a0b80 in KIO::Slave::gotInput (this=0x8f66d10) at ../../kio/kio/slave.cpp:322
#50 0xb74a0db3 in KIO::Slave::qt_metacall (this=0x8f66d10, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfba496c) at ./slave.moc:82
#51 0xb720b11a in QMetaObject::metacall (object=0x8f66d10, cl=QMetaObject::ReadProperty, idx=30, argv=0xbfba496c) at kernel/qmetaobject.cpp:237
#52 0xb721989b in QMetaObject::activate (sender=0x8fe69c0, m=0xb758c820, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3294
#53 0xb73addc7 in KIO::Connection::readyRead (this=0x8fe69c0) at ./connection.moc:92
#54 0xb73b016e in KIO::ConnectionPrivate::dequeue (this=0x927cc70) at ../../kio/kio/connection.cpp:82
#55 0xb73b029e in KIO::Connection::qt_metacall (this=0x8fe69c0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x928b4a0) at ./connection.moc:79
#56 0xb720b11a in QMetaObject::metacall (object=0x8fe69c0, cl=QMetaObject::ReadProperty, idx=5, argv=0x928b4a0) at kernel/qmetaobject.cpp:237
#57 0xb7215856 in QMetaCallEvent::placeMetaCall (this=0x8fe7ce8, object=0x8fe69c0) at kernel/qobject.cpp:574
#58 0xb72168ae in QObject::event (this=0x8fe69c0, e=0x8fe7ce8) at kernel/qobject.cpp:1260
#59 0xb631b19c in QApplicationPrivate::notify_helper (this=0x8ee68e8, receiver=0x8fe69c0, e=0x8fe7ce8) at kernel/qapplication.cpp:4242
#60 0xb6321df7 in QApplication::notify (this=0xbfba5258, receiver=0x8fe69c0, e=0x8fe7ce8) at kernel/qapplication.cpp:3661
#61 0xb6e35f8a in KApplication::notify (this=0xbfba5258, receiver=0x8fe69c0, event=0x8fe7ce8) at ../../kdeui/kernel/kapplication.cpp:302
#62 0xb7205eab in QCoreApplication::notifyInternal (this=0xbfba5258, receiver=0x8fe69c0, event=0x8fe7ce8) at kernel/qcoreapplication.cpp:704
#63 0xb72088e3 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8ed1a08) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#64 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8ed1a08) at kernel/qcoreapplication.cpp:1345
#65 0xb7208a4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#66 0xb72320df in QCoreApplication::sendPostedEvents (s=0x8ee8d20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#67 postEventSourceDispatch (s=0x8ee8d20) at kernel/qeventdispatcher_glib.cpp:276
#68 0xb55cee88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#69 0xb55d2730 in ?? () from /lib/libglib-2.0.so.0
#70 0xb55d2863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#71 0xb7231bd5 in QEventDispatcherGlib::processEvents (this=0x8ee6268, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#72 0xb63d8b75 in QGuiEventDispatcherGlib::processEvents (this=0x8ee6268, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#73 0xb72044c9 in QEventLoop::processEvents (this=0xbfba51b4, flags=) at kernel/qeventloop.cpp:149
#74 0xb720491a in QEventLoop::exec (this=0xbfba51b4, flags=...) at kernel/qeventloop.cpp:201
#75 0xb7208b0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#76 0xb631b237 in QApplication::exec () at kernel/qapplication.cpp:3570
#77 0x080851bf in main (argc=7, argv=0xbfba53d4) at ../../../gwenview/app/main.cpp:95

Possible duplicates by query: bug 218860, bug 214793, bug 196994, bug 196726, bug 193800.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-01-01 15:57:23 UTC

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