You have most likely changed the certificates of some of the system .apks,
so will need to wipe your data partition.

On Fri, Feb 6, 2009 at 4:24 AM, Billy Maron <[email protected]> wrote:

>
> Hi,
>
> I am looking for advice. I get the "System UIDs inconsistent" error
> message. I click "I'm feeling lucky" and it stays there. I rm -rf
> /data/* and restart everything and behavior is the same. I attached
> /dev/log/main and /data/anr/traces.txt
>
> Timed out (is the CPU pegged?) layer=0, lcblk=0x41036020,
> state=00000042 (was 00000042)^...@^fpackagemanager^@Package
> com.android.providers.im has mismatched uid: 1000 on disk, 10000 in
> settings; read messages:
> Read completed successfully: 39 packages, 7 shared uids
> ^...@^fpackagemanager^@Package com.android.sync has mismatched uid: 1000
> on disk, 10001 in settings
>
> packagemanag...@package com.android.htmlviewer has mismatched uid:
> 1000 on disk, 10003 in settin...@^esurfacecomposerclient^@lock_layer
> timed out (is the CPU pegged?) layer=0, lcblk=0x41036020,
> state=00000043 (was 00000043)^...@^fpackagemanager^@Package
> com.android.globaltime has mismatched uid: 1000 on disk, 10004 in
> settin...@^esurfacecomposerclient^@lock_layer timed out (is the CPU
> pegged?) layer=0, lcblk=0x41036020, state=00000043 (was
> 00000043)^...@^esurfacecomposerclient^@lock_layer timed out (is the CPU
> pegged?) layer=0, lcblk=0x41036020, state=00000043 (was
> 00000043)^...@^esurfacecomposerclient^@lock_layer timed out (is the CPU
> pegged?) layer=0, lcblk=0x41036020, state=00000043 (was
> 00000043)^...@^esurfacecomposerclient^@lock_layer timed out (is the CPU
> pegged?) layer=0, lcblk=0x41036020, state=00000043 (was
> 00000043)^...@^esurfacecomposerclient^@lock_layer timed out (is the CPU
> pegged?) layer=0, lcblk=0x41036020, state=00000042 (was
> 00000042)^...@^esurfacecomposerclient^@lock_layer timed out (is the CPU
> pegged?) layer=0, lcblk=0x41036020, state=00000042 (was
> 00000042)^...@^fpackagemanager^@Package com.android.mms has mismatched
> uid: 1000 on disk, 10005 in
> settin...@^esurfacecomposerclient^@lock_layer timed out (is the CPU
> pegged?) layer=0, lcblk=0x41036020, state=00000042 (was 00000042)^
>
> Scanning app dir /data/app-priva...@^dpackagemanager^@Time to scan
> packages: 126.057 secon...@^epackagemanager^@Unknown permission
> com.google.android.googleapps.permission.GOOGLE_AUTH in package
> com.android.providers.contac...@^epackagemanager^@Unknown permission
> com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package
> com.android.providers.contac...@^epackagemanager^@Unknown permission
> com.google.android.providers.gmail.permission.WRITE_GMAIL in package
> com.android.settin...@^epackagemanager^@Unknown permission
> com.google.android.providers.gmail.permission.READ_GMAIL in package
> com.android.settings
>
> surfacecomposerclie...@lock_layer timed out (is the CPU pegged?)
> layer=0, lcblk=0x41036020, state=00000043 (was
> 00000043)^...@^fsqliteopenhelper^@Couldn't open launcher.db for writing
> (will try read-only):
> android.database.sqlite.SQLiteException: unable to open database file
>        at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
>        at
> android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1569)
>        at
> android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:624)
>        at
> android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:645)
>        at
> android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:638)
>        at
> android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:460)
>        at
> android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:181)
>        at
> android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:96)
>        at
> android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:156)
>        at
> com.android.launcher.LauncherProvider.query(LauncherProvider.java:85)
>        at
> android.content.ContentProvider$Transport.query(ContentProvider.java:128)
>        at android.content.ContentResolver.query(ContentResolver.java:147)
>        at
> com.android.launcher.LauncherModel.updateShortcutLabels(LauncherModel.java:260)
>        at
> com.android.launcher.LauncherModel.access$300(LauncherModel.java:49)
>        at
> com.android.launcher.LauncherModel$DesktopItemsLoader.run(LauncherModel.java:356)
>        at java.lang.Thread.run(Thread.java:1058)
>
> ^...@^fdatabase^@sqlite3_open_v2("/data/data/com.android.launcher/databases/launcher.db",
> &handle, 1, NULL) failed
> ^...@^edalvikvm^@threadid=19: thread exiting with uncaught exception
> (group=0x4000fe68)
> ^...@^fandroidruntime^@Uncaught handler: thread Desktop Items Loader
> exiting due to uncaught
> excepti...@^fandroidruntime^@android.database.sqlite.SQLiteException:
> unable to open database file
>        at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
>        at
> android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1569)
>        at
> android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:624)
>        at
> android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:166)
>        at
> com.android.launcher.LauncherProvider.query(LauncherProvider.java:85)
>        at
> android.content.ContentProvider$Transport.query(ContentProvider.java:128)
>        at android.content.ContentResolver.query(ContentResolver.java:147)
>        at
> com.android.launcher.LauncherModel.updateShortcutLabels(LauncherModel.java:260)
>        at
> com.android.launcher.LauncherModel.access$300(LauncherModel.java:49)
>        at
> com.android.launcher.LauncherModel$DesktopItemsLoader.run(LauncherModel.java:356)
>        at java.lang.Thread.run(Thread.java:1058)
> ^...@^esurfacecomposerclient^@lock_layer timed out (is the CPU pegged?)
> layer=0, lcblk=0x41036020, state=00000043 (was
> 00000043)^...@^bactivitythread^@Resuming ActivityRecord{436b8c78
> token=android.os.binderpr...@436b8708
> {com.android.launcher/com.android.launcher.Launcher}} with
> isforward=fal...@^dprocess^@Sending signal. PID: 1005 SIG:
> 3...@^ddalvikvm^@threadid=7: reacting to signal 3
>
>
> inputmanagerservi...@hide the small icon for the input
> meth...@^eegldisplaysurface^@^...@^ewindowmanager^@Pointer down received
> while already down in: Window{436b63f0 System UIDs
> inconsisten...@^ewindowmanager^@No window to dispatch pointer action
> 1...@^ewindowmanager^@Pointer down received while already down in:
> Window{436b63f0 System UIDs Inconsistent}
>
>
> /data/anr/traces.txt has
>
> DALVIK THREADS:
> "main" prio=5 tid=3 NATIVE
>  | group="main" sCount=1 dsCount=0 s=0 obj=0x40018e08
>  | sysTid=1121 nice=0 sched=0/0 handle=-1092408164
>  at android.os.BinderProxy.transact(Native Method)
>  at
> android.app.ActivityManagerProxy.registerReceiver(ActivityManagerNative.java:1070)
>  at
> android.app.ApplicationContext.registerReceiverInternal(ApplicationContext.java:757)
>  at
> android.app.ApplicationContext.registerReceiver(ApplicationContext.java:732)
>  at
> android.app.ApplicationContext.registerReceiver(ApplicationContext.java:726)
>  at
> android.content.ContextWrapper.registerReceiver(ContextWrapper.java:278)
>  at com.android.mms.util.DownloadManager.<init>(DownloadManager.java:116)
>  at com.android.mms.util.DownloadManager.init(DownloadManager.java:138)
>  at com.android.mms.MmsApp.onCreate(MmsApp.java:40)
>  at
> android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1045)
>  at
> android.app.ActivityThread.handleBindApplication(ActivityThread.java:3464)
>  at android.app.ActivityThread.access$2500(ActivityThread.java:112)
>  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623)
>  at android.os.Handler.dispatchMessage(Handler.java:99)
>  at android.os.Looper.loop(Looper.java:123)
>  at android.app.ActivityThread.main(ActivityThread.java:3790)
>  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:745)
>  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:503)
>  at dalvik.system.NativeStart.main(Native Method)
>
> "Desktop Items Loader" prio=5 tid=17 NATIVE
>  | group="main" sCount=1 dsCount=0 s=0 obj=0x437488a0
>  | sysTid=1144 nice=0 sched=0/0 handle=814544
>  at android.os.BinderProxy.transact(Native Method)
>  at
> android.app.ActivityManagerProxy.handleApplicationError(ActivityManagerNative.java:2044)
>  at com.android.internal.os.RuntimeInit.crash(RuntimeInit.java:302)
>  at
> com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:75)
>  at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)
>  at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)
>
> "[email protected]@4370cec0"
> daemon prio=5 tid=15 WAIT
>  | group="main" sCount=1 dsCount=0 s=0 obj=0x43710f08
>  | sysTid=1143 nice=0 sched=0/0 handle=1432616
>  at java.lang.Object.wait(Native Method)
>  - waiting on <0x15e878> (a java.lang.ref.ReferenceQueue)
>  at java.lang.Object.wait(Object.java:326)
>  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
>  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:85)
>  at
> org.apache.http.impl.conn.tsccm.RefQueueWorker.run(RefQueueWorker.java:102)
>  at java.lang.Thread.run(Thread.java:1058)
>
> "Binder Thread #2" prio=5 tid=13 NATIVE
>  | group="main" sCount=1 dsCount=0 s=0 obj=0x436efa70
>  | sysTid=1142 nice=0 sched=0/0 handle=820096
>  at dalvik.system.NativeStart.run(Native Method)
>
> "Binder Thread #1" prio=5 tid=11 NATIVE
>  | group="main" sCount=1 dsCount=0 s=0 obj=0x436eda10
>  | sysTid=1141 nice=0 sched=0/0 handle=841552
>  at dalvik.system.NativeStart.run(Native Method)
>
> "JDWP" daemon prio=5 tid=9 VMWAIT
>  | group="system" sCount=1 dsCount=0 s=0 obj=0x436ed2a0
>  | sysTid=1140 nice=0 sched=0/0 handle=838424
>  at dalvik.system.NativeStart.run(Native Method)
>
> "Signal Catcher" daemon prio=5 tid=7 RUNNABLE
>  | group="system" sCount=0 dsCount=0 s=0 obj=0x436ed1e8
>  | sysTid=1139 nice=0 sched=0/0 handle=838880
>  at dalvik.system.NativeStart.run(Native Method)
>
> "HeapWorker" daemon prio=5 tid=5 VMWAIT
>  | group="system" sCount=1 dsCount=0 s=0 obj=0x428811d0
>  | sysTid=1138 nice=0 sched=0/0 handle=832424
>  at dalvik.system.NativeStart.run(Native Method)
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to