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

Bug /proc/0/stat: not found #12

Open
Raynor999 opened this issue May 18, 2017 · 1 comment
Open

Bug /proc/0/stat: not found #12

Raynor999 opened this issue May 18, 2017 · 1 comment

Comments

@Raynor999
Copy link

doSample:
java.io.FileNotFoundException: /proc/0/stat: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:456)
at java.io.FileInputStream.(FileInputStream.java:76)
at java.io.FileInputStream.(FileInputStream.java:103)
at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.CpuSampler.doSample(CpuSampler.java:116)
at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.CpuSampler.recordSample(CpuSampler.java:66)
at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.BlockSamplerService$1.getCurrentCpuInfo(BlockSamplerService.java:45)
at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.ISamplerService$Stub.onTransact(ISamplerService.java:63)
at android.os.Binder.execTransact(Binder.java:446)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:442)
at java.io.FileInputStream.(FileInputStream.java:76) 
at java.io.FileInputStream.(FileInputStream.java:103) 
at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.CpuSampler.doSample(CpuSampler.java:116) 
at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.CpuSampler.recordSample(CpuSampler.java:66) 
at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.BlockSamplerService$1.getCurrentCpuInfo(BlockSamplerService.java:45) 
at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.ISamplerService$Stub.onTransact(ISamplerService.java:63) 
at android.os.Binder.execTransact(Binder.java:446) 

@AlexTereschuk
Copy link

AlexTereschuk commented Oct 23, 2017

Hi!
Have the same issue on Genymotion Android API 21:
java.io.FileNotFoundException: /proc/0/stat: open failed: ENOENT (No such file or directory) at libcore.io.IoBridge.open(IoBridge.java:456) at java.io.FileInputStream.<init>(FileInputStream.java:76) at java.io.FileInputStream.<init>(FileInputStream.java:103) at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.CpuSampler.doSample(CpuSampler.java:116) at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.CpuSampler.recordSample(CpuSampler.java:66) at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.BlockSamplerService$1.getCurrentCpuInfo(BlockSamplerService.java:47) at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.ISamplerService$Stub.onTransact(ISamplerService.java:63) at android.os.Binder.execTransact(Binder.java:446) Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) at libcore.io.IoBridge.open(IoBridge.java:442) at java.io.FileInputStream.<init>(FileInputStream.java:76) at java.io.FileInputStream.<init>(FileInputStream.java:103) at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.CpuSampler.doSample(CpuSampler.java:116) at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.CpuSampler.recordSample(CpuSampler.java:66) at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.BlockSamplerService$1.getCurrentCpuInfo(BlockSamplerService.java:47) at com.letv.sarrsdesktop.blockcanaryex.jrt.internal.ISamplerService$Stub.onTransact(ISamplerService.java:63) at android.os.Binder.execTransact(Binder.java:446)

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