Skip to content

runtime.errorString: runtime error: invalid memory address or nil pointer dereference #6525

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

Open
status-sentry bot opened this issue Apr 14, 2025 · 3 comments · May be fixed by #6536
Open

runtime.errorString: runtime error: invalid memory address or nil pointer dereference #6525

status-sentry bot opened this issue Apr 14, 2025 · 3 comments · May be fixed by #6536
Assignees
Labels

Comments

@status-sentry
Copy link

status-sentry bot commented Apr 14, 2025

Sentry Issue: STATUS-GO-W

runtime.errorString: runtime error: invalid memory address or nil pointer dereference
  File "github.com/status-im/status-go/vendor/github.com/getsentry/sentry-go/stacktrace.go", line 28, in NewStacktrace
  File "github.com/status-im/status-go/vendor/github.com/getsentry/sentry-go/interfaces.go", line 393, in (*Event).SetException
  File "github.com/status-im/status-go/vendor/github.com/getsentry/sentry-go/client.go", line 547, in (*Client).EventFromException
  File "github.com/status-im/status-go/vendor/github.com/getsentry/sentry-go/client.go", line 492, in (*Client).RecoverWithContext
  File "github.com/status-im/status-go/vendor/github.com/getsentry/sentry-go/client.go", line 462, in (*Client).Recover
...
(13 additional frame(s) were not displayed)
@igor-sirotin
Copy link
Collaborator

@friofry I'm not sure if this one was resolved by #6489?

@friofry
Copy link
Contributor

friofry commented Apr 15, 2025

No this is different, I'll add a fix

friofry added a commit that referenced this issue Apr 16, 2025
* method is not called, since the ctx is cancelled before the method is called

fixes #6525
@friofry
Copy link
Contributor

friofry commented Apr 16, 2025

It's an annoying problem that objects are used asynchronously after being deleted.
I believe it's not efficient to fix symptoms, so I've added a fix for the Rpc client, but it's probably not the only occurrence of this bug.

friofry added a commit that referenced this issue Apr 16, 2025
* method is not called, since the ctx is cancelled before the method is called

fixes #6525
friofry added a commit that referenced this issue Apr 17, 2025
* method is not called, since the ctx is cancelled before the method is called

fixes #6525
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants