My com.android.nfc service keeps crashing, how can I pinpoint why/how it is crashing?
1
vote
0
answers
91
views
My
com.android.nfc
service keeps crashing, how can I pinpoint why/how it is crashing?
Below is the adb logcat
logs I have gathered, but nothing points me to what is causing the service to crash. This is repeated constantly and happens every 5 seconds.
3369 5620 D ActivityTaskManagerServiceExtImpl: preBindApplication record is null
15753 15753 E OplusCustomizePackageManager: mIOplusCustomizePackageManagerService is null
15753 15753 E OplusCustomizePackageManager: mIOplusCustomizePackageManagerService is null
15753 15753 E OplusCustomizePackageManager: isOplusCertificatePackage Errorjava.lang.NullPointerException: Attempt to invoke interface method 'boolean android.os.customize.IOplusCustomizePackageManagerService.isOplusCertificatePackage(java.lang.St ing)' on a null object reference
15753 15753 D ResourcesManagerExtImpl: applyConfigurationToAppResourcesLocked app.getDisplayId() return callback.displayId:-1
15753 15753 W ActivityThread: ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
3369 4367 I ActivityManager: Death received, pid = 15753, processName = com.android.nfc for thread android.os.BinderProxy@a60a167
3369 4811 I ActivityManager: Process com.android.nfc (pid 15753) has died: pers PER
3369 4811 W ActivityManager: Re-adding persistent process ProcessRecord{c8f2673 15753:com.android.nfc/1027}
3369 3697 I ActivityManager: Start proc 15773:com.android.nfc/1027 for restart com.android.nfc
03-21 20:57:23.604 6499 6499 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.oplus.wirelesssettings/com.android.settings.SettingsActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.nfc.INfcAdapter.getState()' on a null object reference
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4372)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4569)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:126)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:179)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:114)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:86)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2902)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:282)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.os.Looper.loop(Looper.java:387)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:9494)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1005)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'int android.nfc.INfcAdapter.getState()' on a null object reference
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.nfc.NfcAdapter.getAdapterState(NfcAdapter.java:1112)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.nfc.NfcManager.getDefaultAdapter(NfcManager.java:121)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.nfc.NfcAdapter.getDefaultAdapter(NfcAdapter.java:889)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at com.oplus.wirelesssettings.nfc.NfcPreferenceController.(Unknown Source:12)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at com.oplus.wirelesssettings.nfc.c.buildPreferenceControllers(Unknown Source:7)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at com.oplus.wirelesssettings.nfc.c.createPreferenceControllers(Unknown Source:14)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at com.android.settings.dashboard.DashboardFragment.onAttach(Unknown Source:29)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at com.oplus.wirelesssettings.nfc.c.onAttach(Unknown Source:5)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at androidx.fragment.app.Fragment.performAttach(Unknown Source:49)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at androidx.fragment.app.s.c(Unknown Source:199)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at androidx.fragment.app.s.m(Unknown Source:124)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at androidx.fragment.app.m.d0(Unknown Source:277)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at androidx.fragment.app.m.i1(Unknown Source:84)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at androidx.fragment.app.m.a0(Unknown Source:21)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at androidx.fragment.app.m.e0(Unknown Source:1)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at com.oplus.wirelesssettings.a.switchToFragmentExt(Unknown Source:55)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at com.oplus.wirelesssettings.a.onCreate(Unknown Source:88)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(Unknown Source:0)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:9192)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:9164)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1544)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4346)
03-21 20:57:23.604 6499 6499 E AndroidRuntime: ... 13 more
03-21 20:57:23.934 21462 21484 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 21484 (android.hardwar), pid 21462 (android.hardwar)
03-21 20:57:23.961 21571 21571 F DEBUG : Process name is /odm/bin/hw/android.hardware.nfc-service.nxp, uid is 1027, not key_process
03-21 20:57:23.961 21571 21571 F DEBUG : keyProcess: 0
03-21 20:57:23.961 21571 21571 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-21 20:57:23.961 21571 21571 F DEBUG : Build fingerprint: 'OnePlus/CPH2655/OP5D55L1:15/AP3A.240617.008/V.R4T3.1c79fbd_1e174_440e:user/release-keys'
03-21 20:57:23.961 21571 21571 F DEBUG : Revision: '0'
03-21 20:57:23.961 21571 21571 F DEBUG : ABI: 'arm64'
03-21 20:57:23.961 21571 21571 F DEBUG : Timestamp: 2025-03-21 20:57:23.948224098-0700
03-21 20:57:23.961 21571 21571 F DEBUG : Process uptime: 3s
03-21 20:57:23.961 21571 21571 F DEBUG : Cmdline: /odm/bin/hw/android.hardware.nfc-service.nxp
03-21 20:57:23.961 21571 21571 F DEBUG : pid: 21462, tid: 21484, name: android.hardwar >>> /odm/bin/hw/android.hardware.nfc-service.nxp >> /odm/bin/hw/android.hardware.nfc-service.nxp >> /odm/bin/hw/android.hardware.nfc-service.nxp <<<
03-21 20:57:33.977 23360 23360 F DEBUG : uid: 1027
03-21 20:57:33.977 23360 23360 F DEBUG : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
03-21 20:57:33.977 23360 23360 F DEBUG : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
03-21 20:57:33.977 23360 23360 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
03-21 20:57:33.977 23360 23360 F DEBUG : x0 0000000000000000 x1 0000000000005b1b x2 0000000000000006 x3 00000076449e8990
03-21 20:57:33.977 23360 23360 F DEBUG : x4 2f3d485441500000 x5 2f3d485441500000 x6 2f3d485441500000 x7 0080d0c1d4c8bdaf
03-21 20:57:33.977 23360 23360 F DEBUG : x8 00000000000000f0 x9 00000076c9c8b378 x10 ffffff80ffffffdf x11 fffffffffffffffd
03-21 20:57:33.977 23360 23360 F DEBUG : x12 00000076449e8480 x13 0000000000000008 x14 00000076449e85e8 x15 000000004a40580d
03-21 20:57:33.977 23360 23360 F DEBUG : x16 00000076c9d74e60 x17 00000076c9d5fac0 x18 0000007642fa8000 x19 0000000000005afc
03-21 20:57:33.977 23360 23360 F DEBUG : x20 0000000000005b1b x21 00000000ffffffff x22 0000000000000001 x23 00000076449e8f80
03-21 20:57:33.977 23360 23360 F DEBUG : x24 00000076cdaa28f8 x25 00000076cdaa1268 x26 00000076449e8a60 x27 00000076cda9d1b0
03-21 20:57:33.977 23360 23360 F DEBUG : x28 00000076cdaa2238 x29 00000076449e8a10
03-21 20:57:33.977 23360 23360 F DEBUG : lr 00000076c9cfaa68 sp 00000076449e8970 pc 00000076c9cfaa98 pst 0000000000001000
03-21 20:57:33.977 23360 23360 F DEBUG : 7 total frames
03-21 20:57:33.977 23360 23360 F DEBUG : backtrace:
03-21 20:57:33.977 23360 23360 F DEBUG : #00 pc 0000000000095a98 /apex/com.android.runtime/lib64/bionic/libc.so (abort+172) (BuildId: f4501bd873d8a85bd2dd833a169dec5f)
03-21 20:57:33.977 23360 23360 F DEBUG : #01 pc 0000000000044e34 /odm/lib64/nfc_nci.nqx.default.hw.so (phNxpNciHal_emergency_recovery(unsigned char) (.cfi)+252) (BuildId: e5c5a0ba31b03a6aff69fb79f0e48440)
03-21 20:57:33.977 23360 23360 F DEBUG : #02 pc 0000000000038238 /odm/lib64/nfc_nci.nqx.default.hw.so (phNxpNciHal_process_ext_rsp(unsigned char*, unsigned short*) (.cfi)+4876) (BuildId: e5c5a0ba31b03a6aff69fb79f0e48440)
03-21 20:57:33.977 23360 23360 F DEBUG : #03 pc 000000000002cc98 /odm/lib64/nfc_nci.nqx.default.hw.so (phNxpNciHal_read_complete(void*, phTmlNfc_TransactInfo*) (.cfi)+304) (BuildId: e5c5a0ba31b03a6aff69fb79f0e48440)
03-21 20:57:33.977 23360 23360 F DEBUG : #04 pc 000000000002bccc /odm/lib64/nfc_nci.nqx.default.hw.so (phNxpNciHal_client_thread(void*) (.cfi)+560) (BuildId: e5c5a0ba31b03a6aff69fb79f0e48440)
03-21 20:57:33.977 23360 23360 F DEBUG : #05 pc 00000000000a7488 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+196) (BuildId: f4501bd873d8a85bd2dd833a169dec5f)
03-21 20:57:33.977 23360 23360 F DEBUG : #06 pc 0000000000099584 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: f4501bd873d8a85bd2dd833a169dec5f)
03-21 20:58:28.891 24176 24207 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 24207 (android.hardwar), pid 24176 (android.hardwar)
03-21 20:58:28.924 25096 25096 F DEBUG : Process name is /odm/bin/hw/android.hardware.nfc-service.nxp, uid is 1027, not key_process
03-21 20:58:28.924 25096 25096 F DEBUG : keyProcess: 0
03-21 20:58:28.924 25096 25096 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-21 20:58:28.924 25096 25096 F DEBUG : Build fingerprint: 'OnePlus/CPH2655/OP5D55L1:15/AP3A.240617.008/V.R4T3.1c79fbd_1e174_440e:user/release-keys'
03-21 20:58:28.924 25096 25096 F DEBUG : Revision: '0'
03-21 20:58:28.924 25096 25096 F DEBUG : ABI: 'arm64'
03-21 20:58:28.924 25096 25096 F DEBUG : Timestamp: 2025-03-21 20:58:28.912536513-0700
03-21 20:58:28.924 25096 25096 F DEBUG : Process uptime: 53s
Asked by shrav
(11 rep)
Mar 22, 2025, 04:07 AM
Last activity: Mar 23, 2025, 07:38 AM
Last activity: Mar 23, 2025, 07:38 AM