android.process.acore crash on first boot

Bug #1260757 reported by Tixy (Jon Medhurst)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
New
Undecided
Unassigned

Bug Description

Several times I've noticed on first boot of an Android KitKat image on vexpress (usually fastmodels but once on TC2) that I get 'Unfortunately, android.process.acore has stopped' and a logcat shows the snippet below (full log attached). This paticular case is with build: https://android-build.linaro.org/builds/~linaro-android/vexpress-lsk/#build=111

E/AndroidRuntime( 2857): FATAL EXCEPTION: ContactsProviderWorker
E/AndroidRuntime( 2857): Process: android.process.acore, PID: 2857
E/AndroidRuntime( 2857): android.database.sqlite.SQLiteConstraintException: column mimetype is not unique (code 19)
E/AndroidRuntime( 2857): at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
E/AndroidRuntime( 2857): at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:782)
E/AndroidRuntime( 2857): at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
E/AndroidRuntime( 2857): at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
E/AndroidRuntime( 2857): at com.android.providers.contacts.ContactsDatabaseHelper.lookupAndCacheId(ContactsDatabaseHelper.java:4342)
E/AndroidRuntime( 2857): at com.android.providers.contacts.ContactsDatabaseHelper.lookupMimeTypeId(ContactsDatabaseHelper.java:4403)
E/AndroidRuntime( 2857): at com.android.providers.contacts.ContactsDatabaseHelper.getMimeTypeId(ContactsDatabaseHelper.java:4388)
E/AndroidRuntime( 2857): at com.android.providers.contacts.aggregation.ContactAggregator.<init>(ContactAggregator.java:376)
E/AndroidRuntime( 2857): at com.android.providers.contacts.ContactsProvider2.initForDefaultLocale(ContactsProvider2.java:1509)
E/AndroidRuntime( 2857): at com.android.providers.contacts.ContactsProvider2.performBackgroundTask(ContactsProvider2.java:1582)
E/AndroidRuntime( 2857): at com.android.providers.contacts.ContactsProvider2$1.handleMessage(ContactsProvider2.java:1468)
E/AndroidRuntime( 2857): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2857): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2857): at android.os.HandlerThread.run(HandlerThread.java:61)

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :
Revision history for this message
bruce (wugj0532) wrote :

do you find the rootcause?

Revision history for this message
Chase Qi (chase-qi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.