Question

Any reason why my programs log show this? Somehow my program freezes the whole OS and no key or touchscreen input works. When I plug into USB and try to use DDMS to see what the issue is I see this usually and then the phone reboots by itself.

11-28 18:42:43.418: I/ActivityThread(12904): Removing dead content provider: settings
11-28 18:42:43.428: E/JavaBinder(23580): !!! FAILED BINDER TRANSACTION !!!
11-28 18:42:43.438: I/ServiceManager(52): service 'backup' died

I know my program is the culprit as that is the only ap that seems to work as it spits out regular messages. I am doing some pretty heavy lifting with Bluetooth SPP connection and then real time graphing along with math calculations using NDK. Can't seem to get to '/data/anr/traces.txt' as DDMS won't list anything in '/data'. Any ideas on how I can find out what the crash is?

Hardware/Software used: Can get this on same error on a Emulator 2.2 or a MyTouch 3G. Using latest NDK rev. Targeting Android 2.2 due to Bluetooth.

Was it helpful?

Solution

Sounds like you've managed to invoke a kernel panic, jolly well done! :)

The thing to do now is comment out bits of your program until it can run without rebooting the phone via a kernel panic, or crashing natively. Then comment things back in until you find the exact line(s) that indirectly causes the fault.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top