Hi All ,

The above exception due to the issue in SparseArray .This issue was
fixed in the Donut release 2.This issue happen when accesing the null
value in the SparseArray if some account updation happend.

http://android.git.kernel.org/?p=platform/frameworks/base.git;a=commit;h=c85648cda4e1a48263946e668f09b65b6b7e59c4

I can confirm the above issue by the DDMS log in some devices. For
Some other devices i have only the last_kmsg log & i coudnt get the
logcat logs from that& this issue currently not reproducible .But i
have the
Data Folder of :
com.google.android.server.checkin
com.google.android.googleapps

the checkin data folder have some logs stored  (events & stats &
crashes) stored in the database,How to analyze the checkin log
database...
How to know ,wheather this issue is the reason for the crash by using
the above data folder? or any other way



Thanks ,
Rajesh Gopu

On Oct 25, 10:37 am, GPU <gopuraj...@gmail.com> wrote:
> Hi ,
>
>     I am facing  the android crash in booting time  .From the log
> crash happening from the SyncStorageEngine.java  ->writeAccountInfo
> Locked.(when updating account from google apps accounts.db to /data/
> sync/accounts.xml) .
>
>       I am not able to find why this  happening only some times.
> & in log i m able to see
>
> "W/dalvikvm( 1318): threadid=81: thread exiting with uncaught
> exception (group=0x2aac9a08)"  ,
>
>  How to confirm this uncaught exception is throwing becuase of
> NullPointerException in the writeAccountinfolocked() or any other
> reason.
>
> Is it wrong?
> Accounts getting removed  mAuthorities.remove(ident);
>     android.content.SyncStorageEngine.doDatabaseCleanup(String[]
> accounts);
>
> in  writeAccountInfoLocked()
> Only based on size (N) the mAuthorities written into xml. (Is it
> right?)
> (if size is 4 the 3rd mAuthorities removed in doDatabaseCleanup() when
> tryinng to access it crash)
>  final int N = mAuthorities.size();
>             for (int i=0; i<N; i++) {
>                 AuthorityInfo authority = mAuthorities.get(i);
>                 out.startTag(null, "authority");
>                 out.attribute(null, "id",
> Integer.toString(authority.ident));
>
> As the adb not able to access because of crash not able to debug it.I
> taken the below log from the serial cable.
>
> D/gmail-ls( 1447): Purging old attachments
> D/WifiService( 1318): setWifiEnabledBlocking : succeed to load
> supplicant
> E/WifiHW  ( 1318): wifi=> wifi_connect_to_supplicant
> E/WifiHW  ( 1318): wifi=> wpa_supplicant I/F /data/system/
> wpa_supplicant/wlan0 is ready~~
> I/gmail-ls( 1447): calculateUnknownSyncRationalesAndPurgeInBackground:
> queueing
> I/gmail-ls( 1447): calculateUnknownSyncRationalesAndPurgeInBackground:
> running
> [   47.119904] [msm-audio:audio_out.c:audio_disable]
> [   47.120369] [msm-audio:audio_out.c:audio_dsp_event] CFG_MSG DISABLE
> [   47.125496] [adsp:adsp.c:msm_adsp_disable] disable 'AUDPPTASK'
> [   47.131488] [msm-audio:audpp.c:audpp_dsp_event] DISABLE
> [   47.137578] [adsp:adsp.c:msm_adsp_disable_locked] disable interrupt
> [   47.142949] [adsp:adsp.c:msm_adsp_put] closing module AUDPPTASK
> [   47.148986] [msm-audio:audmgr.c:audmgr_disable] session 0x8046f658
> [   47.155668] [msm-audio:audmgr.c:audmgr_rpc_thread] rpc_reply status
> 0
> [   47.165866] [msm-audio:audmgr.c:process_audmgr_callback] DISABLED
> V/WifiStateTracker( 1318): run DHCP thread~~~~~
> I/wpa_supplicant( 1524): CTRL-EVENT-STATE-CHANGE id=-1 state=2
> V/WifiMonitor( 1318): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
> V/WifiStateTracker( 1318): Connection to supplicant established,
> state=DISCONNECTED
> [   47.596239] Unkown PRIVATE command , ignored
> [   47.596783] Unkown PRIVATE command , ignored
> [   47.599503] Unkown PRIVATE command , ignored
> [   47.603811] Unkown PRIVATE command , ignored
> [   47.608433] Unkown PRIVATE command , ignored
> [   47.612371] Unkown PRIVATE command , ignored
> [   47.616511] Unkown PRIVATE command , ignored
> [   47.620953] Unkown PRIVATE command , ignored
> [   47.625908] Unkown PRIVATE command , ignored
> V/WifiStateTracker( 1318): Changing supplicant state: DISCONNECTED ==>
> SCANNING
> D/MountListener( 1318): handleEvent volume_unmounted:/sdcard
> D/MountListener( 1318): handleEvent ums_disabled
> D/MountListener( 1318): handleEvent ums_disconnected
> D/StatusBarPolicy( 1318): zippykang::false
> E/vold    ( 1212): Ext Volume name =
> D/StatusBarPolicy( 1318): zippykang-2::
> E/vold    ( 1212): Volume_name=
> D/MountListener( 1318): handleEvent volume_checking:/sdcard
> W/logwrapper( 1532): Unable to background process (No such file or
> directory)
> D/GpsLocationProvider( 1318): state: DISCONNECTED apnName: null
> reason: radioTurnedOff
> D/GpsLocationProvider( 1318): state: DISCONNECTED apnName: null
> reason: gprsDetached
> I/wpa_supplicant( 1524): CTRL-EVENT-SCAN-RESULTS  Ready
> V/WifiStateTracker( 1318):
> handleMessage:EVENT_SCAN_RESULTS_AVAILABLE:start
> V/WifiStateTracker( 1318):
> handleMessage:EVENT_SCAN_RESULTS_AVAILABLE:end
> V/WifiStateTracker( 1318): setNotificationVisible : start
> D/StatusBarPolicy( 1318): zippykang::false
> D/StatusBarPolicy( 1318): zippykang-2::
> I/StatusBarPolicy( 1318): updateTTY: enabled: false
> I/StatusBarPolicy( 1318): updateTTY: set TTY off
> D/MountListener( 1318): handleEvent volume_mounted:/sdcard
> E/AudioMIO( 1217): ATS :: ClockStateUpdated in
> E/AudioMIO( 1217): A/V clock stopped
> E/AudioMIO( 1217): ATS :: ClockStateUpdated out
> E/[AudioService]( 1318):
> [sendVolumeUpdate]getStreamVolume(stream[   48.318491] init: sys_prop:
> permission denied uid:1000  name:dtun.hcid_active
> [   48.323869] init: sys_prop: permission denied uid:1000
> name:dtun.obexd_active
> Type) : 9
> D/StatusBarPolicy( 1318): zippykang::false
> [   48.337053] init: sys_prop: permission denied uid:1000
> name:dtun.srv_active
>
> D/StatusBarPolicy( 1318): zippykang-2::
> I/BluetoothDeviceService( 1318): Receive message BT_BOOTUP
> I/BluetoothDeviceService( 1318): enable...
> D/BluetoothDeviceService( 1318): Bluetooth state 0 -> 1
> D/WifiService( 1318): BroadcastReceiver :
> android.intent.action.BATTERY_CHANGED
> D/WifiService( 1318): ACTION_BATTERY_CHANGED pluggedType: 1
> D/WifiService( 1318): ACTION_BATTERY_CHANGED : do not update WifiState
> D/VolumePanel( 1318): onVolumeChanged(streamType: 3, flags: 0)
> I/BluetoothA2dpService( 1318): Receive intent Intent
> { act=android.bluetooth.intent.action.BLUETOOTH_STATE_CHANGED
> flg=0x20000000 (has extras) }
> I/BrcmBtServiceLoader( 1318): ***Received Bluetooth
> UNKNOWN_STATE_CHANGE Event****
> V/BTL_CFG ( 1537): btl_cfg_get_btld_status : service.brcm.bt.btld = 0
> W/dalvikvm( 1318): threadid=81: thread exiting with uncaught exception
> (group=0x2aac9a08)
> E/BTL-SERVER( 1537): BTLD starting...
> E/BTL-SERVER( 1537): main: main :: BTLD starting
> V/BTL_CFG ( 1537): btld_property_set : service.brcm.bt.btld = 1
> V/BTL_CFG ( 1537): btl_cfg_set_btld_status success :
> service.brcm.bt.btld = 1, ret = 0
> I/BTL-SERVER( 1537): BTE version BCM1200_MI_10.3.14.36
> I/BTL-SERVER( 1537): btld version BTL-ANDROID_PI_1.2.44 starting...
> I/BTL-SERVER( 1537): Build time: May 25 2010 23:09:01
> E/AndroidRuntime( 1318): Uncaught handler: thread Thread-41 exiting
> due to uncaught exception
> E/AndroidRuntime( 1318): *** EXCEPTION IN SYSTEM PROCESS.  System will
> crash.
> I/BTL_CFG ( 1537): btl_cfg_get_bdaddr: BDA=64995D135932
> E/BTL_CFG ( 1537): WAR[   48.625701] +++bluetooth_toggle_radio+++(1)(1)
> (0)(2)
> [   48.625719] ++bluetooth_power, 1++
> NING : property_get failed (0)
> E/BTL_CFG ( 1537): WARNING : property_get failed (0)
> I/BTL_CFG ( 1537): btl_cfg_get_3way_conf_support: service.brcm.bt.
> 3way_support=true
> E/BTL_CFG ( 1537): WARNING : property_get failed (0)
> I/BTL_CFG ( 1537): btl_cfg_get_lpm_params:
> service.brcm.bt.bt_wake_polar=0
> E/BTL_CFG ( 1537): WARNING : property_get failed (0)
> I/BTL_CFG ( 1537): btl_cfg_get_lpm_params:
> service.brcm.bt.host_wake_polar=0
> E/BTL_CFG ( 1537): WARNING : property_get failed (0)
> E/BTL_CFG ( 1537): WARNING : property_get failed (0)
> I/BTL_CFG ( 1537): btl_cfg_get_contacts_db:
> service.brcm.bt.contacts_db=/data/data/com.android.providers.contacts/
> databases/contacts.db
> E/AndroidRuntime( 1318): java.lang.NullPointerException
> E/AndroidRuntime( 1318):  at
> android.content.SyncStorageEngine.writeAccountInfoLocked(SyncStorageEngine.java:
> 1226)
> E/AndroidRuntime( 1318):  at
> android.content.SyncStorageEngine.doDatabaseCleanup(SyncStorageEngine.java:
> 627)
> E/AndroidRuntime( 1318):  at android.content.SyncManager
> $5.onAccountsUpdated(SyncManager.java:316)
> E/AndroidRuntime( 1318):  at android.accounts.AccountMonitor
> $AccountUpdater.run(AccountMonitor.java:82)
> I/Contacts.SIMSyncBroadcastReceiver( 1417):
> #####################onReceive ACTION_BOOT_COMPLETED
> [   49.019944] +++bluetooth_toggle_radio+++(1)(1)(0)(2)
> [   49.020391] RFKILL_STATE_UNBLOCKED
> [   49.022838] hsuart_power 1I/ActivityManager( 1318): Start proc
> com.mobileleader.sync for broadcast
> com.mobileleader.sync/.StartReceiver: pid=1552 uid=10007 gids={3003,
> 1015}
> I/USERIAL_LINUX( 1537): USERIAL_Init
> I/GKI_LINUX( 1537): GKI creating task 1
> I/GKI_LINUX( 1537): gki_task_entry task_id=1
> I/ActivityManager( 1318): Start proc com.google.android.apps.uploader
> for broadcast
> com.google.android.apps.uploader/.common.ConnectivityBroadcastReceiver:
> pid=1558 uid=10014 gids={3003, 1015}
> I/ActivityManager( 1318): processNextBroadcast: waiting for
> ProcessRecord{2e7899b8 1558:com.google.android.apps.uploader/10014}
> I/GKI_LINUX( 1537): Leaving GKI_create_task bb760 1 1b4458 BTU 18e670
> 0
> I/GKI_LINUX( 1537): GKI creating task 0
> I/GKI_LINUX( 1537): gki_task_entry task_id=0
> I/USERIAL_LINUX( 1537): USERIAL_Open
> I/USERIAL_LINUX( 1537): USERIAL_Open opening /dev/ttyHS0
> I/USERIAL_LINUX( 1537): Leaving USERIAL_Open
> E/BTL_CFG ( 1537): WARNING : property_get failed (0)
> D/BTLD    ( 1537): [bttrc] using compile default trace settings
> I/GKI_LINUX( 1537): Leaving GKI_create_task e86c 0 1b4498 HCI 18e670 0
> I/GKI_LINUX( 1537): GKI creating task 2
> I/GKI_LINUX( 1537): gki_task_entry task_id=2
> I/GKI_LINUX( 1537): Leaving GKI_create_task 1073c 2 1bcd90 APPL 18e670
> 0
> I/GKI_LINUX( 1537): GKI creating task 3
> D/gmail-ls( 1447): sending notification. Adjusted values are label=-2,
> oldCount=0, newCount=0, unseenCount=0, getAttention=false
> I/GKI_LINUX( 1537): gki_task_entry task_id=3
> I/USERIAL_LINUX( 1537): USERIAL_Ioctl: Received USERIAL_OP_BAUD_WR
> ioctl 15
> I/USERIAL_LINUX( 1537): userial_change_rate: Closing UART Port
> I/USERIAL_LINUX( 1537): USERIAL_Close
> I/gmail-ls( 1447): Sending notification intent: Intent
> { act=android.intent.action.PROVIDER_CHANGED dat=content://gmail-ls/
> unread/^^vmi typ=gmail-ls (has extras) }
> I/GKI_LINUX( 1537): Leaving GKI_create_task 2adbc 3 1bcdd0 SBC 18e670
> 0
> I/GKI_LINUX( 1537): GKI creating task 4
> I/GKI_LINUX( 1537): gki_task_entry task_id=4
> I/GKI_LINUX( 1537): Leaving GKI_create_task 2a588 4 1bce10 AVR 18e670
> 0
> I/GKI_LINUX( 1537): GKI_run
> I/USERIAL_LINUX( 1537): userial_change_rate: Attempting to reopen the
> UART Port at 4000000
> I/USERIAL_LINUX( 1537): USERIAL_Open
> I/USERIAL_LINUX( 1537): USERIAL_Open opening /dev/ttyHS0
> I/USERIAL_LINUX( 1537): Leaving USERIAL_Open
> I/BTL-SERVER( 1537): Found patchfile: /system/bin/
> BCM4325D1_0076.0100.hcd
> I/BTL-SERVER( 1537): bte_main_rln_cplt: Downloading patchfile /system/
> bin/BCM4325D1_0076.0100.hcd
> I/GKI_LINUX( 1537): GKI_sched_lock
> I/GKI_LINUX( 1537): GKI_sched_unlock
> I/BTLD    ( 1537): BCM2045_PRM_Init
> I/BTLD    ( 1537): Minidrv download completed
> E/BTLD    ( 1537): [hcis] Unknown HCI message type drop this byte 0x34
> E/BTLD    ( 1537): [hcis] Unknown HCI message type drop this byte 0x31
> <6>binder: release 1318:1322 transaction 2746 in, still active
> [   49.624424] binder: send failed reply for transaction 2746 to
> 1447:1557
> [   49.630791] binder: release 1318:1444 transaction 2753 in, still
> active
> [   49.639479] binder: send failed reply for transaction 2753 to
> 1558:1558
> [   49.645753] binder: 1447:1557 transaction failed 29189, size576-4
>
> Thanks
> RajeshGopu

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to