You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Crash when trying to search lyrics on the internet #649
I am getting the same error (ncmpcpp v0.10.1, on Arch Linux).
From poking around it seems that if the future value of m_worker is boost::none this line
I've tried to fix it by changing the boost::optional<std::string> type to a std::pair<bool, std::string>, the change is here: cornelius-sevald@de286ff
It seems to work, but I'm not very proficient in C++ so judge for yourself. Hope it helps :)
Activity
shan995-cell commentedon May 21, 2026
I can affirm this bug. It seems that it also happens even with just
lyrics_fetchers = tagsin the config.Using
0.10.1, Artix Linux, fish shell.cornelius-sevald commentedon Jul 12, 2026
I am getting the same error (ncmpcpp v0.10.1, on Arch Linux).
From poking around it seems that if the future value of
m_workerisboost::nonethis linencmpcpp/src/screens/lyrics.cpp
Line 222 in 04f2f43
will try and access the (non-existent) optional value and crash.
I don't know enough about C++ or boost to know why this happens.
I've tried to fix it by changing the
boost::optional<std::string>type to astd::pair<bool, std::string>, the change is here: cornelius-sevald@de286ffIt seems to work, but I'm not very proficient in C++ so judge for yourself. Hope it helps :)
alkino commentedon Sep 21, 2026
Can you confirm that the bug is fixed with the last master?
shan995-cell commentedon Oct 1, 2026
hello @alkino
i compiled ncmpcpp from source and it seems that your merged fixed works, thank you for your contribution !!
hopefully we see a new ncmpcpp release soon