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

--- Comment #32 from Abdelfettah Hadij El Houati <abdel...@gmail.com> ---
(In reply to Nate Graham from comment #31)
> "failure to launch" is a symptom that can have ten thousand root causes;
> there's no evidence that this is your issue. It's probably something else.
> 
> Unfortunately 5.27 is pretty much abandoned by developers; the Plasma 6
> transition has eaten up any resources there might have been to investigate,
> develop, or backport fixes for Plasma 5.27. Any support will need to come
> from the distro developers at this point. And I would strongly recommend
> upgrading to Kubuntu 24.10 when it's released, which will include Plasma 6.

Dear Nate,

Thanks for the quick reply and  sorry for not being specific enough in my
previous messge. I will try to be more precise this time:
When I was referring to the same symptoms I was not only referring to the
failure to launch, I am also experiencing the other symptoms described by
others here, namely:
* The issue doe snot appear if I load only one backend or a selection and also
the order of backend loading seems to play a role.
* According to the fix this seems ultimately caused by a race condition, this
is coherent with the fact that running it with strace solves the issue. (i.e.
`strace plasma-discover` works fine)
* When runing with gdb and examining in detail the hang it seems to be waiting
for mutex lock:
```
(gdb) backtrace
#0  futex_wait (private=0, expected=2, futex_word=0x5555559cb850) at
../sysdeps/nptl/futex-internal.h:146
#1  __GI___lll_lock_wait (futex=futex@entry=0x5555559cb850, private=0) at
./nptl/lowlevellock.c:49
#2  0x00007ffff52a0147 in lll_mutex_lock_optimized (mutex=0x5555559cb850) at
./nptl/pthread_mutex_lock.c:48
#3  ___pthread_mutex_lock (mutex=0x5555559cb850) at
./nptl/pthread_mutex_lock.c:128
#4  0x00007ffff456d64d in g_rec_mutex_lock (mutex=mutex@entry=0x7ffff5418070
<g_module_global_lock>) at ../../../glib/gthread-posix.c:397
#5  0x00007ffff5414a05 in g_module_open_full (file_name=file_name@entry=0x0,
flags=flags@entry=0, error=error@entry=0x0) at ../../../gmodule/gmodule.c:478
#6  0x00007ffff54154bb in g_module_open (file_name=file_name@entry=0x0,
flags=flags@entry=0) at ../../../gmodule/gmodule.c:708
#7  0x00007fffdf283668 in soup2_is_loaded () at ../libsoup/soup-init.c:26
#8  soup_init () at ../libsoup/soup-init.c:54
#9  soup_init_ctor () at ../libsoup/soup-init.c:96
#10 0x00007ffff7fca71f in call_init (l=<optimized out>, argc=argc@entry=1,
argv=argv@entry=0x7fffffffd898, env=env@entry=0x7fffffffd8a8) at
./elf/dl-init.c:74
#11 0x00007ffff7fca824 in call_init (env=<optimized out>, argv=<optimized out>,
argc=<optimized out>, l=<optimized out>) at ./elf/dl-init.c:120
#12 _dl_init (main_map=0x5555559d08c0, argc=1, argv=0x7fffffffd898,
env=0x7fffffffd8a8) at ./elf/dl-init.c:121
#13 0x00007ffff7fc65b2 in __GI__dl_catch_exception
(exception=exception@entry=0x0, operate=operate@entry=0x7ffff7fd1cc0
<call_dl_init>, args=args@entry=0x7fffffffc6c0)
    at ./elf/dl-catch.c:211
#14 0x00007ffff7fd1d7c in dl_open_worker (a=0x7fffffffc870) at
./elf/dl-open.c:829
#15 dl_open_worker (a=a@entry=0x7fffffffc870) at ./elf/dl-open.c:792
#16 0x00007ffff7fc651c in __GI__dl_catch_exception
(exception=exception@entry=0x7fffffffc850, operate=operate@entry=0x7ffff7fd1ce0
<dl_open_worker>, args=args@entry=0x7fffffffc870)
    at ./elf/dl-catch.c:237
#17 0x00007ffff7fd2164 in _dl_open (file=0x55555595c828
"/usr/lib/x86_64-linux-gnu/qt5/plugins/discover/snap-backend.so",
mode=<optimized out>, 
    caller_dlopen=0x7ffff5cd3a67 <QLibraryPrivate::load_sys()+1415>,
nsid=<optimized out>, argc=1, argv=0x7fffffffd898, env=0x7fffffffd8a8) at
./elf/dl-open.c:905
#18 0x00007ffff5298194 in dlopen_doit (a=a@entry=0x7fffffffcb20) at
./dlfcn/dlopen.c:56
#19 0x00007ffff7fc651c in __GI__dl_catch_exception
(exception=exception@entry=0x7fffffffca60, operate=0x7ffff5298130
<dlopen_doit>, args=0x7fffffffcb20) at ./elf/dl-catch.c:237
#20 0x00007ffff7fc6669 in _dl_catch_error (objname=0x7fffffffcac8,
errstring=0x7fffffffcad0, mallocedp=0x7fffffffcac7, operate=<optimized out>,
args=<optimized out>)
    at ./elf/dl-catch.c:256
#21 0x00007ffff5297c73 in _dlerror_run (operate=operate@entry=0x7ffff5298130
<dlopen_doit>, args=args@entry=0x7fffffffcb20) at ./dlfcn/dlerror.c:138
#22 0x00007ffff529824f in dlopen_implementation (dl_caller=<optimized out>,
mode=<optimized out>, file=<optimized out>) at ./dlfcn/dlopen.c:71
#23 ___dlopen (file=<optimized out>, mode=<optimized out>) at
./dlfcn/dlopen.c:81
#24 0x00007ffff5cd3a67 in QLibraryPrivate::load_sys (this=0x5555559cc670) at
plugin/qlibrary_unix.cpp:238
#25 0x00007ffff5cccfa5 in QLibraryPrivate::load
(this=this@entry=0x5555559cc670) at plugin/qlibrary.cpp:584
#26 0x00007ffff5ccd57b in QLibraryPrivate::loadPlugin (this=0x5555559cc670) at
plugin/qlibrary.cpp:641
#27 0x00007ffff5cbdd36 in QPluginLoader::load (this=0x5555559cb4f0) at
plugin/qpluginloader.cpp:238
#28 QPluginLoader::load (this=0x5555559cb4f0) at plugin/qpluginloader.cpp:229
#29 0x00007ffff5cbde81 in QPluginLoader::instance
(this=this@entry=0x5555559cb4f0) at plugin/qpluginloader.cpp:197
#30 0x00007ffff7ebc334 in DiscoverBackendsFactory::backendForFile
(this=this@entry=0x7fffffffd00f, libname=..., name=...)
    at
/usr/src/plasma-discover-5.27.11-0ubuntu2/libdiscover/DiscoverBackendsFactory.cpp:53
#31 0x00007ffff7ebc7d3 in DiscoverBackendsFactory::backend
(this=this@entry=0x7fffffffd00f, name=...)
    at
/usr/src/plasma-discover-5.27.11-0ubuntu2/libdiscover/DiscoverBackendsFactory.cpp:44
#32 0x00007ffff7ebc93a in operator() (name=..., __closure=<synthetic pointer>)
at
/usr/src/plasma-discover-5.27.11-0ubuntu2/libdiscover/DiscoverBackendsFactory.cpp:95
#33 kTransform<QVector<AbstractResourcesBackend*>, QStringList,
DiscoverBackendsFactory::allBackends() const::<lambda(const QString&)> >
(op=..., input=...)
    at /usr/src/plasma-discover-5.27.11-0ubuntu2/libdiscover/utils.h:53
#34 DiscoverBackendsFactory::allBackends (this=0x7fffffffd00f) at
/usr/src/plasma-discover-5.27.11-0ubuntu2/libdiscover/DiscoverBackendsFactory.cpp:96
--Type <RET> for more, q to quit, c to continue without paging--

```


Finally, I won't be upgrading to Kubuntu 24.10 as I like to stick with LTS
editions. So I will try to forward the issue to the distribution maintainers
and see if there is any luck. 

Best regards

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

Reply via email to