Git Product home page Git Product logo

Comments (17)

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

Comment #11 originally posted by JesusFreke on 2009-12-31T08:26:55.000Z:

Maybe try version 1.6 instead?

from smali.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

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.

JesusFreke avatar JesusFreke commented on June 30, 2024

Comment #17 originally posted by JesusFreke on 2009-12-31T22:30:37.000Z:

<empty>

from smali.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.