curl-library
Re: Mingw64 crash but VC is ok
Date: Sun, 27 Apr 2014 23:18:48 -0700 (PDT)
PSPS:
removed the strip command and gdb debugger hangs just after:
curl_global_init(CURL_GLOBAL_ALL);
________________________________
From: Daniel Stenberg <daniel_at_haxx.se>
To: Michael <scrat_here_at_yahoo.com>; libcurl development <curl-library_at_cool.haxx.se>
Sent: Sunday, April 27, 2014 11:36 PM
Subject: Re: Mingw64 crash but VC is ok
On Sat, 26 Apr 2014, Michael wrote:
> my app works fine in Linux/Mac/win32 but crashes on Win8 with mingw64. Am I
> doing something wrong? I get a segfault with something alike: "cannot read
> memory"
You need to give us lots of more info for us to be able to tell anything. What
libcurl version and what libcurl options are you using? Can you show us a full
(smallish) program that repeats the problem? How far does the request reach/go
before the crash? CURLOPT_VERBOSE may offer some additional clues.
segfault in windows? I didn't know you could get that. Can't you run the code
with a debugger and see where it crashes?
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-28