Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13430] Android runtime fails to load with attach of thread 'Binder Thread #3' failed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-07-01T19:18:48.000+0000
Affected Version/sRelease 3.0.2, Release 3.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsqe-3.1.0
ReporterDustin Hyde
AssigneeChris Barber
Created2013-04-06T02:47:43.000+0000
Updated2013-07-01T19:18:48.000+0000

Description

Android Emulator runtime fails to load with attach of thread 'Binder Thread #3' failed. Logs attached. Test Steps: 1. Titanium Studio. 2. Create Titanium Project. 2. Run Android Emulator. Test Result: Android Emulator runtime fails to load with attach of thread 'Binder Thread #3' failed. Fails in both Appcelerator Studio and terminal.

Attachments

FileDateSize
andrioid-console-3.txt2013-04-10T19:35:15.000+0000255295
android-console.txt2013-04-10T19:09:25.000+0000265115
android-console-2.txt2013-04-10T19:23:13.000+0000285501
debug-on-device.txt2013-04-12T16:35:37.000+0000282316
studio - android run - attach of thread 'Binder Thread #3' failed.txt2013-04-06T03:30:39.000+000089698
terminal - android run - attach of thread 'Binder Thread #3' failed.txt2013-04-06T03:30:39.000+000081844

Comments

  1. Ingo Muschenetz 2013-04-06

    A comment here suggests it can be an issue with a name attribute: http://stackoverflow.com/questions/11230388/android-app-crashes-at-startup-attach-of-thread-binder-thread-3-failed But there seem to be other possibilities, all just naturally related to the Android emulator.
  2. Dustin Hyde 2013-04-06

    Yes.
  3. Dustin Hyde 2013-04-06

    I deleted ~/.android and it worked.
  4. Dustin Hyde 2013-04-06

    I generated a new Android Emulator using Appcelerator Studio with a Titanium Project w/Appcelerator Services and the app ran successfully. The emulator corruption does not seem related to Appcelerator Studio.
  5. Dustin Hyde 2013-04-10

    This is happening on device as well if you try to run a Titanium Project with Appcelerator Services, it could be related to the crittercism module. I attached android device debugger log 'android-console.txt'. OS: OS X Mountain Lion 10.8.3 Appcelerator Studio: 3.1.0.201304082106 Titanium CLI: 3.1.0-cr Titanium SDK: 3.1.0.v20130408154547 Android SDK Tools: r21.1 Android Device: Samsung Galaxy S3 Mini 4.1.1 Android Emulator: Google APIs 2.2 Test Steps: 1. Open Appcelerator Studio. 2. Create Default Titanium Project w/Appcelerator Services. 3. Debug on Android Device. Test Result: App fails to load, see 'android-console.txt'. App frozen with red appcelerator splash screen. Must terminate app manually, locks main UI of device. I can debug on android device using a titanium project with no services.
  6. Dustin Hyde 2013-04-10

    Seems intermittent.
  7. Dustin Hyde 2013-04-18

    Looks like a crittercism related failure, see related studio ticket.
  8. Ingo Muschenetz 2013-05-09

    [~nle] and [~gtavridis] This might be a crittercism issue. Can we have them take a look?
  9. Eric Merriman 2013-05-25

    Hello all, I looked through the two attached logs with runtime output (with "binder Thread #3" in the title) and noticed one thing in common. It seems that the app failed to install in both cases due to insufficient storage. "Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]" So there could be an issue where the process after the failure is not cognizant of that fact. The other logs seem to be the same as in TIMOB-13934 : [ERROR][TiApplication(31907)] java.lang.NoClassDefFoundError: com.crittercism.ti.CrittercismBootstrap So perhaps they are two separate problems.
  10. Daniel Sefton 2013-05-26

    Just want to add that the "Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]" is an error I get very often when trying to install an app to the emulator. And I don't have the Crittercism module at all.
  11. Chris Barber 2013-05-26

    @Daniel, you need to increase the size of your AVD or uninstall some apps.
  12. Ingo Muschenetz 2013-05-29

    Marking as duplicate of TIMOB-13934. Insufficient storage errors will we addressed as part of TIMOB-9859.
  13. Dustin Hyde 2013-05-29

    Closing.
  14. Vishal Duggal 2013-07-01

    Reopening to edit labels

JSON Source