Comments (17)
Comment #1 originally posted by JesusFreke on 2009-12-31T07:04:51.000Z:
Hmm. I can't seem to reproduce this. What does "java -version" print out? The format
of the class names in stack trace looks a bit different than what I'm used to.
Also, is the rom available for download anywhere?
from smali.
Comment #2 originally posted by JesusFreke on 2009-12-31T07:47:00.000Z:
Here is the java version:
C:\Java>java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)
The ROM is "signed-google_ion-img-14721.zip", and downloaded from here ->
http://developer.htc.com/google-io-device.html
from smali.
Comment #3 originally posted by JesusFreke on 2009-12-31T07:56:33.000Z:
Per http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp, it looks like the
correct option to set the stack size for your version of java would be
-XX:ThreadStackSize=1024
from smali.
Comment #4 originally posted by JesusFreke on 2009-12-31T07:59:29.000Z:
Here is the what the console shows:
C:\android-sdk_r04\smali>java -Xss1m -Xmx512M -jar baksmali.jar -x :1234
com.google.android.maps.odex
UNEXPECTED TOP-LEVEL ERROR:
java.lang.StackOverflowError
at java.util.LinkedList.listIterator(Unknown Source)
at java.util.AbstractList.listIterator(Unknown Source)
at java.util.AbstractSequentialList.iterator(Unknown Source)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1396)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
......................
...............
from smali.
Comment #5 originally posted by JesusFreke on 2009-12-31T08:02:35.000Z:
Right. Try it with -XX:ThreadStackSize=1024 instead of -Xss1m. I don't know if it
will help or not, but it's worth a shot.
from smali.
Comment #6 originally posted by JesusFreke on 2009-12-31T08:04:38.000Z:
Also, one other thing, when you try it with 1m and with, say 10m, does the number of
"propagateRegisters" entries that are shown change? If the stack size isn't being set
for whatever reason, then I would expect there to be the same number of
propagateRegister lines shown, but if it's being set, there should be quite a few
more when you run with 10m.
from smali.
Comment #7 originally posted by JesusFreke on 2009-12-31T08:05:51.000Z:
Sorry, it was
C:\android-sdk_r04\recovery\smali>java -XX:ThreadStackSize=1024 -Xmx1024M -jar
baksmali.jar
-x :1234 com.google.android.maps.odex
UNEXPECTED TOP-LEVEL ERROR:
java.lang.StackOverflowError
at java.util.LinkedList.listIterator(Unknown Source)
at java.util.AbstractList.listIterator(Unknown Source)
at java.util.AbstractSequentialList.iterator(Unknown Source)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1396)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
at org.jf.dexlib.Util.DeodexUtil$insn.propagateRegisters
(DeodexUtil.java:1466)
from smali.
Comment #8 originally posted by JesusFreke on 2009-12-31T08:16:50.000Z:
It does not make a difference in terms of how many lines coming out with the
following params:
java -Xss100m -Xmx1024M -XX:ThreadStackSize=102400 -jar baksmali.jar -x :1234
com.google.android.maps.odex
from smali.
Comment #9 originally posted by JesusFreke on 2009-12-31T08:25:19.000Z:
What version of java should work? Maybe, I should uninstall version "1.5.0_22", and
install a different one that works.
Thanks!
from smali.
Comment #10 originally posted by JesusFreke on 2009-12-31T08:26:21.000Z:
I don't know what to tell you, other than try a different version of java. I grabbed
that rom and setup a chroot with the ion apps and framework, on the 1.6 emulator, and
was able to deodex it without any issues.
It sounds to me like the stack size isn't being set correctly, but I have no idea
why, or how to fix it.
from smali.
Comment #11 originally posted by JesusFreke on 2009-12-31T08:26:55.000Z:
Maybe try version 1.6 instead?
from smali.
Comment #12 originally posted by JesusFreke on 2009-12-31T08:36:01.000Z:
I thought that Android SDK does not support ver. 1.6.
Thanks!
from smali.
Comment #13 originally posted by JesusFreke on 2009-12-31T08:59:22.000Z:
Hi JF,
I am now trying to get the Google Maps to run on open source "donut-plus-aosp"
build. But, so far, I have no success. I thought that de-odexing the Google maps'
odex file is the first step. Would you have some advice on this topic?
Thank you!
John
from smali.
Comment #14 originally posted by JesusFreke on 2009-12-31T16:14:17.000Z:
Well, it certainly needs to be deodexed before you can use it in another build. But
without more details than "it doesn't work", I can't really help :)
from smali.
Comment #15 originally posted by JesusFreke on 2009-12-31T22:09:37.000Z:
Just to confirm, you were able to get it working with a different version of java,
correct?
from smali.
Comment #16 originally posted by JesusFreke on 2009-12-31T22:17:29.000Z:
Hi JF,
Thanks! Yes. It works with JDK 1.6 with this command:
java -Xss1m -jar baksmali.jar -x :1234 com.google.android.maps.odex in a different
console Window.
John
from smali.
Comment #17 originally posted by JesusFreke on 2009-12-31T22:30:37.000Z:
<empty>
from smali.
Related Issues (20)
- org.jf.dexlib2.util.DexUtil$InvalidFile: Invalid endian tag: 0x52623dbd
- New official version published? HOT 4
- added support for 4rcc in MutableMethodImplementation
- Ive been Hacked please help me HOT 6
- Parsing smali methode HOT 1
- The Fields do not keep their initial values if they're default value
- odex error
- Error while writing instruction at code offset 0x8
- How to calculate the contribution of each class to the dex HOT 2
- Dex file size increases by ~50% without making changes (DexFileFactory.loadDexFile then DexFileFactory.writeDexFile) HOT 7
- missing EOF at '.class'
- any method to replace one String with modifiedString in StringIds section of dex file using dexlib2? HOT 3
- How to create a new method using dexlib2 HOT 2
- Try to run examples/BracketedMemberNames HOT 1
- how to copy class to new dex using dexlib2 HOT 4
- Smali patcher does not support Dex version 039 HOT 1
- java.lang.NoSuchMethodError when calling DexPool.internClass
- smali report error
- how to move the useless classes to a new dex using dexlib2? HOT 1
- [Feature Request] Could we support dex v41? HOT 3
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 smali.