Comments (3)
Is this observed on any other version?
from roottools.
Very disturbing. Typically I would fault an OOM error but a Nexus 10 has 2 GB RAM. Unless you are running some other app at the same time that's using up all your memory?
Would you mind adding the code below and call it before and after calling isRootAvailable()?
private void quickDirtyCheck() {
MemoryInfo mInfo = new ActivityManager.MemoryInfo();
((ActivityManager)context.getSystemService(ACTIVITY_SERVICE)).getMemoryInfo(Info);
RootTools.log("Available memory: " + mInfo.availMem +
(mInfo.lowMemory ? " and that's too low!" : ""));
}
from roottools.
Hi,
Thanks for responding. Here are the logs,
D/ROOTTOOLS( 3290): Available memory: 704278528
D/ROOTTOOLS( 3290): Available memory: 650276864
Below are some of my findings,
- The seg fault happens mainly if I run the root check inside a Thread/AsyncTask. Running it on the main thread does not cause issues.
- The line that causes issue is in Shell.java when we try to create a new root shell with "su" command,
this.proc = new ProcessBuilder("su").redirectErrorStream(true).start();
once this line is executed the ddms logs show the crash dumps. - When I do a "adh shell ps", I see a whole bunch of processes that are created because of ProcessBuilder which are never closed.
It seems like it hits the zombie process issue as mentioned here,
http://stackoverflow.com/a/15485210/987105
Let me know if I should copy/paste the code and/or logs?
from roottools.
Related Issues (20)
- Install "Aptoide" HOT 1
- Crash when Shell run HOT 3
- Root tool
- [email protected] HOT 1
- New
- is still alive the project?
- RootTools
- Apple
- __Originally posted by @jackiebrewster307 in https://github.com/IdeasOnCanvas/MNDocumentController/issues/1__
- Apple root HOT 1
- Apple root iPhone HOT 1
- save
- Roottools HOT 1
- How to unlock bootloader and on stylo 6???
- Root HOT 1
- Vivo
- Help me HOT 1
- .
- Permission
- I'm using Castify
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roottools.