buglabs / android

This is the top-level git repo for the Android on BUG 2.0 project. Refer to the start page for further details:
http://buglabs.github.com/android/
5 stars 1 forks source link

adb install crashes system (build 95) #34

Closed bcruskie closed 13 years ago

bcruskie commented 13 years ago

STR:

  1. execute an adb install command and the install hangs and the BUG locks up

adb window

bcruskie@bdclap:~/android-sdk-linux_x86/platform-tools$ ./adb install GPSTEST.apk 
2459 KB/s (181264 bytes in 0.071s)
    pkg: /data/local/tmp/GPSTEST.apk

Serial output:

request_suspend_state: wakeup (3->0) at 177092224076 (2011-04-15 00:41:29.871063122 UTC)
android_usb gadget: high speed config #1: android
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
binder: 1078:1148 transaction failed 29189, size 76-4

Note: Repro'd 4 times, only saw binder message once though

haveahennessy commented 13 years ago

Send me that apk.. I'll give it a try..

Sent from my iPhone

On Apr 15, 2011, at 20:59, bcruskiereply@reply.github.com wrote:

STR:

  1. execute an adb install command and the install hangs and the BUG locks up

adb window

bcruskie@bdclap:~/android-sdk-linux_x86/platform-tools$ ./adb install GPSTEST.apk 
2459 KB/s (181264 bytes in 0.071s)
   pkg: /data/local/tmp/GPSTEST.apk

Serial output:

request_suspend_state: wakeup (3->0) at 177092224076 (2011-04-15 00:41:29.871063122 UTC)
android_usb gadget: high speed config #1: android
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
binder: 1078:1148 transaction failed 29189, size 76-4

Note: Repro'd 4 times, only saw binder message once though

Reply to this email directly or view it on GitHub: https://github.com/buglabs/android/issues/34

haveahennessy commented 13 years ago

This seems to have something to do with the real time clock.. What changes did you make to the date and time?

On Apr 15, 2011, at 8:59 PM, bcruskie wrote:

STR:

  1. execute an adb install command and the install hangs and the BUG locks up

adb window

bcruskie@bdclap:~/android-sdk-linux_x86/platform-tools$ ./adb install GPSTEST.apk 
2459 KB/s (181264 bytes in 0.071s)
  pkg: /data/local/tmp/GPSTEST.apk

Serial output:

request_suspend_state: wakeup (3->0) at 177092224076 (2011-04-15 00:41:29.871063122 UTC)
android_usb gadget: high speed config #1: android
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
binder: 1078:1148 transaction failed 29189, size 76-4

Note: Repro'd 4 times, only saw binder message once though

Reply to this email directly or view it on GitHub: https://github.com/buglabs/android/issues/34

bcruskie commented 13 years ago

I made the following changes under date & time: took it off auto, updated time zone to EST, unchecked 24 hr format, and updated the time.

On Apr 15, 2011, at 11:16 PM, haveahennessyreply@reply.github.com wrote:

Send me that apk.. I'll give it a try..

Sent from my iPhone

On Apr 15, 2011, at 20:59, bcruskiereply@reply.github.com wrote:

STR:

  1. execute an adb install command and the install hangs and the BUG locks up

adb window

bcruskie@bdclap:~/android-sdk-linux_x86/platform-tools$ ./adb install GPSTEST.apk 
2459 KB/s (181264 bytes in 0.071s)
  pkg: /data/local/tmp/GPSTEST.apk

Serial output:

request_suspend_state: wakeup (3->0) at 177092224076 (2011-04-15 00:41:29.871063122 UTC)
android_usb gadget: high speed config #1: android
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
binder: 1078:1148 transaction failed 29189, size 76-4

Note: Repro'd 4 times, only saw binder message once though

Reply to this email directly or view it on GitHub: https://github.com/buglabs/android/issues/34

Reply to this email directly or view it on GitHub: https://github.com/buglabs/android/issues/34#comment_1011726

bcruskie commented 13 years ago

Fuck I hate the iPhone mail client and fat fingering a send.

Anyway, I wrote a fresh rootfs and got the same error without make the date & time changes. I will update the issue when I get home.

On Apr 16, 2011, at 4:34 PM, Brian Cruskie brianc@buglabs.net wrote:

I made the following changes under date & time: took it off auto, updated time zone to EST, unchecked 24 hr format, and updated the time.

On Apr 15, 2011, at 11:16 PM, haveahennessyreply@reply.github.com wrote:

Send me that apk.. I'll give it a try..

Sent from my iPhone

On Apr 15, 2011, at 20:59, bcruskiereply@reply.github.com wrote:

STR:

  1. execute an adb install command and the install hangs and the BUG locks up

adb window

bcruskie@bdclap:~/android-sdk-linux_x86/platform-tools$ ./adb install GPSTEST.apk 
2459 KB/s (181264 bytes in 0.071s)
 pkg: /data/local/tmp/GPSTEST.apk

Serial output:

request_suspend_state: wakeup (3->0) at 177092224076 (2011-04-15 00:41:29.871063122 UTC)
android_usb gadget: high speed config #1: android
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
binder: 1078:1148 transaction failed 29189, size 76-4

Note: Repro'd 4 times, only saw binder message once though

Reply to this email directly or view it on GitHub: https://github.com/buglabs/android/issues/34

Reply to this email directly or view it on GitHub: https://github.com/buglabs/android/issues/34#comment_1011726

kgilmer commented 13 years ago

The only thing I can think of that's related to date & time that I've changed is the /etc/gps.conf which lists the NTP servers. I took the one that ships with the freerunner. Perhaps it is a problem with adb? My gut tells me to build userdebug and see if it has the same behavior...

On Sat, Apr 16, 2011 at 1:58 PM, haveahennessy < reply@reply.github.com>wrote:

This seems to have something to do with the real time clock.. What changes did you make to the date and time?

On Apr 15, 2011, at 8:59 PM, bcruskie wrote:

STR:

  1. execute an adb install command and the install hangs and the BUG locks up

adb window

bcruskie@bdclap:~/android-sdk-linux_x86/platform-tools$ ./adb install
GPSTEST.apk
2459 KB/s (181264 bytes in 0.071s)
      pkg: /data/local/tmp/GPSTEST.apk

Serial output:

request_suspend_state: wakeup (3->0) at 177092224076 (2011-04-15
00:41:29.871063122 UTC)
android_usb gadget: high speed config #1: android
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
alarm_release: clear alarm, pending 0
binder: 1078:1148 transaction failed 29189, size 76-4

Note: Repro'd 4 times, only saw binder message once though

Reply to this email directly or view it on GitHub: https://github.com/buglabs/android/issues/34

Reply to this email directly or view it on GitHub: https://github.com/buglabs/android/issues/34#comment_1011849

kgilmer commented 13 years ago

bcruskie, this build uses the 'userdebug' lunch configuration instead of 'eng'. Can you determine if the same issue is happening here?

http://darner:8085/job/android-experimental/lastSuccessfulBuild/artifact/dist/dist-jenkins-android-experimental-3.tar.gz

I am working on build infrastructure for an 'experiemental' automated build but do not have it yet exporting to a public location, but that is the goal.

kgilmer commented 13 years ago

I got a similiar issue in the userdebug version, but had a stacktrace. After googling around I found this:

http://code.google.com/p/oxygen-rom/issues/detail?id=407

Which led me to check and sure enough the /data/app directory had invalid permissions. I'm not sure what has changed to cause this error. Will build a fresh one and verify fix in android-froyo.

kgilmer commented 13 years ago

Confirmed fixed in build 99 of froyo branch: http://bugcommunity.com/downloads/files/android_builds/dist-jenkins-android-froyo-99.tar.gz

bcruskie commented 13 years ago

verified this issue is fix in build 100