[Zorba-coders] [Bug 944797] Re: Memory leak of tokenizers in simple store

2012-03-27 Thread Paul J. Lucas
** Changed in: zorba
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944797

Title:
  Memory leak of tokenizers in simple store

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  MLK ==3689== 2,032 (48 direct, 1,984 indirect) bytes in 1 blocks are 
definitely lost in loss record 13 of 13
  ==3689==at 0x4C27CC1: operator new(unsigned long) 
(vg_replace_malloc.c:261)
  ==3689==by 0x5A1081A: 
zorba::ICU_TokenizerProvider::getTokenizer(zorba::locale::iso639_1::type, 
zorba::Tokenizer::Numbers&) const (icu_tokenizer.cpp:412)
  ==3689==by 0x5F11001: 
zorba::simplestore::XmlNodeTokenizerCallback::push_lang(zorba::locale::iso639_1::type)
 (node_items.cpp:4666)
  ==3689==by 0x5F11E7A: 
zorba::simplestore::XmlNodeTokenizerCallback::XmlNodeTokenizerCallback(zorba::TokenizerProvider
 const&, zorba::Tokenizer::Numbers&, zorba::locale::iso639_1::type, 
zorba::FTTokenStore&) (node_items.cpp:4622)
  ==3689==by 0x5F11FD0: 
zorba::simplestore::XmlNode::getTokens(zorba::TokenizerProvider const&, 
zorba::Tokenizer::Numbers&, zorba::locale::iso639_1::type, bool) const 
(node_items.cpp:4842)
  ==3689==by 0x5A0C9A9: 
zorba::FTContainsIterator::nextImpl(zorba::store::ItemHandle&,
 zorba::PlanState&) const (full_text_impl.cpp:90)
  ==3689==by 0x5846103: 
zorba::PlanIterator::consumeNext(zorba::store::ItemHandle&,
 zorba::PlanIterator const*, zorba::PlanState&) (plan_iterator.cpp:124)
  ==3689==by 0x5844F0F: 
zorba::PlanWrapper::next(zorba::store::ItemHandle&)
 (plan_wrapper.cpp:149)
  ==3689==by 0x50C4D2E: 
zorba::serializer::serialize(zorba::rchandle, 
std::ostream&, zorba::SAX2_ContentHandler*) (serializer.cpp:2303)
  ==3689==by 0x50C5314: 
zorba::serializer::serialize(zorba::rchandle, 
std::ostream&) (serializer.cpp:2261)
  ==3689==by 0x507362A: zorba::XQueryImpl::serialize(std::ostream&, 
zorba::rchandle&, Zorba_SerializerOptions const*) 
(xqueryimpl.cpp:1291)
  ==3689==by 0x5073799: zorba::XQueryImpl::execute(std::ostream&, 
Zorba_SerializerOptions const*) (xqueryimpl.cpp:1117)
  ==3689==by 0x408183: main (testdriver.cpp:435)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944797/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 944797] Re: Memory leak of tokenizers in simple store

2012-03-02 Thread Paul J. Lucas
** Changed in: zorba
   Status: New => Fix Committed

** Branch linked: lp:~paul-lucas/zorba/bug-944797

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944797

Title:
  Memory leak of tokenizers in simple store

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  MLK ==3689== 2,032 (48 direct, 1,984 indirect) bytes in 1 blocks are 
definitely lost in loss record 13 of 13
  ==3689==at 0x4C27CC1: operator new(unsigned long) 
(vg_replace_malloc.c:261)
  ==3689==by 0x5A1081A: 
zorba::ICU_TokenizerProvider::getTokenizer(zorba::locale::iso639_1::type, 
zorba::Tokenizer::Numbers&) const (icu_tokenizer.cpp:412)
  ==3689==by 0x5F11001: 
zorba::simplestore::XmlNodeTokenizerCallback::push_lang(zorba::locale::iso639_1::type)
 (node_items.cpp:4666)
  ==3689==by 0x5F11E7A: 
zorba::simplestore::XmlNodeTokenizerCallback::XmlNodeTokenizerCallback(zorba::TokenizerProvider
 const&, zorba::Tokenizer::Numbers&, zorba::locale::iso639_1::type, 
zorba::FTTokenStore&) (node_items.cpp:4622)
  ==3689==by 0x5F11FD0: 
zorba::simplestore::XmlNode::getTokens(zorba::TokenizerProvider const&, 
zorba::Tokenizer::Numbers&, zorba::locale::iso639_1::type, bool) const 
(node_items.cpp:4842)
  ==3689==by 0x5A0C9A9: 
zorba::FTContainsIterator::nextImpl(zorba::store::ItemHandle&,
 zorba::PlanState&) const (full_text_impl.cpp:90)
  ==3689==by 0x5846103: 
zorba::PlanIterator::consumeNext(zorba::store::ItemHandle&,
 zorba::PlanIterator const*, zorba::PlanState&) (plan_iterator.cpp:124)
  ==3689==by 0x5844F0F: 
zorba::PlanWrapper::next(zorba::store::ItemHandle&)
 (plan_wrapper.cpp:149)
  ==3689==by 0x50C4D2E: 
zorba::serializer::serialize(zorba::rchandle, 
std::ostream&, zorba::SAX2_ContentHandler*) (serializer.cpp:2303)
  ==3689==by 0x50C5314: 
zorba::serializer::serialize(zorba::rchandle, 
std::ostream&) (serializer.cpp:2261)
  ==3689==by 0x507362A: zorba::XQueryImpl::serialize(std::ostream&, 
zorba::rchandle&, Zorba_SerializerOptions const*) 
(xqueryimpl.cpp:1291)
  ==3689==by 0x5073799: zorba::XQueryImpl::execute(std::ostream&, 
Zorba_SerializerOptions const*) (xqueryimpl.cpp:1117)
  ==3689==by 0x408183: main (testdriver.cpp:435)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944797/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp