我的开发环境是==9165== Memcheck, a memory error detector
==9165== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==9165== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==9165== Command: ./pure_lua_test
==9165==
==9165== Invalid read of size 4
==9165== at 0x4E9EE97: lua_pushcclosure (in /usr/local/src/torch-2015-05-25/install/lib/libluajit.so)
==9165== by 0x4EB4CDD: luaL_openlibs (in /usr/local/src/torch-2015-05-25/install/lib/libluajit.so)
==9165== by 0x400700: main (pure_lua_test.C:13)
==9165== Address 0x8 is not stack'd, malloc'd or (recently) free'd
==9165==
==9165==
==9165== Process terminating with default action of signal 11 (SIGSEGV)
==9165== Access not within mapped region at address 0x8
==9165== at 0x4E9EE97: lua_pushcclosure (in /usr/local/src/torch-2015-05-25/install/lib/libluajit.so)
==9165== by 0x4EB4CDD: luaL_openlibs (in /usr/local/src/torch-2015-05-25/install/lib/libluajit.so)
==9165== by 0x400700: main (pure_lua_test.C:13)
==9165== If you believe this happened as a result of a stack
==9165== overflow in your program's main thread (unlikely but
==9165== possible), you can try to increase the size of the
==9165== main thread stack using the --main-stacksize= flag.
==9165== The main thread stack size used in this run was 8388608.
==9165==
==9165== HEAP SUMMARY:
==9165== in use at exit: 0 bytes in 0 blocks
==9165== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==9165==
==9165== All heap blocks were freed -- no leaks are possible
==9165==
==9165== For counts of detected and suppressed errors, rerun with: -v
==9165== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
,gem --version(2.0.14)
。使用CocoaPods安装第三方库时,
pod --version(0.38.2)
我收到如下错误:
pod install --verbose --no-update
我曾尝试重新安装CocoaPods,但它没用。我也在互联网上搜索试图找到错误的解决方案,但没有适当的答案。有谁知道如何解决这个问题?提前谢谢。
答案 0 :(得分:0)
在我的情况下(我使用的是0.38.2),升级到0.39.beta
可以解决问题。
似乎cocoaPods
版0.38.x
有错误。当你执行pod install
时,你总会得到这个“无法发送统计信息:SSL_connect返回= 1 errno = 0状态= SSLv2 / v3读取服务器问候语A:sslv3警报握手失败”提示
答案 1 :(得分:0)
当我使用 pod install --verbose --no-update 时,无法发送stats.But当我使用 pod install 时,它已经工作了。< / p>