Linux Radio crash on Libreelec
#1
Hello,

I have re-install a full Libreelec distribution, starting to zero my configuration du to several crash.

Libreelec Generic.x86_64-11.0.6 - Kodi 20
Skin AEOM MQ9
Add-on Radio : https://kodi.wiki/view/Add-on:Radio

When playing radio, system crash randomly : radio and kodi freeze and radio repeats the same sound continuously at high speed.
I try to reboot, but without success, it always loop restart.
I have to power off, and restart at the end of the day.

My logs (this evening, but radio not crash this time ...) :
Kodi.log : https://paste.kodi.tv/ukumuwucag.kodi
System.log : https://paste.kodi.tv/viqukesupu
Harware.log : https://paste.kodi.tv/keberuxema
Audio.log : https://paste.kodi.tv/ijicavarux
Network.log : https://paste.kodi.tv/utixelonev
Varlog.log : https://paste.kodi.tv/vozagaheno
Input.log : https://paste.kodi.tv/enakeqezih
Filesytem.log : https://paste.kodi.tv/kebitizipa
Journal-cur.log : https://paste.kodi.tv/ikusisakab

Many thanks for your help.
Olivier
Reply
#2
Its this one https://forum.kodi.tv/showthread.php?tid=119362 ?
Reply
#3
yes, this one
Reply
#4
The problem is that something (probably the addon?) tries to open a second busydialog:

Code:

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x000073e7b9eab393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x000073e7b9e5a6c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x000073e7b9e424b8 in __GI_abort () at abort.c:79
#4  0x000073e7ba09ca6f in __gnu_cxx::__verbose_terminate_handler () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#5  0x000073e7ba0b011c in __cxxabiv1::__terminate (handler=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#6  0x000073e7ba0b0189 in std::terminate () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#7  0x000073e7ba0b03ed in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x73e7ba26c088 <typeinfo for std::logic_error>, dest=0x73e7ba0c8470 <std::logic_error::~logic_error()>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
#8  0x000063492eaf4f4d in CGUIDialogBusy::WaitOnEvent (event=..., displaytime=200, allowCancel=true) at xbmc/dialogs/GUIDialogBusy.cpp:87
#9  0x00006349322a0d73 in CScriptRunner::WaitOnScriptResult (this=0x73e7b4194308, scriptId=21, path="/home/mark/.kodi/addons/plugin.audio.radio_de/addon.py", name="Radio") at xbmc/interfaces/generic/ScriptRunner.cpp:145
#10 0x000063493229d4b0 in CScriptRunner::RunScriptInternal (this=0x73e7b4194308, addon=std::shared_ptr<ADDON::IAddon> (use count 4, weak count 1) = {...}, path="plugin://plugin.audio.radio_de/station/2019", handle=10, resume=false, wait=true)
    at xbmc/interfaces/generic/ScriptRunner.cpp:119
#11 0x000063493229d881 in CScriptRunner::RunScript (this=0x73e7b4194308, addon=std::shared_ptr<ADDON::IAddon> (use count 4, weak count 1) = {...}, path="plugin://plugin.audio.radio_de/station/2019", handle=10, resume=false)
    at xbmc/interfaces/generic/ScriptRunner.cpp:46
#12 0x0000634932d298ce in CRunningScriptsHandler<XFILE::CPluginDirectory>::RunScript (this=0x73e7b4194308, script=0x73e7b41942a0, addon=std::shared_ptr<ADDON::IAddon> (use count 4, weak count 1) = {...}, path="plugin://plugin.audio.radio_de/station/2019", resume=false)
    at xbmc/interfaces/generic/RunningScriptsHandler.h:50
#13 0x0000634932d0a9bf in XFILE::CPluginDirectory::StartScript (this=0x73e7b41942a0, strPath="plugin://plugin.audio.radio_de/station/2019", resume=false) at xbmc/filesystem/PluginDirectory.cpp:94
#14 0x0000634932d0cb33 in XFILE::CPluginDirectory::GetPluginResult (strPath="plugin://plugin.audio.radio_de/station/2019", resultItem=..., resume=false) at xbmc/filesystem/PluginDirectory.cpp:142
#15 0x000063492ee83f80 in CApplication::OnMessage (this=0x518000000080, message=...) at xbmc/application/Application.cpp:2844
#16 0x000063492ee94c61 in non-virtual thunk to CApplication::OnMessage(CGUIMessage&) () at xbmc/application/Application.cpp:3133
#17 0x000063492e8ea9c2 in CGUIWindowManager::SendMessage (this=0x51400005e040, message=...) at xbmc/guilib/GUIWindowManager.cpp:510
#18 0x000063492e9153c0 in CGUIWindowManager::DispatchThreadMessages (this=0x51400005e040) at xbmc/guilib/GUIWindowManager.cpp:1572
#19 0x000063492ee94fbb in CApplication::Process (this=0x518000000080) at xbmc/application/Application.cpp:3203
#20 0x000063492e90eca2 in CGUIWindowManager::ProcessRenderLoop (this=0x51400005e040, renderOnly=false) at xbmc/guilib/GUIWindowManager.cpp:1421
#21 0x000063492e4c86a2 in CGUIDialog::ProcessRenderLoop (this=0x5190002ecc80, renderOnly=false) at xbmc/guilib/GUIDialog.cpp:239
#22 0x000063492eaf5397 in CGUIDialogBusy::WaitOnEvent (event=..., displaytime=100, allowCancel=true) at xbmc/dialogs/GUIDialogBusy.cpp:94
#23 0x000063492ee82f9f in CApplication::OnMessage (this=0x518000000080, message=...) at xbmc/application/Application.cpp:2819
#24 0x000063492ee94c61 in non-virtual thunk to CApplication::OnMessage(CGUIMessage&) () at xbmc/application/Application.cpp:3133
#25 0x000063492e8ea9c2 in CGUIWindowManager::SendMessage (this=0x51400005e040, message=...) at xbmc/guilib/GUIWindowManager.cpp:510
#26 0x000063492e9153c0 in CGUIWindowManager::DispatchThreadMessages (this=0x51400005e040) at xbmc/guilib/GUIWindowManager.cpp:1572
#27 0x000063492ee94fbb in CApplication::Process (this=0x518000000080) at xbmc/application/Application.cpp:3203
#28 0x000063492ee6d3a9 in CApplication::Run (this=0x518000000080) at xbmc/application/Application.cpp:1925
#29 0x000063492dfb1df4 in XBMC_Run (renderGUI=true) at xbmc/platform/xbmc.cpp:61
#30 0x000063492abd7830 in main (argc=1, argv=0x7ffd80f3af68) at xbmc/platform/posix/main.cpp:70

In frame 8 it intentionally closes Kodi because this situation can't be handled:

Code:

82          {
83            if (dialog->IsDialogRunning())
84            {
85              CLog::Log(LOGFATAL, "Logic error due to two concurrent busydialogs, this is a known issue. "
86                                  "The application will exit.");
87              throw std::logic_error("busy dialog already running");
88            }
89
90            dialog->Open();

There were attempts to handle this better but it's a complex problem, see #18104
Reply
#5
Many thanks for the analysis.
When the problem occurs, Kodi don't close, but freeze without any response to any command sent.
I have to press the reset button to resboot the system.

What shoul I do to test or solve the problem ?
Reply
#6
(2024-03-05, 23:13)OliveT21 Wrote: What shoul I do to test or solve the problem ?

i would suggest since it only occurs when using that addon then you would seek support from the addon developer, it "looks like" it's getting stuck in an endless wait cycle

but you're kind of between a rock and a hard place because it also "looks like" that addon has been abandoned - https://github.com/dersphere/plugin.audio.radio_de
so you can file an issue on github which will likely go unanswered
ask the developer in their thread and hope to get a response https://forum.kodi.tv/showthread.php?tid=119362
or discontinue use of the addon until it resumes development
Reply
#7
I haven't noticed that the addon seem to be abandoned.
I'll try this way.
Is there another addon to listen radio you recommand ?
It may be more simple to use a more recent addon ?
Reply
#8
(2024-03-05, 23:32)OliveT21 Wrote: Is there another addon to listen radio you recommand ?

i have no recommendations, i do not use Kodi in this manner
 
(2024-03-05, 23:32)OliveT21 Wrote: It may be more simple to use a more recent addon ?

that's up to you, that would fall under the "discontinue use" option i gave above
Reply

Logout Mark Read Team Forum Stats Members Help
Radio crash on Libreelec0