Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault #251

Open
rNoz opened this issue May 25, 2024 · 0 comments
Open

Segmentation fault #251

rNoz opened this issue May 25, 2024 · 0 comments

Comments

@rNoz
Copy link

rNoz commented May 25, 2024

System information

Operating System: Fedora Linux Asahi Remix 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-406.asahi.fc40.aarch64+16k (64-bit)
Graphics Platform: Wayland

Detailed information

I build spotify-qt, execute it and go to Settings > Spotify. I establish the path to librespot, and click in "Start client".

What happens?

It throws a Segmentation Fault without any information.

What should happen?

Not failing.

I have been inspecting the code, doing many tests, and it seems it fails to do 2 things:

  • tries to stop the SpotifyClient runner but it does not exist.
  • However, if I bypass that step by changing the code, then, it does not emit properly the error "no username". Please, have a look to the next image. It hangs forever.
        const auto username = QString::fromStdString(settings.spotify.username);
        if (username.isEmpty())
        {
                qDebug() << "Runner:: no username";
                emit statusChanged(QStringLiteral("No username provided"));
                return;
        }

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In review
Development

No branches or pull requests

1 participant