[OnePlus 3 & 3T Cross Device Development] phoval:
Got random crash when switching off wifi or data:

04-03 12:45:43.986 2092 2092 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 2092 (gnss@1.0-servic), pid 2092 (gnss@1.0-servic)
04-03 12:45:44.058 25624 25624 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-03 12:45:44.058 25624 25624 F DEBUG : LineageOS Version: '15.1-20180402-UNOFFICIAL-oneplus3'
04-03 12:45:44.058 25624 25624 F DEBUG : Build fingerprint: 'OnePlus/OnePlus3/OnePlus3:8.0.0/OPR1.170623.032/02281230:user/release-keys'
04-03 12:45:44.058 25624 25624 F DEBUG : Revision: '0'
04-03 12:45:44.058 25624 25624 F DEBUG : ABI: 'arm64'
04-03 12:45:44.058 25624 25624 F DEBUG : pid: 2092, tid: 2092, name: gnss@1.0-servic >>> /vendor/bin/hw/vendor.qti.gnss@1.0-service <<<
04-03 12:45:44.058 25624 25624 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
04-03 12:45:44.058 25624 25624 F DEBUG : Cause: null pointer dereference
04-03 12:45:44.058 25624 25624 F DEBUG : x0 0000007c5bc39dd1 x1 0000000000000000 x2 0000000000000001 x3 0000000000000001
04-03 12:45:44.058 25624 25624 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 000000000014f862
04-03 12:45:44.058 25624 25624 F DEBUG : x8 0000000000000000 x9 0000000000000000 x10 0000000000000000 x11 0000007c5bc39dd1
04-03 12:45:44.059 25624 25624 F DEBUG : x12 0000000000000000 x13 0000000000000000 x14 003a5768299e0645 x15 0000000000000000
04-03 12:45:44.059 25624 25624 F DEBUG : x16 0000007c5b63cab0 x17 0000007c5c3b4380 x18 cc80305a41065801 x19 0000007c5bc39dd0
04-03 12:45:44.059 25624 25624 F DEBUG : x20 0000000000000001 x21 0000007c5bc39dd1 x22 0000007c5bc39dd0 x23 0000000000000000
04-03 12:45:44.059 25624 25624 F DEBUG : x24 0000000000000001 x25 0000007fc13bbf40 x26 0000000000000000 x27 0000000000000000
04-03 12:45:44.059 25624 25624 F DEBUG : x28 0000007fc13bc5e0 x29 0000007fc13bbdf0 x30 0000007c5b629f64
04-03 12:45:44.059 25624 25624 F DEBUG : sp 0000007fc13bbdd0 pc 0000007c5c3b59b8 pstate 0000000080000000
04-03 12:45:44.087 25624 25624 F DEBUG :
04-03 12:45:44.087 25624 25624 F DEBUG : backtrace:
04-03 12:45:44.087 25624 25624 F DEBUG : #00 pc 000000000001d9b8 /system/lib64/libc.so (memcpy+624)
04-03 12:45:44.087 25624 25624 F DEBUG : #01 pc 0000000000027f60 /system/vendor/lib64/hw/vendor.qti.gnss@1.0-impl.so (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::assign(char const*, unsigned long)+156)
04-03 12:45:44.087 25624 25624 F DEBUG : #02 pc 000000000001cd4c /system/vendor/lib64/libdataitems.so (izat_manager::NetworkInfoDataItem::copy(loc_core::IDataItemCore*, bool*)+820)
04-03 12:45:44.087 25624 25624 F DEBUG : #03 pc 0000000000025b2c /system/vendor/lib64/libloc_core.so (loc_core::SystemStatus::eventConnectionStatus(bool, unsigned char)+168)
04-03 12:45:44.087 25624 25624 F DEBUG : #04 pc 000000000001ac64 /system/vendor/lib64/hw/android.hardware.gnss@1.0-impl-qti.so (android::hardware::gnss::V1_0::implementation::AGnssRil::updateNetworkState(bool, android::hardware::gnss::V1_0::IAGnssRil::NetworkType, bool)+212)
04-03 12:45:44.087 25624 25624 F DEBUG : #05 pc 0000000000090c1c /system/lib64/android.hardware.gnss@1.0.so (android::hardware::gnss::V1_0::BnHwAGnssRil::_hidl_updateNetworkState(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+212)
04-03 12:45:44.087 25624 25624 F DEBUG : #06 pc 00000000000919f4 /system/lib64/android.hardware.gnss@1.0.so (android::hardware::gnss::V1_0::BnHwAGnssRil::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+1860)
04-03 12:45:44.087 25624 25624 F DEBUG : #07 pc 0000000000011800 /system/lib64/libhwbinder.so (android::hardware::BHwBinder::transact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+132)
04-03 12:45:44.087 25624 25624 F DEBUG : #08 pc 0000000000015348 /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::executeCommand(int)+576)
04-03 12:45:44.087 25624 25624 F DEBUG : #09 pc 0000000000015050 /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::getAndExecuteCommand()+160)
04-03 12:45:44.087 25624 25624 F DEBUG : #10 pc 000000000001574c /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::joinThreadPool(bool)+60)
04-03 12:45:44.087 25624 25624 F DEBUG : #11 pc 0000000000000dac /system/vendor/bin/hw/vendor.qti.gnss@1.0-service (main+324)
04-03 12:45:44.087 25624 25624 F DEBUG : #12 pc 00000000000a57d8 /system/lib64/libc.so (__libc_init+88)
04-03 12:45:44.087 25624 25624 F DEBUG : #13 pc 0000000000000bc8 /system/vendor/bin/hw/vendor.qti.gnss@1.0-service (do_arm64_start+80)
04-03 12:45:44.278 2273 9183 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 9183 (HwBinder:2273_5), pid 2273 (system_server)
04-03 12:45:44.406 25633 25633 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-03 12:45:44.406 25633 25633 F DEBUG : LineageOS Version: '15.1-20180402-UNOFFICIAL-oneplus3'
04-03 12:45:44.406 25633 25633 F DEBUG : Build fingerprint: 'OnePlus/OnePlus3/OnePlus3:8.0.0/OPR1.170623.032/02281230:user/release-keys'
04-03 12:45:44.406 25633 25633 F DEBUG : Revision: '0'
04-03 12:45:44.406 25633 25633 F DEBUG : ABI: 'arm64'
04-03 12:45:44.406 25633 25633 F DEBUG : pid: 2273, tid: 9183, name: HwBinder:2273_5 >>> system_server <<<
04-03 12:45:44.406 25633 25633 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
04-03 12:45:44.411 25633 25633 F DEBUG : Abort message: 'Abort due to IGNSS hidl service failure, restarting system server'
04-03 12:45:44.411 25633 25633 F DEBUG : x0 0000000000000000 x1 00000000000023df x2 0000000000000006 x3 0000000000000008
04-03 12:45:44.411 25633 25633 F DEBUG : x4 8000000000000000 x5 8000000000000000 x6 8000000000000000 x7 0000000000000080
04-03 12:45:44.411 25633 25633 F DEBUG : x8 0000000000000083 x9 7a65add5cb5f8573 x10 0000000000000000 x11 ffffffffffffffff
04-03 12:45:44.411 25633 25633 F DEBUG : x12 0101010101010101 x13 0000000000000038 x14 ffffffffffffffff x15 0000549816e21910
04-03 12:45:44.411 25633 25633 F DEBUG : x16 00000055ce4d5fa8 x17 00000076bdfbd6d0 x18 0000000000000000 x19 00000000000008e1
04-03 12:45:44.411 25633 25633 F DEBUG : x20 00000000000023df x21 0000000000000083 x22 00000076bcf65dc4 x23 0000000000000000
04-03 12:45:44.411 25633 25633 F DEBUG : x24 0000007608807588 x25 000000760870b000 x26 0000007620579588 x27 0000000000000000
04-03 12:45:44.411 25633 25633 F DEBUG : x28 00000076c0360050 x29 0000007608806b00 x30 00000076bdf6fb08
04-03 12:45:44.411 25633 25633 F DEBUG : sp 0000007608806ac0 pc 00000076bdf6fb28 pstate 0000000060000000
04-03 12:45:44.452 25633 25633 F DEBUG :
04-03 12:45:44.452 25633 25633 F DEBUG : backtrace:
04-03 12:45:44.452 25633 25633 F DEBUG : #00 pc 000000000001db28 /system/lib64/libc.so (abort+112)
04-03 12:45:44.452 25633 25633 F DEBUG : #01 pc 0000000000007f7c /system/lib64/liblog.so (__android_log_assert+312)
04-03 12:45:44.452 25633 25633 F DEBUG : #02 pc 0000000000069230 /system/lib64/libandroid_servers.so (GnssDeathRecipient::serviceDied(unsigned long, android::wp<android::hidl::base::V1_0::IBase> const&)+28)
04-03 12:45:44.452 25633 25633 F DEBUG : #03 pc 0000000000027e34 /system/lib64/libhidltransport.so (android::hardware::hidl_binder_death_recipient::binderDied(android::wp<android::hardware::IBinder> const&)+112)
04-03 12:45:44.452 25633 25633 F DEBUG : #04 pc 00000000000129e4 /system/lib64/libhwbinder.so (android::hardware::BpHwBinder::reportOneDeath(android::hardware::BpHwBinder::eek:bituary const&)+140)
04-03 12:45:44.452 25633 25633 F DEBUG : #05 pc 0000000000012900 /system/lib64/libhwbinder.so (android::hardware::BpHwBinder::sendObituary()+160)
04-03 12:45:44.452 25633 25633 F DEBUG : #06 pc 0000000000015458 /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::executeCommand(int)+848)
04-03 12:45:44.457 25633 25633 F DEBUG : #07 pc 0000000000015050 /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::getAndExecuteCommand()+160)
04-03 12:45:44.457 25633 25633 F DEBUG : #08 pc 000000000001574c /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::joinThreadPool(bool)+60)
04-03 12:45:44.457 25633 25633 F DEBUG : #09 pc 000000000001f998 /system/lib64/libhwbinder.so (android::hardware::PoolThread::threadLoop()+24)
04-03 12:45:44.457 25633 25633 F DEBUG : #10 pc 0000000000011500 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+264)
04-03 12:45:44.457 25633 25633 F DEBUG : #11 pc 00000000000a9a50 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
04-03 12:45:44.457 25633 25633 F DEBUG : #12 pc 000000000006af34 /system/lib64/libc.so (__pthread_start(void*)+36)
04-03 12:45:44.457 25633 25633 F DEBUG : #13 pc 000000000001efc8 /system/lib64/libc.so (__start_thread+68)
04-03 13:14:57.034 25630 25630 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1 in tid 25630 (gnss@1.0-servic), pid 25630 (gnss@1.0-servic)
04-03 13:14:57.064 4314 4314 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-03 13:14:57.064 4314 4314 F DEBUG : LineageOS Version: '15.1-20180402-UNOFFICIAL-oneplus3'
04-03 13:14:57.064 4314 4314 F DEBUG : Build fingerprint: 'OnePlus/OnePlus3/OnePlus3:8.0.0/OPR1.170623.032/02281230:user/release-keys'
04-03 13:14:57.064 4314 4314 F DEBUG : Revision: '0'
04-03 13:14:57.065 4314 4314 F DEBUG : ABI: 'arm64'
04-03 13:14:57.065 4314 4314 F DEBUG : pid: 25630, tid: 25630, name: gnss@1.0-servic >>> /vendor/bin/hw/vendor.qti.gnss@1.0-service <<<
04-03 13:14:57.065 4314 4314 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1
04-03 13:14:57.065 4314 4314 F DEBUG : Cause: null pointer dereference
04-03 13:14:57.065 4314 4314 F DEBUG : x0 0000007551e39c11 x1 0000000000000001 x2 0000000000000001 x3 0000000000000002
04-03 13:14:57.065 4314 4314 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 00000000001d23a4
04-03 13:14:57.065 4314 4314 F DEBUG : x8 0000000000000001 x9 0000000000000000 x10 0000000000000000 x11 0000007551e39c11
04-03 13:14:57.065 4314 4314 F DEBUG : x12 0000000000000000 x13 0000000000000000 x14 0000000000000070 x15 0000000000000000
04-03 13:14:57.065 4314 4314 F DEBUG : x16 0000007551b3eab0 x17 0000007552935380 x18 12fe45e0351eb92b x19 0000007551e39c10
04-03 13:14:57.065 4314 4314 F DEBUG : x20 0000000000000001 x21 0000007551e39c11 x22 0000007551e39c10 x23 0000000000000001
04-03 13:14:57.065 4314 4314 F DEBUG : x24 0000000000000001 x25 0000007febd2b9c0 x26 0000000000000000 x27 0000000000000000
04-03 13:14:57.065 4314 4314 F DEBUG : x28 0000007febd2c060 x29 0000007febd2b870 x30 0000007551b2bf64
04-03 13:14:57.065 4314 4314 F DEBUG : sp 0000007febd2b850 pc 00000075529369b8 pstate 0000000080000000
04-03 13:14:57.084 4314 4314 F DEBUG :
04-03 13:14:57.084 4314 4314 F DEBUG : backtrace:
04-03 13:14:57.084 4314 4314 F DEBUG : #00 pc 000000000001d9b8 /system/lib64/libc.so (memcpy+624)
04-03 13:14:57.084 4314 4314 F DEBUG : #01 pc 0000000000027f60 /system/vendor/lib64/hw/vendor.qti.gnss@1.0-impl.so (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::assign(char const*, unsigned long)+156)
04-03 13:14:57.084 4314 4314 F DEBUG : #02 pc 000000000001cd4c /system/vendor/lib64/libdataitems.so (izat_manager::NetworkInfoDataItem::copy(loc_core::IDataItemCore*, bool*)+820)
04-03 13:14:57.084 4314 4314 F DEBUG : #03 pc 0000000000025b2c /system/vendor/lib64/libloc_core.so (loc_core::SystemStatus::eventConnectionStatus(bool, unsigned char)+168)
04-03 13:14:57.084 4314 4314 F DEBUG : #04 pc 000000000001ac64 /system/vendor/lib64/hw/android.hardware.gnss@1.0-impl-qti.so (android::hardware::gnss::V1_0::implementation::AGnssRil::updateNetworkState(bool, android::hardware::gnss::V1_0::IAGnssRil::NetworkType, bool)+212)
04-03 13:14:57.087 4314 4314 F DEBUG : #05 pc 0000000000090c1c /system/lib64/android.hardware.gnss@1.0.so (android::hardware::gnss::V1_0::BnHwAGnssRil::_hidl_updateNetworkState(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+212)
04-03 13:14:57.087 4314 4314 F DEBUG : #06 pc 00000000000919f4 /system/lib64/android.hardware.gnss@1.0.so (android::hardware::gnss::V1_0::BnHwAGnssRil::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+1860)
04-03 13:14:57.087 4314 4314 F DEBUG : #07 pc 0000000000011800 /system/lib64/libhwbinder.so (android::hardware::BHwBinder::transact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+132)
04-03 13:14:57.087 4314 4314 F DEBUG : #08 pc 0000000000015348 /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::executeCommand(int)+576)
04-03 13:14:57.087 4314 4314 F DEBUG : #09 pc 0000000000015050 /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::getAndExecuteCommand()+160)
04-03 13:14:57.087 4314 4314 F DEBUG : #10 pc 000000000001574c /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::joinThreadPool(bool)+60)
04-03 13:14:57.087 4314 4314 F DEBUG : #11 pc 0000000000000dac /system/vendor/bin/hw/vendor.qti.gnss@1.0-service (main+324)
04-03 13:14:57.087 4314 4314 F DEBUG : #12 pc 00000000000a57d8 /system/lib64/libc.so (__libc_init+88)
04-03 13:14:57.087 4314 4314 F DEBUG : #13 pc 0000000000000bc8 /system/vendor/bin/hw/vendor.qti.gnss@1.0-service (do_arm64_start+80)
04-03 13:14:57.268 25785 26468 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 26468 (HwBinder:25785_), pid 25785 (system_server)
04-03 13:14:57.472 4325 4325 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-03 13:14:57.473 4325 4325 F DEBUG : LineageOS Version: '15.1-20180402-UNOFFICIAL-oneplus3'
04-03 13:14:57.473 4325 4325 F DEBUG : Build fingerprint: 'OnePlus/OnePlus3/OnePlus3:8.0.0/OPR1.170623.032/02281230:user/release-keys'
04-03 13:14:57.473 4325 4325 F DEBUG : Revision: '0'
04-03 13:14:57.473 4325 4325 F DEBUG : ABI: 'arm64'
04-03 13:14:57.473 4325 4325 F DEBUG : pid: 25785, tid: 26468, name: HwBinder:25785_ >>> system_server <<<
04-03 13:14:57.473 4325 4325 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
04-03 13:14:57.479 4325 4325 F DEBUG : Abort message: 'Abort due to IGNSS hidl service failure, restarting system server'
04-03 13:14:57.479 4325 4325 F DEBUG : x0 0000000000000000 x1 0000000000006764 x2 0000000000000006 x3 0000000000000008
04-03 13:14:57.479 4325 4325 F DEBUG : x4 8000000000000000 x5 8000000000000000 x6 8000000000000000 x7 0000000000000080
04-03 13:14:57.479 4325 4325 F DEBUG : x8 0000000000000083 x9 4f26e9709e26a60b x10 0000000000000000 x11 ffffffffffffffff
04-03 13:14:57.479 4325 4325 F DEBUG : x12 0101010101010101 x13 0000000000000038 x14 ffffffffffffffff x15 000036a5425bfab8
04-03 13:14:57.479 4325 4325 F DEBUG : x16 0000005d38920fa8 x17 0000007b3dd496d0 x18 0000000000000000 x19 00000000000064b9
04-03 13:14:57.479 4325 4325 F DEBUG : x20 0000000000006764 x21 0000000000000083 x22 0000007b3eda7dc4 x23 0000000000000000
04-03 13:14:57.479 4325 4325 F DEBUG : x24 0000007a8ceea588 x25 0000007a8cdee000 x26 0000007a99b32588 x27 0000000000000000
04-03 13:14:57.479 4325 4325 F DEBUG : x28 0000007b41274050 x29 0000007a8cee9b00 x30 0000007b3dcfbb08
04-03 13:14:57.479 4325 4325 F DEBUG : sp 0000007a8cee9ac0 pc 0000007b3dcfbb28 pstate 0000000060000000
04-03 13:14:57.508 4325 4325 F DEBUG :
04-03 13:14:57.508 4325 4325 F DEBUG : backtrace:
04-03 13:14:57.508 4325 4325 F DEBUG : #00 pc 000000000001db28 /system/lib64/libc.so (abort+112)
04-03 13:14:57.508 4325 4325 F DEBUG : #01 pc 0000000000007f7c /system/lib64/liblog.so (__android_log_assert+312)
04-03 13:14:57.508 4325 4325 F DEBUG : #02 pc 0000000000069230 /system/lib64/libandroid_servers.so (GnssDeathRecipient::serviceDied(unsigned long, android::wp<android::hidl::base::V1_0::IBase> const&)+28)
04-03 13:14:57.508 4325 4325 F DEBUG : #03 pc 0000000000027e34 /system/lib64/libhidltransport.so (android::hardware::hidl_binder_death_recipient::binderDied(android::wp<android::hardware::IBinder> const&)+112)
04-03 13:14:57.508 4325 4325 F DEBUG : #04 pc 00000000000129e4 /system/lib64/libhwbinder.so (android::hardware::BpHwBinder::reportOneDeath(android::hardware::BpHwBinder::eek:bituary const&)+140)
04-03 13:14:57.508 4325 4325 F DEBUG : #05 pc 0000000000012900 /system/lib64/libhwbinder.so (android::hardware::BpHwBinder::sendObituary()+160)
04-03 13:14:57.508 4325 4325 F DEBUG : #06 pc 0000000000015458 /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::executeCommand(int)+848)
04-03 13:14:57.511 4325 4325 F DEBUG : #07 pc 0000000000015050 /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::getAndExecuteCommand()+160)
04-03 13:14:57.511 4325 4325 F DEBUG : #08 pc 000000000001574c /system/lib64/libhwbinder.so (android::hardware::IPCThreadState::joinThreadPool(bool)+60)
04-03 13:14:57.512 4325 4325 F DEBUG : #09 pc 000000000001f998 /system/lib64/libhwbinder.so (android::hardware::PoolThread::threadLoop()+24)
04-03 13:14:57.512 4325 4325 F DEBUG : #10 pc 0000000000011500 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+264)
04-03 13:14:57.512 4325 4325 F DEBUG : #11 pc 00000000000a9a50 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
04-03 13:14:57.512 4325 4325 F DEBUG : #12 pc 000000000006af34 /system/lib64/libc.so (__pthread_start(void*)+36)
04-03 13:14:57.512 4325 4325 F DEBUG : #13 pc 000000000001efc8 /system/lib64/libc.so (__start_thread+68)