Skip to content

[BUG] Crash when trying to search lyrics on the internet #649

Description

@lucas-mior

Describe the bug
ncmpcpp crashes when trying to search lyrics from the internet

To Reproduce
Steps to reproduce the behavior:

  1. Configure lyrics fetchers in .config/ncmpcpp/config:
lyrics_fetchers = internet
  1. Go lyrics interface when listeting to a song without saved lyrics and wait.

Expected behavior
To not crash and possibly print an URL pointing to the lyrics.

Screenshots/Logs
The error message is:
ncmpcpp: /usr/include/boost/optional/detail/union_optional.hpp:580: constexpr T& boost::optional<T>::get() [with T = boost::optional<std::__cxx11::basic_string<char> >; reference_type = boost::optional<std::__cxx11::basic_string<char> >&]: Assertion "this->is_initialized()" failed.rnet... zsh: IOT instruction (core dumped) ncmpcpp

Desktop (please complete the following information):

  • OS: Linux
  • Terminal: [e.g. zsh]
  • Version 0.10.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions