This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gsequencer crashes in gdb and in valgrind not


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]