nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping

本文主要是介绍nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

更新Xcode8.2以后 做个项目,发现控制台有如下的打印,项目可以正常运行。然而 出现了这样....fail,开始以为是与网络有关系,有类似socket的字样,然后去stackflower查阅资料,得知还是如8.1是多余的打印信息。 

Xcode->EditScheme ->Run -> Arguments ->Environment Variables ->添加 Name(OS_ACTIVITY_MODE):Value(disable)即可去除这条打印信息。



[] nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace:

        [x86_64] libnetcore-856.30.16

    0   libsystem_network.dylib             0x000000010caec666 __nw_create_backtrace_string + 123

    1   libnetwork.dylib                    0x000000010d8da006 nw_socket_add_input_handler + 3164

    2   libnetwork.dylib                    0x000000010d8b7555 nw_endpoint_flow_attach_protocols + 3768

    3   libnetwork.dylib                    0x000000010d8b6572 nw_endpoint_flow_setup_socket + 563

    4   libnetwork.dylib                    0x000000010d8b5298 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 2612

    5   libnetwork.dylib                    0x000000010d8d0ae1 nw_endpoint_handler_path_change + 1261

    6   libnetwork.dylib                    0x000000010d8d0510 nw_endpoint_handler_start + 570

    7   libdispatch.dylib                   0x000000010c869978 _dispatch_call_block_and_release + 12

    8   libdispatch.dylib                   0x000000010c8930cd _dispatch_client_callout + 8

    9   libdispatch.dylib                   0x000000010c870e17 _dispatch_queue_serial_drain + 236

    10  libdispatch.dylib                   0x000000010c871b4b _dispatch_queue_invoke + 1073

    11  libdispatch.dylib                   0x000000010c874385 _dispatch_root_queue_drain + 720

    12  libdispatch.dylib                   0x000000010c874059 _dispatch_worker_thread3 + 123

    13  libsystem_pthread.dylib             0x000000010cc3c4de _pthread_wqthread + 1129

    14  libsystem_pthread.dylib             0x000000010cc3a341 start_wqthread + 13

这篇关于nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/775413

相关文章

poj 3050 dfs + set的妙用

题意: 给一个5x5的矩阵,求由多少个由连续6个元素组成的不一样的字符的个数。 解析: dfs + set去重搞定。 代码: #include <iostream>#include <cstdio>#include <set>#include <cstdlib>#include <algorithm>#include <cstring>#include <cm

Collection List Set Map的区别和联系

Collection List Set Map的区别和联系 这些都代表了Java中的集合,这里主要从其元素是否有序,是否可重复来进行区别记忆,以便恰当地使用,当然还存在同步方面的差异,见上一篇相关文章。 有序否 允许元素重复否 Collection 否 是 List 是 是 Set AbstractSet 否

论文翻译:ICLR-2024 PROVING TEST SET CONTAMINATION IN BLACK BOX LANGUAGE MODELS

PROVING TEST SET CONTAMINATION IN BLACK BOX LANGUAGE MODELS https://openreview.net/forum?id=KS8mIvetg2 验证测试集污染在黑盒语言模型中 文章目录 验证测试集污染在黑盒语言模型中摘要1 引言 摘要 大型语言模型是在大量互联网数据上训练的,这引发了人们的担忧和猜测,即它们可能已

多路转接之select(fd_set介绍,参数详细介绍),实现非阻塞式网络通信

目录 多路转接之select 引入 介绍 fd_set 函数原型 nfds readfds / writefds / exceptfds readfds  总结  fd_set操作接口  timeout timevalue 结构体 传入值 返回值 代码 注意点 -- 调用函数 select的参数填充  获取新连接 注意点 -- 通信时的调用函数 添加新fd到

Android set Tag, findViewWithTag使用

设置了tag为“principal”的view ImageView principal = (ImageView) findViewById(R.id.imagen_home_0);principal.setTag("principal"); 在其它地方获取,获取已经设置了tag为“principal”的view LayoutInflater inflater = LayoutInflate

android java.io.IOException: open failed: ENOENT (No such file or directory)-api23+权限受权

问题描述 在安卓上,清单明明已经受权了读写文件权限,但偏偏就是创建不了目录和文件 调用mkdirs()总是返回false. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/><uses-permission android:name="android.permission.READ_E

UserWarning: mkl-service package failed to import

安装完成anaconda,并设置了两个环境变量  之后再控制台运行python环境,输入import numpy as np,提示错误 D:\InstallFolder\Anaconda3\lib\site-packages\numpy\__init__.py:143: UserWarning: mkl-service package failed to import, therefore

Python安装llama库出错“metadata-generation-failed”

Python安装llama库出错“metadata-generation-failed” 1. 安装llama库时出错2. 定位问题1. 去官网下载llama包 2.修改配置文件2.1 解压文件2.2 修改配置文件 3. 本地安装文件 1. 安装llama库时出错 2. 定位问题 根据查到的资料,发现时llama包中的execfile函数已经被下线了,需要我们手动修改代码后

C++ STL关联容器Set与集合论入门

1. 简介 Set(集合)属于关联式容器,也是STL中最实用的容器,关联式容器依据特定的排序准则,自动为其元素排序。Set集合的底层使用一颗红黑树,其属于一种非线性的数据结构,每一次插入数据都会自动进行排序,注意,不是需要排序时再排序,而是每一次插入数据的时候其都会自动进行排序。因此,Set中的元素总是顺序的。 Set的性质有:数据自动进行排序且数据唯一,是一种集合元素,允许进行数学上的集合相

Java Socket服务器端与客户端的编程步骤总结

一,InetAddress类: InetAddress类没有构造方法,所以不能直接new出一个对象; 可以通过InetAddress类的静态方法获得InetAddress的对象; InetAddress.getLocalHost(); InetAddress.getByName(""); 类主要方法: String - address.getHostName(); String - addre