1. 16 Aug, 2006 2 commits
    • stewart@willster.(none)'s avatar
      BUG#21671 memory leak for mgmapi event listeners · 44e3c3b7
      stewart@willster.(none) authored
      fixes the following valgrind warning (when running ndb_mgm under valgrind,
      or, indeed any other mgmapi program listening to events):
      
      ==23291== 190 (20 direct, 170 indirect) bytes in 1 blocks are definitely lost in loss record 13 of 22
      ==23291==    at 0x401C895: operator new(unsigned) (vg_replace_malloc.c:163)
      ==23291==    by 0x8075300: ParserImpl::run(Parser<ParserImpl::Dummy>::Context*, Properties const**, bool volatile*) const (Parser.cpp:178)
      ==23291==    by 0x806D09B: Parser<ParserDummy>::parse(Parser<ParserDummy>::Context&, ParserDummy&) (Parser.hpp:219)
      ==23291==    by 0x80671C4: ndb_mgm_call(ndb_mgm_handle*, ParserRow<ParserDummy> const*, char const*, Properties const*) (mgmapi.cpp:355)
      ==23291==    by 0x806AB79: ndb_mgm_listen_event_internal(ndb_mgm_handle*, int const*, int) (mgmapi.cpp:1419)
      ==23291==    by 0x806AC1F: ndb_mgm_listen_event (mgmapi.cpp:1434)
      ==23291==    by 0x805EB5D: event_thread_run(void*) (CommandInterpreter.cpp:467)
      ==23291==    by 0x806F70A: ndb_thread_wrapper (NdbThread.c:68)
      ==23291==    by 0x4042340: start_thread (in /lib/tls/i686/cmov/libpthread-2.3.6.so)
      ==23291==    by 0x429D4ED: clone (in /lib/tls/i686/cmov/libc-2.3.6.so)
      44e3c3b7
    • stewart@willster.(none)'s avatar
      BUG#21670 memory leak in ndb_mgm -e show · 76940119
      stewart@willster.(none) authored
      fix the following valgrind warning when running ndb_mgm -e show (leak only in client)
      
      ==20398== 14,596 (11,936 direct, 2,660 indirect) bytes in 4 blocks are definitely lost in loss record 24 of 25
      ==20398==    at 0x401C4A1: malloc (vg_replace_malloc.c:149)
      ==20398==    by 0x80797A3: ConfigValuesFactory::create(unsigned, unsigned) (ConfigValues.cpp:309)
      ==20398==    by 0x8079F03: ConfigValuesFactory::expand(unsigned, unsigned) (ConfigValues.cpp:325)
      ==20398==    by 0x8079967: ConfigValuesFactory::put(ConfigValues::Entry const&) (ConfigValues.cpp:414)
      ==20398==    by 0x807A7B6: ConfigValuesFactory::unpack(void const*, unsigned) (ConfigValues.cpp:701)
      ==20398==    by 0x806CB9D: ConfigValuesFactory::unpack(UtilBuffer const&) (ConfigValues.hpp:252)
      ==20398==    by 0x8069160: ndb_mgm_get_configuration (mgmapi.cpp:1941)
      ==20398==    by 0x8060661: CommandInterpreter::executeShow(char*) (CommandInterpreter.cpp:1242)
      ==20398==    by 0x8063966: CommandInterpreter::execute_impl(char const*) (CommandInterpreter.cpp:715)
      ==20398==    by 0x8064040: CommandInterpreter::execute(char const*, int, int*) (CommandInterpreter.cpp:625)
      ==20398==    by 0x8064189: Ndb_mgmclient::execute(char const*, int, int*) (CommandInterpreter.cpp:203)
      ==20398==    by 0x805E56C: read_and_execute(int) (main.cpp:124)
      ==20398==    by 0x805E754: main (main.cpp:162)
      ==20398==
      76940119
  2. 15 Aug, 2006 2 commits
  3. 14 Aug, 2006 5 commits
  4. 11 Aug, 2006 2 commits
  5. 10 Aug, 2006 3 commits
  6. 09 Aug, 2006 5 commits
  7. 08 Aug, 2006 5 commits
  8. 07 Aug, 2006 1 commit
  9. 06 Aug, 2006 3 commits
  10. 03 Aug, 2006 12 commits