#1456: memory leak -------------------------+-------------------------------------------------- Reporter: 1122 | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: qt/kde gui | Version: 1.3.4 Resolution: | Keywords: -------------------------+-------------------------------------------------- Comment (by 1122):
"every tab consumes some memory" - yes, but I open 10 tabs - this increase memory use. close tabs, new opened 10 tabs - next increase memory use. Don't free used memory? ================== I make Licq with flags -O0 -g valgrind 3.2.1-4 I never use valgrind earlier. How I can $valgrind --tool=memcheck --leak-check=yes --db-attach=yes -v /usr/local/licq/bin/licq what file send to you? ==8272== ==8272== ERROR SUMMARY: 6532 errors from 5 contexts (suppressed: 130 from 1) ==8272== ==8272== 1 errors in context 1 of 5: ==8272== Use of uninitialised value of size 4 ==8272== at 0x7CBF583: BN_num_bits_word (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CBF5C5: BN_num_bits (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CBE10A: BN_mod_exp_mont_consttime (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CBE71D: BN_mod_exp_mont (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD5DFD: (within /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD61A7: (within /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD5D01: DH_generate_key (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x32B619: ssl3_ctx_ctrl (in /lib/libssl.so.0.9.8b) ==8272== by 0x33ACC3: SSL_CTX_ctrl (in /lib/libssl.so.0.9.8b) ==8272== by 0x80AB9FB: CLicq::Init(int, char**) (in /usr/local/licq/bin/licq) ==8272== by 0x80AE589: main (in /usr/local/licq/bin/licq) ==8272== ==8272== 1 errors in context 2 of 5: ==8272== Conditional jump or move depends on uninitialised value(s) ==8272== at 0x7CBF54D: BN_num_bits_word (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CBF5C5: BN_num_bits (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CBE10A: BN_mod_exp_mont_consttime (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CBE71D: BN_mod_exp_mont (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD5DFD: (within /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD61A7: (within /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD5D01: DH_generate_key (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x32B619: ssl3_ctx_ctrl (in /lib/libssl.so.0.9.8b) ==8272== by 0x33ACC3: SSL_CTX_ctrl (in /lib/libssl.so.0.9.8b) ==8272== by 0x80AB9FB: CLicq::Init(int, char**) (in /usr/local/licq/bin/licq) ==8272== by 0x80AE589: main (in /usr/local/licq/bin/licq) ==8272== ==8272== 1 errors in context 3 of 5: ==8272== Conditional jump or move depends on uninitialised value(s) ==8272== at 0x7CBF546: BN_num_bits_word (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CBF5C5: BN_num_bits (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CBE10A: BN_mod_exp_mont_consttime (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CBE71D: BN_mod_exp_mont (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD5DFD: (within /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD61A7: (within /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD5D01: DH_generate_key (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x32B619: ssl3_ctx_ctrl (in /lib/libssl.so.0.9.8b) ==8272== by 0x33ACC3: SSL_CTX_ctrl (in /lib/libssl.so.0.9.8b) ==8272== by 0x80AB9FB: CLicq::Init(int, char**) (in /usr/local/licq/bin/licq) ==8272== by 0x80AE589: main (in /usr/local/licq/bin/licq) ==8272== ==8272== 1 errors in context 4 of 5: ==8272== Conditional jump or move depends on uninitialised value(s) ==8272== at 0x7CC01A7: BN_bin2bn (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CC3815: (within /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD60F9: (within /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD5D01: DH_generate_key (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x32B619: ssl3_ctx_ctrl (in /lib/libssl.so.0.9.8b) ==8272== by 0x33ACC3: SSL_CTX_ctrl (in /lib/libssl.so.0.9.8b) ==8272== by 0x80AB9FB: CLicq::Init(int, char**) (in /usr/local/licq/bin/licq) ==8272== by 0x80AE589: main (in /usr/local/licq/bin/licq) ==8272== ==8272== 6528 errors in context 5 of 5: ==8272== Use of uninitialised value of size 4 ==8272== at 0x7CBE5BE: BN_mod_exp_mont_consttime (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CBE71D: BN_mod_exp_mont (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD5DFD: (within /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD61A7: (within /lib/libcrypto.so.0.9.8b) ==8272== by 0x7CD5D01: DH_generate_key (in /lib/libcrypto.so.0.9.8b) ==8272== by 0x32B619: ssl3_ctx_ctrl (in /lib/libssl.so.0.9.8b) ==8272== by 0x33ACC3: SSL_CTX_ctrl (in /lib/libssl.so.0.9.8b) ==8272== by 0x80AB9FB: CLicq::Init(int, char**) (in /usr/local/licq/bin/licq) ==8272== by 0x80AE589: main (in /usr/local/licq/bin/licq) ==8256== starting debugger with cmd: -nw /proc/8325/fd/1014 8325 /bin/sh: -nw: command not found ==8256== ==8256== Debugger has detached. Valgrind regains control. We continue. --8256-- Reading syms from /usr/lib/qt-3.3/plugins/inputmethods/libqimsw- multi.so (0x4A0E000) --8256-- object doesn't have a symbol table --8256-- Reading syms from /usr/lib/qt-3.3/plugins/inputmethods/libqimsw- none.so (0x4A18000) --8256-- object doesn't have a symbol table --8256-- Reading syms from /usr/lib/qt-3.3/plugins/inputmethods/libqsimple.so (0x4D4D000) --8256-- object doesn't have a symbol table --8256-- Reading syms from /usr/lib/qt-3.3/plugins/inputmethods/libqxim.so (0x4A1D000) --8256-- object doesn't have a symbol table --8256-- memcheck GC: 262144 nodes, 233519 survivors ( 89.0%) --8256-- memcheck GC: increase table size to 524288 --8256-- memcheck GC: 524288 nodes, 468791 survivors ( 89.4%) --8256-- memcheck GC: increase table size to 1048576 -- Ticket URL: <http://trac.licq.org/ticket/1456#comment:5> Licq <http://www.licq.org/> Licq - an instant messaging client for UNIX.