I need to debug .so of my.apk, I'm working on a phone with android 5.0, using ida 6.8's android_server. It seems ok for attaching ida to the process, but when clicking something on the apk there is message box that shows an exception(see the image), and breaks at this line:
system@firstname.lastname@example.org:7314709E DCB 8
And the 'call stack' window is empty.
The problem happens with android 5.x + ida 6.8, or android 7.0 + ida 6.8 but it works fine on android 4.x + ida 6.5
But I tried another apk, there is no such problem. Any idea?
Update 1 According to comments from @ws, it's something wrong with segment type: ARM(0) and THUMB(1), here's what I tried:
- Press Alt+G at that line, a window popups and shows the segment register value is 1, I modified it to 0, run.
- Then it breaks at another place with same exception. I did that again.
- Then it goes to boot.oat, but this time is different. Even after modified it to 0(ARM), it breaks at this line about 6~7 times
- And finally it breaks at some random code with same exception, such as memset in the image below. Then program crashes if continue run.