-
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
My jfa-go crashes almost daily. I THINK it may have to do with invites but I'm not sure since I cannot duplicate the error. It just pops up when I check it. Has this been addressed before and I just couldn't find it?
Platform: Windows 11
Version git
Commit c02cfff
Build Time 2025-05-27 23:56:32 +0700 +07
Built By "ci.hrfee.dev"
Build Tags [tray]
An attempt has been made to remove sensitive info, but make sure to check yourself.
2025/07/21 07:59:56 Using internal storage
jfa-go version: git (c02cfff) TrayIcon
Socket Path: "CENSORED"
[INFO] 07:59:56 URLs: Root subfolder = "CENSORED", Admin = "CENSORED", My Account = "CENSORED", Invite forms = "CENSORED"
[INFO] 07:59:56 Loaded config file "CENSORED"
storage.go:184: Failed to open/connect to database "CENSORED": Cannot create lock file "CENSORED". Another process is using this Badger database error: The process cannot access the file because it is being used by another process.
2025/07/21 07:59:56
------
A crash report has been saved to "CENSORED".
------
[INFO] 07:59:56 Connected to DB "CENSORED"
[INFO] 07:59:56 Using Jellyfin server type
[INFO] 07:59:57 Authenticated with Jellyfin @ "CENSORED"
runtime error: invalid memory address or nil pointer dereference
goroutine 13 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x5e
main.Exit({0x7ff7405aef20, 0x7ff7404315e0})
/woodpecker/src/github.com/hrfee/jfa-go/exit.go:73 +0x2a9
main.start.func2()
/woodpecker/src/github.com/hrfee/jfa-go/main.go:187 +0x25
panic({0x7ff7405aef20?, 0x7ff7404315e0?})
/usr/local/go/src/runtime/panic.go:792 +0x132
github.com/timshannon/badgerhold/v4.(*Store).Close(0x0)
/go/pkg/mod/github.com/timshannon/badgerhold/v4@v4.0.3/store.go:82 +0x19
panic({0x7ff7405aef20?, 0x7ff7404315e0?})
/usr/local/go/src/runtime/panic.go:792 +0x132
github.com/timshannon/badgerhold/v4.(*Store).Badger(...)
/go/pkg/mod/github.com/timshannon/badgerhold/v4@v4.0.3/store.go:76
github.com/timshannon/badgerhold/v4.(*Store).Get(...)
/go/pkg/mod/github.com/timshannon/badgerhold/v4@v4.0.3/get.go:19
main.migrateToBadger(0xc0000fc888)
/woodpecker/src/github.com/hrfee/jfa-go/migrations.go:258 +0x48
main.runMigrations(0xc0000fc888)
/woodpecker/src/github.com/hrfee/jfa-go/migrations.go:22 +0x59
main.start(0x0, 0x1)
/woodpecker/src/github.com/hrfee/jfa-go/main.go:452 +0x26b3
created by main.onReady in goroutine 53
/woodpecker/src/github.com/hrfee/jfa-go/tray.go:68 +0x31c
```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Need more info