<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>415418</bug_id>
          
          <creation_ts>2019-12-21 00:47:11 +0000</creation_ts>
          <short_desc>Dolphin crashes when clicking on a dangling symbolic link</short_desc>
          <delta_ts>2019-12-21 02:38:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>dolphin</product>
          <component>general</component>
          <version>19.12.0</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>414227</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Christian Hacker">sw4</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          <cc>dolphin-bugs-null</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1897535</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Hacker">sw4</who>
    <bug_when>2019-12-21 00:47:11 +0000</bug_when>
    <thetext>Application: dolphin (19.12.0)

Qt Version: 5.13.1
Frameworks Version: 5.64.0
Operating System: Linux 5.3.12-1-default x86_64
Distribution: openSUSE Tumbleweed

-- Information about the crash:
- What I was doing when the application crashed:
Mouse click on the directory list entry of a symbolic link where the source directory was renamed outside of Dolphin.
- Custom settings of the application:
openSUSE Tumbleweed with all updates applied.
An old symbolic link, like created with &quot;ln -s source_dir mydir&quot;, in the home directory, like &quot;/home/tux/mydir&quot;.
The name of the &quot; source_dir&quot; has been manually changed outside of Dolphin;  without updating the the symbolic link entry in the home directory.

Other info:
The &quot;source_dir&quot; is located on another disk partition, formatted with btrfs.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f57dab2af80 (LWP 4014))]

Thread 6 (Thread 0x7f57c6ae5700 (LWP 4019)):
#0  0x00007f57dfa8fbdf in poll () from /lib64/libc.so.6
#1  0x00007f57db74f27e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f57db74f39f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f57dd90d98b in QEventDispatcherGlib::processEvents (this=0x7f57bc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f57dd8b60cb in QEventLoop::exec (this=this@entry=0x7f57c6ae4da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f57dd6ee021 in QThread::exec (this=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f57dd6ef1a2 in QThreadPrivate::start (arg=0x564d13b467a0) at thread/qthread_unix.cpp:360
#7  0x00007f57dc15af2a in start_thread () from /lib64/libpthread.so.0
#8  0x00007f57dfa9a4af in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f57d0c9c700 (LWP 4018)):
#0  0x00007f57dc1616a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f57d22af515 in ?? () from /usr/lib64/dri/swrast_dri.so
#2  0x00007f57d2292897 in ?? () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f57dc15af2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007f57dfa9a4af in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f57d149d700 (LWP 4017)):
#0  0x00007f57dc1616a5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f57d22af515 in ?? () from /usr/lib64/dri/swrast_dri.so
#2  0x00007f57d2292897 in ?? () from /usr/lib64/dri/swrast_dri.so
#3  0x00007f57dc15af2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007f57dfa9a4af in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f57d3e88700 (LWP 4016)):
#0  0x00007f57db74bf18 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f57db74d4fc in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f57db74e743 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f57db74f1ab in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f57db74f39f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f57dd90d98b in QEventDispatcherGlib::processEvents (this=0x7f57cc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f57dd8b60cb in QEventLoop::exec (this=this@entry=0x7f57d3e87d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f57dd6ee021 in QThread::exec (this=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f57ddb964f6 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f57dd6ef1a2 in QThreadPrivate::start (arg=0x7f57ddc18d80) at thread/qthread_unix.cpp:360
#10 0x00007f57dc15af2a in start_thread () from /lib64/libpthread.so.0
#11 0x00007f57dfa9a4af in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f57d8a54700 (LWP 4015)):
#0  0x00007f57dfa8fbdf in poll () from /lib64/libc.so.6
#1  0x00007f57dc128742 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f57dc1293fa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f57d8c5ef90 in QXcbEventQueue::run (this=0x564d1329eb80) at qxcbeventqueue.cpp:228
#4  0x00007f57dd6ef1a2 in QThreadPrivate::start (arg=0x564d1329eb80) at thread/qthread_unix.cpp:360
#5  0x00007f57dc15af2a in start_thread () from /lib64/libpthread.so.0
#6  0x00007f57dfa9a4af in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f57dab2af80 (LWP 4014)):
[KCrash Handler]
#6  QByteArray::QByteArray (this=0x7ffc49a16908, size=-1) at tools/qbytearray.cpp:1843
#7  0x00007f57dd3970bd in k_queryAttributes (path=..., attributes=...) at /usr/src/debug/kfilemetadata5-5.64.0-1.1.x86_64/src/xattr_p.h:240
#8  0x00007f57dd399739 in KFileMetaData::UserMetaData::queryAttributes (this=this@entry=0x7ffc49a16a40, attributes=..., attributes@entry=...) at /usr/src/debug/kfilemetadata5-5.64.0-1.1.x86_64/src/usermetadata.cpp:220
#9  0x00007f57df3cd20b in Baloo::Private::convertUserMetaData (metaData=...) at /usr/src/debug/baloo5-widgets-19.12.0-1.1.x86_64/src/filemetadatautil.cpp:36
#10 0x00007f57df3ce6ae in Baloo::IndexedDataRetriever::slotIndexedFile (this=0x564d13b9b970, exitCode=&lt;optimized out&gt;, exitStatus=&lt;optimized out&gt;) at /usr/src/debug/baloo5-widgets-19.12.0-1.1.x86_64/src/indexeddataretriever.cpp:70
#11 0x00007f57dd8e2638 in QtPrivate::QSlotObjectBase::call (a=0x7ffc49a16bc0, r=0x564d13b9b970, this=0x564d1375b650) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#12 QMetaObject::activate (sender=0x564d1389c2e0, signalOffset=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at kernel/qobject.cpp:3789
#13 0x00007f57dd82bb98 in QProcess::finished (this=this@entry=0x564d1389c2e0, _t1=&lt;optimized out&gt;, _t2=&lt;optimized out&gt;) at .moc/moc_qprocess.cpp:339
#14 0x00007f57dd832507 in QProcessPrivate::_q_processDied (this=0x564d13b4c690) at io/qprocess.cpp:1189
#15 0x00007f57dd8326e2 in QProcess::qt_static_metacall (_o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=0x7ffc49a16d70) at io/qprocess.h:302
#16 0x00007f57dd8e24d8 in QMetaObject::activate (sender=0x564d137997f0, signalOffset=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at kernel/qobject.cpp:3809
#17 0x00007f57dd8eedf1 in QSocketNotifier::activated (this=this@entry=0x564d137997f0, _t1=&lt;optimized out&gt;, _t2=...) at .moc/moc_qsocketnotifier.cpp:141
#18 0x00007f57dd8ef131 in QSocketNotifier::event (this=0x564d137997f0, e=0x7ffc49a17030) at kernel/qsocketnotifier.cpp:266
#19 0x00007f57de3c1c62 in QApplicationPrivate::notify_helper (this=this@entry=0x564d13264e80, receiver=receiver@entry=0x564d137997f0, e=e@entry=0x7ffc49a17030) at kernel/qapplication.cpp:3703
#20 0x00007f57de3cb1e0 in QApplication::notify (this=0x7ffc49a17340, receiver=0x564d137997f0, e=0x7ffc49a17030) at kernel/qapplication.cpp:3449
#21 0x00007f57dd8b7562 in QCoreApplication::notifyInternal2 (receiver=0x564d137997f0, event=0x7ffc49a17030) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:143
#22 0x00007f57dd90e575 in socketNotifierSourceDispatch (source=0x564d13345930) at kernel/qeventdispatcher_glib.cpp:107
#23 0x00007f57db74ef88 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f57db74f310 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f57db74f39f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f57dd90d971 in QEventDispatcherGlib::processEvents (this=0x564d13348560, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f57dd8b60cb in QEventLoop::exec (this=this@entry=0x7ffc49a17240, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#28 0x00007f57dd8bdd32 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#29 0x00007f57ddd84d5c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1788
#30 0x00007f57de3c1bd5 in QApplication::exec () at kernel/qapplication.cpp:2859
#31 0x00007f57df95fd3d in kdemain (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/dolphin-19.12.0-1.1.x86_64/src/main.cpp:171
#32 0x00007f57df9c1e0b in __libc_start_main () from /lib64/libc.so.6
#33 0x0000564d11b7808a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 4014) detached]

Possible duplicates by query: bug 415212, bug 415198, bug 414918, bug 414700, bug 414453.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1897545</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-12-21 02:38:40 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 414227 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>