Re: GTK program (a Gimp plugin) crashes only on Windows



On 04/25/2012 06:58 PM, Alessandro Francesconi wrote:
Hello everyone, I'm facing a problem with the development of a plug-in
for The Gimp program.
I'm writing here because it uses GTK libs and, actually, the problem
regards a crash of a GTK widget.

my experience is that the memory allocator on windows works differently,
and thus memory errors in your program are less visible on Linux.

Use valgrind to find the errors on Linux:

G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck
--num-callers=32 ./myapp

Olivier



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]