[] nw_host_stats_add_src recv too small, received 24, expected 28
来源:互联网 发布:suse linux ssh 编辑:程序博客网 时间:2024/06/07 05:25
xcode8 iOS10 突然报下面错误
2016-11-26 08:54:28.391921 OrdersManager[618:20889] [] nw_host_stats_add_src recv too small, received 24, expected 282016-11-26 08:54:28.392575 OrdersManager[618:20889] [] nw_host_stats_add_src recv too small, received 24, expected 282016-11-26 08:54:28.395006 OrdersManager[618:20896] [] nw_host_stats_add_src recv too small, received 24, expected 282016-11-26 08:54:28.398352 OrdersManager[618:20896] [] ____nwlog_simulate_crash_inner_block_invoke dlopen CrashReporterSupport failed2016-11-26 08:54:28.398608 OrdersManager[618:20896] [] __nwlog_err_simulate_crash simulate crash failed "nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available"2016-11-26 08:54:28.399453 OrdersManager[618:20896] [] nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace: [x86_64] libnetcore-856.20.4 0 libsystem_network.dylib 0x0000000106b24682 __nw_create_backtrace_string + 123 1 libnetwork.dylib 0x0000000106ff8932 nw_socket_add_input_handler + 3100 2 libnetwork.dylib 0x0000000106fd64f4 nw_endpoint_flow_attach_protocols + 3768 3 libnetwork.dylib 0x0000000106fd5511 nw_endpoint_flow_setup_socket + 563 4 libnetwork.dylib 0x0000000106fd4270 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 2612 5 libnetwork.dylib 0x0000000106fef44d nw_endpoint_handler_path_change + 1261 6 libnetwork.dylib 0x0000000106feee7c nw_endpoint_handler_start + 570 7 libnetwork.dylib 0x0000000107006ae5 nw_endpoint_resolver_start_next_child + 2240 8 libdispatch.dylib 0x00000001068a1980 _dispatch_call_block_and_release + 12 9 libdispatch.dylib 0x00000001068cb0cd _dispatch_client_callout + 8 10 libdispatch.dylib 0x00000001068a8e6b _dispatch_queue_serial_drain + 236 11 libdispatch.dylib 0x00000001068a9b9f _dispatch_queue_invoke + 1073 12 libdispatch.dylib 0x00000001068ac3b7 _dispatch_root_queue_drain + 720 13 libdispatch.dylib 0x00000001068ac08b _dispatch_worker_thread3 + 123 14 libsystem_pthread.dylib 0x0000000106c744de _pthread_wqthread + 1129 15 libsystem_pthread.dylib 0x0000000106c72341 start_wqthread + 13
解决办法:添加环境变量 OS_ACTIVIITY_MODE 赋值为disable
流程:
- 1.选择 Product -->Scheme-->Edit Scheme
- 2.选择 Arguments
- 3.在Environment Variables添加一个环境变量 OS_ACTIVITY_MODE 设置值为"disable"
- 完美解决
0 0
- [] nw_host_stats_add_src recv too small, received 24, expected 28
- ios开发中 出现【nw_host_stats_add_src recv too small, received 24, expected 28】错误解决办法
- ios nw_host_stats_add_src recv too small, nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK fa
- iOS开发中 ios nw_host_stats_add_src recv too small, nw_socket_set_common_sockopts setsockopt SO_NOAPNFA
- buffer too small
- buffer too small
- Buffer is too small
- c++ buffer is too small
- sftp报Received message too long 1114795883
- 关于time step too small的含义
- The copy directory is too small
- java "Too small initial heap" 错误
- str.Format 错误 Buffer too small
- CString.Format报Buffer too small问题
- strcpy_s Buffer is too small 出错根本原因
- xsql---Buffer too small for record data
- CString.Format报Buffer too small问题
- CString.Format报Buffer too small问题
- TCP的确认延时机制及Windows系统的确认延时修改
- web app中meta学习
- NodeJS学习笔记整理(四)模块介绍
- JavaScript var声明变量和直接用标识符初始化的细节
- java中取得点击那个按钮的文字
- [] nw_host_stats_add_src recv too small, received 24, expected 28
- archivelog归档模式
- python实现-恒定数量进程池的echo server模型 基于multiprocessing
- 期货里的bid和offer以及自动撮合交易
- IE9以下版本浏览器不兼容JavaScript功能解决方案合集
- 电子地图的概念
- db2expln 查看执行plan
- easyui的combotree之模糊过滤
- WebRTC音视频同步机制实现分析