ans-ashkan / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

Errors decompiling SystemUI.apk from a Sense 3.5 ROM. #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?

Errors decompiling SystemUI.apk from a Sense 3.5 ROM (see below).

What is the exact smali/baksmali command that you ran?

java -Xmx512m -jar baksmali.jar classes.dex 

What version of smali/baksmali are you using? What rom are you working
from?

1.2.8, on SoaB ROM: http://goo.gl/VR4AC

What is the airspeed velocity of an unladen swallow?

Although a definitive answer would of course require further measurements, 
published species-wide averages of wing length and body mass, initial Strouhal 
estimates based on those averages and cross-species comparisons, the Lund wind 
tunnel study of birds flying at a range of speeds, and revised Strouhal numbers 
based on that study all lead me to estimate that the average cruising airspeed 
velocity of an unladen European Swallow is roughly 11 meters per second, or 24 
miles an hour. 

Please provide any additional information below: error messages, symptoms,
etc.

Error occured while disassembling class Lcom.android.systemui.statusbar.preferen
ce.Volume; - skipping class
java.lang.ArrayIndexOutOfBoundsException: 8
        at org.jf.dexlib.Debug.DebugInstructionIterator.DecodeInstructions(Debug
InstructionIterator.java:199)
        at org.jf.baksmali.Adaptors.MethodDefinition.addDebugInfo(MethodDefiniti
on.java:512)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefini
tion.java:299)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.ja
va:132)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition
.java:323)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefi
nition.java:292)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java
:136)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:201)
        at org.jf.baksmali.main.main(main.java:282)

Original issue reported on code.google.com by dsb9...@gmail.com on 11 Oct 2011 at 6:55

GoogleCodeExporter commented 9 years ago
dex attached

Original comment by dsb9...@gmail.com on 11 Oct 2011 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago
I believe this is a duplicate of 
http://code.google.com/p/smali/issues/detail?id=81. The debug info in that dex 
file is invalid (read: totally whack). You should be able to get around the 
issue by using the -b option for baksmali.

Original comment by jesusfreke@jesusfreke.com on 11 Oct 2011 at 7:06

GoogleCodeExporter commented 9 years ago
Seems to have worked fine, sorry for the dupe.  Thanks for the help.

D

Original comment by dsb9...@gmail.com on 11 Oct 2011 at 7:09

GoogleCodeExporter commented 9 years ago
No worries. Thanks for the report all the same :)

Original comment by jesusfreke@jesusfreke.com on 11 Oct 2011 at 7:18