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

When I user method called clearDiskCache,my app ANR #1251

Open
VicJcc opened this issue Aug 19, 2016 · 0 comments
Open

When I user method called clearDiskCache,my app ANR #1251

VicJcc opened this issue Aug 19, 2016 · 0 comments

Comments

@VicJcc
Copy link

VicJcc commented Aug 19, 2016

----- pid 15670 at 2016-08-19 17:55:49 -----
Cmd line: taole.com.quokka

JNI: CheckJNI is off; workarounds are off; pins=1; globals=427

DALVIK THREADS:
(mutexes: tll=0 tsl=0 tscl=0 ghl=0)

"main" prio=5 tid=1 MONITOR
| group="main" sCount=1 dsCount=0 obj=0x419d1d98 self=0x419aa880
| sysTid=15670 nice=0 sched=0/0 cgrp=apps handle=1074540932
| state=S schedstat=( 103758797227 45553779301 289367 ) utm=8733 stm=1642 core=2
at com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.close(DiskLruCache.java:~656)

  • waiting to lock <0x41e9d380> (a com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache) held by tid=64 (pool-1-thread-1)
    at com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.delete(DiskLruCache.java:690)
    at com.nostra13.universalimageloader.cache.disc.impl.ext.LruDiskCache.clear(LruDiskCache.java:212)
    at com.nostra13.universalimageloader.core.ImageLoader.clearDiskCache(ImageLoader.java:681)
    at taole.com.quokka.module.Setting.TLSettingFragment$3.onOtherButtonClick(TLSettingFragment.java:345)
    at taole.com.quokka.common.ActionSheet.onClick(ActionSheet.java:384)
    at android.view.View.performClick(View.java:4472)
    at android.view.View$PerformClick.run(View.java:18795)
    at android.os.Handler.handleCallback(Handler.java:808)
    at android.os.Handler.dispatchMessage(Handler.java:103)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:5332)
    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:844)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:660)
    at dalvik.system.NativeStart.main(Native Method)

"pool-9-thread-16" prio=5 tid=50 TIMED_WAIT
| group="main" sCount=1 dsCount=0 obj=0x43a89608 self=0x68153e00
| sysTid=20296 nice=0 sched=0/0 cgrp=apps handle=1804384824
| state=S schedstat=( 10053847 9556308 37 ) utm=0 stm=1 core=0
at java.lang.Object.wait(Native Method)

  • waiting on <0x427f3a18> (a java.lang.VMThread) held by tid=50 (pool-9-thread-16)
    at java.lang.Thread.parkFor(Thread.java:1205)
    at sun.misc.Unsafe.park(Unsafe.java:325)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:197)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:429)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:331)
    at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:910)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:841)

"pool-9-thread-15" prio=5 tid=47 TIMED_WAIT
| group="main" sCount=1 dsCount=0 obj=0x43ba64f0 self=0x6cc2c930
| sysTid=20294 nice=0 sched=0/0 cgrp=apps handle=1775915880
| state=S schedstat=( 16632310 27667995 68 ) utm=0 stm=1 core=1
at java.lang.Object.wait(Native Method)

  • waiting on <0x42aac090> (a java.lang.VMThread) held by tid=47 (pool-9-thread-15)
    at java.lang.Thread.parkFor(Thread.java:1205)
    at sun.misc.Unsafe.park(Unsafe.java:325)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:197)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:429)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:331)
    at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:910)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1035)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1097)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:841)

"Thread-835" prio=5 tid=300 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x438059f8 self=0x6b95de98
| sysTid=19947 nice=0 sched=0/0 cgrp=apps handle=1825710096
| state=S schedstat=( 305818708 678914675 1794 ) utm=24 stm=6 core=1
#00 pc 00025134 /system/lib/libc.so (nanosleep+12)
#1 pc 0003c5ec /system/lib/libc.so (usleep+80)
#2 pc 000a3970 /data/app-lib/taole.com.quokka-1/libchatRoomLib.so (CTLMoblieSocket::DelayByTimeStamp(unsigned int, bool)+256)
#3 pc 000a6554 /data/app-lib/taole.com.quokka-1/libchatRoomLib.so (CTLMoblieSocket::OnRecvUserOffline(InPacketEx&, bool)+120)
at dalvik.system.NativeStart.run(Native Method)

and the version is 1.9.5

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

1 participant