Re: Still problems with gtk_list_store_append



On Monday 01 March 2004 15:31, Jesper Mørk wrote:

Have you tried running your program with valgrind? Maybe you're
corrupting memory somewhere before doing the append call.

I just tried it and got the following:

==20095== Conditional jump or move depends on uninitialised value(s)
==20095==    at 0x40009575: _dl_relocate_object (in /lib/ld-2.3.2.so)
==20095==    by 0x403961B5: (within /lib/libc-2.3.2.so)
==20095==    by 0x4000BF25: _dl_catch_error (in /lib/ld-2.3.2.so)
==20095==    by 0x40396438: _dl_open (in /lib/libc-2.3.2.so)

What does this mean?

That's nothing to worry about as far as I know, a couple of libs lead valgrind 
to spew out warnings on start-up. More interesting is whether your own code 
produces any warnings (should be compiled with debugging symbols/ -g flag for 
that). You can increase the number of functions shown in the call trace by 
passing --num-callers=15 as an option to valgrind.

Does valgrind show any other output than that? If your program works perfectly 
fine in valgrind, but not normally, then the problem might be in timing 
related functions (timeout callbacks, idle functions, threading stuff, etc.).

Cheers
 -Tim




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