Crash when fast clicking #5

Open
opened 3 years ago by LEdoian · 0 comments
Owner

Hypothesis: Library not reentrant?

FATAL EXCEPTION: main
Process: cz.ledoian.android.quickplay, PID: 14495
Theme: themes:{}
android.runtime.JavaProxyThrowable: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.TcpClient'.
  at System.Net.Sockets.TcpClient.GetStream () [0x00019] in <18d39def41e547739f3d1b7c6356f0b2>:0 
  at MpcCore.MpcCoreConnection.ConnectAsync () [0x000bf] in <bceaa17a7b5a42119f0023769aa3dd6a>:0 
  at MpcCore.MpcCoreClient.ConnectAsync () [0x00067] in <bceaa17a7b5a42119f0023769aa3dd6a>:0 
  at QuickPlay.MpdPlayer.ConnectAsync () [0x00089] in <6c0c537fc155466ba0ca64611a4a69a6>:0 
  at QuickPlay.MpdPlayer.SetReasonableOptions () [0x0007c] in <6c0c537fc155466ba0ca64611a4a69a6>:0 
  at QuickPlay.MpdPlayer.Play (QuickPlay.IPlayable song) [0x00141] in <6c0c537fc155466ba0ca64611a4a69a6>:0 
  at QuickPlay.MainActivity.OnSongClick (System.Object sender, QuickPlay.IPlayable song) [0x0006d] in <6c0c537fc155466ba0ca64611a4a69a6>:0 
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in <02baaf274db845929146c6c347b6e8cc>:0 
  at Android.App.SyncContext+<>c__DisplayClass2_0.<Post>b__0 () [0x00000] in <9aacb91c75eb4de0b457052581b42c4c>:0 
  at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <9aacb91c75eb4de0b457052581b42c4c>:0 
  at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in <9aacb91c75eb4de0b457052581b42c4c>:0 
  at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.11(intptr,intptr)
	at mono.java.lang.RunnableImplementor.n_run(Native Method)
	at mono.java.lang.RunnableImplementor.run(Unknown Source)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:5461)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Edit: formatting

Hypothesis: Library not reentrant? ``` FATAL EXCEPTION: main Process: cz.ledoian.android.quickplay, PID: 14495 Theme: themes:{} android.runtime.JavaProxyThrowable: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.Net.Sockets.TcpClient'. at System.Net.Sockets.TcpClient.GetStream () [0x00019] in <18d39def41e547739f3d1b7c6356f0b2>:0 at MpcCore.MpcCoreConnection.ConnectAsync () [0x000bf] in <bceaa17a7b5a42119f0023769aa3dd6a>:0 at MpcCore.MpcCoreClient.ConnectAsync () [0x00067] in <bceaa17a7b5a42119f0023769aa3dd6a>:0 at QuickPlay.MpdPlayer.ConnectAsync () [0x00089] in <6c0c537fc155466ba0ca64611a4a69a6>:0 at QuickPlay.MpdPlayer.SetReasonableOptions () [0x0007c] in <6c0c537fc155466ba0ca64611a4a69a6>:0 at QuickPlay.MpdPlayer.Play (QuickPlay.IPlayable song) [0x00141] in <6c0c537fc155466ba0ca64611a4a69a6>:0 at QuickPlay.MainActivity.OnSongClick (System.Object sender, QuickPlay.IPlayable song) [0x0006d] in <6c0c537fc155466ba0ca64611a4a69a6>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in <02baaf274db845929146c6c347b6e8cc>:0 at Android.App.SyncContext+<>c__DisplayClass2_0.<Post>b__0 () [0x00000] in <9aacb91c75eb4de0b457052581b42c4c>:0 at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <9aacb91c75eb4de0b457052581b42c4c>:0 at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in <9aacb91c75eb4de0b457052581b42c4c>:0 at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.11(intptr,intptr) at mono.java.lang.RunnableImplementor.n_run(Native Method) at mono.java.lang.RunnableImplementor.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5461) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) ``` Edit: formatting
LEdoian added the
bug
label 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LEdoian/QuickPlay#5
Loading…
There is no content yet.