-
Notifications
You must be signed in to change notification settings - Fork 80
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
[Other]: Crash after calling login (with attached Go log) #28
Comments
yedashen
changed the title
[Other]: <give this problem a name>
[Other]: 调用login后cras(附带go日志)
Sep 12, 2023
which version? |
implementation 'io.openim:android-sdk:3.1.0@aar' |
Without making any changes, will the demo run properly if executed directly? |
skiffer-git
changed the title
[Other]: 调用login后cras(附带go日志)
[Other]: Crash after calling login (with attached Go log)
Sep 14, 2023
Please set listener first and then call login |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What would you like to share?
调用OpenIMClient.getInstance().login 回调success,但是出现如下日志,然后app crash了。
2023-09-12 10:43:53.942 24580-0/? E/Go: panic: runtime error: invalid memory address or nil pointer dereference
2023-09-12 10:43:53.942 24580-0/? E/Go: [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x706f9eccd4]
2023-09-12 10:43:53.942 24580-0/? E/Go:
2023-09-12 10:43:53.942 24580-0/? E/Go: goroutine 23 [running]:
2023-09-12 10:43:53.942 24580-0/? E/Go: open_im_sdk/internal/conversation_msg.(*Conversation).doNotificationNew(0x40004c2ea0, {{0x706fbd8e86, 0x3}, {0x706fdf15a0, 0x40000322e0}, {0x706feba5e0, 0x40003aeea0}})
2023-09-12 10:43:53.942 24580-0/? E/Go: open_im_sdk@v0.0.0-00010101000000-000000000000/internal/conversation_msg/conversation_notification.go:644 +0x184
2023-09-12 10:43:53.942 24580-0/? E/Go: open_im_sdk/internal/conversation_msg.(*Conversation).Work(0x400006df18?, {{0x706fbd8e86, 0x3}, {0x706fdf15a0, 0x40000322e0}, {0x706feba5e0, 0x40003aeea0}})
2023-09-12 10:43:53.942 24580-0/? E/Go: open_im_sdk@v0.0.0-00010101000000-000000000000/internal/conversation_msg/conversation_notification.go:48 +0x248
2023-09-12 10:43:53.942 24580-0/? E/Go: open_im_sdk/pkg/common.DoListener({0x706feb83c0, 0x40004c2ea0}, {0x706feba538, 0x4000158050})
2023-09-12 10:43:53.942 24580-0/? E/Go: open_im_sdk@v0.0.0-00010101000000-000000000000/pkg/common/trigger_channel.go:212 +0x70
2023-09-12 10:43:53.942 24580-0/? E/Go: created by open_im_sdk/internal/login.(*LoginMgr).login
2023-09-12 10:43:53.942 24580-0/? E/Go: open_im_sdk@v0.0.0-00010101000000-000000000000/internal/login/init_login.go:297 +0x1058
Additional information
No response
The text was updated successfully, but these errors were encountered: