[HTC Sensation] Arie-:
I'm looking into some logcatting now. The list is rather huge though. I do see a message:

D/NotifyDialerScheduler( 3571): ACTION_CONTACTS_DB_READY

Now I have to figure out why this database gets lost occasionally.

D/CountryDetectorService( 3616): No listener is left
I/ActivityManager( 3616): Kill com.android.contacts (pid 31475): provider com.android.providers.contacts.HtcContactsProvider2 in dying process android.process.acore
I/ActivityThread(31475): Removing dead content provider: contacts
I/ActivityThread(31475): Removing dead content provider: com.android.contacts
I/ActivityThread(31475): Removing dead content provider: call_log

So the contacts provider dies, but why. Still looking into that.

Edit:

I suspect that something goes wrong when the phone starts looking for contacts on the simcard, a few parts of the log hint at this.

01-10 14:19:25.183 E/HtcContactsProvider2( 4674): getDefaultSharedPreferences: pref_key_sync_sim
01-10 14:19:25.183 E/HtcContactsProvider2( 4674): android.content.pm.PackageManager$NameNotFoundException: Application package com.android.htccontacts not found
01-10 14:19:25.183 E/HtcContactsProvider2( 4674):	at android.app.ContextImpl.createPackageContext(ContextImpl.java:1678)
01-10 14:19:25.183 E/HtcContactsProvider2( 4674):	at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:483)
01-10 14:19:25.183 E/HtcContactsProvider2( 4674):	at com.android.providers.contacts.HtcContactsProvider2$QuerySIMDataThread.insertSimPhonebook(HtcContactsProvider2.java:8555)
01-10 14:19:25.183 E/HtcContactsProvider2( 4674):	at com.android.providers.contacts.HtcContactsProvider2$QuerySIMDataThread.copySimIntoPeople(HtcContactsProvider2.java:8490)
01-10 14:19:25.183 E/HtcContactsProvider2( 4674):	at com.android.providers.contacts.HtcContactsProvider2$QuerySIMDataThread.loadAndCopySimContact(HtcContactsProvider2.java:8372)
01-10 14:19:25.183 E/HtcContactsProvider2( 4674):	at com.android.providers.contacts.HtcContactsProvider2$QuerySIMDataThread.run(HtcContactsProvider2.java:8322)[

[...]

01-10 14:20:37.243 I/ActivityManager( 1037): Start proc android.process.acore for content provider com.android.providers.contacts/.HtcContactsProvider2: pid=8160 uid=10002 gids={3003, 1015}

[...]

01-10 14:20:37.373 I/ActivityThread( 8160): Pub contacts;com.android.contacts: com.android.providers.contacts.HtcContactsProvider2

[...]

01-10 14:20:38.935 D/HtcContactsProvider2( 8160): MESSAGE_REQUERY_SIM_CONTACTS

[...]

01-10 14:21:48.653 E/HtcContactsProvider2( 8160): getDefaultSharedPreferences: pref_key_sync_sim
01-10 14:21:48.653 E/HtcContactsProvider2( 8160): android.content.pm.PackageManager$NameNotFoundException: Application package com.android.htccontacts not found
01-10 14:21:48.653 E/HtcContactsProvider2( 8160):	at android.app.ContextImpl.createPackageContext(ContextImpl.java:1678)
01-10 14:21:48.653 E/HtcContactsProvider2( 8160):	at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:483)
01-10 14:21:48.653 E/HtcContactsProvider2( 8160):	at com.android.providers.contacts.HtcContactsProvider2$QuerySIMDataThread.insertSimPhonebook(HtcContactsProvider2.java:8555)
01-10 14:21:48.653 E/HtcContactsProvider2( 8160):	at com.android.providers.contacts.HtcContactsProvider2$QuerySIMDataThread.copySimIntoPeople(HtcContactsProvider2.java:8490)
01-10 14:21:48.653 E/HtcContactsProvider2( 8160):	at com.android.providers.contacts.HtcContactsProvider2$QuerySIMDataThread.loadAndCopySimContact(HtcContactsProvider2.java:8372)
01-10 14:21:48.653 E/HtcContactsProvider2( 8160):	at com.android.providers.contacts.HtcContactsProvider2$QuerySIMDataThread.run(HtcContactsProvider2.java:8322)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160): handle MSG_CREATE_DEFAULT_CONTACT
01-10 14:21:48.713 W/HtcContactsProvider2( 8160): android.content.pm.PackageManager$NameNotFoundException: Application package com.android.htccontacts not found
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at android.app.ContextImpl.createPackageContext(ContextImpl.java:1678)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:483)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at com.android.providers.contacts.HtcContactsProvider2$7.handleMessage(HtcContactsProvider2.java:1965)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at android.os.Handler.dispatchMessage(Handler.java:99)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at android.os.Looper.loop(Looper.java:154)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at android.app.ActivityThread.main(ActivityThread.java:4944)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at java.lang.reflect.Method.invokeNative(Native Method)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at java.lang.reflect.Method.invoke(Method.java:511)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
01-10 14:21:48.713 W/HtcContactsProvider2( 8160):	at dalvik.system.NativeStart.main(Native Method)
01-10 14:21:48.713 D/NotifyDialerScheduler( 8160): ACTION_CONTACTS_DB_READY