gsequencer crashes in gdb and in valgrind not

Philippe Waroquiers philippe.waroquiers@skynet.be
Fri May 15 14:47:00 GMT 2015


On Fri, 2015-05-15 at 13:58 +0000, Joël Krähemann wrote:
> Hi,what could cause that my program crashes in gdb but with valgrind
> works everything fine?
> Further me don't believe that gdb's stack trace shows me a useful hint:
If you have not done it, you might need to export/set some
gtk  env variables such as
G_SLICE=always-malloc
and G_DEBUG=gc-friendly
before launching your gtk application under Valgrind.

That will allow Valgrind to understand better what happens in gtk
memory management.
Otherwise, what is the crash ? a SEGV ?

Philippe





More information about the Gdb mailing list