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

java.lang.Throwable report #258

Closed
pop1030123 opened this issue Aug 10, 2016 · 5 comments
Closed

java.lang.Throwable report #258

pop1030123 opened this issue Aug 10, 2016 · 5 comments

Comments

@pop1030123
Copy link

pop1030123 commented Aug 10, 2016

08-10 17:08:07.020 I/System.out(24661): Group name=java.lang.ThreadGroup[name=main,maxPriority=10], Thread Total count=121, This thread name=pool-84-thread-3
08-10 17:08:07.020 W/System.err(24661): java.lang.Throwable: stack dump
08-10 17:08:07.020 W/System.err(24661):     at java.lang.Thread.dumpStack(Thread.java:503)
08-10 17:08:07.020 W/System.err(24661):     at java.lang.Thread.create(Thread.java:433)
08-10 17:08:07.020 W/System.err(24661):     at java.lang.Thread.<init>(Thread.java:355)
08-10 17:08:07.020 W/System.err(24661):     at java.util.concurrent.Executors$DefaultThreadFactory.newThread(Executors.java:525)
08-10 17:08:07.020 W/System.err(24661):     at java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:582)
08-10 17:08:07.020 W/System.err(24661):     at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:895)
08-10 17:08:07.020 W/System.err(24661):     at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1327)
08-10 17:08:07.020 W/System.err(24661):     at com.liulishuo.filedownloader.services.FileDownloadThreadPool.execute(FileDownloadThreadPool.java:82)
08-10 17:08:07.020 W/System.err(24661):     at com.liulishuo.filedownloader.services.FileDownloadMgr.start(FileDownloadMgr.java:158)
08-10 17:08:07.020 W/System.err(24661):     at com.liulishuo.filedownloader.services.FDServiceSharedHandler.start(FDServiceSharedHandler.java:61)
08-10 17:08:07.020 W/System.err(24661):     at com.liulishuo.filedownloader.FileDownloadServiceSharedTransmit.start(FileDownloadServiceSharedTransmit.java:55)
08-10 17:08:07.020 W/System.err(24661):     at com.liulishuo.filedownloader.FileDownloadServiceProxy.start(FileDownloadServiceProxy.java:65)
08-10 17:08:07.020 W/System.err(24661):     at com.liulishuo.filedownloader.FileDownloadTask._startExecute(FileDownloadTask.java:83)
08-10 17:08:07.020 W/System.err(24661):     at com.liulishuo.filedownloader.BaseDownloadTask._start(BaseDownloadTask.java:859)
08-10 17:08:07.020 W/System.err(24661):     at com.liulishuo.filedownloader.FileDownloadTaskLauncher$LaunchTaskRunnable.run(FileDownloadTaskLauncher.java:138)
08-10 17:08:07.020 W/System.err(24661):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
08-10 17:08:07.020 W/System.err(24661):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
08-10 17:08:07.020 W/System.err(24661):     at java.lang.Thread.run(Thread.java:831)
@Jacksgong
Copy link
Collaborator

谢谢。我跟下源码看看。

@Jacksgong
Copy link
Collaborator

@pop1030123 可否给下报这个crash的系统版本。以及手机型号。

@pop1030123
Copy link
Author

手机型号:HUAWEI P7-L07
系统版本:Android5.1.1
华为系统:EMUI系统3.1

@Jacksgong
Copy link
Collaborator

@pop1030123 谢谢。这个会引起CRASH吗,因为我看这个是 Warn级别的日志。

FileDownloadThreadPool中的线程池是正常的创建一个线程的时候一直走到Thread构造函数,然后走到Thread#create(行数对应方法名),然后就有调用dumpStack,然后就挂了。看源码没有看出原因。

@Jacksgong
Copy link
Collaborator

Jacksgong commented Aug 10, 2016

@pop1030123

  1. 大概可以描述下在什么场景下遇到吗,我参考下,看看有什么线索。
  2. 这个是Warn级别的日志,会引起CRASH吗。因为我看了下这个是一个Thread.dumpStack中打出栈信息,应该是不会引起CRASH,更像是系统的调试信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants