facebook / facebook-android-sdk

Used to integrate Android apps with Facebook Platform.
https://developers.facebook.com/docs/android
Other
6.07k stars 3.65k forks source link

FbDialog login button results in dead progress indicator (i.e. unresponsive UI thread) #66

Closed ReubenH closed 13 years ago

ReubenH commented 13 years ago

Facebook.authorize() appears to be less asynchronous than one might like.

On a 1.6 emulator I observe that the typical login pattern is for the first web dialog to load fine, with a "Loading..." indicator spinning nicely while it does so. So far so good.

However, once that dialog has loaded, if you then type in the username and password and press "Login" , the spinner pops up again as expected, but it does not spin. It seems to stay in this frozen state for anything between 2 and 30 seconds.

As far as I can tell the Java code and WebView usage is fine... therefore the problem is most likely in the dialog content returned by the server. I see from the logging that two seperate redirects are involved, which seems excessive... plus there might well be some Javascript hideousness going on which somehow conspires to starve the UI thread of CPU time.

Whatever the underlying reason, up to 30 seconds of dead UI is a crappy user experience in anyone's book, and that's why I'm reporting it here.

LuisKaP commented 13 years ago

We are receiving lots of user complaints about this. For the user, a frozen spin wheel means a frozen app, even if it's not. Fixing this is really important IMHO.

Thanks!

rukksi commented 13 years ago

I have the frozen dialog & progress image problem in all dialogs that have been initiated from within a phonegap webview control. Phonegap hosts HTML, js and css assests in a webview control and enables Java to be called from the js. If I call authorize or do a stream publish from Java it works fine, if I call it from js across the Phonegap js interface then it shows the dialog, but appears to hang whenever the page unloads - for the authorize the dialog appears to rediect straight away which causes a freeze, and for stream publish I get the dialog rendered, but then when I hit post the progress image shows and then the dialog freezes. Anyone else having the same problem? Any ideas on what to look for? There's nothing suspicious looking in logcat, I'm guessing there's some lock associated with the two webview instances (phonegap + fb)?

n0fixedab0de commented 13 years ago

The frozen spinner is as a known bug with android, the dialog needs to be destroyed and a new one created for the spin animation to work. if anything was really blocking the ui thread for 30 seconds you would have got an ANR error.

Ideally you should use the activity.showdialog() method to create the dialog and then use removeDialog() instead of dismiss() so that the spinner is recreated each time so that it spins

rukksi commented 13 years ago

I do get an ANR error using a 2.0 emulator, not sure if that changes anything? traces.txt file is copied below the logcat output

09-15 09:53:07.780: WARN/WindowManager(58): Key dispatching timed out sending to xxx.com/xxx.com.Luvit 09-15 09:53:07.796: WARN/WindowManager(58): Dispatch state: {{KeyEvent{action=1 code=53 repeat=0 meta=0 scancode=21 mFlags=8} to Window{44e25a70 xxx.com/xxx.com.Luvit paused=false} @ 1284501104690 lw=Window{44e25a70 xxx.com/xxx.com.Luvit paused=false} lb=android.os.BinderProxy@44d042d0 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{44d4ecc0 xxx.com/xxx.com.Luvit paused=false}}} 09-15 09:53:07.806: WARN/WindowManager(58): Current state: {{null to Window{44d4ecc0 xxx.com/xxx.com.Luvit paused=false} @ 1284501187807 lw=Window{44d4ecc0 xx.com/xxx.com.Luvit paused=false} lb=android.os.BinderProxy@44d4eb08 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{44d4ecc0 xxx.com/xxx.com.Luvit paused=false}}} 09-15 09:53:07.876: INFO/ActivityManager(58): ANR in process: xxx.com (last in xxx.com) 09-15 09:53:07.876: INFO/ActivityManager(58): Annotation: keyDispatchingTimedOut 09-15 09:53:07.876: INFO/ActivityManager(58): CPU usage: 09-15 09:53:07.876: INFO/ActivityManager(58): Load: 0.44 / 0.68 / 0.41 09-15 09:53:07.876: INFO/ActivityManager(58): CPU usage from 7867ms to 57ms ago: 09-15 09:53:07.876: INFO/ActivityManager(58): system_server: 3% = 2% user + 1% kernel / faults: 41 minor 2 major 09-15 09:53:07.876: INFO/ActivityManager(58): m.android.phone: 0% = 0% user + 0% kernel / faults: 1 minor 09-15 09:53:07.876: INFO/ActivityManager(58): rild: 0% = 0% user + 0% kernel 09-15 09:53:07.876: INFO/ActivityManager(58): adbd: 0% = 0% user + 0% kernel 09-15 09:53:07.876: INFO/ActivityManager(58): TOTAL: 4% = 2% user + 1% kernel 09-15 09:53:07.886: INFO/ActivityManager(58): Removing old ANR trace file from /data/anr/traces.txt 09-15 09:53:07.895: INFO/Process(58): Sending signal. PID: 276 SIG: 3 09-15 09:53:07.906: INFO/dalvikvm(276): threadid=7: reacting to signal 3 09-15 09:53:07.936: INFO/dalvikvm(276): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:08.128: INFO/Process(58): Sending signal. PID: 58 SIG: 3 09-15 09:53:08.128: INFO/dalvikvm(58): threadid=7: reacting to signal 3 09-15 09:53:08.206: INFO/dalvikvm(58): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:08.415: INFO/Process(58): Sending signal. PID: 104 SIG: 3 09-15 09:53:08.425: INFO/dalvikvm(104): threadid=7: reacting to signal 3 09-15 09:53:08.465: INFO/dalvikvm(104): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:08.646: INFO/Process(58): Sending signal. PID: 242 SIG: 3 09-15 09:53:08.646: INFO/dalvikvm(242): threadid=7: reacting to signal 3 09-15 09:53:08.685: INFO/dalvikvm(242): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:08.853: INFO/Process(58): Sending signal. PID: 171 SIG: 3 09-15 09:53:08.855: INFO/dalvikvm(171): threadid=7: reacting to signal 3 09-15 09:53:08.885: INFO/dalvikvm(171): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:09.061: INFO/Process(58): Sending signal. PID: 155 SIG: 3 09-15 09:53:09.065: INFO/dalvikvm(155): threadid=7: reacting to signal 3 09-15 09:53:09.085: INFO/dalvikvm(155): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:09.268: INFO/Process(58): Sending signal. PID: 185 SIG: 3 09-15 09:53:09.274: INFO/dalvikvm(185): threadid=7: reacting to signal 3 09-15 09:53:09.306: INFO/dalvikvm(185): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:09.475: INFO/Process(58): Sending signal. PID: 139 SIG: 3 09-15 09:53:09.475: INFO/dalvikvm(139): threadid=7: reacting to signal 3 09-15 09:53:09.515: INFO/dalvikvm(139): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:09.685: INFO/Process(58): Sending signal. PID: 101 SIG: 3 09-15 09:53:09.685: INFO/dalvikvm(101): threadid=7: reacting to signal 3 09-15 09:53:09.725: INFO/dalvikvm(101): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:09.906: INFO/Process(58): Sending signal. PID: 119 SIG: 3 09-15 09:53:09.906: INFO/dalvikvm(119): threadid=7: reacting to signal 3 09-15 09:53:09.935: INFO/dalvikvm(119): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:10.115: INFO/Process(58): Sending signal. PID: 99 SIG: 3 09-15 09:53:10.115: INFO/dalvikvm(99): threadid=7: reacting to signal 3 09-15 09:53:10.135: INFO/dalvikvm(99): Wrote stack trace to '/data/anr/traces.txt' 09-15 09:53:10.355: WARN/WindowManager(58): No window to dispatch pointer action 1

Here's the traces.txt file - no idea what I'm looking for though :p

----- pid 276 at 2010-09-15 09:53:07 ----- Cmd line: xxx.com

DALVIK THREADS: "main" prio=5 tid=3 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=276 nice=0 sched=0/0 cgrp=unknown handle=-1344001384 at java.lang.Object.wait(Native Method)

"http3" prio=5 tid=25 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44dfcac8 self=0x3226e0 | sysTid=289 nice=1 sched=0/0 cgrp=unknown handle=3580344 at java.lang.Object.wait(Native Method)

"http2" prio=5 tid=23 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44dfc878 self=0x3225c8 | sysTid=288 nice=1 sched=0/0 cgrp=unknown handle=3578048 at java.lang.Object.wait(Native Method)

"http1" prio=5 tid=21 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44dfc628 self=0x3667c0 | sysTid=287 nice=1 sched=0/0 cgrp=unknown handle=3575712 at java.lang.Object.wait(Native Method)

"http0" prio=5 tid=19 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44dfc418 self=0x366cb0 | sysTid=286 nice=1 sched=0/0 cgrp=unknown handle=3573456 at java.lang.Object.wait(Native Method)

"CookieSyncManager" prio=5 tid=17 TIMED_WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44db3ee8 self=0x2c9ef0 | sysTid=285 nice=10 sched=0/0 cgrp=unknown handle=2902912 at java.lang.Object.wait(Native Method)

"WebViewCoreThread" prio=5 tid=15 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44daeb50 self=0x13eee8 | sysTid=282 nice=0 sched=0/0 cgrp=unknown handle=1314352 at java.lang.Object.wait(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44d93bc8 self=0x13e560 | sysTid=281 nice=0 sched=0/0 cgrp=unknown handle=1316608 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44d93b08 self=0x141560 | sysTid=280 nice=0 sched=0/0 cgrp=unknown handle=1315504 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44d912a0 self=0x140a80 | sysTid=279 nice=0 sched=0/0 cgrp=unknown handle=1317528 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44d911e8 self=0x141110 | sysTid=278 nice=0 sched=0/0 cgrp=unknown handle=1168896 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x4368f450 self=0x13dce0 | sysTid=277 nice=0 sched=0/0 cgrp=unknown handle=1301664 at dalvik.system.NativeStart.run(Native Method)

----- end 276 -----

----- pid 58 at 2010-09-15 09:53:08 ----- Cmd line: system_server

DALVIK THREADS: "main" prio=5 tid=3 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=58 nice=0 sched=0/0 cgrp=unknown handle=-1344001384 at com.android.server.SystemServer.init1(Native Method) at com.android.server.SystemServer.main(SystemServer.java:497) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) at dalvik.system.NativeStart.main(Native Method)

"Binder Thread #7" prio=5 tid=79 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44d18298 self=0x31b148 | sysTid=275 nice=0 sched=0/0 cgrp=unknown handle=3267168 at dalvik.system.NativeStart.run(Native Method)

"SearchDialog" prio=5 tid=77 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44e28330 self=0x487230 | sysTid=219 nice=0 sched=0/0 cgrp=unknown handle=3098144 at java.lang.Object.wait(Native Method)

"Binder Thread #6" prio=5 tid=75 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44dc0f48 self=0x491cf0 | sysTid=154 nice=0 sched=0/0 cgrp=unknown handle=4722544 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #5" prio=5 tid=73 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44d6d6e8 self=0x471d90 | sysTid=151 nice=0 sched=0/0 cgrp=unknown handle=4663336 at dalvik.system.NativeStart.run(Native Method)

"com.android.server.MountListener" prio=5 tid=71 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44d4fd40 self=0x46a7f0 | sysTid=147 nice=0 sched=0/0 cgrp=unknown handle=4635768 at android.net.LocalSocketImpl.readba_native(Native Method) at android.net.LocalSocketImpl.access$400(LocalSocketImpl.java:29) at android.net.LocalSocketImpl$SocketInputStream.read(LocalSocketImpl.java:92) at android.net.LocalSocketImpl$SocketInputStream.read(LocalSocketImpl.java:78) at com.android.server.MountListener.listenToSocket(MountListener.java:208) at com.android.server.MountListener.run(MountListener.java:274) at java.lang.Thread.run(Thread.java:1096)

"android.hardware.SensorManager$SensorThread" prio=5 tid=69 NATIVE | group="main" sCount=1 dsCount=0 s=Y obj=0x44d48e20 self=0x46a218 | sysTid=146 nice=-4 sched=0/0 cgrp=unknown handle=4629296 at android.hardware.SensorManager.sensors_data_poll(Native Method) at android.hardware.SensorManager$SensorThread$SensorThreadRunnable.run(SensorManager.java:375) at java.lang.Thread.run(Thread.java:1096)

"Wallpaper" prio=5 tid=67 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44d319f8 self=0x2f4320 | sysTid=123 nice=-2 sched=0/0 cgrp=unknown handle=3018936 at java.lang.Object.wait(Native Method)

"Binder Thread #4" prio=5 tid=65 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44d1ece8 self=0x2f5300 | sysTid=118 nice=0 sched=0/0 cgrp=unknown handle=1317224 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #3" prio=5 tid=63 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44d2b448 self=0x2f46c0 | sysTid=117 nice=0 sched=0/0 cgrp=unknown handle=3315968 at dalvik.system.NativeStart.run(Native Method)

"watchdog" prio=5 tid=61 TIMED_WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44bf7fc8 self=0x1341d0 | sysTid=98 nice=0 sched=0/0 cgrp=unknown handle=3198264 at java.lang.Object.wait(Native Method)

"GpsNetworkThread" prio=5 tid=59 TIMED_WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44d2a4e8 self=0x30f6d0 | sysTid=96 nice=0 sched=0/0 cgrp=unknown handle=3208120 at java.lang.Object.wait(Native Method)

"GpsEventThread" prio=5 tid=57 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44d27390 self=0x30f520 | sysTid=95 nice=0 sched=0/0 cgrp=unknown handle=3209824 at com.android.internal.location.GpsLocationProvider.native_wait_for_event(Native Method) at com.android.internal.location.GpsLocationProvider.access$400(GpsLocationProvider.java:68) at com.android.internal.location.GpsLocationProvider$GpsEventThread.run(GpsLocationProvider.java:1159)

"android:unnamed_thread" prio=5 tid=55 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44d1f050 self=0x30e3c8 | sysTid=93 nice=0 sched=0/0 cgrp=unknown handle=3204904 at dalvik.system.NativeStart.run(Native Method)

"android:unnamed_thread" prio=5 tid=53 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44d1ef88 self=0x30daa8 | sysTid=92 nice=0 sched=0/0 cgrp=unknown handle=3198416 at dalvik.system.NativeStart.run(Native Method)

"AudioService" prio=5 tid=51 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44d14060 self=0x2e83e0 | sysTid=91 nice=0 sched=0/0 cgrp=unknown handle=3060744 at java.lang.Object.wait(Native Method)

"LocationManagerService" prio=5 tid=49 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44cff348 self=0x307fb8 | sysTid=90 nice=10 sched=0/0 cgrp=unknown handle=3176376 at java.lang.Object.wait(Native Method)

"WifiWatchdogThread" prio=5 tid=47 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44cbfe28 self=0x306140 | sysTid=89 nice=0 sched=0/0 cgrp=unknown handle=3170904 at java.lang.Object.wait(Native Method)

"WifiService" prio=5 tid=45 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44cc8aa8 self=0x305160 | sysTid=88 nice=0 sched=0/0 cgrp=unknown handle=3166840 at java.lang.Object.wait(Native Method)

"ConnectivityThread" prio=5 tid=43 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44cb78a8 self=0x2f70a8 | sysTid=87 nice=0 sched=0/0 cgrp=unknown handle=3065368 at java.lang.Object.wait(Native Method)

"InputDispatcher" prio=5 tid=41 NATIVE | group="main" sCount=1 dsCount=0 s=Y obj=0x44c78448 self=0x2e1d88 | sysTid=86 nice=-8 sched=0/0 cgrp=unknown handle=3014536 at android.os.Process.sendSignal(Native Method) at com.android.server.am.ActivityManagerService.appNotRespondingLocked(ActivityManagerService.java:4692) at com.android.server.am.HistoryRecord.keyDispatchingTimedOut(HistoryRecord.java:473) at com.android.server.WindowManagerService$KeyWaiter.waitForNextEventTarget(WindowManagerService.java:5607) at com.android.server.WindowManagerService.dispatchPointer(WindowManagerService.java:4826) at com.android.server.WindowManagerService.access$1200(WindowManagerService.java:130) at com.android.server.WindowManagerService$InputDispatcherThread.process(WindowManagerService.java:6388) at com.android.server.WindowManagerService$InputDispatcherThread.run(WindowManagerService.java:6270)

"WindowManagerPolicy" prio=5 tid=39 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c76790 self=0x2de958 | sysTid=85 nice=-2 sched=0/0 cgrp=unknown handle=2988520 at java.lang.Object.wait(Native Method)

"InputDeviceReader" prio=5 tid=37 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44c81448 self=0x2d4e40 | sysTid=84 nice=-8 sched=0/0 cgrp=unknown handle=2969432 at com.android.server.KeyInputQueue.readEvent(Native Method) at com.android.server.KeyInputQueue.access$000(KeyInputQueue.java:48) at com.android.server.KeyInputQueue$1.run(KeyInputQueue.java:436)

"WindowManager" prio=5 tid=35 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44cb1060 self=0x2d9798 | sysTid=83 nice=-4 sched=0/0 cgrp=unknown handle=2988208 at java.lang.Object.wait(Native Method)

"AlarmManager" prio=5 tid=33 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44c7f6c8 self=0x2d6ad8 | sysTid=82 nice=0 sched=0/0 cgrp=unknown handle=2979992 at com.android.server.AlarmManagerService.waitForAlarm(Native Method) at com.android.server.AlarmManagerService.access$100(AlarmManagerService.java:52) at com.android.server.AlarmManagerService$AlarmThread.run(AlarmManagerService.java:601)

"PowerManagerService" prio=5 tid=31 TIMED_WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c2cd30 self=0x2d0d40 | sysTid=81 nice=0 sched=0/0 cgrp=unknown handle=2952792 at java.lang.Object.wait(Native Method)

"UEventObserver" prio=5 tid=29 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44c271f8 self=0x2d01f8 | sysTid=80 nice=0 sched=0/0 cgrp=unknown handle=2949904 at android.os.UEventObserver.next_event(Native Method) at android.os.UEventObserver.access$100(UEventObserver.java:39) at android.os.UEventObserver$UEventThread.run(UEventObserver.java:102)

"SyncHandlerThread" prio=5 tid=27 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44ce70f8 self=0x133fb0 | sysTid=77 nice=10 sched=0/0 cgrp=unknown handle=2927264 at java.lang.Object.wait(Native Method)

"AccountManagerService" prio=5 tid=25 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44cf7240 self=0x11ff70 | sysTid=76 nice=0 sched=0/0 cgrp=unknown handle=1316664 at java.lang.Object.wait(Native Method)

"FileObserver" prio=5 tid=23 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bf8558 self=0x13dca0 | sysTid=75 nice=0 sched=0/0 cgrp=unknown handle=1174896 at android.os.FileObserver$ObserverThread.observe(Native Method) at android.os.FileObserver$ObserverThread.run(FileObserver.java:69)

"PackageManager" prio=5 tid=21 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c20408 self=0x135d60 | sysTid=74 nice=10 sched=0/0 cgrp=unknown handle=1212776 at java.lang.Object.wait(Native Method)

"ProcessStats" prio=5 tid=19 TIMED_WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c1c670 self=0x125a00 | sysTid=73 nice=0 sched=0/0 cgrp=unknown handle=1198664 at java.lang.Object.wait(Native Method)

"ActivityManager" prio=5 tid=17 TIMED_WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44bfa610 self=0x1195f8 | sysTid=69 nice=-2 sched=0/0 cgrp=unknown handle=1313872 at java.lang.Object.wait(Native Method)

"android.server.ServerThread" prio=5 tid=15 TIMED_WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44beffe0 self=0x141a30 | sysTid=67 nice=-2 sched=0/0 cgrp=unknown handle=1282320 at java.lang.Object.wait(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedd38 self=0x137ed8 | sysTid=63 nice=0 sched=0/0 cgrp=unknown handle=1277592 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedc78 self=0x121d68 | sysTid=62 nice=0 sched=0/0 cgrp=unknown handle=1264848 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44bec2a0 self=0x11c198 | sysTid=61 nice=0 sched=0/0 cgrp=unknown handle=1163608 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44bec1e8 self=0x132880 | sysTid=60 nice=0 sched=0/0 cgrp=unknown handle=1168864 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x4368c1e8 self=0x1441c8 | sysTid=59 nice=0 sched=0/0 cgrp=unknown handle=1327496 at dalvik.system.NativeStart.run(Native Method)

----- end 58 -----

----- pid 104 at 2010-09-15 09:53:08 ----- Cmd line: android.process.acore

DALVIK THREADS: "main" prio=5 tid=3 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=104 nice=0 sched=3/0 cgrp=unknown handle=-1344001384 at java.lang.Object.wait(Native Method)

"Binder Thread #3" prio=5 tid=19 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44c5c5b8 self=0x3344d8 | sysTid=167 nice=0 sched=3/0 cgrp=unknown handle=3280816 at dalvik.system.NativeStart.run(Native Method)

"ContactAggregator" prio=5 tid=17 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c4d138 self=0x33c7c8 | sysTid=143 nice=10 sched=3/0 cgrp=unknown handle=3526624 at java.lang.Object.wait(Native Method)

"ApplicationsProvider #1" prio=5 tid=15 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c2d248 self=0x32ccf8 | sysTid=137 nice=10 sched=3/0 cgrp=unknown handle=3334528 at java.lang.Object.wait(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bee108 self=0x13e100 | sysTid=116 nice=0 sched=3/0 cgrp=unknown handle=1282272 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedb78 self=0x133758 | sysTid=115 nice=0 sched=3/0 cgrp=unknown handle=1282072 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44bec2a0 self=0x1384b0 | sysTid=110 nice=0 sched=3/0 cgrp=unknown handle=1168880 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44bec1e8 self=0x132ce0 | sysTid=107 nice=0 sched=3/0 cgrp=unknown handle=1264888 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x4368f6d8 self=0x137e98 | sysTid=106 nice=0 sched=3/0 cgrp=unknown handle=1327832 at dalvik.system.NativeStart.run(Native Method)

----- end 104 -----

----- pid 242 at 2010-09-15 09:53:08 ----- Cmd line: com.svox.pico

DALVIK THREADS: "main" prio=5 tid=3 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=242 nice=0 sched=3/0 cgrp=unknown handle=-1344001384 at java.lang.Object.wait(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44beeb08 self=0x141560 | sysTid=247 nice=0 sched=3/0 cgrp=unknown handle=1315520 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedf40 self=0x1419c0 | sysTid=246 nice=0 sched=3/0 cgrp=unknown handle=1315320 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44bec2a0 self=0x13ee60 | sysTid=245 nice=0 sched=3/0 cgrp=unknown handle=1306144 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44bec1e8 self=0x140cb0 | sysTid=244 nice=0 sched=3/0 cgrp=unknown handle=1168704 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x43691108 self=0x13f050 | sysTid=243 nice=0 sched=3/0 cgrp=unknown handle=1307576 at dalvik.system.NativeStart.run(Native Method)

----- end 242 -----

----- pid 171 at 2010-09-15 09:53:08 ----- Cmd line: android.process.media

DALVIK THREADS: "main" prio=5 tid=3 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=171 nice=0 sched=3/0 cgrp=unknown handle=-1344001384 at java.lang.Object.wait(Native Method)

"thumbs thread" prio=5 tid=15 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c08810 self=0x135330 | sysTid=178 nice=10 sched=3/0 cgrp=unknown handle=1266760 at java.lang.Object.wait(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedea8 self=0x1419c0 | sysTid=177 nice=0 sched=3/0 cgrp=unknown handle=1315352 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedb78 self=0x140cf0 | sysTid=176 nice=0 sched=3/0 cgrp=unknown handle=1313968 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44bec2a0 self=0x13f050 | sysTid=175 nice=0 sched=3/0 cgrp=unknown handle=1168888 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44bec1e8 self=0x13fb30 | sysTid=173 nice=0 sched=3/0 cgrp=unknown handle=1307544 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x43690920 self=0x13f280 | sysTid=172 nice=0 sched=3/0 cgrp=unknown handle=1302992 at dalvik.system.NativeStart.run(Native Method)

----- end 171 -----

----- pid 155 at 2010-09-15 09:53:09 ----- Cmd line: com.android.mms

DALVIK THREADS: "main" prio=5 tid=3 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=155 nice=0 sched=3/0 cgrp=unknown handle=-1344001384 at java.lang.Object.wait(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44beeb68 self=0x140cf0 | sysTid=160 nice=0 sched=3/0 cgrp=unknown handle=1313968 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44beeaa8 self=0x13fb30 | sysTid=159 nice=0 sched=3/0 cgrp=unknown handle=1307536 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44bec2a0 self=0x13e140 | sysTid=158 nice=0 sched=3/0 cgrp=unknown handle=1302784 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44bec1e8 self=0x13d610 | sysTid=157 nice=0 sched=3/0 cgrp=unknown handle=1168760 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x436903d0 self=0x133798 | sysTid=156 nice=0 sched=3/0 cgrp=unknown handle=1259352 at dalvik.system.NativeStart.run(Native Method)

----- end 155 -----

----- pid 185 at 2010-09-15 09:53:09 ----- Cmd line: com.android.email

DALVIK THREADS: "main" prio=5 tid=3 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=185 nice=0 sched=3/0 cgrp=unknown handle=-1344001384 at java.lang.Object.wait(Native Method)

"Thread-8" prio=5 tid=15 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c16160 self=0x135ad0 | sysTid=191 nice=10 sched=3/0 cgrp=unknown handle=1184496 at java.lang.Object.wait(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bf1070 self=0x141560 | sysTid=190 nice=0 sched=3/0 cgrp=unknown handle=1315520 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bf0fb0 self=0x1419c0 | sysTid=189 nice=0 sched=3/0 cgrp=unknown handle=1315320 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44bec2a0 self=0x13ee60 | sysTid=188 nice=0 sched=3/0 cgrp=unknown handle=1306144 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44bec1e8 self=0x140cb0 | sysTid=187 nice=0 sched=3/0 cgrp=unknown handle=1168704 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x43690e08 self=0x13f050 | sysTid=186 nice=0 sched=3/0 cgrp=unknown handle=1307576 at dalvik.system.NativeStart.run(Native Method)

----- end 185 -----

----- pid 139 at 2010-09-15 09:53:09 ----- Cmd line: com.android.alarmclock

DALVIK THREADS: "main" prio=5 tid=3 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=139 nice=0 sched=3/0 cgrp=unknown handle=-1344001384 at java.lang.Object.wait(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedc38 self=0x13fb30 | sysTid=145 nice=0 sched=3/0 cgrp=unknown handle=1259768 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedb78 self=0x13e100 | sysTid=144 nice=0 sched=3/0 cgrp=unknown handle=1299984 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44bec2a0 self=0x133758 | sysTid=142 nice=0 sched=3/0 cgrp=unknown handle=1168880 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44bec1e8 self=0x138f38 | sysTid=141 nice=0 sched=3/0 cgrp=unknown handle=1279608 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x4368fee8 self=0x1384b0 | sysTid=140 nice=0 sched=3/0 cgrp=unknown handle=1278040 at dalvik.system.NativeStart.run(Native Method)

----- end 139 -----

----- pid 101 at 2010-09-15 09:53:09 ----- Cmd line: com.android.phone

DALVIK THREADS: "main" prio=5 tid=3 TIMED_WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=101 nice=0 sched=0/0 cgrp=unknown handle=-1344001384 at java.lang.Object.wait(Native Method)

"Binder Thread #7" prio=5 tid=35 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44c43d30 self=0x2d6510 | sysTid=169 nice=0 sched=0/0 cgrp=unknown handle=3165408 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #6" prio=5 tid=33 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44c43c50 self=0x30f398 | sysTid=168 nice=0 sched=0/0 cgrp=unknown handle=2986304 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #5" prio=5 tid=31 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44c578b0 self=0x2dac30 | sysTid=166 nice=0 sched=0/0 cgrp=unknown handle=2990064 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #4" prio=5 tid=29 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bf28b0 self=0x128fb8 | sysTid=165 nice=0 sched=0/0 cgrp=unknown handle=1193000 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #3" prio=5 tid=27 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bf2598 self=0x123310 | sysTid=164 nice=0 sched=0/0 cgrp=unknown handle=1258992 at dalvik.system.NativeStart.run(Native Method)

"AsyncQueryWorker" prio=5 tid=25 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c4b920 self=0x2de500 | sysTid=136 nice=0 sched=0/0 cgrp=unknown handle=3008024 at java.lang.Object.wait(Native Method)

"Stk Icon Loader" prio=5 tid=23 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c49110 self=0x2dcfa8 | sysTid=135 nice=0 sched=0/0 cgrp=unknown handle=3002560 at java.lang.Object.wait(Native Method)

"RilMessageDecoder" prio=5 tid=21 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c48940 self=0x2dc0c8 | sysTid=134 nice=0 sched=0/0 cgrp=unknown handle=2998752 at java.lang.Object.wait(Native Method)

"Stk Telephony service" prio=5 tid=19 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c48578 self=0x2db690 | sysTid=133 nice=0 sched=0/0 cgrp=unknown handle=2996136 at java.lang.Object.wait(Native Method)

"RILReceiver" prio=5 tid=17 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44c36850 self=0x136710 | sysTid=132 nice=0 sched=0/0 cgrp=unknown handle=1261376 at android.net.LocalSocketImpl.readba_native(Native Method) at android.net.LocalSocketImpl.access$400(LocalSocketImpl.java:29) at android.net.LocalSocketImpl$SocketInputStream.read(LocalSocketImpl.java:92) at com.android.internal.telephony.RIL.readRilMessage(RIL.java:418) at com.android.internal.telephony.RIL.access$200(RIL.java:206) at com.android.internal.telephony.RIL$RILReceiver.run(RIL.java:517) at java.lang.Thread.run(Thread.java:1096)

"RILSender" prio=5 tid=15 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x44c34428 self=0x1365f8 | sysTid=131 nice=0 sched=0/0 cgrp=unknown handle=1262640 at java.lang.Object.wait(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedf78 self=0x133758 | sysTid=114 nice=0 sched=0/0 cgrp=unknown handle=1257088 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedb90 self=0x1384b0 | sysTid=113 nice=0 sched=0/0 cgrp=unknown handle=1256888 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44bec2a0 self=0x137e98 | sysTid=109 nice=0 sched=0/0 cgrp=unknown handle=1168840 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44bec1e8 self=0x11f008 | sysTid=105 nice=0 sched=0/0 cgrp=unknown handle=1163760 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x4368f1f0 self=0x121d68 | sysTid=103 nice=0 sched=0/0 cgrp=unknown handle=1327832 at dalvik.system.NativeStart.run(Native Method)

----- end 101 -----

----- pid 119 at 2010-09-15 09:53:09 ----- Cmd line: com.android.settings

DALVIK THREADS: "main" prio=5 tid=3 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=119 nice=0 sched=3/0 cgrp=unknown handle=-1344001384 at java.lang.Object.wait(Native Method)

"Binder Thread #3" prio=5 tid=15 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44beea68 self=0x13ee20 | sysTid=126 nice=0 sched=3/0 cgrp=unknown handle=1309904 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedea8 self=0x13fb30 | sysTid=125 nice=0 sched=3/0 cgrp=unknown handle=1259768 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedde8 self=0x13e100 | sysTid=124 nice=0 sched=3/0 cgrp=unknown handle=1300256 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44bec2a0 self=0x133758 | sysTid=122 nice=0 sched=3/0 cgrp=unknown handle=1168880 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44bec1e8 self=0x138f38 | sysTid=121 nice=0 sched=3/0 cgrp=unknown handle=1279608 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x4368fbe8 self=0x1384b0 | sysTid=120 nice=0 sched=3/0 cgrp=unknown handle=1278040 at dalvik.system.NativeStart.run(Native Method)

----- end 119 -----

----- pid 99 at 2010-09-15 09:53:10 ----- Cmd line: jp.co.omronsoft.openwnn

DALVIK THREADS: "main" prio=5 tid=3 WAIT | group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | sysTid=99 nice=0 sched=0/0 cgrp=unknown handle=-1344001384 at java.lang.Object.wait(Native Method)

"Binder Thread #3" prio=5 tid=15 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44ced7d0 self=0x3a24f0 | sysTid=291 nice=0 sched=0/0 cgrp=unknown handle=764712 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #2" prio=5 tid=13 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44beeb08 self=0x1384b0 | sysTid=112 nice=0 sched=0/0 cgrp=unknown handle=1278040 at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=11 NATIVE | group="main" sCount=1 dsCount=0 s=N obj=0x44bedde8 self=0x11f108 | sysTid=111 nice=0 sched=0/0 cgrp=unknown handle=1175752 at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=9 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x44bec2a0 self=0x121d68 | sysTid=108 nice=0 sched=0/0 cgrp=unknown handle=1163864 at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=7 RUNNABLE | group="system" sCount=0 dsCount=0 s=N obj=0x44bec1e8 self=0x136b38 | sysTid=102 nice=0 sched=0/0 cgrp=unknown handle=1327824 at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=5 VMWAIT | group="system" sCount=1 dsCount=0 s=N obj=0x4368eca0 self=0x11c0a0 | sysTid=100 nice=0 sched=0/0 cgrp=unknown handle=1327760 at dalvik.system.NativeStart.run(Native Method)

LuisKaP commented 13 years ago

Done what @n0fixedab0de said (calling activity.showDialog() and activity.removeDialog() ). Has worked fine for me, hope the android team will do something to fix it though, not the most elegant solution.

bgold commented 13 years ago

We fixed this. Let me know if you're still seeing any issues.