Closed GoogleCodeExporter closed 9 years ago
Please provide the full output of baksmali, including the error message and
stack trace.
Original comment by bgruv@google.com
on 5 Jun 2012 at 4:47
Sorry, I was using Windows and couldn't figure out how to capture the exception
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of
arguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of
arguments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.java:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:79)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:44)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Instruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.java:84)
... 6 more
Error occured at code address 132
code_item @0x1d73e8
Original comment by AdamRosa...@gmail.com
on 6 Jun 2012 at 1:06
As best as I can tell, this appears to be a corrupted odex file. If you had
pulled it off of a device, I would try pulling it again, and compare the
checksums. Or maybe push a busybox executable to the device and calculate a
checksum of the file on the device itself, and compare.
Original comment by bgruv@google.com
on 20 Jun 2012 at 12:05
turns out I have a bad DIMM, removed bad memory and pulled uncorrupted
framework.odex
and deoedexed successfully.
thanks.
Original comment by AdamRosa...@gmail.com
on 20 Jun 2012 at 1:49
Hah. Thanks for the update. I'm always curious how these type of things pop up
:)
Original comment by bgruv@google.com
on 20 Jun 2012 at 11:03
mine is not working i get the same error everytime Caused by:
java.lang.RuntimeException: regCount does not match the number of arg
uments of the method
Original comment by sgkar...@gmail.com
on 15 Aug 2012 at 12:39
sgkarnal: please file an issue, with all the details.
Original comment by jesusfreke@jesusfreke.com
on 18 Aug 2012 at 1:12
Original issue reported on code.google.com by
AdamRosa...@gmail.com
on 4 Jun 2012 at 12:43Attachments: