[Mi 3 Android Development] legendz:
You're right, but this is a bug scattered across all 8.1 roms and several logs were already given in their respective threads, just took a quick log from my Mi 4W - insert headphone - remove headphone - reinsert headphone

01-03 13:45:08.203 D/OpenGLRenderer(9169): endAllActiveAnimators on 0x96213e00 (MenuPopupWindow$MenuDropDownListView) with handle 0x95c93290
01-03 13:45:09.090 W/MdnsClient(3010): Socket thread is null
01-03 13:45:10.940 F/libc (9468): CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.nfc@1.0-service": library "android.hardware.nfc@1.0.so" not found
01-03 13:45:10.940 F/libc (9468): Fatal signal 6 (SIGABRT), code -6 in tid 9468 (android.hardwar), pid 9468 (android.hardwar)
01-03 13:45:09.995 I/chatty (3010): uid=10030(com.google.android.gms) lowpool[2] identical 1 line
01-03 13:45:10.091 W/MdnsClient(3010): Socket thread is null
01-03 13:45:10.958 I/crash_dump32(9473): obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-03 13:45:10.959 I//system/bin/tombstoned(440): received crash request for pid 9468
01-03 13:45:10.960 I/crash_dump32(9473): performing dump of process 9468 (target tid = 9468)
01-03 13:45:10.960 F/DEBUG (9473): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-03 13:45:10.960 F/DEBUG (9473): Build fingerprint: 'Xiaomi/cancro/cancro:6.0.1/MMB29M/V8.1.6.0.MXDMIDI:user/release-keys'
01-03 13:45:10.960 F/DEBUG (9473): Revision: '0'
01-03 13:45:10.960 F/DEBUG (9473): ABI: 'arm'
01-03 13:45:10.960 F/DEBUG (9473): pid: 9468, tid: 9468, name: android.hardwar >>> /vendor/bin/hw/android.hardware.nfc@1.0-service <<<
01-03 13:45:10.960 F/DEBUG (9473): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-03 13:45:10.963 F/DEBUG (9473): Abort message: 'CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.nfc@1.0-service": library "android.hardware.nfc@1.0.so" not found'
01-03 13:45:10.963 F/DEBUG (9473): r0 00000000 r1 000024fc r2 00000006 r3 00000008
01-03 13:45:10.963 F/DEBUG (9473): r4 000024fc r5 000024fc r6 bec8976c r7 0000010c
01-03 13:45:10.963 F/DEBUG (9473): r8 00000000 r9 aa5fb010 sl 00000000 fp bec8aa04
01-03 13:45:10.963 F/DEBUG (9473): ip bec89790 sp bec89758 lr aa6b5d17 pc aa6b41e8 cpsr 200f0030
01-03 13:45:10.966 F/DEBUG (9473):
01-03 13:45:10.966 F/DEBUG (9473): backtrace:
01-03 13:45:10.966 F/DEBUG (9473): #00 pc 000601e8 /system/bin/linker (__dl_abort+63)
01-03 13:45:10.966 F/DEBUG (9473): #01 pc 00010825 /system/bin/linker (__dl___linker_init+2828)
01-03 13:45:10.966 F/DEBUG (9473): #02 pc 0001558c /system/bin/linker (_start+4)
01-03 13:45:10.982 W/NativeCrashListener(909): Couldn't find ProcessRecord for pid 9468
01-03 13:45:10.983 W//system/bin/tombstoned(440): crash socket received short read of length 0 (expected 12)
01-03 13:45:10.985 I/BootReceiver(909): Copying /data/tombstones/tombstone_42 to DropBox (SYSTEM_TOMBSTONE)
01-03 13:45:10.996 W/MdnsClient(3010): Socket thread is null
01-03 13:45:12.312 V/WiredAccessoryManager(909): notifyWiredAccessoryChanged: when=20211773691000 bits= mask=c0
01-03 13:45:12.313 V/WiredAccessoryManager(909): newName=h2w newState=32 headsetState=32 prev headsetState=0
01-03 13:45:11.997 I/chatty (3010): uid=10030(com.google.android.gms) lowpool[2] identical 3 lines
01-03 13:45:12.087 W/MdnsClient(3010): Socket thread is null
01-03 13:45:12.314 I/WiredAccessoryManager(909): MSG_NEW_DEVICE_STATE
01-03 13:45:12.314 V/WiredAccessoryManager(909): headsetName: connected
01-03 13:45:12.316 D/AudioPolicyManagerCustom(406): setDeviceConnectionStateInt() device: 0x20000, state 1, address name
01-03 13:45:12.316 D/AudioPolicyManagerCustom(406): setDeviceConnectionState() could not find HW module for device 00020000
01-03 13:45:12.317 E/AudioService(909): not connecting device 0x20000 due to command error 1
01-03 13:45:12.679 I/surfaceflinger(374): type=1400 audit(0.0:2385): avc: denied { ioctl } for path="/dev/kgsl-3d0" dev="tmpfs" ino=9095 ioctlcmd=93d scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
01-03 13:45:12.718 W/MdnsClient(3010): Socket thread is null
01-03 13:45:15.952 F/libc (9478): CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.nfc@1.0-service": library "android.hardware.nfc@1.0.so" not found
01-03 13:45:15.952 F/libc (9478): Fatal signal 6 (SIGABRT), code -6 in tid 9478 (android.hardwar), pid 9478 (android.hardwar)
01-03 13:45:13.720 I/chatty (3010): uid=10030(com.google.android.gms) lowpool[2] identical 2 lines
01-03 13:45:14.722 W/MdnsClient(3010): Socket thread is null
01-03 13:45:15.987 I/crash_dump32(9481): obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-03 13:45:15.990 I//system/bin/tombstoned(440): received crash request for pid 9478
01-03 13:45:15.991 I/crash_dump32(9481): performing dump of process 9478 (target tid = 9478)
01-03 13:45:15.991 F/DEBUG (9481): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-03 13:45:15.991 F/DEBUG (9481): Build fingerprint: 'Xiaomi/cancro/cancro:6.0.1/MMB29M/V8.1.6.0.MXDMIDI:user/release-keys'
01-03 13:45:15.991 F/DEBUG (9481): Revision: '0'
01-03 13:45:15.992 F/DEBUG (9481): ABI: 'arm'
01-03 13:45:15.992 F/DEBUG (9481): pid: 9478, tid: 9478, name: android.hardwar >>> /vendor/bin/hw/android.hardware.nfc@1.0-service <<<
01-03 13:45:15.992 F/DEBUG (9481): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-03 13:45:15.995 F/DEBUG (9481): Abort message: 'CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.nfc@1.0-service": library "android.hardware.nfc@1.0.so" not found'
01-03 13:45:15.995 F/DEBUG (9481): r0 00000000 r1 00002506 r2 00000006 r3 00000008
01-03 13:45:15.995 F/DEBUG (9481): r4 00002506 r5 00002506 r6 bedb776c r7 0000010c
01-03 13:45:15.995 F/DEBUG (9481): r8 00000000 r9 b52a1010 sl 00000000 fp bedb8a04
01-03 13:45:15.995 F/DEBUG (9481): ip bedb7790 sp bedb7758 lr b535bd17 pc b535a1e8 cpsr 200f0030
01-03 13:45:15.999 F/DEBUG (9481):
01-03 13:45:15.999 F/DEBUG (9481): backtrace:
01-03 13:45:15.999 F/DEBUG (9481): #00 pc 000601e8 /system/bin/linker (__dl_abort+63)
01-03 13:45:15.999 F/DEBUG (9481): #01 pc 00010825 /system/bin/linker (__dl___linker_init+2828)
01-03 13:45:15.999 F/DEBUG (9481): #02 pc 0001558c /system/bin/linker (_start+4)
01-03 13:45:16.017 W/NativeCrashListener(909): Couldn't find ProcessRecord for pid 9478
01-03 13:45:16.019 W//system/bin/tombstoned(440): crash socket received short read of length 0 (expected 12)
01-03 13:45:16.020 I/BootReceiver(909): Copying /data/tombstones/tombstone_43 to DropBox (SYSTEM_TOMBSTONE)
01-03 13:45:17.689 V/WiredAccessoryManager(909): notifyWiredAccessoryChanged: when=20217147546000 bits= mask=c0
01-03 13:45:17.691 V/WiredAccessoryManager(909): newName=h2w newState=0 headsetState=0 prev headsetState=32
01-03 13:45:17.693 I/WiredAccessoryManager(909): MSG_NEW_DEVICE_STATE
01-03 13:45:17.693 V/WiredAccessoryManager(909): headsetName: disconnected
01-03 13:45:19.605 W/MdnsClient(3010): Socket thread is null
01-03 13:45:20.953 F/libc (9483): CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.nfc@1.0-service": library "android.hardware.nfc@1.0.so" not found
01-03 13:45:20.953 F/libc (9483): Fatal signal 6 (SIGABRT), code -6 in tid 9483 (android.hardwar), pid 9483 (android.hardwar)
01-03 13:45:20.607 I/chatty (3010): uid=10030(com.google.android.gms) lowpool[2] identical 2 lines
01-03 13:45:20.611 W/MdnsClient(3010): Socket thread is null
01-03 13:45:20.987 I/crash_dump32(9486): obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-03 13:45:20.990 I//system/bin/tombstoned(440): received crash request for pid 9483
01-03 13:45:20.992 I/crash_dump32(9486): performing dump of process 9483 (target tid = 9483)
01-03 13:45:20.992 F/DEBUG (9486): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-03 13:45:20.992 F/DEBUG (9486): Build fingerprint: 'Xiaomi/cancro/cancro:6.0.1/MMB29M/V8.1.6.0.MXDMIDI:user/release-keys'
01-03 13:45:20.992 F/DEBUG (9486): Revision: '0'
01-03 13:45:20.992 F/DEBUG (9486): ABI: 'arm'
01-03 13:45:20.992 F/DEBUG (9486): pid: 9483, tid: 9483, name: android.hardwar >>> /vendor/bin/hw/android.hardware.nfc@1.0-service <<<
01-03 13:45:20.992 F/DEBUG (9486): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-03 13:45:20.995 F/DEBUG (9486): Abort message: 'CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.nfc@1.0-service": library "android.hardware.nfc@1.0.so" not found'
01-03 13:45:20.995 F/DEBUG (9486): r0 00000000 r1 0000250b r2 00000006 r3 00000008
01-03 13:45:20.995 F/DEBUG (9486): r4 0000250b r5 0000250b r6 bec6d76c r7 0000010c
01-03 13:45:20.995 F/DEBUG (9486): r8 00000000 r9 a9d43010 sl 00000000 fp bec6ea04
01-03 13:45:20.995 F/DEBUG (9486): ip bec6d790 sp bec6d758 lr a9dfdd17 pc a9dfc1e8 cpsr 200f0030
01-03 13:45:21.000 F/DEBUG (9486):
01-03 13:45:21.000 F/DEBUG (9486): backtrace:
01-03 13:45:21.000 F/DEBUG (9486): #00 pc 000601e8 /system/bin/linker (__dl_abort+63)
01-03 13:45:21.000 F/DEBUG (9486): #01 pc 00010825 /system/bin/linker (__dl___linker_init+2828)
01-03 13:45:21.000 F/DEBUG (9486): #02 pc 0001558c /system/bin/linker (_start+4)
01-03 13:45:21.024 W/NativeCrashListener(909): Couldn't find ProcessRecord for pid 9483
01-03 13:45:21.025 W//system/bin/tombstoned(440): crash socket received short read of length 0 (expected 12)
01-03 13:45:21.026 I/BootReceiver(909): Copying /data/tombstones/tombstone_44 to DropBox (SYSTEM_TOMBSTONE)
01-03 13:45:21.028 W/MdnsClient(3010): Socket thread is null
01-03 13:45:23.603 V/WiredAccessoryManager(909): notifyWiredAccessoryChanged: when=20223063347000 bits= mask=c0
01-03 13:45:23.603 V/WiredAccessoryManager(909): newName=h2w newState=32 headsetState=32 prev headsetState=0
01-03 13:45:23.033 I/chatty (3010): uid=10030(com.google.android.gms) lowpool[2] identical 4 lines
01-03 13:45:23.511 W/MdnsClient(3010): Socket thread is null
01-03 13:45:23.604 I/WiredAccessoryManager(909): MSG_NEW_DEVICE_STATE
01-03 13:45:23.604 V/WiredAccessoryManager(909): headsetName: connected
01-03 13:45:23.606 D/AudioPolicyManagerCustom(406): setDeviceConnectionStateInt() device: 0x20000, state 1, address name
01-03 13:45:23.606 D/AudioPolicyManagerCustom(406): setDeviceConnectionState() could not find HW module for device 00020000
01-03 13:45:23.607 E/AudioService(909): not connecting device 0x20000 due to command error 1
01-03 13:45:24.514 W/MdnsClient(3010): Socket thread is null
01-03 13:45:25.941 F/libc (9489): CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.nfc@1.0-service": library "android.hardware.nfc@1.0.so" not found
01-03 13:45:25.942 F/libc (9489): Fatal signal 6 (SIGABRT), code -6 in tid 9489 (android.hardwar), pid 9489 (android.hardwar)
01-03 13:45:25.515 W/MdnsClient(3010): Socket thread is null
01-03 13:45:25.964 I/crash_dump32(9492): obtaining output fd from tombstoned, type: kDebuggerdTombstone
01-03 13:45:25.966 I//system/bin/tombstoned(440): received crash request for pid 9489
01-03 13:45:25.968 I/crash_dump32(9492): performing dump of process 9489 (target tid = 9489)
01-03 13:45:25.968 F/DEBUG (9492): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-03 13:45:25.968 F/DEBUG (9492): Build fingerprint: 'Xiaomi/cancro/cancro:6.0.1/MMB29M/V8.1.6.0.MXDMIDI:user/release-keys'
01-03 13:45:25.968 F/DEBUG (9492): Revision: '0'
01-03 13:45:25.968 F/DEBUG (9492): ABI: 'arm'
01-03 13:45:25.968 F/DEBUG (9492): pid: 9489, tid: 9489, name: android.hardwar >>> /vendor/bin/hw/android.hardware.nfc@1.0-service <<<
01-03 13:45:25.968 F/DEBUG (9492): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-03 13:45:25.971 F/DEBUG (9492): Abort message: 'CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.nfc@1.0-service": library "android.hardware.nfc@1.0.so" not found'
01-03 13:45:25.971 F/DEBUG (9492): r0 00000000 r1 00002511 r2 00000006 r3 00000008
01-03 13:45:25.971 F/DEBUG (9492): r4 00002511 r5 00002511 r6 bef4576c r7 0000010c
01-03 13:45:25.971 F/DEBUG (9492): r8 00000000 r9 ae95c010 sl 00000000 fp bef46a04
01-03 13:45:25.971 F/DEBUG (9492): ip bef45790 sp bef45758 lr aea16d17 pc aea151e8 cpsr 200f0030
01-03 13:45:25.976 F/DEBUG (9492):
01-03 13:45:25.976 F/DEBUG (9492): backtrace:
01-03 13:45:25.976 F/DEBUG (9492): #00 pc 000601e8 /system/bin/linker (__dl_abort+63)
01-03 13:45:25.976 F/DEBUG (9492): #01 pc 00010825 /system/bin/linker (__dl___linker_init+2828)
01-03 13:45:25.976 F/DEBUG (9492): #02 pc 0001558c /system/bin/linker (_start+4)
01-03 13:45:25.995 W/NativeCrashListener(909): Couldn't find ProcessRecord for pid 9489
01-03 13:45:25.996 W//system/bin/tombstoned(440): crash socket received short read of length 0 (expected 12)
01-03 13:45:25.997 I/BootReceiver(909): Copying /data/tombstones/tombstone_45 to DropBox (SYSTEM_TOMBSTONE)