View Issue Details

IDProjectCategoryView StatusLast Update
0012786MMAUPnP / Castingpublic2015-07-16 11:19
Reportermarek Assigned To 
PriorityurgentSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.1.3 
Target Version1.1.3Fixed in Version1.1.3 
Summary0012786: Cancelling of download from UPnP freezes MMA
DescriptionCancellation freezes MMA.
Additional Information
"main" prio=5 tid=1 WAIT
  | group="main" sCount=1 dsCount=0 obj=0x41882f48 self=0x41813010
  | sysTid=25027 nice=0 sched=0/0 cgrp=apps handle=1074393428
  | state=S schedstat=( 0 0 0 ) utm=593 stm=92 core=0
  at java.lang.Object.wait(Native Method)
  - waiting on <0x41883018> (a java.lang.VMThread) held by tid=1 (main)
  at java.lang.Thread.parkFor(Thread.java:1205)
  at sun.misc.Unsafe.park(Unsafe.java:325)
  at java.util.concurrent.locks.LockSupport.park(LockSupport.java:157)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:813)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:846)
  at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1175)
  at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:180)
  at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:256)
  at com.ventismedia.android.mediamonkey.common.AsyncTaskManager.clearImmediate(AsyncTaskManager.java:342)
  at com.ventismedia.android.mediamonkey.upnp.TrackDownloadService.onStartCommand(TrackDownloadService.java:111)
  at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2709)
  at android.app.ActivityThread.access$2100(ActivityThread.java:139)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1297)
  at android.os.Handler.dispatchMessage(Handler.java:102)
  at android.os.Looper.loop(Looper.java:136)
  at android.app.ActivityThread.main(ActivityThread.java:5105)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:515)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:792)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
  at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
  at dalvik.system.NativeStart.main(Native Method)

"Thread-55441" prio=5 tid=12 MONITOR
  | group="main" sCount=1 dsCount=0 obj=0x42caa380 self=0x613dcdf0
  | sysTid=29131 nice=0 sched=0/0 cgrp=apps handle=1631132088
  | state=S schedstat=( 0 0 0 ) utm=5 stm=2 core=0
  at com.ventismedia.android.mediamonkey.common.AsyncTaskManager.isClearRequest(AsyncTaskManager.java:0000131:0000271)
  - waiting to lock <0x42699678> (a com.ventismedia.android.mediamonkey.upnp.TrackDownloadService$Downloader) held by tid=1 (main)
  at com.ventismedia.android.mediamonkey.common.AsyncTaskManager.processTaskInner(AsyncTaskManager.java:172)
  at com.ventismedia.android.mediamonkey.common.AsyncTaskManager.pollQueue(AsyncTaskManager.java:418)
  at com.ventismedia.android.mediamonkey.common.AsyncTaskManager$TaskThread.run(AsyncTaskManager.java:546)
TagsNo tags attached.
Fixed in build460

Activities

marek

2015-07-16 11:19

developer   ~0042710

Fixed in build 460

Refactored AsyncTask - upnp track downloader used old locks that caused deadlocks. These locks were completely removed.