Hi!!
First of all I am extremely sorry for not providing the logs. (Kindly
the find the logs below)
Let me provide some more information about the service. Initially my
test environment was full build, when I could successfully test the
functionality I switched to SDK.
The same software without a single line change works successfully
without process killing/service crashing etc.
I tried starting the service in a new thread as suggested but that
didn’t help. Also my service is not getting restarted.
I could not observe/find any Low Memory, ANR or Service crashing
traces, though one of the trace says
“Scheduling restart of crashed service
com.mycompany.voip/.service.VoIPManager in 5000ms”
Surprisingly, my service did not get killed and was alive life-long
after I removed one of the permission “ACCESS_CHECKIN_PROPERTIES”
from AndroidManifest.xml but that is not the real fix because with
this fix I could not run it successfully next time.
I am now clueless about the crash. Kindly provide some directions.
Thanks in advance
Ash
Package Name: com.mycompany.voip
Logcat –b event:
---------------------------------------------------------------------------------------------------
I/boot_progress_start( 553): 4455
I/boot_progress_preload_start( 553): 5701
I/dvm_gc_info( 553):
[8825198673194435749,-9065622874527238670,-4134462757533256206,0]
I/dvm_gc_info( 553):
[8825198673194411075,-9144998817959537112,-4131929482742753752,0]
I/dvm_gc_info( 553):
[8825198673194419250,-9164702066329053645,-4128833257998707149,0]
I/dvm_gc_info( 553):
[8825198673194427506,-9093207422244374979,-4126018508231428547,0]
I/dvm_gc_info( 553):
[8825198673194489386,-9016083278087436653,-4101811659696093549,0]
I/dvm_gc_info( 553):
[8825198673194550882,-8922632417303152977,-4093929191831849297,0]
I/dvm_gc_info( 553):
[8825198673194567275,-8923474642673121594,-4087453067807340858,0]
I/dvm_gc_info( 553):
[8825198673194583664,-8922909493427964195,-4080976944051259683,0]
I/dvm_gc_info( 553):
[8825198673194612348,-8919249218950650139,-4078724044457498907,0]
I/dvm_gc_info( 553):
[8825198673194612342,-8922625818891073797,-4072530495189760261,0]
I/dvm_gc_info( 553):
[8825198673194575421,-8974698689314085113,-4069152795200772345,0]
I/dvm_gc_info( 553):
[8825198673194542225,-9125005227097495779,-4062959245933058275,0]
I/dvm_gc_info( 553):
[8825198673194583229,-9065332530692524189,-4043255996220999837,0]
I/dvm_gc_info( 553):
[8825198673194591378,-9132886525103077527,-4041567146360731799,0]
I/dvm_gc_info( 553):
[8825198673194583156,-9088976428736206993,-4039878296500459665,0]
I/dvm_gc_info( 553):
[8825198673194595430,-9099109527109257353,-4037626495898241161,0]
I/dvm_gc_info( 553):
[8825198673194587298,-9080812554111428739,-4035936546526341251,0]
I/dvm_gc_info( 553):
[8825198673194603672,-9069553555026221182,-4026084922324686974,0]
I/dvm_gc_info( 553):
[8825198673194595416,-9126973350763554931,-4025802347836336243,0]
I/dvm_gc_info( 553):
[8825198673194615881,-9128099250653595752,-4025802347819534440,0]
I/dvm_gc_info( 553):
[8825198673194611838,-9068143981102590050,-4025519773331187810,0]
I/dvm_gc_info( 553):
[8825198673194735225,-8919235953104992345,-4025512008013527129,0]
I/dvm_gc_info( 553):
[8825198673194976883,-8922613584089225282,-4024948989323810882,0]
I/dvm_gc_info( 553):
[8825198673194714700,-8953575762791110703,-4024667445610813487,0]
I/dvm_gc_info( 553):
[8825198673194648745,-9065884278481877031,-4024385970617317415,0]
I/dvm_gc_info( 553):
[8825198673194660987,-9068699028248975393,-4024385970617309217,0]
I/dvm_gc_info( 553):
[8825198673194652775,-9106979625064843289,-4024385970600527897,0]
I/dvm_gc_info( 553):
[8825198673194665038,-9135127122350028817,-4017630570773592081,0]
I/dvm_gc_info( 553):
[8825198673194652716,-9208029141318088724,-4017630570773592084,0]
I/dvm_gc_info( 553):
[8825198673194939451,-9128371722875402249,-4015660245903046665,6825561]
I/dvm_gc_info( 553):
[8825198673194660910,-9144415796547901442,-4014815820972906498,6825600]
I/boot_progress_preload_end( 553): 17087
I/dvm_gc_info( 553):
[8825198673194689569,-9190296217751738369,-4014534345996195841,7370389]
I/dvm_gc_info( 553):
[8825198673194660859,-9165526419801204739,-4014534345996199939,7370389]
I/dvm_gc_info( 553):
[8825198673194676824,-9213095690865305603,-4014534345996199939,7370389]
I/boot_progress_system_run( 587): 17917
I/boot_progress_pms_start( 587): 18289
I/boot_progress_pms_system_scan_start( 587): 18784
I/dvm_gc_info( 587):
[8320808730292176444,-8974404086165411804,-4017630296264763395,7370389]
I/dvm_gc_info( 587):
[8320808730292123191,-9014936139130365911,-4016222921381210117,7370389]
I/boot_progress_pms_data_scan_start( 587): 20686
I/boot_progress_pms_scan_end( 587): 20731
I/boot_progress_pms_ready( 587): 20858
I/dvm_gc_info( 587):
[8320808730292078120,-9028165394316310487,-4016222921381210117,7370389]
I/battery_status( 587): [2,2,1,1,Li-ion]
I/battery_level( 587): [50,0,0]
I/power_screen_state( 587): [1,0,0,0]
I/power_screen_broadcast_send( 587): 1
I/free_storage_left( 587): 44625920
I/free_storage_changed( 587): 44625920
I/configuration_changed( 587): 248
I/screen_toggled( 587): 1
I/dvm_gc_info( 587):
[8320808730292151861,-9017469070256199634,-4014534071520946181,7370415]
I/boot_progress_ams_ready( 587): 23434
I/am_proc_start( 587): [631,1001,com.android.phone,added
application,com.android.phone]
I/am_create_task( 587): 2
I/am_create_activity( 587):
[1130981976,2,com.android.launcher/.Launcher,android.intent.action.MAIN,,,
268435456]
I/am_proc_start( 587):
[633,10003,android.process.acore,activity,com.android.launcher/.Launcher]
I/dvm_gc_madvise_info( 631): [364544,122880]
I/dvm_gc_madvise_info( 633): [364544,122880]
I/am_proc_bound( 587): [631,com.android.phone]
I/am_proc_bound( 587): [633,android.process.acore]
I/am_restart_activity( 587):
[1130981976,2,com.android.launcher/.Launcher]
I/power_screen_broadcast_done( 587): [1,3496,1]
I/watchdog_pss_stats( 587): [0,0,0,0,0,0,0,0,3570688,1,0]
I/watchdog_proc_stats( 587): [0,0,0,0,0]
I/watchdog_meminfo( 587):
[27586560,12288,46411776,30789632,32129024,16523264,21413888,2736128,786432,1949696,1437696]
I/watchdog_vmstat( 587): [26349,29835,3485,0,26088,439]
I/dvm_gc_madvise_info( 587): [372736,315392]
I/notification_cancel( 587): [com.android.phone,2,0]
I/am_proc_start( 587):
[660,10015,com.android.mms,broadcast,com.android.mms/.transaction.SmsReceiver]
I/dvm_gc_madvise_info( 660): [364544,122880]
I/am_proc_bound( 587): [660,com.android.mms]
I/dvm_gc_info( 633):
[7017575181486765616,-9027039975529797596,-4017067346311337952,7370422]
I/am_create_service( 587):
[1131278824,com.android.mms/.transaction.SmsReceiverService,Intent
{ action=android.intent.action.SERVICE_STATE comp={com.android.mms/
com.android.mms.transaction.SmsReceiverService} },660]
I/am_on_resume_called( 633): com.android.launcher.Launcher
I/am_destroy_service( 587):
[1131278824,com.android.mms/.transaction.SmsReceiverService,660]
I/boot_progress_enable_screen( 587): 32570
I/activity_launch_time( 587):
[1130981976,com.android.launcher/.Launcher,8830]
I/dvm_gc_info( 587):
[8320808730293847627,-8963425599749142479,-4009186046963443717,8148871]
I/am_proc_start( 587):
[680,10000,com.android.alarmclock,broadcast,com.android.alarmclock/.AlarmInitReceiver]
I/dvm_gc_madvise_info( 680): [364544,122880]
I/am_proc_bound( 587): [680,com.android.alarmclock]
I/am_proc_start( 587):
[692,10004,android.process.media,broadcast,com.android.providers.downloads/.DownloadReceiver]
I/dvm_gc_madvise_info( 692): [360448,122880]
I/dvm_gc_madvise_info( 633): [323584,303104]
I/am_proc_bound( 587): [692,android.process.media]
I/am_create_service( 587):
[1131239184,com.android.providers.downloads/.DownloadService,Intent
{ comp={com.android.providers.downloads/
com.android.providers.downloads.DownloadService} },692]
I/notification_cancel_all( 587): [com.android.providers.downloads,0]
I/am_create_service( 587):
[1131105568,com.android.providers.media/.MediaScannerService,Intent
{ comp={com.android.providers.media/
com.android.providers.media.MediaScannerService} },692]
I/notification_cancel( 587): [com.android.mms,123,0]
I/am_create_service( 587):
[1130197456,com.android.mms/.transaction.SmsReceiverService,Intent
{ action=android.intent.action.BOOT_COMPLETED comp={com.android.mms/
com.android.mms.transaction.SmsReceiverService} },660]
I/am_proc_start( 587):
[706,10019,com.mycompany.voip:voip_service,broadcast,com.mycompany.voip/.service.VoIPBroadcastReceiver]
I/dvm_gc_madvise_info( 706): [299008,61440]
I/dvm_gc_madvise_info( 587): [344064,315392]
I/dvm_gc_info( 631):
[8099846449759114796,-9029291706607192027,-4017348821288048608,7370389]
I/am_proc_bound( 587): [706,com.mycompany.voip:voip_service]
I/am_create_service( 587):
[1130925024,com.mycompany.voip/.service.VoIPManager,Intent
{ action=com.mycompany.voip.service.VoIP_SERVICE },706]
I/notification_cancel( 587): [com.android.mms,123,0]
I/am_destroy_service( 587):
[1130197456,com.android.mms/.transaction.SmsReceiverService,660]
I/notification_cancel( 587): [com.android.phone,5,0]
I/notification_cancel( 587): [com.android.phone,6,0]
I/configuration_changed( 587): 3
I/dvm_gc_info( 587):
[8320808730292360773,-8971306899113822160,-4010030471893575685,8148840]
I/am_relaunch_resume_activity( 587):
[1130981976,2,com.android.launcher/.Launcher]
I/am_on_paused_called( 633): com.android.launcher.Launcher
I/am_create_service( 587):
[1131155944,com.android.mms/.transaction.SmsReceiverService,Intent
{ action=android.intent.action.SERVICE_STATE comp={com.android.mms/
com.android.mms.transaction.SmsReceiverService} },660]
I/am_destroy_service( 587):
[1131239184,com.android.providers.downloads/.DownloadService,692]
I/notification_cancel( 587): [com.android.phone,7,0]
I/notification_cancel( 587): [com.android.phone,7,0]
I/notification_cancel( 587): [com.android.phone,7,0]
I/notification_cancel( 587): [com.android.phone,5,0]
I/notification_cancel( 587): [com.android.phone,6,0]
I/connectivity_state_changed( 587): 16
I/notification_cancel( 587): [com.android.phone,7,0]
I/am_on_resume_called( 633): com.android.launcher.Launcher
I/am_create_service( 587):
[1130815824,com.android.mms/.transaction.TransactionService,Intent
{ comp={com.android.mms/
com.android.mms.transaction.TransactionService} },660]
I/connectivity_state_changed( 587): 40
I/notification_cancel( 587): [com.android.phone,7,0]
I/am_create_service( 587):
[1130891984,com.android.providers.downloads/.DownloadService,Intent
{ comp={com.android.providers.downloads/
com.android.providers.downloads.DownloadService} },692]
I/notification_cancel_all( 587): [com.android.providers.downloads,0]
I/am_destroy_service( 587):
[1131155944,com.android.mms/.transaction.SmsReceiverService,660]
I/am_destroy_service( 587):
[1130815824,com.android.mms/.transaction.TransactionService,660]
I/dvm_gc_info( 633):
[7017575181487052342,-9020565913542584283,-4010874896823707653,8177611]
I/am_destroy_service( 587):
[1130891984,com.android.providers.downloads/.DownloadService,692]
I/am_destroy_service( 587):
[1131105568,com.android.providers.media/.MediaScannerService,692]
I/dvm_gc_info( 587):
[8320808730292274761,-8986506479136708559,-4010030471893575685,8148840]
I/dvm_gc_madvise_info( 633): [335872,303104]
I/am_schedule_service_restart( 587):
[com.mycompany.voip/.service.VoIPManager,5000]
I/am_destroy_service( 587):
[1130925024,com.mycompany.voip/.service.VoIPManager,-1]
I/dvm_gc_madvise_info( 587): [360448,315392]
I/dvm_gc_info( 587):
[8320808730292237863,-9018031676494743502,-4009467521940154373,8148839]
I/dvm_gc_madvise_info( 631): [303104,303104]
I/force_gc( 631): bg
I/dvm_gc_madvise_info( 587): [385024,315392]
I/dvm_gc_info( 631):
[8099846449759725110,-9009869727022106584,-4016785871334631429,7370389]
I/force_gc( 660): bg
I/dvm_gc_info( 660):
[7218827569570248232,-9028728962879379422,-4018474721194891232,7370389]
I/dvm_gc_madvise_info( 631): [319488,303104]
I/force_gc( 680): bg
I/dvm_gc_madvise_info( 660): [356352,303104]
I/dvm_gc_info( 680):
[7020093063247942968,-9057158004263421919,-4018756196171601888,7370389]
I/force_gc( 692): bg
I/dvm_gc_info( 692):
[7882817126544225841,-9019721694888359901,-4018193246218180576,7370389]
I/dvm_gc_madvise_info( 680): [434176,303104]
I/dvm_gc_madvise_info( 692): [319488,299008]
I/watchdog_proc_pss( 587): [system,587,13868032]
I/watchdog_proc_pss( 587): [com.android.phone,631,3799040]
----------------------------------------------------------------------------------------------------------------
Dumpsys activities.service:
----------------------------------------------------------------------------------------------------------------
# adb shell
# dumpsys activity.services
-------------------------------------------------------------------------------
DUMP OF SERVICE activity.services:
Services in Current Activity Manager State:
Active services:
Service com.mycompany.voip/.service.VoIPManager
ServiceRecord{436745f0 com.mycompany.voip/.service.VoIPManager}
intent=Intent { action=com.mycompany.voip.service.VoIP_SERVICE }
packageName=com.mycompany.voip
processName=com.mycompany.voip:voip_service
permission=null
baseDir=/data/app/com.mycompany.voip.apk resDir=/data/app/
com.mycompany.voip.apk dataDir=/data/data/com.mycompany.voip
app=ProcessRecord{436cd9e0 718:com.mycompany.voip:voip_service/
10019}
isForeground=true lastActivity=45413
startRequested=true startId=1 executeNesting=0
executingStart=45424 crashCount=0
totalRestartCount=0 restartCount=0 restartDelay=0
restartTime=45413 nextRestartTime=0
Service com.android.providers.media/.MediaScannerService
ServiceRecord{43609ce0
com.android.providers.media/.MediaScannerService}
intent=Intent { comp={com.android.providers.media/
com.android.providers.media.MediaScannerService} }
packageName=com.android.providers.media
processName=android.process.media
permission=null
baseDir=/system/app/MediaProvider.apk resDir=/system/app/
MediaProvider.apk dataDir=/data/data/com.android.providers.media
app=ProcessRecord{43656ba8 688:android.process.media/10004}
isForeground=false lastActivity=45464
startRequested=true startId=3 executeNesting=0
executingStart=45464 crashCount=0
totalRestartCount=0 restartCount=0 restartDelay=0
restartTime=42475 nextRestartTime=0
Service com.android.mms/.transaction.SmsReceiverService
ServiceRecord{436a4810
com.android.mms/.transaction.SmsReceiverService}
intent=Intent { action=android.intent.action.BOOT_COMPLETED comp=
{com.android.mms/com.android.mms.transaction.SmsReceiverService} }
packageName=com.android.mms
processName=com.android.mms
permission=null
baseDir=/system/app/Mms.apk resDir=/system/app/Mms.apk dataDir=/
data/data/com.android.mms
app=ProcessRecord{43686b98 706:com.android.mms/10015}
isForeground=false lastActivity=50033
startRequested=true startId=2 executeNesting=0
executingStart=50033 crashCount=0
totalRestartCount=0 restartCount=0 restartDelay=0
restartTime=44525 nextRestartTime=0
# dumpsys activity.services
Currently running services:
activity.services
-------------------------------------------------------------------------------
DUMP OF SERVICE activity.services:
Services in Current Activity Manager State:
Active services:
Service com.mycompany.voip/.service.VoIPManager
ServiceRecord{436745f0 com.mycompany.voip/.service.VoIPManager}
intent=Intent { action=com.mycompany.voip.service.VoIP_SERVICE }
packageName=com.mycompany.voip
processName=com.mycompany.voip:voip_service
permission=null
baseDir=/data/app/com.mycompany.voip.apk resDir=/data/app/
com.mycompany.voip.apk dataDir=/data/data/com.mycompany.voip
app=ProcessRecord{436cd9e0 718:com.mycompany.voip:voip_service/
10019}
isForeground=true lastActivity=45413
startRequested=true startId=1 executeNesting=0
executingStart=45424 crashCount=0
totalRestartCount=0 restartCount=0 restartDelay=0
restartTime=45413 nextRestartTime=0
# dumpsys activity.services
Currently running services:
activity.services
-------------------------------------------------------------------------------
DUMP OF SERVICE activity.services:
Services in Current Activity Manager State:
#
-----------------------------------------------------------------------------------------------------------------------
Logcat Full:
------------------------------------------------------------------------------------------------------------------------
I/vold ( 550): Android Volume Daemon version 2.0
I/DEBUG ( 551): debuggerd: Jun 30 2009 17:00:51
I/vold ( 550): New MMC card 'SU02G' (serial 1012966) added @ /
devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118
I/vold ( 550): Disk (blkdev 179:0), 262144 secs (128 MB) 0
partitions
I/vold ( 550): New blkdev 179.0 on media SU02G, media path /
devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118, Dpp 0
I/vold ( 550): Evaluating dev '/devices/platform/goldfish_mmc.0/
mmc_host/mmc0/mmc0:e118/block/mmcblk0' for mountable filesystems for '/
sdcard'
E/vold ( 550): Error opening switch name path '/sys/class/switch/
test2' (No such file or directory)
E/vold ( 550): Error bootstrapping switch '/sys/class/switch/
test2' (m)
E/vold ( 550): Error opening switch name path '/sys/class/switch/
test' (No such file or directory)
E/vold ( 550): Error bootstrapping switch '/sys/class/switch/
test' (m)
D/vold ( 550): Bootstrapping complete
E/flash_image( 556): can't find recovery partition
I//system/bin/dosfsck( 550): dosfsck 3.0.1 (23 Nov 2008)
I//system/bin/dosfsck( 550): dosfsck 3.0.1, 23 Nov 2008, FAT32, LFN
I//system/bin/dosfsck( 550): Checking we can access the last sector
of the filesystem
I//system/bin/dosfsck( 550): Boot sector contents:
I//system/bin/dosfsck( 550): System ID "MSWIN4.1"
I//system/bin/dosfsck( 550): Media byte 0xf8 (hard disk)
I//system/bin/dosfsck( 550): 512 bytes per logical sector
I//system/bin/dosfsck( 550): 512 bytes per cluster
I//system/bin/dosfsck( 550): 32 reserved sectors
I//system/bin/dosfsck( 550): First FAT starts at byte 16384 (sector
32)
I//system/bin/dosfsck( 550): 2 FATs, 32 bit entries
I//system/bin/dosfsck( 550): 1040384 bytes per FAT (= 2032
sectors)
I//system/bin/dosfsck( 550): Root directory start at cluster 2
(arbitrary size)
I//system/bin/dosfsck( 550): Data area starts at byte 2097152 (sector
4096)
I//system/bin/dosfsck( 550): 258048 data clusters (132120576
bytes)
I//system/bin/dosfsck( 550): 9 sectors/track, 2 heads
D/qemud ( 560): entering main loop
I//system/bin/dosfsck( 550): 0 hidden sectors
I//system/bin/dosfsck( 550): 262144 sectors total
D/qemud ( 560): fdhandler_accept_event: accepting on fd 10
D/qemud ( 560): created client 0xe078 listening on fd 8
D/qemud ( 560): fdhandler_event: disconnect on fd 8
I//system/bin/dosfsck( 550): Checking for unused clusters.
D/qemud ( 560): fdhandler_accept_event: accepting on fd 10
D/qemud ( 560): created client 0xf028 listening on fd 8
D/qemud ( 560): client_fd_receive: attempting registration for
service 'gsm'
D/qemud ( 560): client_fd_receive: -> received channel id 1
D/qemud ( 560): client_registration: registration succeeded for
client 1
I//system/bin/dosfsck( 550): Checking free cluster summary.
I//system/bin/dosfsck( 550): /dev/block//vold/179:0: 0 files,
1/258048 clusters
I/logwrapper( 550): /system/bin/dosfsck terminated by exit(0)
D/vold ( 550): Filesystem check completed OK
I/vold ( 550): Sucessfully mounted vfat filesystem 179:0 on /
sdcard (safe-mode on)
D/AndroidRuntime( 553):
D/AndroidRuntime( 553): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 553): CheckJNI is ON
I/ ( 554): ServiceManager: 0xac38
I/AudioFlinger( 554): AudioFlinger's thread ready to run for output 0
I/CameraService( 554): CameraService started: pid=554
D/AndroidRuntime( 553): --- registering native functions ---
I/Zygote ( 553): Preloading classes...
D/dalvikvm( 553): GC freed 764 objects / 42216 bytes in 13ms
D/dalvikvm( 553): GC freed 278 objects / 17160 bytes in 7ms
D/dalvikvm( 553): GC freed 208 objects / 12696 bytes in 9ms
D/dalvikvm( 553): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 553): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 553): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 553): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm( 553): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 553): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm( 553): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 553): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm( 553): GC freed 462 objects / 29144 bytes in 17ms
D/dalvikvm( 553): GC freed 3584 objects / 171648 bytes in 30ms
D/dalvikvm( 553): GC freed 11329 objects / 400856 bytes in 42ms
D/dalvikvm( 553): GC freed 10472 objects / 438272 bytes in 42ms
D/dalvikvm( 553): GC freed 10975 objects / 459800 bytes in 47ms
D/dalvikvm( 553): GC freed 14372 objects / 506896 bytes in 55ms
D/dalvikvm( 553): GC freed 11314 objects / 481360 bytes in 61ms
D/dalvikvm( 553): GC freed 5928 objects / 248640 bytes in 47ms
D/dalvikvm( 553): GC freed 349 objects / 37032 bytes in 36ms
D/dalvikvm( 553): GC freed 778 objects / 48376 bytes in 47ms
D/dalvikvm( 553): GC freed 321 objects / 37288 bytes in 52ms
D/dalvikvm( 553): GC freed 477 objects / 29584 bytes in 48ms
D/dalvikvm( 553): Trying to load lib /system/lib/libwebcore.so 0x0
D/dalvikvm( 553): Added shared lib /system/lib/libwebcore.so 0x0
D/dalvikvm( 553): GC freed 441 objects / 26224 bytes in 51ms
D/dalvikvm( 553): GC freed 506 objects / 41464 bytes in 50ms
D/dalvikvm( 553): GC freed 537 objects / 38832 bytes in 52ms
D/dalvikvm( 553): GC freed 342 objects / 22552 bytes in 52ms
D/dalvikvm( 553): GC freed 338 objects / 18736 bytes in 55ms
D/dalvikvm( 553): GC freed 629 objects / 32136 bytes in 60ms
D/dalvikvm( 553): GC freed 14257 objects / 497280 bytes in 105ms
D/dalvikvm( 553): GC freed 11164 objects / 469576 bytes in 80ms
D/dalvikvm( 553): GC freed 7134 objects / 311424 bytes in 80ms
D/dalvikvm( 553): GC freed 752 objects / 43224 bytes in 76ms
D/dalvikvm( 553): GC freed 598 objects / 31496 bytes in 66ms
D/dalvikvm( 553): GC freed 413 objects / 26336 bytes in 65ms
I/Zygote ( 553): ...preloaded 1166 classes in 11902ms.
D/dalvikvm( 553): GC freed 313 objects / 19952 bytes in 67ms
I/Zygote ( 553): Preloading resources...
D/dalvikvm( 553): GC freed 54 objects / 11248 bytes in 74ms
D/dalvikvm( 553): GC freed 337 objects / 15008 bytes in 69ms
D/dalvikvm( 553): GC freed 280 objects / 11768 bytes in 68ms
I/Zygote ( 553): ...preloaded 48 resources in 1123ms.
I/Zygote ( 553): ...preloaded 15 resources in 35ms.
D/dalvikvm( 553): GC freed 117 objects / 8448 bytes in 82ms
D/dalvikvm( 553): GC freed 205 objects / 8104 bytes in 75ms
D/dalvikvm( 553): GC freed 36 objects / 1400 bytes in 78ms
I/dalvikvm( 553): Splitting out new zygote heap
I/dalvikvm( 553): System server process 593 has been created
I/Zygote ( 553): Accepting command socket connections
I/jdwp ( 593): received file descriptor 19 from ADB
W/System.err( 593): Can't dispatch DDM chunk 4d505251: no handler
defined
D/dalvikvm( 593): Trying to load lib /system/lib/
libandroid_servers.so 0x0
D/dalvikvm( 593): Added shared lib /system/lib/libandroid_servers.so
0x0
I/sysproc ( 593): Entered system_init()
I/sysproc ( 593): ServiceManager: 0x154f00
I/SurfaceFlinger( 593): SurfaceFlinger is starting
I/SurfaceFlinger( 593): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
E/MemoryHeapBase( 593): error opening /dev/pmem: No such file or
directory
E/SurfaceFlinger( 593): Couldn't open /sys/power/wait_for_fb_sleep
or /sys/power/wait_for_fb_wake
E/GLLogger( 593): couldn't load <libhgl.so> library (Cannot find
library)
I/SurfaceFlinger( 593): EGL informations:
I/SurfaceFlinger( 593): # of configs : 6
I/SurfaceFlinger( 593): vendor : Android
I/SurfaceFlinger( 593): version : 1.31 Android META-EGL
I/SurfaceFlinger( 593): extensions:
I/SurfaceFlinger( 593): Client API: OpenGL ES
I/EGLDisplaySurface( 593): using (fd=22)
I/EGLDisplaySurface( 593): id =
I/EGLDisplaySurface( 593): xres = 320 px
I/EGLDisplaySurface( 593): yres = 480 px
I/EGLDisplaySurface( 593): xres_virtual = 320 px
I/EGLDisplaySurface( 593): yres_virtual = 960 px
I/EGLDisplaySurface( 593): bpp = 16
I/EGLDisplaySurface( 593): r = 11:5
I/EGLDisplaySurface( 593): g = 5:6
I/EGLDisplaySurface( 593): b = 0:5
I/EGLDisplaySurface( 593): width = 49 mm (165.877548 dpi)
I/EGLDisplaySurface( 593): height = 74 mm (164.756760 dpi)
I/EGLDisplaySurface( 593): refresh rate = 60.00 Hz
W/HAL ( 593): load: module=/system/lib/hw/copybit.goldfish.so
error=Cannot find library
W/HAL ( 593): load: module=/system/lib/hw/copybit.default.so
error=Cannot find library
W/SurfaceFlinger( 593): ro.sf.lcd_density not defined, using 160 dpi
by default.
I/SurfaceFlinger( 593): OpenGL informations:
I/SurfaceFlinger( 593): vendor : Android
I/SurfaceFlinger( 593): renderer : Android PixelFlinger 1.0
I/SurfaceFlinger( 593): version : OpenGL ES-CM 1.0
I/SurfaceFlinger( 593): extensions: GL_OES_byte_coordinates
GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format
GL_OES_compressed_paletted_texture GL_OES_draw_texture
GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression
GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture
GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object
GL_ANDROID_generate_mipmap
W/HAL ( 593): load: module=/system/lib/hw/copybit.goldfish.so
error=Cannot find library
W/HAL ( 593): load: module=/system/lib/hw/copybit.default.so
error=Cannot find library
W/HAL ( 593): load: module=/system/lib/hw/overlay.goldfish.so
error=Cannot find library
W/HAL ( 593): load: module=/system/lib/hw/overlay.default.so
error=Cannot find library
I/sysproc ( 593): System server: starting Android runtime.
I/sysproc ( 593): System server: starting Android services.
I/SystemServer( 593): Entered the Android system server!
I/sysproc ( 593): System server: entering thread pool.
I/SystemServer( 593): Starting Power Manager.
E/GLLogger( 593): couldn't load <libhgl.so> library (Cannot find
library)
I/SystemServer( 593): Starting Activity Manager.
I/ARMAssembler( 593): generated
scanline__00000077:03545404_00000A01_00000000 [ 30 ipp] (51 ins) at
[0x18faa8:0x18fb74] in 8016699 ns
I/SystemServer( 593): Starting telephony registry
I/SystemServer( 593): Starting Package Manager.
I/Installer( 593): connecting...
I/installd( 555): new connection
I/PackageManager( 593): Got library android.awt in /system/framework/
android.awt.jar
I/PackageManager( 593): Got library android.test.runner in /system/
framework/android.test.runner.jar
I/PackageManager( 593): Got library com.android.im.plugin in /system/
framework/com.android.im.plugin.jar
D/PackageManager( 593): Scanning app dir /system/framework
D/PackageManager( 593): Scanning app dir /system/app
D/dalvikvm( 593): GC freed 6194 objects / 252888 bytes in 137ms
D/dalvikvm( 593): GC freed 3503 objects / 219296 bytes in 136ms
D/PackageManager( 593): Scanning app dir /data/app
D/PackageManager( 593): Scanning app dir /data/app-private
I/PackageManager( 593): Time to scan packages: 2.504 seconds
W/PackageManager( 593): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.providers.contacts
W/PackageManager( 593): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package
com.android.providers.contacts
W/PackageManager( 593): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.development
W/PackageManager( 593): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in
package com.android.development
W/PackageManager( 593): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in
package com.android.development
W/PackageManager( 593): Unknown permission
com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in
package com.android.development
W/PackageManager( 593): Unknown permission
com.google.android.providers.gmail.permission.WRITE_GMAIL in package
com.android.settings
W/PackageManager( 593): Unknown permission
com.google.android.providers.gmail.permission.READ_GMAIL in package
com.android.settings
W/PackageManager( 593): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.settings
W/PackageManager( 593): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.browser
W/PackageManager( 593): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
com.android.contacts
D/dalvikvm( 593): GC freed 2934 objects / 164872 bytes in 108ms
I/SystemServer( 593): Starting Content Manager.
W/ActivityManager( 593): Unable to start service Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} }: not found
W/AccountMonitor( 593): Couldn't connect to Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} } (Missing service?)
I/SystemServer( 593): Starting System Content Providers.
I/ActivityThread( 593): Publishing provider settings:
com.android.providers.settings.SettingsProvider
I/ActivityThread( 593): Publishing provider sync:
android.content.SyncProvider
I/SystemServer( 593): Starting Battery Service.
E/BatteryService( 593): Could not open '/sys/class/power_supply/usb/
online'
E/BatteryService( 593): Could not open '/sys/class/power_supply/
battery/batt_vol'
E/BatteryService( 593): Could not open '/sys/class/power_supply/
battery/batt_temp'
I/SystemServer( 593): Starting Hardware Service.
D/qemud ( 560): fdhandler_accept_event: accepting on fd 10
D/qemud ( 560): created client 0x10fd8 listening on fd 11
D/qemud ( 560): client_fd_receive: attempting registration for
service 'hw-control'
D/qemud ( 560): client_fd_receive: -> received channel id 2
D/qemud ( 560): client_registration: registration succeeded for
client 2
I/SystemServer( 593): Starting Alarm Manager.
I/SystemServer( 593): Starting Sensor Service.
D/qemud ( 560): fdhandler_accept_event: accepting on fd 10
D/qemud ( 560): created client 0x11028 listening on fd 12
D/qemud ( 560): client_fd_receive: attempting registration for
service 'sensors'
D/qemud ( 560): client_fd_receive: -> received channel id 3
D/qemud ( 560): client_registration: registration succeeded for
client 3
D/qemud ( 560): fdhandler_event: disconnect on fd 12
I/SystemServer( 593): Starting Window Manager.
I/EventHub( 593): New device: path=/dev/input/event0 name=qwerty2
id=0x10000 (of 0x1) index=1 fd=44 classes=0xf
I/EventHub( 593): New keyboard: publicID=65536 device->id=65536
devname='qwerty2' propName='hw.keyboards.65536.devname' keylayout='/
system/usr/keylayout/qwerty.kl'
E/EventHub( 593): could not get driver version for /dev/input/mouse0,
Not a typewriter
D/qemud ( 560): fdhandler_accept_event: accepting on fd 10
D/qemud ( 560): created client 0x11028 listening on fd 12
D/qemud ( 560): client_fd_receive: attempting registration for
service 'sensors'
D/qemud ( 560): client_fd_receive: -> received channel id 4
E/EventHub( 593): could not get driver version for /dev/input/mice,
Not a typewriter
I/KeyInputQueue( 593): Device added: id=0x0, name=qwerty2, classes=f
I/KeyInputQueue( 593): X: unknown values
I/KeyInputQueue( 593): Y: unknown values
I/KeyInputQueue( 593): Pressure: unknown values
I/KeyInputQueue( 593): Size: unknown values
D/qemud ( 560): client_registration: registration succeeded for
client 4
D/SensorManager( 593): found sensor: Goldfish 3-axis Accelerometer,
handle=0
D/qemud ( 560): fdhandler_event: disconnect on fd 12
I/SystemServer( 593): Registering null Bluetooth Service (emulator)
E/System ( 593): Failure starting core service
E/System ( 593): java.lang.SecurityException
E/System ( 593): at android.os.BinderProxy.transact(Native Method)
E/System ( 593): at android.os.ServiceManagerProxy.addService
(ServiceManagerNative.java:146)
E/System ( 593): at android.os.ServiceManager.addService
(ServiceManager.java:72)
E/System ( 593): at com.android.server.ServerThread.run
(SystemServer.java:163)
E/AndroidRuntime( 593): Crash logging skipped, no checkin service
I/SystemServer( 593): Starting Status Bar Service.
I/SystemServer( 593): Starting Clipboard Service.
I/SystemServer( 593): Starting Input Method Service.
W/ResourceType( 593): No package identifier when getting value for
resource number 0x7f060000
W/ResourceType( 593): No package identifier when getting value for
resource number 0x7f060001
I/InputManagerService( 593): Enabled input methods:
jp.co.omronsoft.openwnn/.OpenWnnJAJP:com.android.inputmethod.pinyin/.PinyinIME:com.android.inputmethod.latin/.LatinIME
I/SystemServer( 593): Starting NetStat Service.
I/SystemServer( 593): Starting Connectivity Service.
I/WifiService( 593): WifiService starting up with Wi-Fi disabled
I/SystemServer( 593): Starting Notification Manager.
I/SystemServer( 593): Starting Mount Service.
I/SystemServer( 593): Starting DeviceStorageMonitor service
I/SystemServer( 593): Starting Location Manager.
D/libhardware_legacy( 593): using QEMU GPS Hardware emulation
W/GpsLocationProvider( 593): Could not open GPS configuration file /
etc/gps.conf
D/GpsLocationProvider( 593): enable
D/qemud ( 560): fdhandler_accept_event: accepting on fd 10
D/qemud ( 560): created client 0x11028 listening on fd 12
D/qemud ( 560): client_fd_receive: attempting registration for
service 'gps'
D/qemud ( 560): client_fd_receive: -> received channel id 5
D/qemud ( 560): client_registration: registration succeeded for
client 5
D/GpsLocationProvider( 593): GpsEventThread starting
I/SystemServer( 593): Starting Search Service.
I/SystemServer( 593): Starting Checkin Service.
W/ActivityManager( 593): Unable to start service Intent { comp=
{com.google.android.server.checkin/
com.google.android.server.checkin.CheckinService} }: not found
W/SystemServer( 593): Using fallback Checkin Service.
I/SystemServer( 593): Starting Wallpaper Service
D/WallpaperService( 593): WallpaperService startup
I/SystemServer( 593): Starting Audio Service
D/dalvikvm( 593): Trying to load lib /system/lib/libsoundpool.so 0x0
D/dalvikvm( 593): Added shared lib /system/lib/libsoundpool.so 0x0
W/AudioService( 593): Soundpool could not load file: /system/media/
audio/ui/Effect_Tick.ogg
W/AudioService( 593): Soundpool could not load file: /system/media/
audio/ui/KeypressStandard.ogg
W/AudioService( 593): Soundpool could not load file: /system/media/
audio/ui/KeypressSpacebar.ogg
W/AudioService( 593): Soundpool could not load file: /system/media/
audio/ui/KeypressDelete.ogg
W/AudioService( 593): Soundpool could not load file: /system/media/
audio/ui/KeypressReturn.ogg
I/SystemServer( 593): Starting HeadsetObserver
W/HeadsetObserver( 593): This kernel does not have wired headset
support
I/SystemServer( 593): Starting AppWidget Service
I/WindowManager( 593): Menu key state: 0 safeMode=false
I/WindowManager( 593): Config changed: { scale=1.0 voipi=0/0
locale=en_US touch=3 key=2/1/2 nav=3 orien=1 }
D/PowerManagerService( 593): system ready!
W/ActivityManager( 593): Unable to start service Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} }: not found
E/LockPatternKeyguardView( 593): Failed to bind to GLS while checking
for account
W/ResourceType( 593): No package identifier when getting value for
resource number 0x7f030003
D/dalvikvm( 593): GC freed 3411 objects / 210568 bytes in 217ms
W/ResourceType( 593): No package identifier when getting value for
resource number 0x7f030000
W/ResourceType( 593): No package identifier when getting value for
resource number 0x7f03000c
D/ActivityManager( 593): Start running!
I/Zygote ( 593): Process: zygote socket opened
I/ActivityManager( 593): Start proc com.android.phone for added
application com.android.phone: pid=638 uid=1001 gids={3002, 3001,
3003}
I/ActivityManager( 593): Starting activity: Intent
{ action=android.intent.action.MAIN categories=
{android.intent.category.HOME} flags=0x10000000 comp=
{com.android.launcher/com.android.launcher.Launcher} }
I/ActivityManager( 593): Start proc android.process.acore for
activity com.android.launcher/.Launcher: pid=640 uid=10003 gids={3003}
W/ResourceType( 593): No package identifier when getting value for
resource number 0x00000000
W/StatusBar( 593): Icon not found in <system>: 0
I/jdwp ( 638): received file descriptor 20 from ADB
W/System.err( 638): Can't dispatch DDM chunk 46454154: no handler
defined
W/System.err( 638): Can't dispatch DDM chunk 4d505251: no handler
defined
I/jdwp ( 640): received file descriptor 20 from ADB
D/qemud ( 560): fdhandler_accept_event: accepting on fd 10
D/qemud ( 560): created client 0xc038 listening on fd 13
D/qemud ( 560): client_fd_receive: attempting registration for
service 'sensors'
D/qemud ( 560): client_fd_receive: -> received channel id 6
D/qemud ( 560): client_registration: registration succeeded for
client 6
W/System.err( 640): Can't dispatch DDM chunk 46454154: no handler
defined
W/System.err( 640): Can't dispatch DDM chunk 4d505251: no handler
defined
D/StatusBar( 593): updateResources
I/ActivityThread( 638): Publishing provider mms-sms:
com.android.providers.telephony.MmsSmsProvider
I/ActivityThread( 640): Publishing provider user_dictionary:
com.android.providers.userdictionary.UserDictionaryProvider
I/WindowManager( 593): onOrientationChanged, rotation changed to 0
I/ActivityThread( 640): Publishing provider
com.android.googlesearch.SuggestionProvider:
com.android.googlesearch.SuggestionProvider
I/ActivityThread( 638): Publishing provider mms:
com.android.providers.telephony.MmsProvider
I/ActivityThread( 638): Publishing provider telephony:
com.android.providers.telephony.TelephonyProvider
I/ActivityThread( 638): Publishing provider sms:
com.android.providers.telephony.SmsProvider
I/ActivityThread( 638): Publishing provider sim:
com.android.phone.SimProvider
I/ActivityThread( 640): Publishing provider contacts;call_log:
com.android.providers.contacts.ContactsProvider
W/ActivityManager( 593): Unable to start service Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} }: not found
W/AccountMonitor( 640): Couldn't connect to Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} } (Missing service?)
I/ActivityThread( 640): Publishing provider
com.android.launcher.settings: com.android.launcher.LauncherProvider
E/ApplicationContext( 593): Couldn't create directory for
SharedPreferences file shared_prefs/wallpaper-hints.xml
W/ActivityManager( 593): Unable to start service Intent
{ action=com.android.ussd.IExtendedNetworkService }: not found
D/PhoneApp( 638): Resetting audio state/mode: IDLE
D/AlarmManagerService( 593): Kernel timezone updated to -390 minutes
west of GMT
D/dalvikvm( 640): GC freed 2952 objects / 197672 bytes in 394ms
D/AndroidRuntime( 668):
D/AndroidRuntime( 668): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 668): CheckJNI is ON
D/HomeLoaders( 640): load applications
D/HomeLoaders( 640): loading user items
D/HomeLoaders( 640): --> starting workspace loader
I/ActivityManager( 593): Displayed activity
com.android.launcher/.Launcher: 8734 ms
I/SurfaceFlinger( 593): Boot is finished (17084 ms)
I/WindowManager( 593): Config changed: { scale=1.0 voipi=0/0
locale=en_US touch=3 key=2/1/2 nav=3 orien=1 }
D/vold ( 550): Accepted connection from framework
D/vold ( 550): dispatch_cmd(send_ums_status):
D/MountListener( 593): handleEvent volume_mounted:/sdcard
D/dalvikvm( 593): GC freed 5813 objects / 280504 bytes in 529ms
D/MountListener( 593): handleEvent ums_disabled
D/MountListener( 593): handleEvent ums_disconnected
I/ActivityManager( 593): Start proc com.android.alarmclock for
broadcast com.android.alarmclock/.AlarmInitReceiver: pid=675 uid=10000
gids={}
D/AndroidRuntime( 668): --- registering native functions ---
I/jdwp ( 668): received file descriptor 18 from ADB
D/HomeLoaders( 640): --> starting applications loader
I/ActivityThread( 675): Publishing provider com.android.alarmclock:
com.android.alarmclock.AlarmProvider
I/ActivityManager( 593): Start proc android.process.media for
broadcast com.android.providers.downloads/.DownloadReceiver: pid=688
uid=10004 gids={1006, 2001, 3003}
I/ActivityThread( 688): Publishing provider downloads:
com.android.providers.downloads.DownloadProvider
I/ActivityThread( 688): Publishing provider drm:
com.android.providers.drm.DrmProvider
I/ActivityThread( 688): Publishing provider media:
com.android.providers.media.MediaProvider
V/MediaProvider( 688): Attached volume: internal
V/MediaProvider( 688): /sdcard volume ID: 334901015
V/MediaProvider( 688): Attached volume: external
I/ActivityManager( 593): Start proc com.android.mms for broadcast
com.android.mms/.transaction.MmsSystemEventReceiver: pid=706 uid=10015
gids={3003}
D/MediaScannerService( 688): start scanning volume internal
D/dalvikvm( 638): GC freed 2712 objects / 172504 bytes in 260ms
I/ActivityManager( 593): Start proc com.mycompany.voip:voip_service
for broadcast com.mycompany.voip/.service.VoIPBroadcastReceiver:
pid=718 uid=10019 gids={3003, 1006}
I/VoIPBroadcastReceiver( 718): VoIPBroadcastReceiver:Starting the
VoIP Service....
I/VoIPManager( 718): onCreate - VoIP service created.....
D/dalvikvm( 593): GREF has increased to 201
I/VoIPManager( 718): onStart - VoIP Service is getting
started.....startId[1]
I/VoIPManager( 718): handleMessage - VoIP Service initialization
started...
I/VoIPManager( 718): VoIP-SERVICE found Initial Configuration
I/VoIPManager( 718): onStart - VoIP Service initialization triggered
I/VoIPManager( 718): handleMessage - Starting VoIP Service .....
I/Resources( 638): Loaded time zone names for en_US in 11292ms.
D/SystemClock( 638): Setting time of day to sec=1258981284
W/SystemClock( 638): Unable to set rtc to 1258981284: Invalid
argument
D/GpsLocationProvider( 593): state: DISCONNECTED apnName: null
reason: radioTurnedOff
I/VoIP-FWK-JAVA( 718): VoipFwkEvtMgr:Initialized:Successfully
I/VoIP Manager Service( 718): VoIPManagerService:Constructed....
D/GpsLocationProvider( 593): state: DISCONNECTED apnName: null
reason: gprsDetached
E/ActivityThread( 638): Failed to find provider info for
android.server.checkin
W/Checkin ( 638): Can't update stat PHONE_GSM_REGISTERED:
java.lang.IllegalArgumentException: Unknown URL
content://android.server.checkin/stats
I/ActivityManager( 593): Stopping service:
com.android.providers.downloads/.DownloadService
D/GpsLocationProvider( 593): state: DISCONNECTED apnName: null
reason: null
D/MediaScanner( 688): opendir /system/media/ failed, errno: 2
D/MediaScanner( 688): prescan time: -5509ms
D/MediaScanner( 688): scan time: 606ms
D/MediaScanner( 688): postscan time: 1ms
D/MediaScanner( 688): total time: -4902ms
D/dalvikvm( 593): GC freed 6293 objects / 306824 bytes in 367ms
D/StatusBar( 593): updateResources
D/MediaScannerService( 688): done scanning volume internal
D/MediaScannerService( 688): start scanning volume external
D/HomeLoaders( 640): load applications
D/HomeLoaders( 640): loading user items
D/HomeLoaders( 640): --> starting workspace loader
D/TelephonyProvider( 638): Setting numeric '310260' to be the current
operator
E/ActivityThread( 638): Failed to find provider info for
android.server.checkin
W/Checkin ( 638): Can't update stat PHONE_GPRS_ATTEMPTED:
java.lang.IllegalArgumentException: Unknown URL
content://android.server.checkin/stats
D/GpsLocationProvider( 593): state: CONNECTING apnName:
epc.tmobile.com reason: simLoaded
E/ActivityThread( 638): Failed to find provider info for
android.server.checkin
W/Checkin ( 638): Can't update stat PHONE_GPRS_CONNECTED:
java.lang.IllegalArgumentException: Unknown URL
content://android.server.checkin/stats
D/MobileDataStateTracker( 593): CONNECTED event did not supply
interface name.
D/MobileDataStateTracker( 593): DNS server addresses are not known.
D/GpsLocationProvider( 593): state: CONNECTED apnName:
epc.tmobile.com reason: simLoaded
I/ActivityManager( 593): Stopping service:
com.android.mms/.transaction.TransactionService
D/PackageParser( 593): Scanning package: /data/app/vmdl37740.tmp
I/ActivityManager( 593): Stopping service:
com.android.mms/.transaction.SmsReceiverService
D/dalvikvm( 640): GC freed 3342 objects / 223440 bytes in 641ms
D/HomeLoaders( 640): --> starting applications loader
V/MediaScanner( 688): pruneDeadThumbnailFiles...
android.database.sqlite.sqlitecur...@435df398
V/MediaScanner( 688): /pruneDeadThumbnailFiles...
android.database.sqlite.sqlitecur...@435df398
D/MediaScanner( 688): prescan time: 2118ms
D/MediaScanner( 688): scan time: 2ms
D/MediaScanner( 688): postscan time: 272ms
D/MediaScanner( 688): total time: 2392ms
D/MediaScannerService( 688): done scanning volume external
D/dalvikvm( 593): GC freed 3757 objects / 245736 bytes in 155ms
D/MediaScannerService( 688): start scanning volume external
I/ActivityManager( 593): Stopping service:
com.android.providers.downloads/.DownloadService
V/MediaScanner( 688): pruneDeadThumbnailFiles...
android.database.sqlite.sqlitecur...@435e7f08
V/MediaScanner( 688): /pruneDeadThumbnailFiles...
android.database.sqlite.sqlitecur...@435e7f08
D/MediaScanner( 688): prescan time: 320ms
D/MediaScanner( 688): scan time: 2ms
D/MediaScanner( 688): postscan time: 140ms
D/MediaScanner( 688): total time: 462ms
D/MediaScannerService( 688): done scanning volume external
I/ActivityManager( 593): Stopping service:
com.android.providers.media/.MediaScannerService
I/PackageManager( 593): Removing non-system
package:com.mycompany.voip
D/PackageManager( 593): Removing package com.mycompany.voip
D/PackageManager( 593): Services:
com.mycompany.voip.service.VoIPManager
D/PackageManager( 593): Receivers:
com.mycompany.voip.service.VoIPBroadcastReceiver
D/PackageManager( 593): Scanning package com.mycompany.voip
I/PackageManager( 593): /data/app/vmdl37740.tmp changed; unpacking
D/installd( 555): DexInv: --- BEGIN '/data/app/vmdl37740.tmp' ---
D/dalvikvm( 638): GC freed 4041 objects / 227784 bytes in 281ms
D/dalvikvm( 752): DexOpt: load 158ms, verify 723ms, opt 42ms
D/installd( 555): DexInv: --- END '/data/app/vmdl37740.tmp' (success)
---
D/PackageManager( 593): Services:
com.mycompany.voip.service.VoIPManager
D/PackageManager( 593): Receivers:
com.mycompany.voip.service.VoIPBroadcastReceiver
I/installd( 555): move /data/dalvik-cache/
d...@app@[email protected] -> /data/dalvik-cache/
d...@[email protected][email protected]
D/PackageManager( 593): New package installed in /data/app/
com.mycompany.voip.apk
D/AndroidRuntime( 668): Shutting down VM
D/dalvikvm( 668): DestroyJavaVM waiting for non-daemon threads to
exit
D/ActivityManager( 593): Uninstalling process com.mycompany.voip
D/dalvikvm( 668): DestroyJavaVM shutting VM down
E/AndroidRuntime( 668): ERROR: thread attach failed
D/dalvikvm( 668): HeapWorker thread shutting down
D/dalvikvm( 668): HeapWorker thread has shut down
D/jdwp ( 668): JDWP shutting down net...
D/jdwp ( 668): +++ peer disconnected
I/dalvikvm( 668): Debugger has detached; object registry had 1
entries
D/dalvikvm( 668): VM cleaning up
D/ActivityManager( 593): Force removing process ProcessRecord
{436cd9e0 718:com.mycompany.voip:voip_service/10019}
(com.mycompany.voip:voip_service/10019)
D/dalvikvm( 668): LinearAlloc 0x0 used 628420 of 4194304 (14%)
W/ActivityManager( 593): Scheduling restart of crashed service
com.mycompany.voip/.service.VoIPManager in 5000ms
I/Process ( 593): Sending signal. PID: 718 SIG: 9
I/jdwp ( 675): received file descriptor 25 from ADB
W/System.err( 675): Can't dispatch DDM chunk 46454154: no handler
defined
I/jdwp ( 688): received file descriptor 32 from ADB
W/System.err( 675): Can't dispatch DDM chunk 4d505251: no handler
defined
W/System.err( 688): Can't dispatch DDM chunk 46454154: no handler
defined
W/System.err( 688): Can't dispatch DDM chunk 4d505251: no handler
defined
I/jdwp ( 706): received file descriptor 34 from ADB
W/System.err( 706): Can't dispatch DDM chunk 46454154: no handler
defined
W/System.err( 706): Can't dispatch DDM chunk 4d505251: no handler
defined
D/dalvikvm( 593): GC freed 3994 objects / 205280 bytes in 277ms
E/ActivityThread( 593): Failed to find provider info for
android.server.checkin
W/Checkin ( 593): Can't log event SYSTEM_SERVICE_LOOPING:
java.lang.IllegalArgumentException: Unknown URL
content://android.server.checkin/events
D/ActivityManager( 593): Received spurious death notification for
thread android.os.binderpr...@4363a410
D/HomeLoaders( 640): application intent received:
android.intent.action.PACKAGE_REMOVED, replacing=true
D/HomeLoaders( 640): --> package:com.mycompany.voip
D/HomeLoaders( 640): application intent received:
android.intent.action.PACKAGE_ADDED, replacing=true
D/HomeLoaders( 640): --> package:com.mycompany.voip
D/HomeLoaders( 640): --> update package com.mycompany.voip
W/ResourceType( 593): No package identifier when getting value for
resource number 0x7f060000
W/ResourceType( 593): No package identifier when getting value for
resource number 0x7f060001
W/ResourceType( 593): No package identifier when getting value for
resource number 0x7f060000
W/ResourceType( 593): No package identifier when getting value for
resource number 0x7f060001
D/dalvikvm( 675): GC freed 1214 objects / 78680 bytes in 134ms
D/dalvikvm( 706): GC freed 2722 objects / 156632 bytes in 142ms
D/dalvikvm( 688): GC freed 3374 objects / 202624 bytes in 259ms
D/dalvikvm( 593): GC freed 13489 objects / 744648 bytes in 172ms
D/dalvikvm( 638): GC freed 9848 objects / 555120 bytes in 143ms
---------------------------------------------------------------------------------------
On Nov 22, 12:54 am, Dianne Hackborn <[email protected]> wrote:
> 2009/11/20 Cédric Berger <[email protected]>
>
> > But if your service process is killed due to low memory, won't the
> > system try to restart it later ? (though of course if there are still
> > too many services running there is still a problem)
>
> Yes if the service was started with startService(), the system will continue
> trying to restart it (using a back-off timeout to avoid thrashing too much)
> until there is enough memory to run it again. If there are just too many
> services trying to run at the same time, you will end up cycling through the
> services running each of them some of the time.
>
> The only reason the service in this case would just be stopped and not
> started again is if it has crashed a couple times, or has ANRed in the
> background (in which case a dialog is not shown, but the system detects this
> and kills the process).
>
> Also note -- if you are using setForeground() it is EXTREMELY unlikely the
> system is killing your service due to low memory, since this API basically
> turns that off. (Though note in 2.0 this API no longer does anything, and
> you need to use the new APIs that tie this state to a notification; for
> older releases, you are supposed to do this so the user can know what is
> going on and stop the service, and this is now enforced in 2.0.)
>
> If you find your service going away while it is in the foreground, you
> should be looking for the service crashing or ANRing rather than thinking
> the system is killing it for memory.
>
> And I'll say again please please please avoid just running services
> continually in the background. We don't have enough memory in a lot of the
> devices for more than a few applications to do this. If you really need to,
> please make it clear in your app that this is happening, with a UI for the
> user to stop the service if they don't need it. And you will just have to
> deal with the fact that there will be situations where the system can't keep
> your service running -- for example, if the user goes to a fairly
> heavy-weight web site, this itself could consume enough memory that the
> system needs to kill most if not all of the background services for that
> time.
>
> Finally, you can find some information about what the system is doing in the
> log with "adb logcat". There is often some more useful details in the
> low-level event log that you can see with "adb logcat -b events". If you
> are going to ask for help with these kinds of questions, it would be
> extremely useful to post the log output that is seen when the service
> process goes away.
>
> Also you can use "adb shell dumpsys activity.services" to see the state of
> all services. If your service has been started, even if its process is
> killed and it is not running, you will see it in here, with a number of
> useful things about its current state.
>
> --
> 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, and so won't reply to such e-mails. All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en