DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

After changing tracks QS crashes

Open xdenotte opened this issue 1 year ago • 10 comments

Compositor

  • [x] niri
  • [ ] Hyprland
  • [ ] Other (specify)

Description

After changing Spotify tracks QS crashes, with output PID(on video) when i checked it, it turned out that it was QNetworkAccessM

Expected Behavior

Steps to Reproduce

1.Start QS 2.Start Spotify 3.Change tracks

Error Messages/Logs

Paste error messages or logs here

Screenshots/Recordings

https://github.com/user-attachments/assets/6db996d7-d6bc-499b-bb69-53b3f936e85d

xdenotte avatar Aug 30 '25 18:08 xdenotte

ERROR qt.network.http2.connection: [0x7f1f27287900] Connection error: HEADERS on invalid stream (1) WARN qt.network.http2: stream 5 error: "HEADERS on invalid stream" WARN qt.network.http2: stream 5 finished with error: "HTTP/2 protocol error" WARN scene: QML QQuickImage at @Modules/CentcomCenter/MediaPlayer.qml[124:25]: HTTP/2 protocol error

When QS fails to load album cover, then switching tracks will not cause a crash

xdenotte avatar Aug 30 '25 18:08 xdenotte

Hmm, wonder why image loading causes a crash. Pushed a couple small changes I'd see if those help, otherwise I'll have to look into it more to see how to gracefully handle those errors.

bbedward avatar Aug 30 '25 18:08 bbedward

It didn't help, the behavior remains the same

xdenotte avatar Aug 30 '25 18:08 xdenotte

Can you check which qt6 version you have? I assume the latest but wanna scan their issues for anything like this. (Though I am also not sure if that’s what is causing the crash)

If you can also get the quick shell crash info that would be helpful (they have some instructions in their GitHub or in that crash dialog that pops up)

bbedward avatar Aug 30 '25 18:08 bbedward

on video 6.9.1)

xdenotte avatar Aug 30 '25 18:08 xdenotte

I just rolled back a bit in time to NixOS, where there was another revision of QuickShell quickshell 0.2.0, revision a5431dd02dc23d9ef1680e67777fed00fe5f7cda, distributed by: Official-Nix-Flake, and didn't notice any crashes

xdenotte avatar Aug 30 '25 19:08 xdenotte

thats revision is broken quickshell 0.2.0, revision f7597cdae2d537c5b12843599955856090dc49d5, distributed by: Official-Nix-Flake

xdenotte avatar Aug 30 '25 19:08 xdenotte

Maybe needed a recompile after a QT update? Maybe had some stale library linked

bbedward avatar Aug 30 '25 19:08 bbedward

I will just use the old version, so I’ll close

xdenotte avatar Aug 31 '25 11:08 xdenotte

@bbedward you are right after fully rebuild my system I JUST DELETED ALL, quickshell after rebuild works fine❤️

xdenotte avatar Aug 31 '25 12:08 xdenotte