jerryw / android-notifier

Automatically exported from code.google.com/p/android-notifier
1 stars 0 forks source link

service being killed without any given notice #369

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run application. Set as a background service.
2. Disable all task killers
3.

What is the expected output? What do you see instead?
Service should be able to run for ever in theory.

Please paste the application's log here (it should now be on your
clipboard):

D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_SCREEN_ON
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_SCREEN_OFF
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47eb0750}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@480f2968}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47f9ede0}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47eb75a0}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47eb0750}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@480f2968}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47f9ede0}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47eb75a0}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_SCREEN_ON
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_SCREEN_OFF
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(  362): setting ACTION_DEVICE_IDLE timer for 900000ms
D/WifiService(  362): ACTION_SCREEN_ON
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47e3d700}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47e098d8}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47dc7778}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47da8d68}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47dc7778}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47e098d8}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47e3d700}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{MAIL_WIFI_LOCK type=1 
binder=android.os.BinderProxy@47da8d68}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/PhoneApp(  460): [NotificationMgr] updateNetworkSelection()...state = 0 new 
network T-Mobile
D/PhoneApp(  460): [NotificationMgr] hideDataDisconnectedRoaming()...
D/PhoneApp(  460): [NotificationMgr] updateNetworkSelection()...state = 0 new 
network T-Mobile
D/PhoneApp(  460): [NotificationMgr] hideDataDisconnectedRoaming()...
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_SCREEN_OFF
D/WifiService(  362): setting ACTION_DEVICE_IDLE timer for 900000ms
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 2
D/WifiService(  362): ACTION_SCREEN_ON
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): ACTION_BATTERY_CHANGED pluggedType: 0
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): acquireWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/WifiService(  362): releaseWifiLockLocked: WifiLock{NetworkLocationProvider 
type=2 binder=android.os.Binder@47cf1508}
D/WifiService(  362): enable and start wifi due to updateWifiState
D/PhoneApp(  460): [NotificationMgr] updateNetworkSelection()...state = 0 new 
network T-Mobile
D/PhoneApp(  460): [NotificationMgr] hideDataDisconnectedRoaming()...
D/RemoteNotifier(11446): Restoring state
D/RemoteNotifier(11446): Using real bluetooth utils
I/RemoteNotifier(11446): Starting notification service
D/RemoteNotifier(11446): Battery status: Discharging
D/RemoteNotifier(11446): Got battery level: 22
D/RemoteNotifier(11446): Battery level change: 23
D/RemoteNotifier(11446): Notifying of battery state change
D/RemoteNotifier(11446): Sending notification: 
v2/89ac4f0f55048216/85c83b915fba0a/BATTERY/22/Discharging, remaining charge: 22%
D/RemoteNotifier(11446): Sending wifi notification to IP 255.255.255.255
D/RemoteNotifier(11446): Sending over UDP
D/RemoteNotifier(11446): Sent over UDP
I/RemoteNotifier(11446): Sent notification over WiFi.

What version of Android are you using?
2.2 sense froyo. Leedroid 

Original issue reported on code.google.com by mofir...@gmail.com on 18 Mar 2011 at 8:15

GoogleCodeExporter commented 9 years ago
this happens after around 20min! Afterwards, the app needs to be restarted, as 
above to start the notification service.

I have set the app to re-enable wifi if it was turned off. 

Have tried it on many different roms, including Gingerbread and it is the same 
result. 

Other services such as Mail and etc work fine. However, NotifyPro has the same 
problem.

Would be great if you could advice on what should be done!

Thank you!

Original comment by mofir...@gmail.com on 18 Mar 2011 at 8:21