Skip to content

App crash with third-party WAF server in front of Navidrome #495

@tofuliang

Description

@tofuliang

Seems navidrome is not respond correctly.

OS Version : x86_64 14.6.1 (23G93)

❯ Supersonic.app/Contents/MacOS/supersonic
2024/10/15 23:51:26 Starting supersonic...
2024/10/15 23:51:26 Using config dir: /Users/runner/Library/Application Support/supersonic
2024/10/15 23:51:26 Using cache dir: /Users/runner/Library/Caches/supersonic
2024/10/15 23:51:27 failed to load theme file "": open /Users/runner/Library/Application Support/supersonic/themes: no such file or directory
2024-10-15 23:51:27.810 supersonic[12301:291804] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:.
2024/10/15 23:51:28 Fyne error:  Translation failure
2024/10/15 23:51:28   Cause: message "Home" not found in language "zh"
2024/10/15 23:51:28   At: /Users/runner/go/pkg/mod/github.com/dweymouth/fyne/v2@v2.3.0-rc1.0.20240819150801-f6d6d2ad82de/lang/lang.go:72
2024/10/15 23:51:28 Fyne error:  Translation failure
2024/10/15 23:51:28   Cause: message "Back" not found in language "zh"
2024/10/15 23:51:28   At: /Users/runner/go/pkg/mod/github.com/dweymouth/fyne/v2@v2.3.0-rc1.0.20240819150801-f6d6d2ad82de/lang/lang.go:72
2024/10/15 23:51:28 Fyne error:  Translation failure
2024/10/15 23:51:28   Cause: message "Forward" not found in language "zh"
2024/10/15 23:51:28   At: /Users/runner/go/pkg/mod/github.com/dweymouth/fyne/v2@v2.3.0-rc1.0.20240819150801-f6d6d2ad82de/lang/lang.go:72
2024/10/15 23:51:28 Fyne error:  Translation failure
2024/10/15 23:51:28   Cause: message "Reload" not found in language "zh"
2024/10/15 23:51:28   At: /Users/runner/go/pkg/mod/github.com/dweymouth/fyne/v2@v2.3.0-rc1.0.20240819150801-f6d6d2ad82de/lang/lang.go:72
2024/10/15 23:51:28 Fyne error:  Translation failure
2024/10/15 23:51:28   Cause: message "Menu" not found in language "zh"
2024/10/15 23:51:28   At: /Users/runner/go/pkg/mod/github.com/dweymouth/fyne/v2@v2.3.0-rc1.0.20240819150801-f6d6d2ad82de/lang/lang.go:72
2024/10/15 23:51:28 Fyne error:  Translation failure
2024/10/15 23:51:28   Cause: message "Mute" not found in language "zh"
2024/10/15 23:51:28   At: /Users/runner/go/pkg/mod/github.com/dweymouth/fyne/v2@v2.3.0-rc1.0.20240819150801-f6d6d2ad82de/lang/lang.go:72
2024/10/15 23:51:28 Fyne error:  Translation failure
2024/10/15 23:51:28   Cause: message "Repeat" not found in language "zh"
2024/10/15 23:51:28   At: /Users/runner/go/pkg/mod/github.com/dweymouth/fyne/v2@v2.3.0-rc1.0.20240819150801-f6d6d2ad82de/lang/lang.go:72
2024/10/15 23:51:28 Fyne error:  Translation failure
2024/10/15 23:51:28   Cause: message "Show play queue" not found in language "zh"
2024/10/15 23:51:28   At: /Users/runner/go/pkg/mod/github.com/dweymouth/fyne/v2@v2.3.0-rc1.0.20240819150801-f6d6d2ad82de/lang/lang.go:72
2024/10/15 23:51:28 Fyne error:  Translation failure
2024/10/15 23:51:28   Cause: message "Now Playing" not found in language "zh"
2024/10/15 23:51:28   At: /Users/runner/go/pkg/mod/github.com/dweymouth/fyne/v2@v2.3.0-rc1.0.20240819150801-f6d6d2ad82de/lang/lang.go:72
2024/10/15 23:51:29 failed to load saved play queue: saved play queue was from a different server
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1007a9cf8]

goroutine 101 [running]:
github.com/supersonic-app/go-subsonic/subsonic.(*Client).GetPlaylists(...)
	/Users/runner/go/pkg/mod/github.com/supersonic-app/go-subsonic@v0.0.0-20240807031555-2cb1ccd78f85/subsonic/playlist.go:19
github.com/dweymouth/supersonic/backend/mediaprovider/subsonic.(*subsonicMediaProvider).GetPlaylists(0xc0002fae70)
	/Users/runner/work/supersonic/supersonic/backend/mediaprovider/subsonic/subsonicmediaprovider.go:208 +0x118
github.com/dweymouth/supersonic/ui/browsing.(*PlaylistsPage).load(0xc00329b590, 0x0)
	/Users/runner/work/supersonic/supersonic/ui/browsing/playlistspage.go:112 +0x35
created by github.com/dweymouth/supersonic/ui/browsing.newPlaylistsPage in goroutine 170
	/Users/runner/work/supersonic/supersonic/ui/browsing/playlistspage.go:97 +0x748

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-infoAn issue that needs more information

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions