Bug 221168

Summary: bug when i try to delete a photo in gwenview
Product: [Applications] gwenview Reporter: Flamand <wooly1111>
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 Flamand 2010-01-03 22:59:10 UTC
Application that crashed: gwenview
Version of the application: 2.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-17-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
bug when i try to delete a photo in gwenview

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

Thread 11 (Thread 0xb6196b70 (LWP 8550)):
#0  0x00eef422 in __kernel_vsyscall ()
#1  0x00cc4e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0067978d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x003bce67 in QWaitConditionPrivate::wait (this=0x897f3c8, mutex=0x897f3c4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x897f3c8, mutex=0x897f3c4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x00dbc5fa in Gwenview::SemanticInfoThread::run() () from /usr/lib/libgwenviewlib.so.4
#6  0x003bbe32 in QThreadPrivate::start (arg=0x897f3b8) at thread/qthread_unix.cpp:188
#7  0x00cc080e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0066c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xb0617b70 (LWP 8827)):
#0  0x00eef422 in __kernel_vsyscall ()
#1  0x00cc5142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x006797e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01bf79ff in metronom_sync_loop (this=0x8e8eff8) at metronom.c:870
#4  0x00cc080e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x0066c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xadd16b70 (LWP 8836)):
#0  0x00eef422 in __kernel_vsyscall ()
#1  0x00665981 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x01c20be0 in xine_usec_sleep (usec=1000) at utils.c:481
#3  0x01c05011 in video_out_loop (this_gen=0x88ea698) at video_out.c:1246
#4  0x00cc080e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x0066c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xad515b70 (LWP 8837)):
#0  0x00cb5e06 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x004d8bf3 in QTimerInfoList::getTime (this=0x894832c, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0x004d8de1 in QTimerInfoList::updateCurrentTime (this=0x894832c) at kernel/qeventdispatcher_unix.cpp:297
#3  0x004d988c in QTimerInfoList::timerWait (this=0x894832c, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0x004d7210 in timerSourcePrepare (source=0x89482f8, timeout=0xad5150ec) at kernel/qeventdispatcher_glib.cpp:141
#5  0x03637f90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x03638351 in ?? () from /lib/libglib-2.0.so.0
#7  0x03638863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x004d7067 in QEventDispatcherGlib::processEvents (this=0x897e350, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x004aac79 in QEventLoop::processEvents (this=0xad5152b4, flags=) at kernel/qeventloop.cpp:149
#10 0x004ab0ca in QEventLoop::exec (this=0xad5152b4, flags=...) at kernel/qeventloop.cpp:201
#11 0x003b8b73 in QThread::exec (this=0x88e99c8) at thread/qthread.cpp:487
#12 0x01a6920a in Phonon::Xine::XineThread::run (this=0x88e99c8) at ../../xine/xinethread.cpp:143
#13 0x003bbe32 in QThreadPrivate::start (arg=0x88e99c8) at thread/qthread_unix.cpp:188
#14 0x00cc080e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x0066c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xacd14b70 (LWP 8840)):
#0  0x00eef422 in __kernel_vsyscall ()
#1  0x0065eba6 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x02232c3b in my_snd_mixer_wait (data=0x895e3e8) at audio_alsa_out.c:150
#3  ao_alsa_handle_event_thread (data=0x895e3e8) at audio_alsa_out.c:166
#4  0x00cc080e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x0066c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xac513b70 (LWP 8841)):
#0  0x00eef422 in __kernel_vsyscall ()
#1  0x00cc4e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0067978d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01c085ee in fifo_peek_int (this_gen=0x8941820) at audio_out.c:348
#4  fifo_peek (this_gen=0x8941820) at audio_out.c:388
#5  ao_loop (this_gen=0x8941820) at audio_out.c:1015
#6  0x00cc080e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0066c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xab929b70 (LWP 8842)):
#0  0x00eef422 in __kernel_vsyscall ()
#1  0x0065eba6 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x012c4d80 in ?? () from /usr/lib/libxcb.so.1
#3  0x012c52eb in ?? () from /usr/lib/libxcb.so.1
#4  0x012c5489 in ?? () from /usr/lib/libxcb.so.1
#5  0x012c6a70 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#6  0x01c64a3b in xcb_xv_query_image_attributes_reply () from /usr/lib/libxcb-xv.so.0
#7  0x078349eb in create_ximage (this=<value optimized out>, frame=<value optimized out>, width=<value optimized out>, height=<value optimized out>, format=842094169) at video_out_xcbxv.c:238
#8  0x07834e8a in xv_update_frame_format (this_gen=0x8945dc8, frame_gen=0x8e203b8, width=320, height=240, ratio=1.3333333333333333, format=842094169, flags=3) at video_out_xcbxv.c:378
#9  0x01c02dd9 in vo_get_frame (this_gen=0x88ea698, width=320, height=240, ratio=0, format=842094169, flags=3) at video_out.c:421
#10 0x044c9f1e in get_buffer (context=0x94c5270, av_frame=0x94c8410) at ff_video_decoder.c:204
#11 0xab9290d0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xaaf5bb70 (LWP 8843)):
#0  0x00eef422 in __kernel_vsyscall ()
#1  0x00cc4e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0067978d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01bfafc2 in fifo_buffer_get (fifo=0xb5835ab8) at buffer.c:230
#4  0x01c01d46 in audio_decoder_loop (stream_gen=0xb5821e38) at audio_decoder.c:66
#5  0x00cc080e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x0066c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xaa75ab70 (LWP 8844)):
#0  0x00eef422 in __kernel_vsyscall ()
#1  0x00cc4e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0067978d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01c0b51a in xine_event_wait (queue=0xb5854a30) at events.c:56
#4  0x01c0b5a2 in listener_loop (queue_gen=0xb5854a30) at events.c:214
#5  0x00cc080e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x0066c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa9dffb70 (LWP 8846)):
#0  0x00eef422 in __kernel_vsyscall ()
#1  0x00cc4e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0067978d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x01bfaf0e in buffer_pool_alloc (this=0xb5809d80) at buffer.c:90
#4  0x0388a37e in demux_avi_next (this=0xb588e1e0, decoder_flags=<value optimized out>) at demux_avi.c:1601
#5  0x0388b108 in demux_avi_send_chunk (this_gen=0xb588e1e0) at demux_avi.c:1842
#6  0x01c10642 in demux_loop (stream_gen=0xb5821e38) at demux.c:324
#7  0x00cc080e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0066c7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77e6700 (LWP 8549)):
[KCrash Handler]
#6  0x062c6c10 in QWidget::internalWinId (this=0x8c518b0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:234
#7  QWidget::effectiveWinId (this=0x8c518b0) at kernel/qwidget.cpp:2223
#8  0x0630a7f2 in qt_x11_enforce_cursor (w=0x89a2078, force=false) at kernel/qwidget_x11.cpp:306
#9  0x0630a999 in qt_x11_enforce_cursor (w=0x89a2078) at kernel/qwidget_x11.cpp:346
#10 0x0630aa00 in QWidgetPrivate::setCursor_sys (this=0x89a2238) at kernel/qwidget_x11.cpp:1241
#11 0x062ce62f in QWidget::setCursor (this=0x89a2078, cursor=...) at kernel/qwidget.cpp:4623
#12 0x00da8961 in Gwenview::PreviewItemDelegatePrivate::updateHoverUi (this=0x89dcc38, index=...) at ../../../gwenview/lib/thumbnailview/previewitemdelegate.cpp:261
#13 0x00da3883 in Gwenview::PreviewItemDelegate::slotRowsChanged (this=0x89dcbb8) at ../../../gwenview/lib/thumbnailview/previewitemdelegate.cpp:805
#14 0x00da3c83 in Gwenview::PreviewItemDelegate::qt_metacall (this=0x89dcbb8, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfafa250) at ./previewitemdelegate.moc:101
#15 0x004c2263 in QMetaObject::activate (sender=0x89a2078, from_signal_index=74, to_signal_index=74, argv=0xbfafa250) at kernel/qobject.cpp:3113
#16 0x004c2ec2 in QMetaObject::activate (sender=0x89a2078, m=0xde1278, local_signal_index=4, argv=0xbfafa250) at kernel/qobject.cpp:3187
#17 0x00daae4f in Gwenview::ThumbnailView::rowsRemovedSignal (this=0x89a2078, _t1=..., _t2=1, _t3=1) at ./thumbnailview.moc:159
#18 0x00dae7cf in Gwenview::ThumbnailView::qt_metacall (this=0x89a2078, _c=QMetaObject::InvokeMetaMethod, _id=74, _a=0xbfafa370) at ./thumbnailview.moc:107
#19 0x004c2263 in QMetaObject::activate (sender=0x897e8e0, from_signal_index=11, to_signal_index=11, argv=0xbfafa370) at kernel/qobject.cpp:3113
#20 0x004c2ec2 in QMetaObject::activate (sender=0x897e8e0, m=0x59d4f8, local_signal_index=7, argv=0xbfafa370) at kernel/qobject.cpp:3187
#21 0x004fb8cf in QAbstractItemModel::rowsRemoved (this=0x897e8e0, _t1=..., _t2=1, _t3=1) at .moc/release-shared/moc_qabstractitemmodel.cpp:173
#22 0x004a6dd0 in QAbstractItemModel::endRemoveRows (this=0x897e8e0) at kernel/qabstractitemmodel.cpp:2131
#23 0x0685565b in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x897e8f8, source_to_proxy=..., proxy_to_source=..., proxy_start=1, proxy_end=1, proxy_parent=..., orient=Qt::Vertical, 
    emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:500
#24 0x068557a8 in QSortFilterProxyModelPrivate::remove_source_items (this=0x897e8f8, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, 
    emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:470
#25 0x06855980 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x897e8f8, source_parent=..., start=60, end=60, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:756
#26 0x06855aae in QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeRemoved (this=0x897e8f8, source_parent=..., start=60, end=60) at itemviews/qsortfilterproxymodel.cpp:1182
#27 0x0685ae1f in QSortFilterProxyModel::qt_metacall (this=0x897e8e0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfafa6a0) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:127
#28 0x00d8e29a in Gwenview::SortedDirModel::qt_metacall (this=0x897e8e0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfafa6a0) at ./sorteddirmodel.moc:63
#29 0x004c2263 in QMetaObject::activate (sender=0x897ec00, from_signal_index=10, to_signal_index=10, argv=0xbfafa6a0) at kernel/qobject.cpp:3113
#30 0x004c2ec2 in QMetaObject::activate (sender=0x897ec00, m=0x59d4f8, local_signal_index=6, argv=0xbfafa6a0) at kernel/qobject.cpp:3187
#31 0x004fb92f in QAbstractItemModel::rowsAboutToBeRemoved (this=0x897ec00, _t1=..., _t2=60, _t3=60) at .moc/release-shared/moc_qabstractitemmodel.cpp:166
#32 0x004a40f5 in QAbstractItemModel::beginRemoveRows (this=0x897ec00, parent=..., first=60, last=60) at kernel/qabstractitemmodel.cpp:2113
#33 0x00af01b7 in KDirModelPrivate::_k_slotDeleteItems (this=0x897ecd8, items=...) at ../../kio/kio/kdirmodel.cpp:466
#34 0x00af1d50 in KDirModel::qt_metacall (this=0x897ec00, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfafa918) at ./kdirmodel.moc:83
#35 0x00db6a3a in Gwenview::SemanticInfoDirModel::qt_metacall (this=0x897ec00, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfafa918) at ./semanticinfodirmodel.moc:70
#36 0x004c2263 in QMetaObject::activate (sender=0x897ed10, from_signal_index=17, to_signal_index=17, argv=0xbfafa918) at kernel/qobject.cpp:3113
#37 0x004c2ec2 in QMetaObject::activate (sender=0x897ed10, m=0xc6603c, local_signal_index=13, argv=0xbfafa918) at kernel/qobject.cpp:3187
#38 0x00ad4373 in KDirLister::itemsDeleted (this=0x897ed10, _t1=...) at ./kdirlister.moc:289
#39 0x00ad53f9 in KDirLister::Private::emitItemsDeleted (this=0x897edd8, _items=...) at ../../kio/kio/kdirlister.cpp:2351
#40 0x00ae4ee6 in KDirListerCache::itemsDeleted (this=0x897ee98, listers=..., deletedItems=...) at ../../kio/kio/kdirlister.cpp:1697
#41 0x00ae6a12 in KDirListerCache::slotFilesRemoved (this=0x897ee98, fileList=...) at ../../kio/kio/kdirlister.cpp:808
#42 0x00ae6e48 in KDirListerCache::slotFilesRemoved (this=0x897ee98, fileList=...) at ../../kio/kio/kdirlister.cpp:763
#43 0x00ae7885 in KDirListerCache::qt_metacall (this=0x897ee98, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfafac38) at ./kdirlister_p.moc:92
#44 0x004c2263 in QMetaObject::activate (sender=0x89acf40, from_signal_index=9, to_signal_index=9, argv=0xbfafac38) at kernel/qobject.cpp:3113
#45 0x004c2ec2 in QMetaObject::activate (sender=0x89acf40, m=0xc66294, local_signal_index=4, argv=0xbfafac38) at kernel/qobject.cpp:3187
#46 0x00af34b3 in OrgKdeKDirNotifyInterface::FilesRemoved (this=0x89acf40, _t1=...) at ./kdirnotify.moc:125
#47 0x00af36b5 in OrgKdeKDirNotifyInterface::qt_metacall (this=0x89acf40, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfafadbc) at ./kdirnotify.moc:83
#48 0x039577b4 in QDBusConnectionPrivate::deliverCall (this=0x890a670, object=0x89acf40, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:891
#49 0x0395f197 in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#50 0x004bc5fe in QObject::event (this=0x89acf40, e=0x8b0f848) at kernel/qobject.cpp:1111
#51 0x06279f54 in QApplicationPrivate::notify_helper (this=0x8882950, receiver=0x89acf40, e=0x8b0f848) at kernel/qapplication.cpp:4056
#52 0x0628167c in QApplication::notify (this=0xbfafb5c8, receiver=0x89acf40, e=0x8b0f848) at kernel/qapplication.cpp:3603
#53 0x010c2bfa in KApplication::notify (this=0xbfafb5c8, receiver=0x89acf40, event=0x8b0f848) at ../../kdeui/kernel/kapplication.cpp:302
#54 0x004ac6cb in QCoreApplication::notifyInternal (this=0xbfafb5c8, receiver=0x89acf40, event=0x8b0f848) at kernel/qcoreapplication.cpp:610
#55 0x004ad2b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x886ca10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#56 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x886ca10) at kernel/qcoreapplication.cpp:1247
#57 0x004ad47d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#58 0x004d73ff in QCoreApplication::sendPostedEvents (s=0x8884b78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#59 postEventSourceDispatch (s=0x8884b78) at kernel/qeventdispatcher_glib.cpp:210
#60 0x03634e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#61 0x03638730 in ?? () from /lib/libglib-2.0.so.0
#62 0x03638863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#63 0x004d702c in QEventDispatcherGlib::processEvents (this=0x886cbe8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#64 0x0631abe5 in QGuiEventDispatcherGlib::processEvents (this=0x886cbe8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#65 0x004aac79 in QEventLoop::processEvents (this=0xbfafb524, flags=) at kernel/qeventloop.cpp:149
#66 0x004ab0ca in QEventLoop::exec (this=0xbfafb524, flags=...) at kernel/qeventloop.cpp:201
#67 0x004ad53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#68 0x06279dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#69 0x08081e6f in main (argc=6, argv=0xbfafb744) at ../../../gwenview/app/main.cpp:95

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-05 13:11:10 UTC
This seems related to bug 196512, but without having videos.
It could be fixed on KDE SC 4.4 too...
Regards
Comment 2 Dario Andres 2010-02-07 00:37:51 UTC
Assumming the root cause is the same, it should be fixed too. Merging. Thanks

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