I've tried to use valgrind, with this command
valgrind -v --tool=memcheck --leak-check=yes --db-attach=yes --num-callers=10 --suppressions=amule.sup --gen-suppressions=yes amule -o
but keep asking me something like
==9495== Conditional jump or move depends on uninitialised value(s)
==9495== at 0x1B8ECB13: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E631C: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E7675: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E47C6: (within /lib/ld-2.3.5.so)
==9495==
==9495== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n
==9495==
==9495== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- n
==9495==
==9495== Conditional jump or move depends on uninitialised value(s)
==9495== at 0x1B8EC7D3: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E631C: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E7675: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E47C6: (within /lib/ld-2.3.5.so)
==9495==
==9495== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n
==9495==
==9495== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- n
==9495==
==9495== Conditional jump or move depends on uninitialised value(s)
==9495== at 0x1B8EC6B6: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E6376: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E7675: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E47C6: (within /lib/ld-2.3.5.so)
==9495==
==9495== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n
==9495==
==9495== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- n
==9495==
==9495== Conditional jump or move depends on uninitialised value(s)
==9495== at 0x1B8EC6C2: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E6376: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E7675: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E47C6: (within /lib/ld-2.3.5.so)
==9495==
==9495== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n
==9495==
==9495== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- n
==9495==
==9495== Conditional jump or move depends on uninitialised value(s)
==9495== at 0x1B8EC7D3: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E6376: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E7675: (within /lib/ld-2.3.5.so)
==9495== by 0x1B8E47C6: (within /lib/ld-2.3.5.so)
==9495==
==9495== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n
==9495==
==9495== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- n
--9495-- REDIR: 0x1C0ADDF0 (memset) redirected to 0x1B901670 (memset)
--9495-- REDIR: 0x1C0AE2A0 (memcpy) redirected to 0x1B901770 (memcpy)
--9495-- REDIR: 0x1C0ACF40 (rindex) redirected to 0x1B9010D0 (rindex)
--9495-- REDIR: 0x1BFE0D40 (operator new(unsigned)) redirected to 0x1B8FFBC2 (operator new(unsigned))
--9495-- REDIR: 0x1BFE0E80 (operator new[](unsigned)) redirected to 0x1B900000 (operator new[](unsigned))
--9495-- REDIR: 0x1C0A7710 (malloc) redirected to 0x1B8FF827 (malloc)
--9495-- REDIR: 0x1C0A59B0 (free) redirected to 0x1B900346 (free)
--9495-- REDIR: 0x1C0ACAB0 (strlen) redirected to 0x1B9012F0 (strlen)
--9495-- REDIR: 0x1C0ACCD0 (strncmp) redirected to 0x1B901380 (strncmp)
--9495-- REDIR: 0x1C0A7C80 (realloc) redirected to 0x1B900BAD (realloc)
--9495-- REDIR: 0x1C0AC530 (strcmp) redirected to 0x1B901400 (strcmp)
--9495-- REDIR: 0x1C0AC3C0 (index) redirected to 0x1B9011F0 (index)
--9495-- REDIR: 0x1C0ADFE0 (stpcpy) redirected to 0x1B901AB0 (stpcpy)
--9495-- REDIR: 0x1C0AD8F0 (memchr) redirected to 0x1B9014A0 (memchr)
--9495-- REDIR: 0x1C0ACB60 (strnlen) redirected to 0x1B9012B0 (strnlen)
--9495-- REDIR: 0x1C0A73B0 (calloc) redirected to 0x1B900B02 (calloc)
--9495-- Reading syms from /usr/lib/gconv/ISO8859-1.so (0x1B904000)
--9495-- Reading debug info from /usr/lib/gconv/ISO8859-1.so...
--9495-- ... CRC mismatch (computed 8CF84037 wanted 939E5DB0)
--9495-- object doesn't have a symbol table
==9495==
==9495== Conditional jump or move depends on uninitialised value(s)
==9495== at 0x1B8ECB13: (within /lib/ld-2.3.5.so)
==9495== by 0x1C144D9A: (within /lib/tls/i686/cmov/libc-2.3.5.so)
==9495== by 0x1B8EF026: (within /lib/ld-2.3.5.so)
==9495== by 0x1C145465: _dl_open (in /lib/tls/i686/cmov/libc-2.3.5.so)
==9495== by 0x1C14694C: (within /lib/tls/i686/cmov/libc-2.3.5.so)
==9495== by 0x1B8EF026: (within /lib/ld-2.3.5.so)
==9495== by 0x1C146AAD: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.3.5.so)
==9495== by 0x1C05E59A: (within /lib/tls/i686/cmov/libc-2.3.5.so)
==9495== by 0x1C055FB9: (within /lib/tls/i686/cmov/libc-2.3.5.so)
==9495== by 0x1C056869: (within /lib/tls/i686/cmov/libc-2.3.5.so)
==9495==
==9495== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n
==9495==
==9495== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- n
first I've answered 'n', then enter 'Return'. Once the execution come to version check via http request to website, valgrind starts use 100% of a cpu and then nothing happens, after 2 mins, i've killed it and started reuse gdb.
I didn't know what to do, can you help me?
Thanks & Bye