Summary: | kioworker crashed in WSDiscoveryClient::sendProbe() when I tried to mount a samba share while ip6 was disabled | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Patrick Silva <bugseforuns> |
Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | jjm, jlohman, kdelibs-bugs, meven29, nate |
Priority: | NOR | Keywords: | qt6 |
Version: | 5.245.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/libraries/kdsoap-ws-discovery-client/-/commit/14e0fb7658a9b21de1599c92337a102f9c9633e4 | Version Fixed In: | |
Sentry Crash Report: |
Description
Patrick Silva
2023-11-16 22:51:23 UTC
How exactly were you mounting the Samba share to make this happen? I clicked on a link added to Places panel, under Remote. kioworker also crashes after click on Shared Folders (SMB) icon inside Network section of the Places panel. There is a q_assert that breaks in kdsoap-ws-discovery-client : #15 0x00007fab6f6a5908 in qt_assert (assertion=assertion@entry=0x7fab6aee09ef "rc", file=file@entry=0x7fab6aee09d3 "./src/wsdiscoveryclient.cpp", line=line@entry=86) at ./src/corelib/global/qassert.cpp:68 #16 0x00007fab6aec9c67 in WSDiscoveryClient::sendProbe (this=this@entry=0x557299436350, typeList=..., scopeList=...) at ./src/wsdiscoveryclient.cpp:86 #17 0x00007fab6af792ad in WSDiscoverer::start (this=0x5572994713a0) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qarraydataops.h:340 #18 0x00007fab6af68f3e in SMBWorker::listDir (this=0x7ffeb9fc2500, kurl=...) at ./smb/kio_smb_browse.cpp:443 #19 0x00007fab6f91fad8 in KIO::WorkerSlaveBaseBridge::listDir (this=0x557299454560, url=...) at ./src/core/workerbase_p.h:121 ``` rc = m_soapUdpClient->sendMessage(message, KDSoapHeaders(), DISCOVERY_ADDRESS_IPV6, DISCOVERY_PORT); Q_ASSERT(rc); ``` Patrick Silva, do you have Ipv6 support on your network ? ipv6 was disabled on my system. I have enabled it right now and the crash is no longer reproducible with double click on Shared Folders (SMB) icon inside Network section of the Places panel. A possibly relevant merge request was started @ https://invent.kde.org/libraries/kdsoap-ws-discovery-client/-/merge_requests/11 Possible duplicate of 430890, upstream fix submitted there but not accepted. *** Bug 430890 has been marked as a duplicate of this bug. *** *** Bug 482074 has been marked as a duplicate of this bug. *** *** Bug 482496 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/libraries/kdsoap-ws-discovery-client/-/merge_requests/12 Git commit 14e0fb7658a9b21de1599c92337a102f9c9633e4 by Harald Sitter. Committed on 18/03/2024 at 15:25. Pushed by sitter into branch 'master'. be more lenient with failing message submission warn when submission of both ip types fail and assert for debug builds. this allows either type to be disabled while still making it super obvious when something is broken in debug builds M +12 -8 src/wsdiscoveryclient.cpp https://invent.kde.org/libraries/kdsoap-ws-discovery-client/-/commit/14e0fb7658a9b21de1599c92337a102f9c9633e4 |