Skip to content

fatal error: sync: unlock of unlocked mutex #64

Description

@Urie96

4月 30 13:01:11 opencrow systemd[1]: opencrow.service: Scheduled restart job, restart counter is at 22.
4月 30 13:01:11 opencrow systemd[1]: Starting OpenCrow Messaging Bot (default)...
4月 30 13:01:11 opencrow systemd[1]: Started OpenCrow Messaging Bot (default).
4月 30 13:01:11 opencrow opencrow[609]: level=INFO msg="config loaded" backend=nostr
4月 30 13:01:11 opencrow opencrow[609]: level=INFO msg="heartbeat disabled (interval not set)"
4月 30 13:01:11 opencrow opencrow[609]: level=INFO msg="trigger pipe reader started" path=/var/lib/opencrow/sessions/trigger.pipe
4月 30 13:01:11 opencrow opencrow[609]: level=INFO msg="reminder dispatcher started" tick=1m0s
4月 30 13:01:11 opencrow opencrow[609]: level=INFO msg="opencrow starting"
4月 30 13:01:11 opencrow opencrow[609]: level=INFO msg="worker: started"
4月 30 13:01:12 opencrow opencrow[609]: level=INFO msg="nostr: discovered user DM relay" pubkey=bca907f5e84b5c6fb9091e76fdd054500fbbb51530db61c2ff5cad70e89c011c relay=wss://auth.nostr1.com/
4月 30 13:01:12 opencrow opencrow[609]: level=INFO msg="nostr: discovered user DM relay" pubkey=bca907f5e84b5c6fb9091e76fdd054500fbbb51530db61c2ff5cad70e89c011c relay=wss://relay.0xchat.com/
4月 30 13:01:12 opencrow opencrow[609]: level=INFO msg="nostr: subscribing to DMs" pubkey=6122572a288f03dd0dcd398aacd478ad1d5798ffca5e397b71eb2e4e703550b2 since=1777261561 relays="[wss://nos.lol wss://auth.nostr1.com/ wss://relay.0xchat.com/]"
4月 30 13:01:13 opencrow opencrow[609]: fatal error: sync: unlock of unlocked mutex
4月 30 13:01:13 opencrow opencrow[609]: goroutine 153 [running]:
4月 30 13:01:13 opencrow opencrow[609]: internal/sync.fatal({0xda2e0c?, 0x0?})
4月 30 13:01:13 opencrow opencrow[609]: runtime/panic.go:1191 +0x18
4月 30 13:01:13 opencrow opencrow[609]: internal/sync.(*Mutex).unlockSlow(0x2b39090e42b4, 0xffffffff)
4月 30 13:01:13 opencrow opencrow[609]: internal/sync/mutex.go:204 +0x35
4月 30 13:01:13 opencrow opencrow[609]: internal/sync.(*Mutex).Unlock(...)
4月 30 13:01:13 opencrow opencrow[609]: internal/sync/mutex.go:198
4月 30 13:01:13 opencrow opencrow[609]: sync.(*Mutex).Unlock(...)
4月 30 13:01:13 opencrow opencrow[609]: sync/mutex.go:65
4月 30 13:01:13 opencrow opencrow[609]: sync.(*Once).doSlow(0xf?, 0x2b3909060e40?)
4月 30 13:01:13 opencrow opencrow[609]: sync/once.go:80 +0xe4
4月 30 13:01:13 opencrow opencrow[609]: sync.(*Once).Do(...)
4月 30 13:01:13 opencrow opencrow[609]: sync/once.go:69
4月 30 13:01:13 opencrow opencrow[609]: fiatjaf.com/nostr.(*Relay).Auth(0x2b39090e4240, {0xe92010?, 0x2b39094d6280?}, 0x2b3908eaf110?)
4月 30 13:01:13 opencrow opencrow[609]: fiatjaf.com/nostr@v0.0.0-20260222210222-32dd39da81f3/relay.go:483 +0x7d
4月 30 13:01:13 opencrow opencrow[609]: fiatjaf.com/nostr.(*Relay).handleMessage.func1()
4月 30 13:01:13 opencrow opencrow[609]: fiatjaf.com/nostr@v0.0.0-20260222210222-32dd39da81f3/relay.go:382 +0x35
4月 30 13:01:13 opencrow opencrow[609]: created by fiatjaf.com/nostr.(*Relay).handleMessage in goroutine 133
4月 30 13:01:13 opencrow opencrow[609]: fiatjaf.com/nostr@v0.0.0-20260222210222-32dd39da81f3/relay.go:381 +0x488
4月 30 13:01:13 opencrow systemd[1]: opencrow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions