2013/4/3 Ahso Aa <ahs...@yahoo.com>

> Hmm I use half a dozen of dlls hence no sscce. Most are dependencies of
> curl but I also use sdl and sdl_image.
> Surprisingly it works in mingw32 or VC2010 etc. but not mingw64.
> I want to try mingw64 to avoid redist dependencies. I also use a
> precompiled mingw64 from:
> http://qt-project.org/wiki/MinGW-64-bit
> (recommended 64bit package)
> So anything I could try? Thanks
>

If you could provide a sensible backtrace (gdb command "bt") that would
help.

Are all dependencies compiled with the same toolchain?

Can you try a 32-bit MinGW-w64, recompile everything, and see if you hit
the same problem?

Ruben


>
>
>
>
>   ------------------------------
> *From:* Ruben Van Boxem <vanboxem.ru...@gmail.com>
> *To:* mingw-w64-public@lists.sourceforge.net
> *Sent:* Wednesday, April 3, 2013 7:54 AM
> *Subject:* Re: [Mingw-w64-public] segfault
>
> Op 3 apr. 2013 07:41 schreef "Ahso Aa" <ahs...@yahoo.com> het volgende:
> >
> > Hi
> >  it works with mingw32 on Vista64 or on Linux/gcc 32 and 64bit. But with
> mingw64 I get:
> > a segmentation fault at IMG_Load:
> >
> > static int LoadGLTex(char *pFileName, int TextureId)
> > {
> > SDL_Surface* image = IMG_Load(pFileName);
> >
> > Any help on what to change?
> If you provide us with a sscce (http://sscce.org/) or at least a lot more
> details we might be able to figure out what's wrong.
> Ruben
> > Many thanks
> > Mike
> >
> >
> >
> ------------------------------------------------------------------------------
> > Minimize network downtime and maximize team effectiveness.
> > Reduce network management and security costs.Learn how to hire
> > the most talented Cisco Certified professionals. Visit the
> > Employer Resources Portal
> > http://www.cisco.com/web/learning/employer_resources/index.html
> > _______________________________________________
> > Mingw-w64-public mailing list
> > Mingw-w64-public@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
> >
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to