-
Notifications
You must be signed in to change notification settings - Fork 53
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
App crashes when host end meeting for all attendees #270
Comments
Hi @k-zahid, can you please provide the following information?:
|
|
I assume you are not using our demo since the demo doesn't support ending a meeting for all. Are you calling audioVideo.stop() multiple times? I will try that with our demo and see if I get a crash. |
@k-zahid, I'm not able to reproduce the crash. Can you provide more specific details about how your application differs from the demo? Are you calling stop from a different thread? Are there any modifications you've made to the SDK? |
@dylonChime the crash happens when the host end the meeting for all and the invitee remains in the meeting. The invitee tries to leave the meeting which is already ended by the host. |
Hi @k-zahid We still cannot reproduce this crash in the demo app. What I have observed during reproduce:
I have never observed a crash during tens of trials. |
@ziyiz-amzn the issue seems in the reason of delay of 30 seconds. Can't the callback done immediately? |
Same issue happening for me also |
Cannot understand how a crash becomes a feature request |
Hi @chetangodiya-simformsolutions do you see a crash issue or delay issue? @MohdIrfan12 I think our team added feature request for immediate callback on meetingEnded. |
Removing the feature request label since there is already a separate issue to track the feature request. We will use this one to track the crash |
Hi, I think the reason is calling release() twice.
|
The advice we could give is to find where you called |
Close this issue for now, feel free to reopen if validating the suggestion not work. |
Describe the bug
When host leave the meeting and then attendee tries to leave meeting the application crashes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The application should not crash and leave meeting properly.
Logs
Fatal Exception: java.lang.IllegalStateException: release() called on an object with refcount < 1
at com.amazonaws.services.chime.sdk.meetings.utils.RefCountDelegate.release(RefCountDelegate.kt:20)
at com.amazonaws.services.chime.sdk.meetings.audiovideo.video.gl.DefaultEglCoreFactory.onEglCoreReleased(DefaultEglCoreFactory.kt:37)
at com.amazonaws.services.chime.sdk.meetings.audiovideo.video.gl.DefaultEglCoreFactory.access$onEglCoreReleased(DefaultEglCoreFactory.kt:16)
at com.amazonaws.services.chime.sdk.meetings.audiovideo.video.gl.DefaultEglCoreFactory$createEglCore$$inlined$synchronized$lambda$2.run(DefaultEglCoreFactory.kt:32)
at com.amazonaws.services.chime.sdk.meetings.audiovideo.video.gl.DefaultEglCore.release(DefaultEglCore.kt:79)
at com.amazonaws.services.chime.sdk.meetings.internal.video.DefaultVideoClientController$stopAndDestroy$1.invokeSuspend(DefaultVideoClientController.kt:88)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
The text was updated successfully, but these errors were encountered: