Hikey960 crashing after turn ON hotspot

Hi,

I have problem in turn ON hotspot. I have successfully built android using master branch. When I turn ON WiFi, it’s working fine. But, when I turn ON hotspot it’s getting crashed. Please go through the below logs for more information.

02-20 06:09:39.866 4733 5186 I chatty : uid=1000(system) Binder:4733_7 expire 1 line
02-20 06:09:42.766 4733 5186 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
02-20 06:09:59.626 6433 6433 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
02-20 06:09:59.629 6433 6433 E libc : Access denied finding property “persist.device_config.runtime_native_boot.profilebootclasspath”
02-20 06:09:59.629 6433 6433 E libc : Access denied finding property “persist.device_config.runtime_native_boot.enable_apex_image”
02-20 06:09:59.629 6433 6433 I AndroidRuntime: Using default boot image
02-20 06:09:59.629 6433 6433 E libc : Access denied finding property “persist.device_config.runtime_native_boot.disable_lock_profiling”
02-20 06:09:59.629 6433 6433 I AndroidRuntime: Leaving lock profiling enabled
02-20 06:09:59.629 6433 6433 E libc : Access denied finding property “persist.device_config.runtime_native_boot.enable_generational_cc”
02-20 06:09:59.632 6433 6433 I app_process: Core platform API reporting enabled, enforcing=false
02-20 06:09:59.626 6433 6433 W app_process: type=1400 audit(0.0:227): avc: denied { read } for name=“u:object_r:device_config_runtime_native_boot_prop:s0” dev=“tmpfs” ino=3171 scontext=u:r:shell:s0 tcontext=u:object_r:device_config_runtime_native_boot_prop:s0 tclass=file permissive=0
02-20 06:09:59.692 6433 6433 D app_process: Time zone APEX ICU file found: /apex/com.android.tzdata/etc/icu/icu_tzdata.dat
02-20 06:09:59.692 6433 6433 D app_process: I18n APEX ICU file found: /apex/com.android.i18n/etc/icu/icudt66l.dat
02-20 06:09:59.699 6433 6433 I app_process: The ClassLoaderContext is a special shared library.
02-20 06:09:59.626 6433 6433 W app_process: type=1400 audit(0.0:229): avc: denied { read } for name=“u:object_r:device_config_runtime_native_boot_prop:s0” dev=“tmpfs” ino=3171 scontext=u:r:shell:s0 tcontext=u:object_r:device_config_runtime_native_boot_prop:s0 tclass=file permissive=0
02-20 06:09:59.713 6433 6433 W app_process: JNI RegisterNativeMethods: attempt to register 0 native methods for android.media.AudioAttributes
02-20 06:09:59.718 6433 6433 D AndroidRuntime: Calling main entry com.android.commands.input.Input
02-20 06:09:59.721 4733 4766 V DisplayPowerController: Brightness [102] reason changing to: ‘manual’, previous reason: ‘manual [ dim ]’.
02-20 06:09:59.724 5116 5116 I TetheringManager: startTethering caller:com.android.settings
02-20 06:09:59.725 6433 6433 D AndroidRuntime: Shutting down VM
02-20 06:09:59.725 4733 5209 I WifiService: startSoftAp uid=1073
02-20 06:09:59.725 4733 4843 D WifiActiveModeWarden: Starting SoftApModeManager
02-20 06:09:59.725 4733 4843 I WifiNative: Vendor Hal not supported, ignoring start.
02-20 06:09:59.726 4733 5209 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
02-20 06:09:59.726 4733 5209 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
02-20 06:09:59.726 2421 2421 I hwservicemanager: Since android.hardware.wifi.hostapd@1.0::IHostapd/default is not registered, trying to start it as a lazy HAL.
02-20 06:09:59.727 4733 4843 D HostapdHal: Successfully triggered start of hostapd using HIDL
02-20 06:09:59.727 4733 5186 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
02-20 06:09:59.728 4685 6174 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
02-20 06:09:59.732 0 0 I init : starting service ‘hostapd’…
02-20 06:09:59.626 6433 6433 W app_process: type=1400 audit(0.0:230): avc: denied { read } for name=“u:object_r:device_config_runtime_native_boot_prop:s0” dev=“tmpfs” ino=3171 scontext=u:r:shell:s0 tcontext=u:object_r:device_config_runtime_native_boot_prop:s0 tclass=file permissive=0
02-20 06:09:59.738 4685 6174 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
02-20 06:09:59.747 6448 6448 I hostapd : Processing hidl events on FD 3
02-20 06:09:59.749 6448 6448 I HidlServiceManagement: Registered android.hardware.wifi.hostapd@1.1::IHostapd/default (start delay of 23ms)
02-20 06:09:59.750 4733 5188 I android_os_HwBinder: HwBinder: Starting thread pool for getting: android.hardware.wifi.hostapd@1.0::IHostapd/default
02-20 06:09:59.751 4733 5188 I HostapdHal: Completed initialization of IHostapd.
02-20 06:09:59.752 4680 4711 D AudioFlinger: mixer(0x3c00007d4efcf040) throttle end: throttle time(10)
02-20 06:09:59.752 4685 6174 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
02-20 06:09:59.740 0 0 I init : Control message: Processed ctl.interface_start for ‘android.hardware.wifi.hostapd@1.0::IHostapd/default’ from pid: 2421 (/system/bin/hwservicemanager)
02-20 06:09:59.762 4685 6174 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
02-20 06:09:59.773 4680 4711 D AudioFlinger: mixer(0x3c00007d4efcf040) throttle end: throttle time(10)
02-20 06:09:59.827 4733 4843 I WifiNative: Vendor Hal not supported, ignoring createApIface.
02-20 06:09:59.827 4733 4843 D WificondControl: Setting up interface for soft ap mode
02-20 06:09:59.830 4683 4683 I netd : interfaceGetCfg(“wlan0”) <0.38ms>
02-20 06:09:59.830 4733 4843 I WifiNative: Successfully setup Iface:{Name=wlan0,Id=1,Type=AP}
02-20 06:09:59.831 4733 4843 E SupplicantStaIfaceHal: checkHalVersionByInterfaceName: called but mServiceManager is null
02-20 06:09:59.831 4733 4843 E SupplicantStaIfaceHal: Method getKeyMgmtCapabilities is not supported in existing HAL
02-20 06:09:59.831 4733 4843 W HalDevMgr: isWifiStarted called but mWifi is null!?
02-20 06:09:59.831 4733 4733 D WifiService: handleWifiApStateChange: currentState=12 previousState=11 errorCode= -1 ifaceName=wlan0 mode=1
02-20 06:09:59.835 6448 6448 I hostapd : Add interface ‘wlan0’
02-20 06:09:59.837 6448 6448 I hostapd : rfkill: Cannot open RFKILL control device
02-20 06:09:59.842 5116 5116 D WifiTetherSettings: updating display config due to receiving broadcast action android.net.wifi.WIFI_AP_STATE_CHANGED
02-20 06:09:59.842 4733 5445 I WifiService: getWifiApConfiguration uid=1000
02-20 06:09:59.860 4733 5186 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
02-20 06:09:59.962 0 0 I : mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
02-20 06:10:00.003 0 0 I : mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
02-20 06:10:00.011 4890 4890 D KeyguardClockSwitch: Updating clock: 610
02-20 06:10:00.110 0 0 I : mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
02-20 06:10:00.151 0 0 I : mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
02-20 06:10:00.459 0 0 I wlcore : PHY firmware version: Rev 8.2.0.0.237
02-20 06:10:00.605 0 0 I wlcore : firmware booted (Rev 8.9.0.0.70)
02-20 06:10:00.628 4733 4750 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
02-20 06:10:00.633 0 0 I IPv6 : ADDRCONF(NETDEV_UP): wlan0: link is not ready
02-20 06:10:00.639 6448 6448 E hostapd : Using interface wlan0 with hwaddr 3c:a3:08:a8:2b:b7 and ssid “AndroidAP_5984”
02-20 06:10:00.656 0 0 I IPv6 : ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
02-20 06:10:00.661 4733 4750 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: true
02-20 06:10:00.667 5022 6449 I Tethering: [OffloadController] requestStatsUpdate: 0
02-20 06:10:00.671 4733 5186 I WifiService: updateInterfaceIpState uid=1073
02-20 06:10:00.675 4733 4839 W BestClock: java.time.DateTimeException: Missing NTP fix
02-20 06:10:00.682 6448 6448 I hostapd : wlan0: interface state UNINITIALIZED->ENABLED
02-20 06:10:00.683 6448 6448 I hostapd : wlan0: AP-ENABLED
02-20 06:10:00.683 4733 4843 W WifiDiags: no ring buffers found
02-20 06:10:00.683 4733 4843 D WifiDiags: startLogging() iface list is {wlan0} after adding wlan0
02-20 06:10:00.683 4733 4843 D SoftApManager: Soft AP is started
02-20 06:10:00.685 4683 4721 I netd : interfaceGetCfg(“wlan0”) <0.50ms>
02-20 06:10:00.685 4733 4843 D SoftApManager: SoftAp is ready for use
02-20 06:10:00.686 4733 4733 D WifiService: handleWifiApStateChange: currentState=13 previousState=12 errorCode= -1 ifaceName=wlan0 mode=1
02-20 06:10:00.686 4733 4843 D SoftApManager: Timeout delay: 600000
02-20 06:10:00.687 4733 4843 D SoftApManager: Resetting connected clients on start
02-20 06:10:00.687 4733 4843 D SoftApManager: Timeout message scheduled
02-20 06:10:00.687 4733 4843 E WifiNative: Could not get Iface object for interface null
02-20 06:10:00.688 2496 2500 E android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup4: Permission denied
02-20 06:10:00.688 2496 2500 E android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup2: Permission denied
02-20 06:10:00.688 4683 4721 I netd : interfaceGetCfg(“wlan0”) <0.41ms>
02-20 06:10:00.688 4733 4843 I WifiNative: Interface state changed on Iface:{Name=wlan0,Id=1,Type=AP}, isUp=true
02-20 06:10:00.688 4683 4721 W ServiceManager: Permission failure: android.permission.NETWORK_STACK from uid=1073 pid=5022
02-20 06:10:00.689 2496 2500 E android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup3: Permission denied
02-20 06:10:00.689 2496 2500 E android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup1: Permission denied
02-20 06:10:00.689 4683 4713 E Netd : Removing unknown address 192.168.43.114/24 from ifindex 6
02-20 06:10:00.689 2496 2500 E android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup6: Permission denied
02-20 06:10:00.691 4683 4721 I netd : interfaceSetCfg() <3.01ms>
02-20 06:10:00.691 4683 4717 I netd : interfaceGetCfg(“wlan0”) <2.39ms>
02-20 06:10:00.692 4733 4843 D WifiService: updateInterfaceIpState: ifaceName=wlan0 mode=-1 previous mode= null
02-20 06:10:00.695 4733 5209 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.696 5116 6299 W SharedPreferencesLogger: Tried to log unloggable object=AndroidAP_5984
02-20 06:10:00.696 4733 5186 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.696 4733 5445 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.697 4733 5445 I WifiService: setWifiApConfiguration uid=1000
02-20 06:10:00.697 5116 5116 D WifiTetherApBandPref: 5Ghz not supported, updating band index to 0
02-20 06:10:00.697 5116 5116 I Choreographer: Skipped 50 frames! The application may be doing too much work on its main thread.
02-20 06:10:00.705 5116 5116 D WifiTetherSettings: updating display config due to receiving broadcast action android.net.conn.TETHER_STATE_CHANGED
02-20 06:10:00.705 4733 5445 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.707 4733 5186 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.707 4733 5445 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.708 4733 5445 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.708 4733 5445 I WifiService: setWifiApConfiguration uid=1000
02-20 06:10:00.708 5116 5116 D WifiTetherApBandPref: 5Ghz not supported, updating band index to 0
02-20 06:10:00.708 5116 6299 W SharedPreferencesLogger: Tried to log unloggable object=AndroidAP_5984
02-20 06:10:00.709 5116 5116 D WifiTetherSettings: updating display config due to receiving broadcast action android.net.wifi.WIFI_AP_STATE_CHANGED
02-20 06:10:00.709 4733 5445 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.711 4733 5445 I chatty : uid=1000(system) Binder:4733_B identical 2 lines
02-20 06:10:00.711 4733 5445 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.711 5116 6299 W SharedPreferencesLogger: Tried to log unloggable object=AndroidAP_5984
02-20 06:10:00.711 4733 5445 I WifiService: setWifiApConfiguration uid=1000
02-20 06:10:00.686 2496 2496 W Binder:2496_2: type=1400 audit(0.0:231): avc: denied { read } for name=“wakeup4” dev=“sysfs” ino=16548 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
02-20 06:10:00.711 5116 5116 D WifiTetherApBandPref: 5Ghz not supported, updating band index to 0
02-20 06:10:00.713 4733 4733 V SettingsProvider: Notifying for 0: content://settings/secure/sysui_qs_tiles
02-20 06:10:00.718 4733 4733 V SettingsProvider: Notifying for 0: content://settings/secure/qs_auto_tiles
02-20 06:10:00.686 2496 2496 W Binder:2496_2: type=1400 audit(0.0:232): avc: denied { read } for name=“wakeup2” dev=“sysfs” ino=12528 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_rtc:s0 tclass=dir permissive=0
02-20 06:10:00.732 4683 4683 I netd : trafficSwapActiveStatsMap() <56.21ms>
02-20 06:10:00.735 4683 4683 I netd : tetherGetStats() <1.56ms>
02-20 06:10:00.737 4733 4839 W BestClock: java.time.DateTimeException: Missing NTP fix
02-20 06:10:00.738 4733 4840 W BestClock: java.time.DateTimeException: Missing NTP fix
02-20 06:10:00.739 4683 4683 W ServiceManager: Permission failure: android.permission.NETWORK_STACK from uid=1073 pid=5022
02-20 06:10:00.739 4683 4683 D TetherController: tetherInterface(wlan0)
02-20 06:10:00.739 4733 4840 W BestClock: java.time.DateTimeException: Missing NTP fix
02-20 06:10:00.740 4683 4683 I netd : tetherInterfaceAdd(“wlan0”) <1.36ms>
02-20 06:10:00.746 4683 4683 E Netd : getIfIndex: cannot find interface wlan0
02-20 06:10:00.746 4683 4683 E Netd : inconceivable! added interface wlan0 with no index
02-20 06:10:00.746 4683 4683 I netd : networkAddInterface(99, “wlan0”) <2.39ms>
02-20 06:10:00.748 4683 4683 W ServiceManager: Permission failure: android.permission.NETWORK_STACK from uid=1073 pid=5022
02-20 06:10:00.749 4683 4683 I netd : networkAddRoute(99, “wlan0”, “192.168.43.0/24”, “”) <1.62ms>
02-20 06:10:00.686 2496 2496 W Binder:2496_2: type=1400 audit(0.0:233): avc: denied { read } for name=“wakeup3” dev=“sysfs” ino=16065 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
02-20 06:10:00.751 4683 4683 W ServiceManager: Permission failure: android.permission.NETWORK_STACK from uid=1073 pid=5022
02-20 06:10:00.754 4683 4683 I netd : networkAddRoute(99, “wlan0”, “fe80::/64”, “”) <1.78ms>
02-20 06:10:00.764 5022 5142 W rkstack.proces: Core platform API violation: Ljava/io/FileDescriptor;->descriptor:I from Landroid/net/ip/RouterAdvertisementDaemon; using JNI
02-20 06:10:00.769 5022 5063 I Tethering: [OffloadController] requestStatsUpdate: 0
02-20 06:10:00.686 2496 2496 W Binder:2496_2: type=1400 audit(0.0:234): avc: denied { read } for name=“wakeup1” dev=“sysfs” ino=12492 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
02-20 06:10:00.775 4733 5445 I WifiService: updateInterfaceIpState uid=1073
02-20 06:10:00.775 4733 4843 D WifiService: updateInterfaceIpState: ifaceName=wlan0 mode=1 previous mode= -1
02-20 06:10:00.775 5116 5116 D WifiTetherSettings: updating display config due to receiving broadcast action android.net.conn.TETHER_STATE_CHANGED
02-20 06:10:00.775 4890 4890 I TetheringManager: registerTetheringEventCallback:com.android.systemui
02-20 06:10:00.776 4683 4683 W ServiceManager: Permission failure: android.permission.NETWORK_STACK from uid=1073 pid=5022
02-20 06:10:00.776 4683 4683 D TetherController: Setting IP forward enable = 1
02-20 06:10:00.776 4683 4683 I netd : ipfwdEnableForwarding(“Tethering”) <0.60ms>
02-20 06:10:00.776 4733 5445 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.776 4683 4683 W ServiceManager: Permission failure: android.permission.NETWORK_STACK from uid=1073 pid=5022
02-20 06:10:00.777 4683 4683 D TetherController: Starting tethering services
02-20 06:10:00.778 4683 4683 D TetherController: Tethering services running
02-20 06:10:00.778 4683 4683 I netd : tetherStartWithConfiguration() <1.36ms>
02-20 06:10:00.778 5116 6299 W SharedPreferencesLogger: Tried to log unloggable object=AndroidAP_5984
02-20 06:10:00.778 4733 5209 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.778 4733 5209 I chatty : uid=1000(system) Binder:4733_9 identical 1 line
02-20 06:10:00.779 4733 5209 I WifiService: getWifiApConfiguration uid=1000
02-20 06:10:00.780 4733 5445 I WifiService: setWifiApConfiguration uid=1000
02-20 06:10:00.780 4733 4847 D ConnectivityService: NetReassign [no changes]
02-20 06:10:00.780 5116 5116 D WifiTetherApBandPref: 5Ghz not supported, updating band index to 0
02-20 06:10:00.781 2421 2421 I hwservicemanager: getTransport: Cannot find entry android.hardware.tetheroffload.config@1.0::IOffloadConfig/default in either framework or device manifest.
--------- beginning of crash
02-20 06:10:00.783 5022 5142 E AndroidRuntime: FATAL EXCEPTION: android.tethering
02-20 06:10:00.783 5022 5142 E AndroidRuntime: Process: com.android.networkstack.process, PID: 5022
02-20 06:10:00.783 5022 5142 E AndroidRuntime: java.util.NoSuchElementException
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at android.os.HwBinder.getService(Native Method)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at android.os.HwBinder.getService(HwBinder.java:83)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at android.hardware.tetheroffload.config.V1_0.IOffloadConfig.getService(IOffloadConfig.java:73)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at android.hardware.tetheroffload.config.V1_0.IOffloadConfig.getService(IOffloadConfig.java:80)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at com.android.server.connectivity.tethering.OffloadHardwareInterface.initOffloadConfig(OffloadHardwareInterface.java:145)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at com.android.server.connectivity.tethering.OffloadController.start(OffloadController.java:152)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at com.android.server.connectivity.tethering.Tethering$TetherMasterSM$OffloadWrapper.start(Tethering.java:1856)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at com.android.server.connectivity.tethering.Tethering$TetherMasterSM$TetherModeAliveState.enter(Tethering.java:1649)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at com.android.networkstack.tethering.util.StateMachine$SmHandler.invokeEnterMethods(StateMachine.java:1037)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at com.android.networkstack.tethering.util.StateMachine$SmHandler.performTransitions(StateMachine.java:879)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at com.android.networkstack.tethering.util.StateMachine$SmHandler.handleMessage(StateMachine.java:819)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at android.os.Looper.loop(Looper.java:216)
02-20 06:10:00.783 5022 5142 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67)
02-20 06:10:00.787 4733 5445 V RescueParty: Disabled because of active USB connection
02-20 06:10:00.788 4733 6456 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
02-20 06:10:00.790 5022 5142 I Process : Sending signal. PID: 5022 SIG: 9
02-20 06:10:00.790 6455 6455 I dnsmasq : started, version 2.51 cachesize 150
02-20 06:10:00.790 6455 6455 I dnsmasq : compile time options: IPv6 GNU-getopt no-I18N DHCP no-scripts
02-20 06:10:00.790 6455 6455 W dnsmasq : warning: no upstream servers configured
02-20 06:10:00.790 6455 6455 I dnsmasq : read /etc/hosts - 2 addresses
02-20 06:10:00.791 6455 6455 I dnsmasq : Closing wildcard listener family=2
02-20 06:10:00.791 6455 6455 I dnsmasq : Closing wildcard listener family=10
02-20 06:10:00.686 2496 2496 W Binder:2496_2: type=1400 audit(0.0:235): avc: denied { read } for name=“wakeup6” dev=“sysfs” ino=19328 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
02-20 06:10:00.840 4733 4748 D NetworkStats: OffloadController: binderDied
02-20 06:10:00.840 4733 5445 I ActivityManager: Process com.android.networkstack.process (pid 5022) has died: pers PER
02-20 06:10:00.840 4733 5439 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ REQUEST id=9, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN RequestorUid: 1073 RequestorPackageName: com.android.networkstack.tethering] ], android.os.BinderProxy@6654033)
02-20 06:10:00.840 4733 4925 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=15, [ RequestorUid: 1073 RequestorPackageName: com.android.networkstack.tethering] ], android.os.BinderProxy@d1e0ff0)
02-20 06:10:00.841 4733 4761 I libprocessgroup: Successfully killed process cgroup uid 1073 pid 5022 in 0ms
02-20 06:10:00.841 4733 4847 D ConnectivityService: releasing NetworkRequest [ REQUEST id=9, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN RequestorUid: 1073 RequestorPackageName: com.android.networkstack.tethering] ] (release request)
02-20 06:10:00.841 4733 5445 W ActivityManager: Scheduling restart of crashed service com.android.networkstack/com.android.server.NetworkStackService in 0ms
02-20 06:10:00.841 4733 5445 W ActivityManager: Scheduling restart of crashed service com.android.networkstack.tethering/com.android.server.connectivity.tethering.TetheringService in 0ms
02-20 06:10:00.841 4733 5445 W ActivityManager: Re-adding persistent process ProcessRecord{2481969 5022:com.android.networkstack.process/1073}
02-20 06:10:00.842 4679 4679 I Zygote : Process 5022 exited due to signal 9 (Killed)
02-20 06:10:00.842 4733 4733 E ConnectivityModuleConnector: Lost network stack
02-20 06:10:00.842 4733 5445 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 1073; state: ENABLED
02-20 06:10:00.843 4733 4733 E ConnectivityModuleConnector: ERROR Lost network stack
02-20 06:10:00.845 4733 4759 I DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
02-20 06:10:00.848 4733 4733 E Zygote : System zygote died with exception
02-20 06:10:00.848 4733 4733 E Zygote : java.lang.IllegalStateException: Lost network stack
02-20 06:10:00.848 4733 4733 E Zygote : at android.net.ConnectivityModuleConnector.maybeCrashWithTerribleFailure(ConnectivityModuleConnector.java:335)
02-20 06:10:00.848 4733 4733 E Zygote : at android.net.ConnectivityModuleConnector.access$400(ConnectivityModuleConnector.java:51)
02-20 06:10:00.848 4733 4733 E Zygote : at android.net.ConnectivityModuleConnector$ModuleServiceConnection.onServiceDisconnected(ConnectivityModuleConnector.java:281)
02-20 06:10:00.848 4733 4733 E Zygote : at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1938)
02-20 06:10:00.848 4733 4733 E Zygote : at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1953)
02-20 06:10:00.848 4733 4733 E Zygote : at android.os.Handler.handleCallback(Handler.java:903)
02-20 06:10:00.848 4733 4733 E Zygote : at android.os.Handler.dispatchMessage(Handler.java:99)
02-20 06:10:00.848 4733 4733 E Zygote : at android.os.Looper.loop(Looper.java:216)
02-20 06:10:00.848 4733 4733 E Zygote : at com.android.server.SystemServer.run(SystemServer.java:568)
02-20 06:10:00.848 4733 4733 E Zygote : at com.android.server.SystemServer.main(SystemServer.java:366)
02-20 06:10:00.848 4733 4733 E Zygote : at java.lang.reflect.Method.invoke(Native Method)
02-20 06:10:00.848 4733 4733 E Zygote : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
02-20 06:10:00.848 4733 4733 E Zygote : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:927)
02-20 06:10:00.848 4733 4733 D AndroidRuntime: Shutting down VM
02-20 06:10:00.848 4733 4733 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
02-20 06:10:00.848 4733 4733 E AndroidRuntime: java.lang.IllegalStateException: Lost network stack
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at android.net.ConnectivityModuleConnector.maybeCrashWithTerribleFailure(ConnectivityModuleConnector.java:335)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at android.net.ConnectivityModuleConnector.access$400(ConnectivityModuleConnector.java:51)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at android.net.ConnectivityModuleConnector$ModuleServiceConnection.onServiceDisconnected(ConnectivityModuleConnector.java:281)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1938)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1953)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:903)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at android.os.Looper.loop(Looper.java:216)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:568)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:366)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
02-20 06:10:00.848 4733 4733 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:927)
02-20 06:10:00.850 4733 4733 I DropBoxManagerService: add tag=system_server_crash isTagEnabled=true flags=0x2
02-20 06:10:00.853 4733 4733 I Process : Sending signal. PID: 4733 SIG: 9
02-20 06:10:00.858 4679 4679 D Zygote : Forked child process 6459
02-20 06:10:00.864 6459 6459 I libc : SetHeapTaggingLevel: tag level set to 1
02-20 06:10:00.868 6459 6459 E rkstack.proces: Unknown bits set in runtime_flags: 0x80000
02-20 06:10:00.879 2638 2651 I adbd : jdwp connection from 6459
02-20 06:10:01.046 2418 2418 I lowmemorykiller: lmkd data connection dropped
02-20 06:10:01.046 2418 2418 I lowmemorykiller: closing lmkd data connection
02-20 06:10:01.046 2686 5164 D BufferPoolAccessor: bufferpool2 0x3c00006ffa0276f0 : 0(0 size) total buffers - 0(0 size) used buffers - 3/7 (recycle/alloc) - 4/6 (fetch/transfer)
02-20 06:10:01.046 2686 3205 D BufferPoolAccessor: bufferpool2 0x3c00006ffa02ca30 : 0(0 size) total buffers - 0(0 size) used buffers - 12/15 (recycle/alloc) - 3/14 (fetch/transfer)
02-20 06:10:01.046 2686 5165 D BufferPoolAccessor: bufferpool2 0x3c00006ffa026df0 : 0(0 size) total buffers - 0(0 size) used buffers - 6/10 (recycle/alloc) - 4/9 (fetch/transfer)
02-20 06:10:01.047 2686 5164 D BufferPoolAccessor: Destruction - bufferpool2 0x3c00006ffa0276f0 cached: 0/0M, 0/0% in use; allocs: 7, 43% recycled; transfers: 6, 33% unfetced
02-20 06:10:01.047 2686 3205 D BufferPoolAccessor: Destruction - bufferpool2 0x3c00006ffa02ca30 cached: 0/0M, 0/0% in use; allocs: 15, 80% recycled; transfers: 14, 79% unfetced
02-20 06:10:01.047 2686 5164 D BufferPoolAccessor: Destruction - bufferpool2 0x3c00006ffa026df0 cached: 0/0M, 0/0% in use; allocs: 10, 60% recycled; transfers: 9, 56% unfetced

I am facing similar issue, but hikey960 is not crashing.
Unable to turn on hotspot in android 10. Below error I am getting :
04-24 22:58:36.957 2685 2783 E HostapdHal: Registering IHostapd service ready callback.
04-24 22:58:36.958 2685 2783 I android_os_HwBinder: HwBinder: Starting thread pool for getting: android.hidl.manager@1.0::IServiceManager/default
04-24 22:58:36.962 2685 2783 E HostapdHal: Successfully triggered start of hostapd using HIDL
04-24 22:58:41.989 2685 2783 E WifiNative: Failed to connect to hostapd
04-24 22:58:41.989 2685 2783 E WifiNative: Failed to start hostapd
04-24 22:58:41.989 2685 2783 E SoftApManager: setup failure when creating ap interface.