markcox/smali

Application (IMDb) FC after recompiling (regression)

Closed this issue · 2 comments

What seems to be the problem?
I decompile and compile 3rd party app (IMDb) without any modification using 
latest smali (2.0). After deploying to device it crashes (tested on various 
devices with 4.2.2/4.3).

What is the exact smali/baksmali command that you ran?
Pure "baksmali classes.dex"/"smali out".

What version of smali/baksmali are you using? What rom are you working
from?
IMDb is using RoboGuice which does some magic with classes and stuff so it's 
highly likely that this is the cause (see stacktrace). 
I tested recompiling few other apps using RoboGuice and they work just fine. I 
went through the stacktrace but I don't see any application related bug that 
could cause that.
Finally I tried recompiling using baksmali/smali 1.3 and it worked.
I previously tried compiling using smali 2.0 with different api level but the 
resulted dex seemed the same so I kindly suspect a regression.

Original issue reported on code.google.com by m...@rcel.cz on 11 Nov 2013 at 12:32

Attachments:

Thanks! This is now fixed in 2.0.2 
(https://code.google.com/p/smali/source/detail?r=f6958ae4bc66ec338f5547ef3952896
e219e6c33)

Original comment by jesusfreke@jesusfreke.com on 11 Nov 2013 at 6:15

  • Changed state: Fixed
Confirming it works as expected. Thank you!

Original comment by m...@rcel.cz on 11 Nov 2013 at 6:50