Subject: iOS Crash in when sleep
Hi,
I'm getting a DotNetty exception (DotNetty.Transport.Channels.ClosedChannelException) being thrown that's causing a crash in iOS devices (not the simulator) and seems to be when the device/app wakes from (or possibly goes into) sleep.
I don't know if this is an issue in DotNetty or Matrix.
I've pasted the stack trace from App Centre in the hope that it can help?
All the best,
Paul.
I'm getting a DotNetty exception (DotNetty.Transport.Channels.ClosedChannelException) being thrown that's causing a crash in iOS devices (not the simulator) and seems to be when the device/app wakes from (or possibly goes into) sleep.
I don't know if this is an issue in DotNetty or Matrix.
I've pasted the stack trace from App Centre in the hope that it can help?
DotNetty.Transport.Channels.ClosedChannelException: I/O error occurred.
at Matrix.Network.Handlers.KeepAliveHandler+<>c__DisplayClass4_0.<ChannelActive>b__0 (System.Object state) <0x10a6ab320 + 0x001bf> in <2b86b82b658d4c92bfd52eb72504d791#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_1 (System.Object state) <0x10537dfec + 0x00067> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) <0x10531321c + 0x0005b> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x10530c784 + 0x0015f> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x10530c6c8 + 0x00043> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x10531317c + 0x00047> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x1050ec530 + 0x001e7> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at ObjCRuntime.Runtime.ThreadPoolDispatcher (System.Func`1[TResult] callback) <0x1062902a8 + 0x00053> in <11cf1cb643154f5dbbfae722322b4d57#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x105313014 + 0x00077> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at Matrix.Network.Handlers.KeepAliveHandler+<>c__DisplayClass4_0.<ChannelActive>b__0 (System.Object state) <0x10a6ab320 + 0x001bf> in <2b86b82b658d4c92bfd52eb72504d791#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_1 (System.Object state) <0x10537dfec + 0x00067> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) <0x10531321c + 0x0005b> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x10530c784 + 0x0015f> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) <0x10530c6c8 + 0x00043> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x10531317c + 0x00047> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x1050ec530 + 0x001e7> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
at ObjCRuntime.Runtime.ThreadPoolDispatcher (System.Func`1[TResult] callback) <0x1062902a8 + 0x00053> in <11cf1cb643154f5dbbfae722322b4d57#e8cc3261e5c46375b4637f546f2e9a9c>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x105313014 + 0x00077> in <26af7b5f4340497eaece2479b9ba2eee#e8cc3261e5c46375b4637f546f2e9a9c>:0
All the best,
Paul.