You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error in func (c *Client) obtain(ctx context.Context, key, value string, ttl time.Duration) (bool, error):
invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation]
Unable to propagate EXC_BAD_ACCESS signal to target process and panic (see https://github.com/go-delve/delve/issues/852)
Stack:
0 0x0000000004c20e78 in github.com[/bsm/redislock.]()(*Client).obtain
at [/Users/schmar1/go/pkg/mod/github.com/bsm/redislock]()@v0.7.1[/redislock.go:97]()
1 0x0000000004c2087f in github.com[/bsm/redislock.]()(*Client).Obtain
at [/Users/schmar1/go/pkg/mod/github.com/bsm/redislock]()@v0.7.1[/redislock.go:69]()
2 0x0000000004c21438 in github.com[/bsm/redislock.Obtain]()
at [/Users/schmar1/go/pkg/mod/github.com/bsm/redislock]()@v0.7.1[/redislock.go:125]()
3 0x0000000004c57552 in github.com[/vmihailenco/taskq/v3.]()(*Consumer).lockWorker
at [/Users/schmar1/go/pkg/mod/github.com/vmihailenco/taskq/v3]()@v3.2.8[/consumer.go:720]()
4 0x0000000004c555d0 in github.com[/vmihailenco/taskq/v3.]()(*Consumer).worker
at [/Users/schmar1/go/pkg/mod/github.com/vmihailenco/taskq/v3]()@v3.2.8[/consumer.go:468]()
5 0x0000000004c53cad in github.com[/vmihailenco/taskq/v3.]()(*Consumer).addWorker.func1
at [/Users/schmar1/go/pkg/mod/github.com/vmihailenco/taskq/v3]()@v3.2.8[/consumer.go:276]()
The text was updated successfully, but these errors were encountered:
Setting the Worker Limit to anything above 0 throws a nil pointer when using a memqueue.
My Setup:
The error in
func (c *Client) obtain(ctx context.Context, key, value string, ttl time.Duration) (bool, error)
:The text was updated successfully, but these errors were encountered: