부팅후에 리시버 동작 후 서비스가 잘 실행되는데
몇초 되지 않아서 바로 죽어버리네요.ㅠ

서비스 안에다가 또 registerReceiver 를 등록해논 상태라서
서비스가 죽어버리면 다른 BR 을 받지 못하는 문제점으로 인해서 해결해 보려 하고 있습니다.ㅠ

우선 구조를 설명드리면

BooT Complete 엑션이 발생하면
리시버가 작동합니다.
여기서 startService 로 서비스를 실행시키죠
그럼 서비스 내에서는 리시버를 하나 등록해 논 후 다른 BR 을 대기시켜놓고

BR 발생시 그 BR 에 따른 특정 작업을 실행시키려고 하였습니다.
근데 여기서 서비스가 죽어버리니 . .. BR 을 받지 못해서 이러지도 못하고 저러지도 못하고 있네요

로그 찍어봐서 일단 서비스가 실행되는것까진 확인 하였습니다.
onStartCommand() 실행도 확인 하였구요 ..ㅠ

Service 클래스의 소스를 보여드리면.ㅠ

package com.Smart;

import android.app.PendingIntent;
import android.app.Service;
import android.app.PendingIntent.CanceledException;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.IBinder;
import android.util.Log;

public class BackService extends Service{
 public void onCreate() {
  super.onCreate();
  Log.e("####BackGroundService####","onStart!!");
  
 }
 
  
 public int onStartCommand(Intent intent, int flags, int startId) {
  super.onStartCommand(intent, flags, startId);
  Log.e("####BackGroundService####","BackService onStartCommand()");
  
  IntentFilter filter = new IntentFilter();
  filter.addAction("com.attack.SMART");
  registerReceiver(mSaveZoneBR, filter);
  
  Log.e("####BackGroundService####","registerReceiver complete!!");
    
  return START_STICKY;
  
 }
 
 public void onDestroy() {
  super.onDestroy();
  unregisterReceiver(mSaveZoneBR);
  Log.e("####BackGroundService####","onDestroy() unregisterReceiver complete!!");
  
 }
 
 public IBinder onBind(Intent intent) {
  Log.e("####BackGroundService####","onBind Start!!!!");
  return null;
 }
 
 
 BroadcastReceiver mSaveZoneBR = new BroadcastReceiver() {
  public void onReceive(Context context, Intent intent) {
   Log.e("####BackService in Receiver####" , "mSaveZoneBR Receive");
   String action = intent.getAction();
   
   if(action.compareTo("com.attack.SMART") == 0){
    
   Log.e("<<BroadCastReceiver>>","Action come!!!");
   Intent i = new Intent( context, AlertActivity.class );   
   PendingIntent pi = PendingIntent.getActivity(context, 0, i, PendingIntent.FLAG_ONE_SHOT);
   
   try {
    pi.send();
    Log.e("<<BroadCastReceiver>>","pi.send() ");

   }catch (CanceledException e) {
    e.printStackTrace();
    Log.e("<<BroadCastReceiver>>","e.printStackTrace() ");

   }

   }
  }
 };

}


이게 서비스 입니다.ㅠ
그리고 서비스가 실행된 이후부터의 로그를 잠깐 보여드리면


11-24 15:24:28.591: DEBUG/dalvikvm(224): Temporarily moving tid 232 to fg (was 0)
11-24 15:24:28.622: DEBUG/dalvikvm(224): Temporarily raised priority on tid 232 (10 -> 0)
11-24 15:24:28.951: ERROR/Receiver!!!(255): onReceive()     
11-24 15:24:29.021: ERROR/Receiver!!!(255): startService!!
11-24 15:24:29.041: ERROR/####BackGroundService####(255): onStart!!
11-24 15:24:29.060: WARN/dalvikvm(224): threadid=1: spin on suspend #2 threadid=8 (pcf=3)
11-24 15:24:29.071: INFO/dalvikvm(224): "main" prio=5 tid=1 RUNNABLE
11-24 15:24:29.101: ERROR/####BackGroundService####(255): BackService onStartCommand()
11-24 15:24:29.111: INFO/dalvikvm(224):   | group="main" sCount=0 dsCount=0 s=N obj=0x4001d8e0 self=0xccb0
11-24 15:24:29.130: INFO/dalvikvm(224):   | sysTid=224 nice=0 sched=0/0 cgrp=default handle=-1345026008
11-24 15:24:29.161: INFO/dalvikvm(224):   at com.android.internal.util.FastXmlSerializer.<init>(FastXmlSerializer.java:~53)
11-24 15:24:29.161: INFO/dalvikvm(224):   at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:180)
11-24 15:24:29.191: ERROR/####BackGroundService####(255): registerReceiver complete!!
11-24 15:24:29.202: INFO/dalvikvm(224):   at android.app.ContextImpl$SharedPreferencesImpl.writeFileLocked(ContextImpl.java:2889)
11-24 15:24:29.202: INFO/dalvikvm(224):   at android.app.ContextImpl$SharedPreferencesImpl.access$300(ContextImpl.java:2637)
11-24 15:24:29.221: INFO/dalvikvm(224):   at android.app.ContextImpl$SharedPreferencesImpl$EditorImpl.commit(ContextImpl.java:2822)
11-24 15:24:29.221: INFO/dalvikvm(224):   at com.google.android.gsf.update.SystemUpdateInstallDialog.onStop(SystemUpdateInstallDialog.java:300)
11-24 15:24:29.241: INFO/dalvikvm(224):   at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1169)
11-24 15:24:29.241: INFO/dalvikvm(224):   at android.app.Activity.performStop(Activity.java:3857)
11-24 15:24:29.241: INFO/dalvikvm(224):   at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3602)
11-24 15:24:29.241: INFO/dalvikvm(224):   at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3673)
11-24 15:24:29.250: INFO/dalvikvm(224):   at android.app.ActivityThread.access$2900(ActivityThread.java:125)
11-24 15:24:29.250: INFO/dalvikvm(224):   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
11-24 15:24:29.250: INFO/dalvikvm(224):   at android.os.Handler.dispatchMessage(Handler.java:99)
11-24 15:24:29.250: INFO/dalvikvm(224):   at android.os.Looper.loop(Looper.java:123)
11-24 15:24:29.250: INFO/dalvikvm(224):   at android.app.ActivityThread.main(ActivityThread.java:4627)
11-24 15:24:29.250: INFO/dalvikvm(224):   at java.lang.reflect.Method.invokeNative(Native Method)
11-24 15:24:29.260: INFO/dalvikvm(224):   at java.lang.reflect.Method.invoke(Method.java:521)
11-24 15:24:29.271: INFO/dalvikvm(224):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-24 15:24:29.271: INFO/dalvikvm(224):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-24 15:24:29.291: INFO/dalvikvm(224):   at dalvik.system.NativeStart.main(Native Method)
11-24 15:24:29.301: INFO/dalvikvm(224): "AsyncTask #1" prio=5 tid=8 VMWAIT
11-24 15:24:29.301: INFO/dalvikvm(224):   | group="main" sCount=1 dsCount=0 s=N obj=0x43ecdee0 self=0x228150
11-24 15:24:29.301: INFO/dalvikvm(224):   | sysTid=232 nice=0 sched=0/0 cgrp=default handle=2261648
11-24 15:24:29.331: DEBUG/Eas Debug(235): Logging:
11-24 15:24:29.331: INFO/dalvikvm(224):   at java.lang.Class.getModifiers(Native Method)
11-24 15:24:29.350: INFO/dalvikvm(224):   at java.lang.Class.getModifiers(Class.java:1072)
11-24 15:24:29.350: INFO/dalvikvm(224):   at java.lang.Class.isEnum(Class.java:1340)
11-24 15:24:29.361: INFO/dalvikvm(224):   at java.lang.ClassCache.getEnumValuesInOrder(ClassCache.java:612)
11-24 15:24:29.361: INFO/dalvikvm(224):   at java.lang.ClassCache.getEnumValuesByName(ClassCache.java:587)
11-24 15:24:29.381: INFO/dalvikvm(224):   at java.lang.ClassCache.getEnumValue(ClassCache.java:546)
11-24 15:24:29.381: INFO/dalvikvm(224):   at java.lang.Enum.valueOf(Enum.java:177)
11-24 15:24:29.381: INFO/dalvikvm(224):   at android.net.NetworkInfo$State.valueOf(NetworkInfo.java:48)
11-24 15:24:29.381: INFO/dalvikvm(224):   at android.net.NetworkInfo$1.createFromParcel(NetworkInfo.java:362)
11-24 15:24:29.381: INFO/dalvikvm(224):   at android.net.NetworkInfo$1.createFromParcel(NetworkInfo.java:372)
11-24 15:24:29.381: INFO/dalvikvm(224):   at android.net.IConnectivityManager$Stub$Proxy.getActiveNetworkInfo(IConnectivityManager.java:336)
11-24 15:24:29.381: INFO/dalvikvm(224):   at android.net.ConnectivityManager.getActiveNetworkInfo(ConnectivityManager.java:223)
11-24 15:24:29.390: INFO/dalvikvm(224):   at com.google.android.gsf.checkin.CheckinService.checkSchedule(CheckinService.java:293)
11-24 15:24:29.401: INFO/dalvikvm(224):   at com.google.android.gsf.checkin.CheckinService.access$100(CheckinService.java:64)
11-24 15:24:29.411: INFO/dalvikvm(224):   at com.google.android.gsf.checkin.CheckinService$1.doInBackground(CheckinService.java:218)
11-24 15:24:29.411: INFO/dalvikvm(224):   at com.google.android.gsf.checkin.CheckinService$1.doInBackground(CheckinService.java:228)
11-24 15:24:29.411: INFO/dalvikvm(224):   at android.os.AsyncTask$2.call(AsyncTask.java:185)
11-24 15:24:29.411: INFO/dalvikvm(224):   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
11-24 15:24:29.411: INFO/dalvikvm(224):   at java.util.concurrent.FutureTask.run(FutureTask.java:137)
11-24 15:24:29.441: INFO/dalvikvm(224):   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
11-24 15:24:29.441: INFO/dalvikvm(224):   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
11-24 15:24:29.451: INFO/dalvikvm(224):   at java.lang.Thread.run(Thread.java:1096)
11-24 15:24:29.460: WARN/dalvikvm(224): threadid=1: spin on suspend resolved in 4534 msec
11-24 15:24:29.481: DEBUG/dalvikvm(224): Restored policy of 232 to 0
11-24 15:24:29.481: DEBUG/dalvikvm(224): Restored priority on 232 to 10
11-24 15:24:29.621: DEBUG/dalvikvm(224): GC_FOR_MALLOC freed 3771 objects / 280176 bytes in 4694ms
11-24 15:24:29.870: INFO/ActivityManager(59): Start proc com.android.protips for broadcast com.android.protips/.ProtipWidget: pid=261 uid=10008 gids={}
11-24 15:24:30.181: DEBUG/EAS SyncManager(235): !!! EAS SyncManager, onDestroy
11-24 15:24:30.281: DEBUG/dalvikvm(59): GREF has increased to 301
11-24 15:24:33.301: INFO/ActivityManager(59): Start proc com.android.music for broadcast com.android.music/.MediaAppWidgetProvider: pid=267 uid=10013 gids={3003, 1015}
11-24 15:24:35.701: INFO/ActivityManager(59): Process com.android.settings (pid 132) has died.
11-24 15:24:36.301: INFO/GTalkService(224): [ServiceAutoStarter] --- connectivity changed
11-24 15:24:36.331: INFO/GTalkService(224): [ServiceAutoStarter] --- start GTalk service ---
11-24 15:24:36.891: DEBUG/GTalkService(224): [GTalkService.1] ### onCreate ###
11-24 15:24:37.271: DEBUG/GTalkService(224): [GTalkService.1] setBackgroundDataWithLock: mBackgroundDataEnabled=true
11-24 15:24:37.361: DEBUG/GTalkService(224): [GTalkService.1] onStartCommand: found 0 connections, force audit connections...
11-24 15:24:37.701: DEBUG/GoogleLoginService(224): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
11-24 15:24:37.731: WARN/GoogleLoginService(224): Device has no accounts: sending Intent { act=com.google.android.gsf.LOGIN_ACCOUNTS_MISSING }
11-24 15:24:37.801: DEBUG/GTalkService(224): [GTalkService.14] account missing
11-24 15:24:37.861: DEBUG/GTalkService(224): [GTalkService.13] account missing
11-24 15:24:38.301: INFO/ActivityManager(59): Process com.google.android.apps.maps:FriendService (pid 216) has died.
11-24 15:24:38.551: INFO//system/bin/fsck_msdos(29): Attempting to allocate 2044 KB for FAT
11-24 15:24:39.231: INFO/ActivityManager(59): Process com.android.email (pid 235) has died.
11-24 15:24:39.540: INFO/ActivityManager(59): Process com.android.alarmclock (pid 244) has died.
11-24 15:24:39.821: INFO/ActivityManager(59): Process com.android.music (pid 267) has died.
11-24 15:24:40.121: INFO/ActivityManager(59): Process com.android.protips (pid 261) has died.
11-24 15:24:40.350: INFO//system/bin/fsck_msdos(29): ** Phase 2 - Check Cluster Chains
11-24 15:24:40.460: INFO//system/bin/fsck_msdos(29): ** Phase 3 - Checking Directories
11-24 15:24:40.501: INFO//system/bin/fsck_msdos(29): ** Phase 4 - Checking for Lost Files
11-24 15:24:40.531: INFO//system/bin/fsck_msdos(29): 12 files, 1044410 free (522205 clusters)
11-24 15:24:40.631: INFO/logwrapper(29): /system/bin/fsck_msdos terminated by exit(0)
11-24 15:24:40.631: INFO/Vold(29): Filesystem check completed OK
11-24 15:24:40.650: INFO/Vold(29): Device /dev/block/vold/179:0, target /mnt/sdcard mounted @ /mnt/secure/staging
11-24 15:24:40.660: DEBUG/Vold(29): Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
11-24 15:24:40.670: INFO/PackageManager(59): Updating external media status from unmounted to mounted
11-24 15:24:40.670: INFO/StorageNotification(59): Media {/mnt/sdcard} state changed from {checking} -> {mounted}
11-24 15:24:41.140: DEBUG/VoldCmdListener(29): asec list
11-24 15:24:41.160: INFO/PackageManager(59): No secure containers on sdcard
11-24 15:24:41.170: WARN/PackageManager(59): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
11-24 15:24:41.271: WARN/PackageManager(59): Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45)
11-24 15:24:41.301: WARN/PackageManager(59): Unknown permission com.google.android.gm.permission.WRITE_GMAIL in package com.android.settings
11-24 15:24:41.310: WARN/PackageManager(59): Unknown permission com.google.android.gm.permission.READ_GMAIL in package com.android.settings
11-24 15:24:41.360: WARN/PackageManager(59): Unknown permission com.android.providers.im.permission.READ_ONLY in package com.google.android.apps.maps
11-24 15:24:41.401: WARN/PackageManager(59): Unknown permission com.google.android.pushmessaging.permission.RECEIVE in package com.google.android.apps.maps
11-24 15:24:41.740: DEBUG/MediaScanner(190):  prescan time: 7493ms
11-24 15:24:41.790: DEBUG/MediaScanner(190):     scan time: 53ms
11-24 15:24:41.790: DEBUG/MediaScanner(190): postscan time: 1ms
11-24 15:24:41.800: DEBUG/MediaScanner(190):    total time: 7547ms
11-24 15:24:42.431: DEBUG/MediaScannerService(190): done scanning volume internal
11-24 15:24:42.531: DEBUG/dalvikvm(149): GC_FOR_MALLOC freed 3592 objects / 234760 bytes in 195ms
11-24 15:24:42.541: DEBUG/MediaScannerService(190): start scanning volume external
11-24 15:24:42.610: DEBUG/PackageParser(59): Scanning package: /data/app/vmdl13903.tmp
11-24 15:24:42.640: VERBOSE/MediaProvider(190): /mnt/sdcard volume ID: 285880344
11-24 15:24:42.781: INFO/PackageParser(59): com.Smart: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
11-24 15:24:43.051: WARN/Searchables(59): No global search activity found
11-24 15:24:43.271: VERBOSE/MediaProvider(190): Attached volume: external
11-24 15:24:43.560: DEBUG/MediaScanner(190):  prescan time: 215ms
11-24 15:24:43.581: DEBUG/MediaScanner(190):     scan time: 33ms
11-24 15:24:43.601: DEBUG/MediaScanner(190): postscan time: 0ms
11-24 15:24:43.601: DEBUG/MediaScanner(190):    total time: 248ms
11-24 15:24:43.640: DEBUG/MediaScannerService(190): done scanning volume external
11-24 15:24:43.691: INFO/PackageManager(59): Removing non-system package:com.Smart
11-24 15:24:43.701: INFO/ActivityManager(59): Force stopping package com.Smart uid=10068
11-24 15:24:43.701: WARN/ActivityManager(59): Scheduling restart of crashed service com.Smart/.BackService in 5000ms
11-24 15:24:43.710: INFO/Process(59): Sending signal. PID: 255 SIG: 9
11-24 15:24:43.710: INFO/ActivityManager(59):   Force stopping service ServiceRecord{440834c0 com.Smart/.BackService}
11-24 15:24:43.960: DEBUG/PackageManager(59): Scanning package com.Smart
11-24 15:24:43.960: INFO/PackageManager(59): Package com.Smart codePath changed from /data/app/com.Smart-2.apk to /data/app/com.Smart-1.apk; Retaining data and using new
11-24 15:24:43.980: INFO/PackageManager(59): /data/app/com.Smart-1.apk changed; unpacking
11-24 15:24:44.000: DEBUG/installd(35): DexInv: --- BEGIN '/data/app/com.Smart-1.apk' ---
11-24 15:24:44.451: DEBUG/dalvikvm(279): DexOpt: load 55ms, verify 103ms, opt 4ms
11-24 15:24:44.471: DEBUG/installd(35): DexInv: --- END '/data/app/com.Smart-1.apk' (success) ---
11-24 15:24:44.480: WARN/PackageManager(59): Code path for pkg : com.Smart changing from /data/app/com.Smart-2.apk to /data/app/com.Smart-1.apk
11-24 15:24:44.480: WARN/PackageManager(59): Resource path for pkg : com.Smart changing from /data/app/com.Smart-2.apk to /data/app/com.Smart-1.apk
11-24 15:24:44.480: DEBUG/PackageManager(59):   Services: com.Smart.BackService
11-24 15:24:44.480: DEBUG/PackageManager(59):   Receivers: com.Smart.Receiver
11-24 15:24:44.480: DEBUG/PackageManager(59):   Activities: com.Smart.Smart com.Smart.AlertActivity com.Smart.Save com.Smart.ShowList
11-24 15:24:44.491: INFO/ActivityManager(59): Force stopping package com.Smart uid=10068
11-24 15:24:44.650: DEBUG/dalvikvm(59): GC_FOR_MALLOC freed 11697 objects / 611360 bytes in 147ms
11-24 15:24:44.900: INFO/installd(35): move /data/dalvik-cache/data@app@com.Smart-1.apk@classes.dex -> /data/dalvik-cache/data@app@com.Smart-1.apk@classes.dex
11-24 15:24:44.900: DEBUG/PackageManager(59): New package installed in /data/app/com.Smart-1.apk
11-24 15:24:45.110: INFO/ActivityManager(59): Force stopping package com.Smart uid=10068
11-24 15:24:45.280: DEBUG/dalvikvm(118): GC_EXPLICIT freed 13459 objects / 684112 bytes in 123ms
11-24 15:24:45.520: INFO/ActivityManager(59): Start proc com.svox.pico for broadcast com.svox.pico/.VoiceDataInstallerReceiver: pid=281 uid=10009 gids={}
11-24 15:24:46.370: DEBUG/dalvikvm(59): GC_EXPLICIT freed 4185 objects / 247560 bytes in 487ms
11-24 15:24:46.370: INFO/installd(35): unlink /data/dalvik-cache/data@app@com.Smart-2.apk@classes.dex
11-24 15:24:46.461: WARN/RecognitionManagerService(59): no available voice recognition services found
11-24 15:24:46.500: DEBUG/AndroidRuntime(163): Shutting down VM
11-24 15:24:46.630: DEBUG/dalvikvm(163): Debugger has detached; object registry had 1 entries
11-24 15:24:46.690: INFO/AndroidRuntime(163): NOTE: attach of thread 'Binder Thread #3' failed
11-24 15:24:46.780: INFO/ActivityThread(281): Publishing provider com.svox.pico.providers.SettingsProvider: com.svox.pico.providers.SettingsProvider
11-24 15:24:46.970: INFO/ActivityManager(59): Start proc com.google.android.apps.maps:FriendService for broadcast com.google.android.apps.maps/com.google.googlenav.friend.android.ServiceReceiver: pid=289 uid=10016 gids={3003, 1015}
11-24 15:24:47.000: WARN/Searchables(59): No global search activity found
11-24 15:24:48.230: DEBUG/AndroidRuntime(295): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
11-24 15:24:48.230: DEBUG/AndroidRuntime(295): CheckJNI is ON
11-24 15:24:48.540: DEBUG/AndroidRuntime(295): --- registering native functions ---
11-24 15:24:49.610: INFO/ActivityManager(59): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.Smart/.Smart }
11-24 15:24:49.791: DEBUG/AndroidRuntime(295): Shutting down VM
11-24 15:24:49.821: DEBUG/jdwp(295): adbd disconnected
11-24 15:24:49.890: INFO/ActivityManager(59): Start proc com.Smart for activity com.Smart/.Smart: pid=304 uid=10068 gids={1015}
11-24 15:24:49.890: INFO/AndroidRuntime(295): NOTE: attach of thread 'Binder Thread #3' failed
11-24 15:24:51.490: INFO/ActivityManager(59): Displayed activity com.Smart/.Smart: 1702 ms (total 1702 ms)
11-24 15:25:23.110: DEBUG/ThrottleService(59): finally have imsi - retreiving data
11-24 15:25:23.160: DEBUG/ThrottleService(59): onPollAlarm - roaming =false, read =0, written =0, new total =0


이 중간에 도대체 무슨일이 일어나서 저를괴롭히는지 . .피를 말리네요.ㅠㅠ
답변 부탁드리겠습니다.