ios上libevent在dns解析时崩溃的解决 2021-03-25 ios上libevent在dns解析时崩溃的解决libevent版本:2.0.11-stable 在DNS解析时需要使用ARC4RANDOM算法生成transaction id,而ios自带的算法库有问题,会导致崩溃。还好,libevents提供了另一套替代的算法库,使用该算法库可以不崩溃。 12_dns_base = evdns_base_new(_base, 0);evdns_base_nameserver_ip_add(_dns_base, "8.8.8.8"); link crypto_free double free This can happen if layout contains custom windows and there are compile errors in the project. 问题