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

小米手机应用双开导致崩溃 #129

Open
Witype opened this issue May 6, 2022 · 1 comment
Open

小米手机应用双开导致崩溃 #129

Witype opened this issue May 6, 2022 · 1 comment

Comments

@Witype
Copy link

Witype commented May 6, 2022

`
05-06 16:14:37.468 312 1319 W System.err: java.lang.InterruptedException
05-06 16:14:37.468 312 1319 W System.err: at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1248)

05-06 16:14:37.468 312 1319 W System.err: at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:344)

05-06 16:14:37.468 312 1319 W System.err: at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:339)
05-06 16:14:37.468 312 1319 W System.err: at com.elvishew.xlog.printer.file.FilePrinter$Worker.enqueue(FilePrinter.java:336)
05-06 16:14:37.468 312 1319 W System.err: at com.elvishew.xlog.printer.file.FilePrinter.println(FilePrinter.java:114)
05-06 16:14:37.468 312 1319 W System.err: at com.elvishew.xlog.printer.PrinterSet.println(PrinterSet.java:39)
05-06 16:14:37.468 312 1319 W System.err: at com.elvishew.xlog.Logger.printlnInternal(Logger.java:597)
05-06 16:14:37.468 312 1319 W System.err: at com.elvishew.xlog.Logger.println(Logger.java:520)
05-06 16:14:37.468 312 1319 W System.err: at com.elvishew.xlog.Logger.d(Logger.java:221)
05-06 16:14:37.468 312 1319 W System.err: at com.elvishew.xlog.Logger$Builder.d(Logger.java:1129)

使用小米手机Mi 10 Pro,遇到了以上问题。
ps
1.每一次启动日志文件夹名都会生成新的名称
`

@elvishew
Copy link
Owner

@Witype 请问这是必现问题吗?这部分日志不是崩溃,只是在把日志写入到文件时失败了(因为线程被打断)。

“每一次启动日志文件夹名都会生成新的名称”
需要检查你所配置的命名规则。

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

2 participants