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

windows环境 rhea-trace-processor.jar运行报错 "Thread-1" com.bytedance.rheatrace.processor.core.TraceError: Perfetto return with bad code -1073741515 #141

Open
weimingzeng opened this issue Oct 15, 2024 · 1 comment

Comments

@weimingzeng
Copy link

weimingzeng commented Oct 15, 2024

系统版本:windows11
java版本:11.0.23
python版本:Python 3.3.5
运行机型:oppo
运行jar包执行脚本抓trace时报错。官方demo和集成环境都有问题,感觉是本机环境问题,求帮忙看看
C:\Users\xx\project\tools>java -jar rhea-trace-processor.jar -a xxx -t 5 -o output.pb -r rhea.all sched -fullClassName
10-15 16:51:19.221 I RheaTrace : workspace clear: C:\Users\xxx\project\tools\rheatrace.workspace
10-15 16:51:21.056 I RheaTrace : os version is 34. default capture is PerfettoCapture
Exception in thread "Thread-1" com.bytedance.rheatrace.processor.core.TraceError: Perfetto return with bad code -1073741515
at com.bytedance.rheatrace.processor.Main.lambda$main$1(Main.java:81)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.bytedance.rheatrace.processor.core.TraceError: Perfetto return with bad code -1073741515
at com.bytedance.rheatrace.processor.perfetto.PerfettoCapture.waitForExit(PerfettoCapture.java:89)
at com.bytedance.rheatrace.processor.Main.lambda$main$1(Main.java:79)
... 1 more
10-15 16:51:23.069 RheaTrace : start tracing...
10-15 16:51:28.623 RheaTrace : stop tracing...
10-15 16:51:28.886 RheaTrace : MaxAppTraceBufferSize usage 2241584/500000000 (0%)
10-15 16:51:29.054 E RheaTrace : Error: systrace file not found: rheatrace.workspace\systemTrace.trace
10-15 16:51:29.055 E RheaTrace : Tips: your device may not support perfetto. please retry with -mode simple.

@WangFeng-AHU
Copy link
Collaborator

看起来像是手机的问题,换个手机或者加上 -mode simple 试试看呢

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