Re: Memory allocation in Windows error

2005-02-07 Thread edward hage
Tor Lillqvist wrote: edward hage writes: > I wrote a GTK-application in Linux and it works fine. That might just be a coincidence, it might *seem* to work fine, with some input data. Have you run it under valgrind on Linux? I never tried valgrind, I have it on my computer so just used it. I don't

Re: Memory allocation in Windows error

2005-02-07 Thread Tor Lillqvist
edward hage writes: > I wrote a GTK-application in Linux and it works fine. That might just be a coincidence, it might *seem* to work fine, with some input data. Have you run it under valgrind on Linux? Or, download an evaluation copy of Purify or BoundsChecker for Windows and run it under that.

Memory allocation in Windows error

2005-02-07 Thread edward hage
I wrote a GTK-application in Linux and it works fine. I cross-compiled it with mingw and now I have it running on Windows XP too. However under Windows I get some memory allocation errors which abort the program.In Linux no problems ... I get this error mainly when I am loading a file from disk