Thursday, 15 January 2015

ssl - Websockets SSL_library_init method crash in ios Simulator -



ssl - Websockets SSL_library_init method crash in ios Simulator -

i utilize cmake cross compile libwebsockets ssl support, when include on ios app. crashed.

here crash error message:

[1414827913:9557] notice: initial logging level 7 [1414827913:9557] notice: initial logging level 7 [1414827913:9557] notice: initial logging level 7 [1414827913:9557] notice: library version: 1.3 b47fc59 [1414827913:9557] notice: library version: 1.3 b47fc59 [1414827913:9558] notice: library version: 1.3 b47fc59 [1414827913:9558] notice: ipv6 compiled in , enabled [1414827913:9558] notice: ipv6 compiled in , enabled [1414827913:9558] notice: ipv6 compiled in , enabled [1414827913:9558] notice: libev back upwards not compiled in [1414827913:9558] notice: libev back upwards not compiled in [1414827913:9558] notice: libev back upwards not compiled in [1414827913:9559] notice: static allocation: 4520 + (16 x 256 fds) = 8616 bytes [1414827913:9559] notice: static allocation: 4520 + (16 x 256 fds) = 8616 bytes [1414827913:9559] notice: static allocation: 4520 + (16 x 256 fds) = 8616 bytes [1414827913:9560] notice: canonical_hostname = a03101308205.local [1414827913:9560] notice: canonical_hostname = a03101308205.local [1414827913:9560] notice: canonical_hostname = a03101308205.local [1414827913:9560] notice: per-conn mem: 208 + 1594 headers + protocol rx buf [1414827913:9561] notice: per-conn mem: 208 + 1594 headers + protocol rx buf [1414827913:9562] notice: per-conn mem: 208 + 1594 headers + protocol rx buf cpp-tests ios(84001,0x1194eb000) malloc: *** error object 0x7fd491252320: double free *** set breakpoint in malloc_error_break debug cpp-tests ios(84001,0x119468000) malloc: *** error object 0x7fd491297c70: wrong checksum freed object - object modified after beingness freed. *** set breakpoint in malloc_error_break debug

if remove ssl back upwards of libwebcoskets, fine.

my os yosemite 10.10 , ios sdk 8.1, xcode version 6.1, libwebsockets version 1.3

ios ssl libwebsockets

No comments:

Post a Comment