Bug 309068 - Dolphin sometimes crashes when adding tags to a file
Summary: Dolphin sometimes crashes when adding tags to a file
Status: RESOLVED DUPLICATE of bug 281342
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: 4.8
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Nepomuk Bugs Coordination
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-27 02:29 UTC by S. Christian Collins
Modified: 2012-12-12 03:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test patch to delay deletion a bit. (746 bytes, patch)
2012-11-15 04:25 UTC, Simeon Bird
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Christian Collins 2012-10-27 02:29:43 UTC
Application: dolphin (2.1)
KDE Platform Version: 4.9.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-32-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
I haven't really used the tag information for files until today, when I decided to add tags to some of my video files.  Occasionally when clicking "Add Tags..." on the information pane, Dolphin will crash right before the window is supposed to come up and let me assign a tag.  In my case, it crashed when adding tags to both .mpg and .mp4 files, but not always, and not always the same file.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f436156b7c0 (LWP 6502))]

Thread 3 (Thread 0x7f43452a3700 (LWP 6504)):
#0  0x00007f4360e338bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f4350c2e74c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#2  0x00007f434fc88be7 in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.304.60
#3  0x00007f43587028cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f43586c7ba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f43586c7fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f43586c8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f435db94906 in QEventDispatcherGlib::processEvents (this=0x7f43400008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f435db63e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f435db64097 in QEventLoop::exec (this=0x7f43452a2cd0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f435da63057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007f435db43b4f in QInotifyFileSystemWatcherEngine::run (this=0xe1fea0) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f435da6607b in QThreadPrivate::start (arg=0xe1fea0) at thread/qthread_unix.cpp:307
#13 0x00007f4350c2f764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#14 0x00007f4358f8ce9a in start_thread (arg=0x7f43452a3700) at pthread_create.c:308
#15 0x00007f4360e40cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f433ffff700 (LWP 6505)):
#0  0x00007f4360e35303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f43586c8036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f43586c8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f435db94906 in QEventDispatcherGlib::processEvents (this=0x7f43380008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f435db63e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f435db64097 in QEventLoop::exec (this=0x7f433fffecd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f435da63057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f435db43b4f in QInotifyFileSystemWatcherEngine::run (this=0xf224e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f435da6607b in QThreadPrivate::start (arg=0xf224e0) at thread/qthread_unix.cpp:307
#9  0x00007f4350c2f764 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f4358f8ce9a in start_thread (arg=0x7f433ffff700) at pthread_create.c:308
#11 0x00007f4360e40cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f436156b7c0 (LWP 6502)):
[KCrash Handler]
#6  mUSABLe (mem=0x7fffa3bcead0) at malloc.c:4654
#7  __malloc_usable_size (m=0x7fffa3bcead0) at malloc.c:3379
#8  0x00007f4350c30563 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007f434fc88cc1 in ?? () from /usr/lib/nvidia-current/tls/libnvidia-tls.so.304.60
#10 0x00007f435db77e15 in QObjectPrivate::deleteChildren (this=0x15a6af0) at kernel/qobject.cpp:1908
#11 0x00007f435ccb45b0 in QWidget::~QWidget (this=0x1975d00, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#12 0x00007f435f6a0a19 in Nepomuk::TagWidget::~TagWidget (this=0x1975d00, __in_chrg=<optimized out>) at ../../nepomuk/ui/tagwidget.cpp:268
#13 0x00007f435ee29217 in KFileMetaDataWidget::Private::deleteRows (this=0x12d2de0) at ../../kio/kfile/kfilemetadatawidget.cpp:184
#14 0x00007f435ee299b9 in KFileMetaDataWidget::Private::slotLoadingFinished (this=0x12d2de0) at ../../kio/kfile/kfilemetadatawidget.cpp:192
#15 0x00007f435db79761 in QMetaObject::activate (sender=0xfca960, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#16 0x00007f435ee5e00d in KFileMetaDataProvider::Private::slotLoadingFinished (this=0x137c160) at ../../kio/kfile/kfilemetadataprovider.cpp:245
#17 0x00007f435db79761 in QMetaObject::activate (sender=0x167b320, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#18 0x00007f435ee5c138 in KFileMetaDataReader::Private::slotLoadingFinished (this=0x1795ac0, exitCode=<optimized out>, exitStatus=<optimized out>) at ../../kio/kfile/kfilemetadatareader.cpp:96
#19 0x00007f435db79761 in QMetaObject::activate (sender=0x1736eb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa3bce030) at kernel/qobject.cpp:3547
#20 0x00007f435dafa7ff in QProcess::finished (this=<optimized out>, _t1=0, _t2=QProcess::NormalExit) at .moc/release-shared/moc_qprocess.cpp:156
#21 0x00007f435db01e76 in QProcessPrivate::_q_processDied (this=0x167b380) at io/qprocess.cpp:1068
#22 0x00007f435db01efe in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qprocess.cpp:92
#23 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qprocess.cpp:69
#24 0x00007f435db79761 in QMetaObject::activate (sender=0x16f7000, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa3bce1f0) at kernel/qobject.cpp:3547
#25 0x00007f435dbc67de in QSocketNotifier::activated (this=<optimized out>, _t1=32) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#26 0x00007f435db82aeb in QSocketNotifier::event (this=0x16f7000, e=0x7fffa3bce860) at kernel/qsocketnotifier.cpp:317
#27 0x00007f435cc697b4 in notify_helper (e=0x7fffa3bce860, receiver=0x16f7000, this=0xbee940) at kernel/qapplication.cpp:4556
#28 QApplicationPrivate::notify_helper (this=0xbee940, receiver=0x16f7000, e=0x7fffa3bce860) at kernel/qapplication.cpp:4528
#29 0x00007f435cc6e583 in QApplication::notify (this=0x7fffa3bd0a00, receiver=0x16f7000, e=0x7fffa3bce860) at kernel/qapplication.cpp:4417
#30 0x00007f435e5cb756 in KApplication::notify (this=0x7fffa3bd0a00, receiver=0x16f7000, event=0x7fffa3bce860) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f435db6530c in QCoreApplication::notifyInternal (this=0x7fffa3bd0a00, receiver=0x16f7000, event=0x7fffa3bce860) at kernel/qcoreapplication.cpp:915
#32 0x00007f435db93f77 in sendEvent (event=0x7fffa3bce860, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 socketNotifierSourceDispatch (source=0xbec900) at kernel/qeventdispatcher_glib.cpp:110
#34 0x00007f43586c7d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f43586c80a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f43586c8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f435db94906 in QEventDispatcherGlib::processEvents (this=0xbc21d0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#38 0x00007f435cd11cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f435db63e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f435db64097 in QEventLoop::exec (this=0x7fffa3bcea70, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f435d139f86 in QDialog::exec (this=0x7fffa3bcead0) at dialogs/qdialog.cpp:554
#42 0x00007f435f6a194d in Nepomuk::TagWidget::slotShowAll (this=0x1975d00) at ../../nepomuk/ui/tagwidget.cpp:383
#43 0x00007f435f6a2385 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x1975d00, _c=<optimized out>) at ./tagwidget.moc:81
#44 Nepomuk::TagWidget::qt_static_metacall (_o=0x1975d00, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./tagwidget.moc:66
#45 0x00007f435db79761 in QMetaObject::activate (sender=0x18f09c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa3bced00) at kernel/qobject.cpp:3547
#46 0x00007f435d080e82 in QLabel::linkActivated (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlabel.cpp:194
#47 0x00007f435db79761 in QMetaObject::activate (sender=0x1661220, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa3bcee40) at kernel/qobject.cpp:3547
#48 0x00007f435ceb75b5 in QTextControl::linkActivated (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qtextcontrol_p.cpp:336
#49 0x00007f435ceba5fc in QTextControlPrivate::activateLinkUnderCursor (this=0x19131e0, href=...) at text/qtextcontrol.cpp:2734
#50 0x00007f435cebae81 in QTextControlPrivate::mouseReleaseEvent (this=0x19131e0, e=<optimized out>, button=<optimized out>, pos=..., modifiers=..., buttons=..., globalPos=...) at text/qtextcontrol.cpp:1754
#51 0x00007f435cebdeb3 in QTextControl::processEvent (this=<optimized out>, e=0x7fffa3bcfd20, matrix=..., contextWidget=0x18f09c0) at text/qtextcontrol.cpp:961
#52 0x00007f435ceb3b46 in QTextControl::processEvent (this=0x1661220, e=0x7fffa3bcfd20, coordinateOffset=..., contextWidget=0x18f09c0) at text/qtextcontrol.cpp:906
#53 0x00007f435d07fa4d in QLabelPrivate::sendControlEvent (this=0x18cd650, e=0x7fffa3bcfd20) at widgets/qlabel.cpp:1651
#54 0x00007f435ccb9fb4 in QWidget::event (this=0x18f09c0, event=0x7fffa3bcfd20) at kernel/qwidget.cpp:8371
#55 0x00007f435d07a836 in QFrame::event (this=0x18f09c0, e=0x7fffa3bcfd20) at widgets/qframe.cpp:557
#56 0x00007f435cc697b4 in notify_helper (e=0x7fffa3bcfd20, receiver=0x18f09c0, this=0xbee940) at kernel/qapplication.cpp:4556
#57 QApplicationPrivate::notify_helper (this=0xbee940, receiver=0x18f09c0, e=0x7fffa3bcfd20) at kernel/qapplication.cpp:4528
#58 0x00007f435cc6ef2f in QApplication::notify (this=<optimized out>, receiver=0x18f09c0, e=0x7fffa3bcfd20) at kernel/qapplication.cpp:4099
#59 0x00007f435e5cb756 in KApplication::notify (this=0x7fffa3bd0a00, receiver=0x18f09c0, event=0x7fffa3bcfd20) at ../../kdeui/kernel/kapplication.cpp:311
#60 0x00007f435db6530c in QCoreApplication::notifyInternal (this=0x7fffa3bd0a00, receiver=0x18f09c0, event=0x7fffa3bcfd20) at kernel/qcoreapplication.cpp:915
#61 0x00007f435cc6a782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#62 QApplicationPrivate::sendMouseEvent (receiver=0x18f09c0, event=0x7fffa3bcfd20, alienWidget=0x18f09c0, nativeWidget=0xea2150, buttonDown=0x18f09c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#63 0x00007f435cce9b15 in QETWidget::translateMouseEvent (this=0xea2150, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#64 0x00007f435cce8ace in QApplication::x11ProcessEvent (this=0x7fffa3bd0a00, event=0x7fffa3bd05f0) at kernel/qapplication_x11.cpp:3732
#65 0x00007f435cd12052 in x11EventSourceDispatch (s=0xbfc340, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#66 0x00007f43586c7d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f43586c80a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007f43586c8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007f435db9489f in QEventDispatcherGlib::processEvents (this=0xbc21d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#70 0x00007f435cd11cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0x00007f435db63e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#72 0x00007f435db64097 in QEventLoop::exec (this=0x7fffa3bd0990, flags=...) at kernel/qeventloop.cpp:204
#73 0x00007f435db693e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#74 0x00007f436115c677 in kdemain (argc=1, argv=0x7fffa3bd0f58) at ../../../dolphin/src/main.cpp:89
#75 0x00007f4360d6e76d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fffa3bd0f58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa3bd0f48) at libc-start.c:226
#76 0x0000000000400671 in _start ()

Reported using DrKonqi
Comment 1 Simeon Bird 2012-11-15 04:25:48 UTC
Created attachment 75279 [details]
Test patch to delay deletion a bit.

It's just a guess, but...does this patch help at all?
Comment 2 Vishesh Handa 2012-11-30 23:10:27 UTC

*** This bug has been marked as a duplicate of bug 281342 ***
Comment 3 S. Christian Collins 2012-12-12 03:57:49 UTC
Sorry I haven't had a chance to test the patch yet. I'm hoping I'll have time sometime this week.