Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic seen when trying to close subscription #132

Open
r-shar opened this issue Sep 14, 2023 · 0 comments
Open

Panic seen when trying to close subscription #132

r-shar opened this issue Sep 14, 2023 · 0 comments

Comments

@r-shar
Copy link

r-shar commented Sep 14, 2023

We are using flux and trying to cancel a subscriber using rx.subscription.Cancel().

But we are seeing the following panic error:

panic: frame has been released!

goroutine 682 [running]: 
github.com/rsocket/rsocket-go/core/framing.(*bufferedFrame).HasFlag(...)
        /go/pkg/mod/github.com/rsocket/[email protected]/core/framing/buffered.go:47
github.com/rsocket/rsocket-go/core/framing.(*bufferedFrame).trySeekMetadataLen(0xc00007ea80?, 0x5578bb59a7cd?)
        /go/pkg/mod/github.com/rsocket/[email protected]/core/framing/buffered.go:100 +0x19d
github.com/rsocket/rsocket-go/core/framing.(*bufferedFrame).trySliceMetadata(0xc000c75f50, 0x0)
        /go/pkg/mod/github.com/rsocket/[email protected]/core/framing/buffered.go:113 +0x27
github.com/rsocket/rsocket-go/core/framing.(*PayloadFrame).Metadata(0x1b2?)
        /go/pkg/mod/github.com/rsocket/[email protected]/core/framing/payload.go:61 +0x1e 

Please provide any suggestion/advise if we're missing anything here.

Your Environment

go version: 1.19.4
rsocket library version: v0.8.12
libraries used: rx/subscriber.go which uses reactor.Subscription (reactor-go/subscriber.go)

  • RSocket version(s) used: v0.8.12
  • Other relevant libraries versions (eg. netty, ...): reactor v0.5.5
  • Platform (eg. JVM version (javar -version) or Node version (node --version)):
  • OS and version (eg uname -a): macOS Ventura
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant