Bug 268738 - Modifying tags in tag dependent view causes crash
Summary: Modifying tags in tag dependent view causes crash
Status: RESOLVED DUPLICATE of bug 281342
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-17 11:21 UTC by Dominik Steenken
Modified: 2012-05-31 19:58 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 Dominik Steenken 2011-03-17 11:21:01 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

Steps to reproduce: start a nepomuksearch for * and filter it using the filter pane to only show files with a given tag, say TagA. Then, modify one of the files found by removing TagA from the Tag List. click OK. Now there is a time window of 1-2 seconds where the information of the file is still displayed in the information pane before nepomuk realises the file no longer matches the search parameters. If you click on "add tags" during that time, dolphin will crash, presumably because it is trying to dereference a link to a file in the result list which is no longer there. Not a major problem, but still a bit annoying.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f5c43159760 (LWP 15437))]

Thread 3 (Thread 0x7f5c2f3dd700 (LWP 15440)):
#0  0x00007f5c3b11ca43 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007f5c3b11ce78 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f5c3b11d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f5c3eddc1e6 in QEventDispatcherGlib::processEvents (this=0x1157980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f5c3edaea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f5c3edaedec in QEventLoop::exec (this=0x7f5c2f3dcdb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f5c3ecb92fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f5c3ed8e5f8 in QInotifyFileSystemWatcherEngine::run (this=0x11dfba0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5c3ecbc27e in QThreadPrivate::start (arg=0x11dfba0) at thread/qthread_unix.cpp:266
#9  0x00007f5c3b5db971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f5c42a5d92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5c2ca11700 (LWP 15448)):
#0  0x00007f5c42a51203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5c3b11d009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f5c3b11d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f5c3eddc1e6 in QEventDispatcherGlib::processEvents (this=0x14f46a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f5c3edaea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f5c3edaedec in QEventLoop::exec (this=0x7f5c2ca10db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f5c3ecb92fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f5c3ed8e5f8 in QInotifyFileSystemWatcherEngine::run (this=0x175a580) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5c3ecbc27e in QThreadPrivate::start (arg=0x175a580) at thread/qthread_unix.cpp:266
#9  0x00007f5c3b5db971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f5c42a5d92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5c43159760 (LWP 15437)):
[KCrash Handler]
#6  0x00007f5c429f4c50 in __libc_free (mem=0x7fff1f909680) at malloc.c:3724
#7  0x00007f5c3edc1d5f in QObjectPrivate::deleteChildren (this=0x1b74a40) at kernel/qobject.cpp:1957
#8  0x00007f5c3f7ee168 in QWidget::~QWidget (this=0x1a7cfb0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#9  0x00007f5c41612902 in Nepomuk::TagWidget::~TagWidget (this=0x1a7cfb0, __in_chrg=<value optimized out>) at ../../nepomuk/ui/tagwidget.cpp:268
#10 0x00007f5c40b57753 in KFileMetaDataWidget::Private::deleteRows (this=0x10cfe90) at ../../kio/kfile/kfilemetadatawidget.cpp:180
#11 0x00007f5c40b58549 in KFileMetaDataWidget::Private::slotLoadingFinished (this=0x7fff1f909680) at ../../kio/kfile/kfilemetadatawidget.cpp:188
#12 0x00007f5c40b59261 in KFileMetaDataWidget::qt_metacall (this=0x1525200, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1f9088f0) at ./kfilemetadatawidget.moc:88
#13 0x00007f5c3edc7b27 in QMetaObject::activate (sender=0x167a3c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2b320) at kernel/qobject.cpp:3280
#14 0x00007f5c40b563a4 in KFileMetaDataProvider::Private::slotLoadingFinished (this=0x167d8c0, finishedThread=0x7fff1f908a00) at ../../kio/kfile/kfilemetadataprovider.cpp:226
#15 0x00007f5c40b56cb5 in KFileMetaDataProvider::qt_metacall (this=0x167a3c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1f908c30) at ./kfilemetadataprovider_p.moc:95
#16 0x00007f5c3edc7b27 in QMetaObject::activate (sender=0x1b1e860, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2b320) at kernel/qobject.cpp:3280
#17 0x00007f5c40b993af in KLoadFileMetaDataThread::finished (this=0x7fff1f909680, _t1=0x1b1e860) at ./kloadfilemetadatathread_p.moc:89
#18 0x00007f5c40b99441 in KLoadFileMetaDataThread::qt_metacall (this=0x1b1e860, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f5c280870a0) at ./kloadfilemetadatathread_p.moc:77
#19 0x00007f5c3edc1bde in QObject::event (this=0x1b1e860, e=0x7fff1f909680) at kernel/qobject.cpp:1219
#20 0x00007f5c3f792fdc in QApplicationPrivate::notify_helper (this=0x10cad60, receiver=0x1b1e860, e=0x7f5c2806eff0) at kernel/qapplication.cpp:4396
#21 0x00007f5c3f798aed in QApplication::notify (this=0x7fff1f90b5f0, receiver=0x1b1e860, e=0x7f5c2806eff0) at kernel/qapplication.cpp:4277
#22 0x00007f5c405232c6 in KApplication::notify (this=0x7fff1f90b5f0, receiver=0x1b1e860, event=0x7f5c2806eff0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f5c3edafcdc in QCoreApplication::notifyInternal (this=0x7fff1f90b5f0, receiver=0x1b1e860, event=0x7f5c2806eff0) at kernel/qcoreapplication.cpp:732
#24 0x00007f5c3edb2c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x10a3350) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x10a3350) at kernel/qcoreapplication.cpp:1373
#26 0x00007f5c3eddc653 in sendPostedEvents (s=0x10d3ef0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#27 postEventSourceDispatch (s=0x10d3ef0) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007f5c3b119342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00007f5c3b11d2a8 in ?? () from /lib/libglib-2.0.so.0
#30 0x00007f5c3b11d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00007f5c3eddc193 in QEventDispatcherGlib::processEvents (this=0x10a2e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#32 0x00007f5c3f845a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff1f909680, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f5c3edaea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#34 0x00007f5c3edaedec in QEventLoop::exec (this=0x7fff1f909610, flags=) at kernel/qeventloop.cpp:201
#35 0x00007f5c3fc877de in QDialog::exec (this=0x7fff1f909680) at dialogs/qdialog.cpp:552
#36 0x00007f5c41613aed in Nepomuk::TagWidget::slotShowAll (this=0x1a7cfb0) at ../../nepomuk/ui/tagwidget.cpp:383
#37 0x00007f5c41613fac in Nepomuk::TagWidget::qt_metacall (this=0x1a7cfb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1f9098a0) at ./tagwidget.moc:104
#38 0x00007f5c3edc7b27 in QMetaObject::activate (sender=0x17ceb80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2b320) at kernel/qobject.cpp:3280
#39 0x00007f5c3fbb7322 in QLabel::linkActivated (this=0x7fff1f909680, _t1=<value optimized out>) at .moc/release-shared/moc_qlabel.cpp:180
#40 0x00007f5c3fbbafa4 in QLabel::qt_metacall (this=0x17ceb80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1f909a30) at .moc/release-shared/moc_qlabel.cpp:110
#41 0x00007f5c3edc7b27 in QMetaObject::activate (sender=0x1bb1d10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2b320) at kernel/qobject.cpp:3280
#42 0x00007f5c3f9f1465 in QTextControl::linkActivated (this=0x7fff1f909680, _t1=<value optimized out>) at .moc/release-shared/moc_qtextcontrol_p.cpp:322
#43 0x00007f5c3f9f9301 in QTextControlPrivate::activateLinkUnderCursor (this=<value optimized out>, href=) at text/qtextcontrol.cpp:2635
#44 0x00007f5c3f9fa257 in QTextControlPrivate::mouseReleaseEvent (this=0x1b80210, button=<value optimized out>, pos=<value optimized out>) at text/qtextcontrol.cpp:1724
#45 0x00007f5c3f9fd282 in QTextControl::processEvent (this=0x1bb1d10, e=0x7fff1f90a8e0, matrix=..., contextWidget=0x17ceb80) at text/qtextcontrol.cpp:943
#46 0x00007f5c3f9f331a in QTextControl::processEvent (this=0x1bb1d10, e=0x7fff1f90a8e0, coordinateOffset=..., contextWidget=0x17ceb80) at text/qtextcontrol.cpp:890
#47 0x00007f5c3fbb8bad in QLabelPrivate::sendControlEvent (this=0x1a433a0, e=0x7fff1f90a8e0) at widgets/qlabel.cpp:1622
#48 0x00007f5c3f7e904e in QWidget::event (this=0x17ceb80, event=0x7fff1f90a8e0) at kernel/qwidget.cpp:8187
#49 0x00007f5c3fbb45e6 in QFrame::event (this=0x17ceb80, e=0x7fff1f90a8e0) at widgets/qframe.cpp:557
#50 0x00007f5c3f792fdc in QApplicationPrivate::notify_helper (this=0x10cad60, receiver=0x17ceb80, e=0x7fff1f90a8e0) at kernel/qapplication.cpp:4396
#51 0x00007f5c3f79930e in QApplication::notify (this=0x7fff1f90b5f0, receiver=0x17ceb80, e=0x7fff1f90a8e0) at kernel/qapplication.cpp:3959
#52 0x00007f5c405232c6 in KApplication::notify (this=0x7fff1f90b5f0, receiver=0x17ceb80, event=0x7fff1f90a8e0) at ../../kdeui/kernel/kapplication.cpp:311
#53 0x00007f5c3edafcdc in QCoreApplication::notifyInternal (this=0x7fff1f90b5f0, receiver=0x17ceb80, event=0x7fff1f90a8e0) at kernel/qcoreapplication.cpp:732
#54 0x00007f5c3f797dbe in sendEvent (receiver=0x17ceb80, event=0x7fff1f90a8e0, alienWidget=0x0, nativeWidget=0x17ceb80, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#55 QApplicationPrivate::sendMouseEvent (receiver=0x17ceb80, event=0x7fff1f90a8e0, alienWidget=0x0, nativeWidget=0x17ceb80, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#56 0x00007f5c3f81b345 in QETWidget::translateMouseEvent (this=0x17ceb80, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#57 0x00007f5c3f819c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff1f90b200) at kernel/qapplication_x11.cpp:3536
#58 0x00007f5c3f8460e2 in x11EventSourceDispatch (s=0x10d4110, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#59 0x00007f5c3b119342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#60 0x00007f5c3b11d2a8 in ?? () from /lib/libglib-2.0.so.0
#61 0x00007f5c3b11d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#62 0x00007f5c3eddc193 in QEventDispatcherGlib::processEvents (this=0x10a2e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#63 0x00007f5c3f845a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff1f909680, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f5c3edaea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#65 0x00007f5c3edaedec in QEventLoop::exec (this=0x7fff1f90b530, flags=) at kernel/qeventloop.cpp:201
#66 0x00007f5c3edb2ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#67 0x00007f5c42d4130f in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../dolphin/src/main.cpp:98
#68 0x00007f5c42995d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff1f90bb08) at libc-start.c:226
#69 0x0000000000400659 in _start ()

Possible duplicates by query: bug 264011, bug 255512.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-05-31 19:58:45 UTC

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