<div dir="ltr"><div><div>I can reproduce a similar crash with shares in a linux machine with long names like<br>smb://<a href="http://127.0.0.1/Partage" target="_blank">127.0.0.1/Partage</a> Mint-land mas largo aun pero sin caracteres raros/<br>smb://<a href="http://127.0.0.1/workgroup.Partage.Mint-land_mas_largo_aun1234pero_sin0_caracteres_raros/" target="_blank">127.0.0.1/workgroup.Part<wbr>age.Mint-land_mas_largo_aun123<wbr>4pero_sin0_caracteres_raros/</a><br><br></div><div>What I do:<br></div><div>in Kate "Save copy as", click on network -> "Recursos compartidos de Samba", it can't find any workgroup (I'm not good configuring samba :-().<br></div><div>modify the url to smb://<a href="http://127.0.0.1/">127.0.0.1/</a> and Enter<br></div><div>Click on one of the folders, and then on Save, it is saved.<br>Again, "Save copy as", click on network -> "Recursos compartidos de Samba", and Crash.<br><br></div><div>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#7 0x00007fcfd7747674 in KCoreDirListerCache::slotRedirection(KIO::Job*, QUrl const&) (this=0x7fcfd79fe600 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, j=0x6d89a40, url=...) at /home/jtorres/kdesrc/frameworks/kio/src/core/kcoredirlister.cpp:1488</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#8 0x00007fcfd7751c46 in KCoreDirListerCache::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x7fcfd79fe600 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff19e2b850) at /home/jtorres/kdesrc/build/frameworks/kio/src/core/KF5KIOCore_autogen/include/moc_kcoredirlister_p.cpp:137</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#9 0x00007fcfd28f102a in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#10 0x00007fcfd76f9baf in KIO::ListJob::redirection(KIO::Job*, QUrl const&) (this=0x6d89a40, _t1=0x6d89a40, _t2=...) at /home/jtorres/kdesrc/build/frameworks/kio/src/core/KF5KIOCore_autogen/include/moc_listjob.cpp:246</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#11 0x00007fcfd76f8e42 in KIO::ListJobPrivate::slotRedirection(QUrl const&) (this=0x70f2ef0, url=...) at /home/jtorres/kdesrc/frameworks/kio/src/core/listjob.cpp:222</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#12 0x00007fcfd76f927e in KIO::ListJobPrivate::<lambda(const QUrl&)>::operator()(const QUrl &) const (__closure=0x6b8cb90, url=...) at /home/jtorres/kdesrc/frameworks/kio/src/core/listjob.cpp:294</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#13 0x00007fcfd76fa632 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<const QUrl&>, void, KIO::ListJobPrivate::start(KIO::Slave*)::<lambda(const QUrl&)> >::call(KIO::ListJobPrivate::<lambda(const QUrl&)> &, void **) (f=..., arg=0x7fff19e2baf0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:130</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#14 0x00007fcfd76fa4d7 in QtPrivate::Functor<KIO::ListJobPrivate::start(KIO::Slave*)::<lambda(const QUrl&)>, 1>::call<QtPrivate::List<QUrl const&>, void>(KIO::ListJobPrivate::<lambda(const QUrl&)> &, void *, void **) (f=..., arg=0x7fff19e2baf0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:240</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#15 0x00007fcfd76fa3fd in QtPrivate::QFunctorSlotObject<KIO::ListJobPrivate::start(KIO::Slave*)::<lambda(const QUrl&)>, 1, QtPrivate::List<const QUrl&>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x6b8cb80, r=0x6d89a40, a=0x7fff19e2baf0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:423</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#16 0x00007fcfd28f112c in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#17 0x00007fcfd76e5325 in KIO::SlaveInterface::redirection(QUrl const&) (this=0x6d2e420, _t1=...) at /home/jtorres/kdesrc/build/frameworks/kio/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:518</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#18 0x00007fcfd76e2f51 in KIO::SlaveInterface::dispatch(int, QByteArray const&) (this=0x6d2e420, _cmd=20, rawdata=...) at /home/jtorres/kdesrc/frameworks/kio/src/core/slaveinterface.cpp:247</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#19 0x00007fcfd76e2745 in KIO::SlaveInterface::dispatch() (this=0x6d2e420) at /home/jtorres/kdesrc/frameworks/kio/src/core/slaveinterface.cpp:89</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#20 0x00007fcfd76e6f22 in KIO::Slave::gotInput() (this=0x6d2e420) at /home/jtorres/kdesrc/frameworks/kio/src/core/slave.cpp:406</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#21 0x00007fcfd777ac91 in KIO::Slave::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x6d2e420, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff19e2be30) at /home/jtorres/kdesrc/build/frameworks/kio/src/core/KF5KIOCore_autogen/EWIEGA46WW/moc_slave.cpp:89</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#22 0x00007fcfd28f102a in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#23 0x00007fcfd768c575 in KIO::Connection::readyRead() (this=0x6d26c90) at /home/jtorres/kdesrc/build/frameworks/kio/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:143</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">#24 0x00007fcfd768b361 in KIO::ConnectionPrivate::dequeue() (this=0x6c75d70) at /home/jtorres/kdesrc/frameworks/kio/src/core/connection.cpp:46</p><br></div><div><br></div>I'm working in KCoreDirListerCache right now.<br><a href="https://phabricator.kde.org/D10742" target="_blank">https://phabricator.kde.org/<wbr>D10742</a><br></div><div>But it doesn't solve this crash, I'll try to fix the crashes.<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-21 22:32 GMT+01:00 Dominik Haumann <span dir="ltr"><<a href="mailto:dhaumann@kde.org" target="_blank">dhaumann@kde.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hi everyone,</div><div dir="auto"><br></div><div dir="auto">given the momentum we currently have in KIO fixes, I would like to raise attention to the bug below, which may be 10+ years old.</div><div dir="auto"><br></div><div dir="auto">Maybe we have some developers here who can reproduce?</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto">Dominik<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">Am 20.02.2018 23:38 schrieb "Valdo" <<a href="mailto:bugzilla_noreply@kde.org" target="_blank">bugzilla_noreply@kde.org</a>>:<br type="attribution"><blockquote class="m_-7745227383161734989quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://bugs.kde.org/show_bug.cgi?id=390288" rel="noreferrer" target="_blank">https://bugs.kde.org/show_bug.<wbr>cgi?id=390288</a><br>
<br>
--- Comment #2 from Valdo ---<br>
Hi Dominik,<br>
<br>
yes I can reproduce this issue systematically.<br>
<br>
A/ Test case avoiding the bug:<br>
<br>
I can create an empty text file in the remote Samba share with Dolphin. Then<br>
open that empty file with Kate, feed it with some text and save it: no issue.<br>
<br>
B/ Test case hitting the bug:<br>
<br>
Launch Kate, type in some text, then click Save, navigate to the "Network"<br>
shortcut, then double-clicking "Samba shares": Kate crashes in less than a<br>
second.<br>
<br>
By reading the first part of bug #190535, I had the idea to launch Kate from<br>
Konsole. As soon as I click Save (to select a destination folder), this<br>
information displays in Konsole:<br>
<br>
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""<br>
kf5.kio.core: KSambaShare: Could not find smb.conf!<br>
<br>
Each time I navigate to a new local subfolder, I get this information:<br>
<br>
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""<br>
<br>
Then clicking the "Network" shortcut to the left of the Save window:<br>
<br>
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""<br>
<br>
As soon as I double-click "Samba shares" to the right, I get this in Konsole:<br>
<br>
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""<br>
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""<br>
kf5.kio.core: Refilling KProtocolInfoFactory cache in the hope to find ""<br>
kf5.kio.widgets: Items emitted in directory QUrl("smb://") but that directory<br>
isn't in KDirModel! Root directory: QUrl("smb:///")<br>
Item: QUrl("smb://workgroup")<br>
KCrash: crashing... crashRecursionCounter = 2<br>
KCrash: Application Name = kate path = /usr/bin pid = 1779<br>
KCrash: Arguments: /usr/bin/kate<br>
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libe<wbr>xec/drkonqi from<br>
kdeinit<br>
sock_file=/run/user/1000/kdein<wbr>it5__0<br>
<br>
[2]+ Arrêté kate<br>
$<br>
<br>
Remember my Samba share is hosted on a Linux Mint 18.3 machine. On that<br>
machine, when right-clicking the folder shared with Samba and selecting option<br>
"Sharing options" (or equivalent English translation), I can notice that<br>
message: "The share name is too long" (or equivalent English translation). In<br>
my case, the share name is "Partage Mint-land".<br>
<br>
I hope this helps. Feel free to ask for more details if needed. And thanks for<br>
your investigation.<span class="HOEnZb"><font color="#888888"><br>
<div class="m_-7745227383161734989elided-text"><br>
--<br>
You are receiving this mail because:<br>
You are watching the assignee of the bug.</div></font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>