https://bugs.kde.org/show_bug.cgi?id=493937

--- Comment #5 from Artur <k...@usbx.eu> ---
`testparm -d0 -s --parameter-name "usershare path"`
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

bash: /var/lib/samba/usershares: No such file or directory

If I mkdir /var/lib/samba/usershares then I get:
bash: /var/lib/samba/usershares: Is a directory

In both cases testparm executes and exits immediately. Dolphin gets stuch no
matter if /var/lib/samba/usershares exists or not.

Can this possibly be a glibc/kernel issue? I am running glibc-2.39-r6 but quite
old kernel 4.15.0-rc7.

I also rebuilt qtbase with debug symbols:
#0  0x00007ffff54496c6 in ppoll () at /lib64/libc.so.6
#1  0x00007ffff598f34d in ppoll
    (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>,
__fds=<optimized out>)
    at
/usr/src/debug/dev-qt/qtbase-6.7.2-r5/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcore_unix.cpp:100
#2  qt_ppoll (timeout_ts=0x7fffffffbd80, nfds=4, fds=0x7fffffffbe00)
    at
/usr/src/debug/dev-qt/qtbase-6.7.2-r5/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcore_unix.cpp:103
#3  qt_ppoll (timeout_ts=0x7fffffffbd80, nfds=4, fds=0x7fffffffbe00)
    at
/usr/src/debug/dev-qt/qtbase-6.7.2-r5/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcore_unix.cpp:100
#4  qt_safe_poll (fds=fds@entry=0x7fffffffbe00, nfds=nfds@entry=4,
deadline=...)
    at
/usr/src/debug/dev-qt/qtbase-6.7.2-r5/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcore_unix.cpp:135
        ts = {tv_sec = 29, tv_nsec = 903306472}
        ret = <optimized out>
        remaining = std::chrono::duration = { <optimized out>ns }
#5  0x00007ffff58df8e4 in (anonymous namespace)::QProcessPoller::poll
(deadline=..., this=0x7fffffffbe00)
    at
/usr/src/debug/dev-qt/qtbase-6.7.2-r5/qtbase-everywhere-src-6.7.2/src/corelib/io/qprocess_unix.cpp:224
#6  QProcessPrivate::waitForFinished (this=this@entry=0x555555bda7d0,
deadline=...)
    at
/usr/src/debug/dev-qt/qtbase-6.7.2-r5/qtbase-everywhere-src-6.7.2/src/corelib/io/qprocess_unix.cpp:1234
        poller = {pfds = {{fd = -1, events = 1, revents = 0}, {fd = -1, events
= 1, revents = 0}, {fd = -1, events = 1, revents = 0}, {fd = 53, events = 1,
revents = 0}}}
        ret = <optimized out>
#7  0x00007ffff58e8ae7 in QProcess::waitForFinished
(this=this@entry=0x7fffffffbed0, msecs=msecs@entry=30000)
    at
/usr/src/debug/dev-qt/qtbase-6.7.2-r5/qtbase-everywhere-src-6.7.2/src/corelib/io/qprocess.cpp:2084
        d = 0x555555bda7d0
        deadline = {static Forever = QDeadlineTimer::ForeverConstant::Forever,
t1 = 2273016157442, t2 = 0, type = 1}
#8  0x00007ffff78194d8 in KSambaSharePrivate::runProcess (progName=...,
args=..., stdOut=..., stdErr=...)
    at
/usr/src/debug/kde-frameworks/kio-6.5.0/kio-6.5.0/src/core/ksambashare.cpp:88
        process = {<QIODevice> = {<QObject> = {_vptr.QObject = 0x7ffff5d5d1a8
<vtable for QProcess+16>, static staticMetaObject = {d = {superdata = {direct =
0x0}, stringdata = 0x7ffff5c0a820 <(anonymous
namespace)::qt_meta_stringdata_CLASSQObjectENDCLASS>, data = 0x7ffff5c0a700
<qt_meta_data_CLASSQObjectENDCLASS>, static_metacall = 0x7ffff5a6f860
<QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>,
relatedMetaObjects = 0x0, metaTypes = 0x7ffff5d60320
<qt_incomplete_metaTypeArray<(anonymous
namespace)::qt_meta_stringdata_CLASSQObjectENDCLASS_t,
QtPrivate::TypeAndForceComplete<QString, std::integral_constant<bool, true> >,
QtPrivate::TypeAndForceComplete<QObject, std::integral_constant<bool, true> >,
QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<QObject*, std::integral_constant<bool, false>
>, QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<void, std::i--Type <RET> for more, q to quit, c
to continue without paging--c
ntegral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<QString
const&, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<QObject*, std::integral_constant<bool, false> >
>>, extradata = 0x0}}, d_ptr = {d = 0x555555bda7d0}}, <QIODeviceBase> = {<No
data fields>}, static staticMetaObject = {d = {superdata = {direct =
0x7ffff5d588e0 <QObject::staticMetaObject>}, stringdata = 0x7ffff5c10f60
<(anonymous namespace)::qt_meta_stringdata_CLASSQIODeviceENDCLASS>, data =
0x7ffff5c10e40 <qt_meta_data_CLASSQIODeviceENDCLASS>, static_metacall =
0x7ffff5a9dad0 <QIODevice::qt_static_metacall(QObject*, QMetaObject::Call, int,
void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7ffff5d62960
<qt_incomplete_metaTypeArray<(anonymous
namespace)::qt_meta_stringdata_CLASSQIODeviceENDCLASS_t,
QtPrivate::TypeAndForceComplete<QIODevice, std::integral_constant<bool, true>
>, QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<int, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<long long, std::integral_constant<bool, false>
>, QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<int, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<long long, std::integral_constant<bool, false>
>, QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> > >>,
extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct =
0x7ffff5d62ca0 <QIODevice::staticMetaObject>}, stringdata = 0x7ffff5b7fc60
<(anonymous namespace)::qt_meta_stringdata_CLASSQProcessENDCLASS>, data =
0x7ffff5b7f940 <qt_meta_data_CLASSQProcessENDCLASS>, static_metacall =
0x7ffff58e8bb0 <QProcess::qt_static_metacall(QObject*, QMetaObject::Call, int,
void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7ffff5d5bd80
<qt_incomplete_metaTypeArray<(anonymous
namespace)::qt_meta_stringdata_CLASSQProcessENDCLASS_t,
QtPrivate::TypeAndForceComplete<QProcess::ProcessError,
std::integral_constant<bool, true> >,
QtPrivate::TypeAndForceComplete<QProcess::ProcessState,
std::integral_constant<bool, true> >,
QtPrivate::TypeAndForceComplete<QProcess::ProcessChannel,
std::integral_constant<bool, true> >,
QtPrivate::TypeAndForceComplete<QProcess::ProcessChannelMode,
std::integral_constant<bool, true> >,
QtPrivate::TypeAndForceComplete<QProcess::InputChannelMode,
std::integral_constant<bool, true> >,
QtPrivate::TypeAndForceComplete<QProcess::ExitStatus,
std::integral_constant<bool, true> >, QtPrivate::TypeAndForceComplete<QProcess,
std::integral_constant<bool, true> >, QtPrivate::TypeAndForceComplete<void,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<void,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<int,
std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<QProcess::ExitStatus,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<void,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<int,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<void,
std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<QProcess::ProcessError,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<void,
std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<QProcess::ProcessState,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<void,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<void,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<void,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<void,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<bool,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<bool,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<bool,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<bool,
std::integral_constant<bool, false> >, QtPrivate::TypeAndForceComplete<void,
std::integral_constant<bool, false> > >>, extradata = 0x0}}}

        exec = {d = {d = 0x555555be24d0, ptr = 0x555555be24e0
u"/usr/bin/testparm", size = 17}, static _empty = 0 u'\000'}
#9  0x00007ffff7819857 in KSambaSharePrivate::testparmParamValue
(parameterName=...)
    at
/usr/src/debug/kde-frameworks/kio-6.5.0/kio-6.5.0/src/core/ksambashare.cpp:111
        stdErr = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 '\000'}
        stdOut = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 '\000'}
        args = {<QListSpecialMethods<QString>> =
{<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d
= {d = 0x555555caccc0, ptr = 0x555555caccd0, size = 4}}
#10 0x00007ffff781ac90 in KSambaSharePrivate::setUserSharePath
(this=this@entry=0x5555564f4050)
    at
/usr/src/debug/kde-frameworks/kio-6.5.0/kio-6.5.0/src/core/ksambashare.cpp:68
        rawString = {d = {d = 0x7ffff795f0c0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__instance>
>::instance()::holder>, ptr = 0x7fffffffc260 u"", size = 140737488339536},
static _empty = 0 u'\000'}
        fileInfo = {d_ptr = {d = 0x0}}
#11 0x00007ffff781c8ac in KSambaSharePrivate::KSambaSharePrivate
(this=0x5555564f4050, parent=<optimized out>)
    at
/usr/src/debug/kde-frameworks/kio-6.5.0/kio-6.5.0/src/core/ksambashare.cpp:42
#12 0x00007ffff781c98c in KSambaShare::KSambaShare
    (this=0x7ffff795f0c0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous
namespace)::Q_QGS__instance> >::instance()::holder>) at
/usr/src/debug/kde-frameworks/kio-6.5.0/kio-6.5.0/src/core/ksambashare.cpp:455
        d = <optimized out>
#13 0x00007ffff781cacf in KSambaShareSingleton::KSambaShareSingleton
    (this=0x7ffff795f0c0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous
namespace)::Q_QGS__instance> >::instance()::holder>) at
/usr/src/debug/kde-frameworks/kio-6.5.0/kio-6.5.0/src/core/ksambashare.cpp:523
#14 (anonymous namespace)::Q_QGS__instance::innerFunction
    (pointer=0x7ffff795f0c0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous
namespace)::Q_QGS__instance> >::instance()::holder>) at
/usr/src/debug/kde-frameworks/kio-6.5.0/kio-6.5.0/src/core/ksambashare.cpp:529
#15 QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__instance>::Holder
    (this=0x7ffff795f0c0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous
namespace)::Q_QGS__instance> >::instance()::holder>) at
/usr/include/qt6/QtCore/qglobalstatic.h:37
#16 QGlobalStatic<QtGlobalStatic::Holder<(anonymous
namespace)::Q_QGS__instance> >::instance ()
    at /usr/include/qt6/QtCore/qglobalstatic.h:100
        holder = {static ConstructionIsNoexcept = false, static guard =
{_q_value = std::atomic<signed char> = { 0 '\000' }}, storage = {instance =
{<QObject> = {_vptr.QObject = 0x7ffff7954828 <vtable for KSambaShare+16>,
static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata =
0x7ffff5c0a820 <(anonymous
namespace)::qt_meta_stringdata_CLASSQObjectENDCLASS>, data = 0x7ffff5c0a700
<qt_meta_data_CLASSQObjectENDCLASS>, static_metacall = 0x7ffff5a6f860
<QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>,
relatedMetaObjects = 0x0, metaTypes = 0x7ffff5d60320
<qt_incomplete_metaTypeArray<(anonymous
namespace)::qt_meta_stringdata_CLASSQObjectENDCLASS_t,
QtPrivate::TypeAndForceComplete<QString, std::integral_constant<bool, true> >,
QtPrivate::TypeAndForceComplete<QObject, std::integral_constant<bool, true> >,
QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<QObject*, std::integral_constant<bool, false>
>, QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >,
QtPrivate::TypeAndForceComplete<QString const&, std::integral_constant<bool,
false> >, QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool,
false> >, QtPrivate::TypeAndForceComplete<QObject*,
std::integral_constant<bool, false> > >>, extradata = 0x0}}, d_ptr = {d =
0x555555d690b0}}, static staticMetaObject = {d = {superdata = {direct =
0x7ffff5d588e0 <QObject::staticMetaObject>}, stringdata = 0x7ffff7913940
<(anonymous namespace)::qt_meta_stringdata_CLASSKSambaShareENDCLASS>, data =
0x7ffff79138e0 <qt_meta_data_CLASSKSambaShareENDCLASS>, static_metacall =
0x7ffff7817d00 <KSambaShare::qt_static_metacall(QObject*, QMetaObject::Call,
int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7ffff7953860
<qt_incomplete_metaTypeArray<(anonymous
namespace)::qt_meta_stringdata_CLASSKSambaShareENDCLASS_t,
QtPrivate::TypeAndForceComplete<KSambaShare, std::integral_constant<bool, true>
>, QtPrivate::TypeAndForceComplete<void, std::integral_constant<bool, false> >
>>, extradata = 0x0}}, d_ptr = 0x0}}}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to