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

UnhandledException IAsyncResult #1987

Closed
kenetik opened this issue Jul 27, 2016 · 6 comments
Closed

UnhandledException IAsyncResult #1987

kenetik opened this issue Jul 27, 2016 · 6 comments

Comments

@kenetik
Copy link

kenetik commented Jul 27, 2016

Since upgrading to Emby Server Version 3.0.6000, I am experiencing playback issues almost constantly.

When I attempt to skip forward, or begin a video from a "Scene" (point), 75-80% of the time, the interface becomes non-responsive and hangs with out error.

Reviewing the server logs, however, provides the following error:

UnhandledException
Either the IAsyncResult object did not come from the corresponding async method on this type, or the End method was called multiple times with the same IAsyncResult.
Parameter name: asyncResult
System.ArgumentException
  at System.Threading.Tasks.TaskFactory`1+FromAsyncTrimPromise`1[TResult,TInstance].CompleteFromAsyncResult (IAsyncResult asyncResult) <0x7fc4e1f9a490 + 0x00227> 24799 in <filename unknown>:0
  at System.Net.Sockets.SocketAsyncResult.<ExecuteWorkItem>m__1 (System.Object state) <0x40e422f0 + 0x0009f> in <filename unknown>:0
  at (wrapper managed-to-native) System.Runtime.Remoting.Messaging.AsyncResult:Invoke (System.Runtime.Remoting.Messaging.AsyncResult)
  at System.Runtime.Remoting.Messaging.AsyncResult.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x7fc4e1e89e30 + 0x0000c> in <filename unknown>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x7fc4e1d72e90 + 0x001d6> in <filename unknown>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x7fc4e1d74710 + 0x00008> in <filename unknown>:0

I've only started experiencing this issue since upgrading, however it makes usability virtually impossible for my needs.

# uname -a
Linux redacted.hostname 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I have a "Pro/Supporter" license, if that's worth anything.

@LukePulverenti
Copy link
Member

Thanks. Please attach complete log files, thanks.

@kenetik
Copy link
Author

kenetik commented Jul 27, 2016

@LukePulverenti Thanks for the immediate response!

Can you please advise which log file(s) you would like the full output from? I'll be more than happy to provide them.

@LukePulverenti
Copy link
Member

Any log file that was modified during the time frame.

@kenetik
Copy link
Author

kenetik commented Jul 27, 2016

Here is the full output from /var/log/emby-server.log from server startup to crash during this issue:

Gist: emby-server.log

emby-server_log.txt

@bananaspliff
Copy link

i have the same issue (debian 8.5)

UnhandledException
Either the IAsyncResult object did not come from the corresponding async method on this type, or the End method was called multiple times with the same IAsyncResult.
Parameter name: asyncResult
System.ArgumentException
at System.Threading.Tasks.TaskFactory1+FromAsyncTrimPromise1[TResult,TInstance].CompleteFromAsyncResult (IAsyncResult asyncResult) <0x7f38935fd1f0 + 0x00227> 24797 in :0
at System.Net.Sockets.SocketAsyncResult.m__1 (System.Object state) <0x415f43b0 + 0x0009f> in :0
at (wrapper managed-to-native) System.Runtime.Remoting.Messaging.AsyncResult:Invoke (System.Runtime.Remoting.Messaging.AsyncResult)
at System.Runtime.Remoting.Messaging.AsyncResult.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () <0x7f38934ecc50 + 0x0000c> in :0
at System.Threading.ThreadPoolWorkQueue.Dispatch () <0x7f38933d5cc0 + 0x001d6> in :0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () <0x7f38933d7530 + 0x00008> in :0

@LukePulverenti
Copy link
Member

I would try 3.0.6020, along with the newly released mono 4.4.2. If there's still an issue then you might want to drop back to mono 4.2.3.4.

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

3 participants