[Streak 5 Android Development] beast.in.black:
Market FC on 1.4.5

I just updated to 1.4.5, and Market is force-closing. Tried a "Factory Reset" before as well as after installing the ROM but no joy.

It seems that there's a securityException thrown when it tries to write to some settings file.

Here's an excerpt of the logcat:

I/ActivityManager( 156): Displayed activity com.android.vending/.AssetBrowserActivity: 497 ms (total 497 ms)
I/ActivityManager( 156): Starting activity: Intent { act=android.intent.action.VIEW cmp=com.android.vending/.MyDownloadsActivity }
I/ActivityManager( 156): Displayed activity com.android.vending/.MyDownloadsActivity: 293 ms (total 293 ms)
D/GoogleLoginService( 396): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
E/DatabaseUtils( 396): Writing exception to parcel
E/DatabaseUtils( 396): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=1053, uid=10060 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/DatabaseUtils( 396):	at android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:325)
E/DatabaseUtils( 396):	at android.content.ContentProvider$Transport.insert(ContentProvider.java:173)
E/DatabaseUtils( 396):	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:146)
E/DatabaseUtils( 396):	at android.os.Binder.execTransact(Binder.java:288)
E/DatabaseUtils( 396):	at dalvik.system.NativeStart.run(Native Method)
F/dalvikvm( 1053): Exception!!! threadid=14: thread exiting with uncaught exception (group=0x4001d968)
E/AndroidRuntime( 1053): FATAL EXCEPTION: UpdateCheckinDatabaseService
E/AndroidRuntime( 1053): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=1053, uid=10060 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/AndroidRuntime( 1053):	at android.os.Parcel.readException(Parcel.java:1247)
E/AndroidRuntime( 1053):	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:160)
E/AndroidRuntime( 1053):	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
E/AndroidRuntime( 1053):	at android.content.ContentProviderProxy.insert(ContentProviderNative.java:408)
E/AndroidRuntime( 1053):	at android.content.ContentResolver.insert(ContentResolver.java:587)
E/AndroidRuntime( 1053):	at com.google.android.gsf.GoogleSettingsContract$NameValueTable.putString(GoogleSettingsContract.java:55)
E/AndroidRuntime( 1053):	at com.google.android.gsf.GoogleSettingsContract$Partner.putString(GoogleSettingsContract.java:126)
E/AndroidRuntime( 1053):	at com.android.vending.UpdateCheckinService.updateCheckinDatabase(UpdateCheckinService.java:140)
E/AndroidRuntime( 1053):	at com.android.vending.UpdateCheckinService.access$000(UpdateCheckinService.java:34)
E/AndroidRuntime( 1053):	at com.android.vending.UpdateCheckinService$ServiceHandler.handleMessage(UpdateCheckinService.java:85)
E/AndroidRuntime( 1053):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1053):	at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1053):	at android.os.HandlerThread.run(HandlerThread.java:60)
W/ActivityManager( 156): Force finishing activity com.android.vending/.MyDownloadsActivity

This happens randomly when browsing market, or searching, or sometimes even when market just starts up.

EDIT: More info:

Multiple reinstalls of 1.4.5, wiping both before and after the flashing of the ROM, did not help.

My Launcher is ADW.

My upgrade path was 1.1.1 -> 1.4.1 -> 1.4.2 -> 1.4.1 (because I factory-reset 1.4.2 and got the dreaded Dell logo bootloop, so formatted /system, /data and /cache and reinstalled 1.4.1) -> 1.4.5