curl-library
Re: Mingw64 crash but VC is ok
Date: Sun, 27 Apr 2014 22:37:55 -0700 (PDT)
Thanks, as it's rather small, I simply paste it below. If you need more
details you have to tell me how to do that. So basically I get a file
from my remote server but it even crashes before doing anything at all.
Yesterday, I've played all day with different link details etc. in
Eclipse/mingw on Win8 without success. It simply works fine in VC11,
Linux, Mac.
Many thanks for your help.
--------
C:\Users\Michael\Desktop\X-Plane 10 Demo>gdb X-Plane.exe
GNU gdb (GDB) 7.1.90.20100730-cvs
Copyright © 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\Users\Michael\Desktop\X-Plane 10 Demo/X-Plane.exe...(no
debugging symbols found)...done.
(gdb) run
Starting program: C:\Users\Michael\Desktop\X-Plane 10 Demo/X-Plane.exe
[New Thread 5352.0x1318]
[New Thread 5352.0x12fc]
[New Thread 5352.0xa3c]
[New Thread 5352.0x9fc]
[New Thread 5352.0xc24]
[New Thread 5352.0xd28]
[New Thread 5352.0x1578]
[New Thread 5352.0x1658]
[New Thread 5352.0x153c]
[New Thread 5352.0xdf4]
[New Thread 5352.0x1534]
[New Thread 5352.0x14a4]
[New Thread 5352.0x8fc]
[New Thread 5352.0x1270]
[New Thread 5352.0xde4]
[New Thread 5352.0x1058]
[New Thread 5352.0x7f8]
[New Thread 5352.0x1494]
[New Thread 5352.0x6fc]
[New Thread 5352.0x14a0]
[New Thread 5352.0x5a4]
[New Thread 5352.0xc8]
[New Thread 5352.0x630]
[New Thread 5352.0xf60]
[New Thread 5352.0x720]
[New Thread 5352.0xce8]
[New Thread 5352.0x514]
[New Thread 5352.0x1254]
[New Thread 5352.0x50c]
[New Thread 5352.0x3c8]
[New Thread 5352.0xb98]
[New Thread 5352.0x32c]
[New Thread 5352.0x1090]
[New Thread 5352.0xee4]
[New Thread 5352.0x10bc]
[New Thread 5352.0x4ac]
[New Thread 5352.0x13a8]
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x0000000011f94caf in ?? ()
from C:\Users\Michael\Desktop\X-Plane 10 Demo\Aircraft\General Aviation\someAirplane\plugins\sp12\64\win.xpl
#2 0x0000000000000000 in ?? ()
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb)
________________________________
From: Daniel Stenberg <daniel@haxx.se>
To: Michael <scrat_here@yahoo.com>; libcurl development <curl-library@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