Hi all. I got a Segmentation Fault in my project (it uses libCURL +
OpenSSL + zlib + libssh2). Now libCURL crashes at curl_easy_cleanup.
Crashing appearing only if I use HTTPS connection. The project is a
single-threaded console app with some HTTP and HTTPS requests. Code is
looking like:
class Base
{
Base()
{
curl_easy_init
}
//here some methods with curl handle
virtual ~Base()
{
curl_easy_cleanup
}
}
APP uses a Derived class. Tried to use --static-libstd and
--static-libstdc++ linker options - no changes. libcurl linked statically,
zlib and openssl dynamically. I compiled all of these libraries myself. I
profiled my app with dependency walker and in profiling I saw the
following:
GetProcAddress(0x00400000 [APP.EXE], "_OPENSSL_isservice") called from
"LIBEAY32.DLL" at address 0x004A5D45 and returned NULL. Error: (127).
The function's name starts with an underscore, but in Export Table of
libeay32.dll this functions have no underscore in the beggining. Could it
be a problem? And how to solve this if it could?
Additional info:
COMPILER: gcc 4.6.2 (MinGW + MSYS)
IDE: Eclipse 3.7.1
OS: Win 7 Pro x86
LIBS: libCURL 7.24.0, OpenSSL 1.0.0g, zlib 1.2.6, libSSH2 1.4.0
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org