Matabi / smali

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

Can't understand the log! #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
The framework.jar and ramework2.jar are having out of order entry types?

What is the exact smali/baksmali command that you ran?
smali framework.jar.out

What version of smali/baksmali are you using? What rom are you working
from?
Im using smali-2.0b5

What is the airspeed velocity of an unladen swallow?

Please provide any additional information below: error messages, symptoms,
etc.
Here is the lil logcat
D/dalvikvm(  132): DEX prep '/system/framework/ext.jar': unzip in 42ms, rewrite 
625ms
D/dalvikvm(  132): DexOpt: --- BEGIN 'framework.jar' (bootstrap=1) ---
I/ServiceManager(  131): Waiting for service broadcom.tvservice...
E/dalvikvm(  366): Out-of-order entry types: 0x12fb then 0x12fb
E/dalvikvm(  366): Trouble with item 611 @ offset 0x1593a8
E/dalvikvm(  366): Cross-item verify of section type 1003 failed
E/dalvikvm(  366): ERROR: Byte swap + verify failed
I/ServiceManager(  288): Waiting for service media.audio_policy...
E/dalvikvm(  366): Optimization failed
W/dalvikvm(  132): DexOpt: --- END 'framework.jar' --- status=0xff00, process 
failed
E/dalvikvm(  132): Unable to extract+optimize DEX from 
'/system/framework/framework.jar'
D/dalvikvm(  132): Unable to process classpath element 
'/system/framework/framework.jar'
I/ServiceManager(  134): Waiting for service broadcom.tvservice...
D/dalvikvm(  132): DexOpt: --- BEGIN 'framework2.jar' (bootstrap=1) ---
E/dalvikvm(  367): outsSize (6) > registersSize (4)
E/dalvikvm(  367): Trouble with item 3051 @ offset 0x168d10
E/dalvikvm(  367): Swap of section type 2001 failed
E/dalvikvm(  367): ERROR: Byte swap + verify failed
E/dalvikvm(  367): Optimization failed
W/dalvikvm(  132): DexOpt: --- END 'framework2.jar' --- status=0xff00, process 
failed
E/dalvikvm(  132): Unable to extract+optimize DEX from 
'/system/framework/framework2.jar'
D/dalvikvm(  132): Unable to process classpath element 
'/system/framework/framework2.jar'

Original issue reported on code.google.com by aditya.f...@gmail.com on 8 Aug 2013 at 8:01

GoogleCodeExporter commented 9 years ago
What device and platform version is this from?

Original comment by jesusfreke@jesusfreke.com on 14 Sep 2013 at 6:38

GoogleCodeExporter commented 9 years ago
The problem appears to be that duplicate annotations are getting added to 
something (type 1003 is annotation_set). I dug through the code a bit, but I 
can't determine how duplicate annotations would be getting added to anything.

If you can give detailed steps to reproduce (what rom? did you apply any 
modifications?), I'll look into it some more.

For the frameworks2 error, I think you just need to bump the register size for 
that method up to 6.

Original comment by jesusfreke@jesusfreke.com on 14 Sep 2013 at 7:07

GoogleCodeExporter commented 9 years ago
I believe this should be fixed now. If you are still encountering the issue on 
the latest version, feel free to ping this issue.

Original comment by jesusfreke@jesusfreke.com on 7 Dec 2013 at 11:00