[Zorba-coders] [Bug 944826] Re: Incorrect use of delete[] in ptr_rep

2012-03-26 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/944826

Title:
  Incorrect use of delete[] in ptr_rep

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  test/libunit/string

   ==28568== Mismatched free() / delete / delete []
  ==28568==at 0x4C26A4B: operator delete[](void*) (vg_replace_malloc.c:409)
  ==28568==by 0x5EED144: 
zorba::rstring, std::allocator > >::~rstring() 
(ptr_rep.h:321)
  ==28568==by 0x5EE8969: void 
test_non_empty, std::allocator > > 
>(zorba::rstring, std::allocator > >&, char 
const*) (string.cpp:136)
  ==28568==by 0x5EE8D33: void 
test, std::allocator > > >() 
(string.cpp:152)
  ==28568==by 0x5EEAA9A: zorba::UnitTests::test_string(int, char**) 
(string.cpp:792)
  ==28568==by 0x5EF5BCF: zorba::UnitTests::runUnitTest(int, char**) 
(unit_tests.cpp:72)
  ==28568==by 0x400BAC: main (lib_unit_test.cpp:34)
  ==28568==  Address 0xaac7d70 is 0 bytes inside a block of size 6 alloc'd
  ==28568==at 0x4C27CC1: operator new(unsigned long) 
(vg_replace_malloc.c:261)
  ==28568==by 0x5EE83B8: void 
test_non_empty, std::allocator > > 
>(zorba::rstring, std::allocator > >&, char 
const*) (string.cpp:93)
  ==28568==by 0x5EE8D33: void 
test, std::allocator > > >() 
(string.cpp:152)
  ==28568==by 0x5EEAA9A: zorba::UnitTests::test_string(int, char**) 
(string.cpp:792)
  ==28568==by 0x5EF5BCF: zorba::UnitTests::runUnitTest(int, char**) 
(unit_tests.cpp:72)
  ==28568==by 0x400BAC: main (lib_unit_test.cpp:34)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944826/+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 944826] Re: Incorrect use of delete[] in ptr_rep

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

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

Title:
  Incorrect use of delete[] in ptr_rep

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  test/libunit/string

   ==28568== Mismatched free() / delete / delete []
  ==28568==at 0x4C26A4B: operator delete[](void*) (vg_replace_malloc.c:409)
  ==28568==by 0x5EED144: 
zorba::rstring, std::allocator > >::~rstring() 
(ptr_rep.h:321)
  ==28568==by 0x5EE8969: void 
test_non_empty, std::allocator > > 
>(zorba::rstring, std::allocator > >&, char 
const*) (string.cpp:136)
  ==28568==by 0x5EE8D33: void 
test, std::allocator > > >() 
(string.cpp:152)
  ==28568==by 0x5EEAA9A: zorba::UnitTests::test_string(int, char**) 
(string.cpp:792)
  ==28568==by 0x5EF5BCF: zorba::UnitTests::runUnitTest(int, char**) 
(unit_tests.cpp:72)
  ==28568==by 0x400BAC: main (lib_unit_test.cpp:34)
  ==28568==  Address 0xaac7d70 is 0 bytes inside a block of size 6 alloc'd
  ==28568==at 0x4C27CC1: operator new(unsigned long) 
(vg_replace_malloc.c:261)
  ==28568==by 0x5EE83B8: void 
test_non_empty, std::allocator > > 
>(zorba::rstring, std::allocator > >&, char 
const*) (string.cpp:93)
  ==28568==by 0x5EE8D33: void 
test, std::allocator > > >() 
(string.cpp:152)
  ==28568==by 0x5EEAA9A: zorba::UnitTests::test_string(int, char**) 
(string.cpp:792)
  ==28568==by 0x5EF5BCF: zorba::UnitTests::runUnitTest(int, char**) 
(unit_tests.cpp:72)
  ==28568==by 0x400BAC: main (lib_unit_test.cpp:34)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944826/+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 944826] Re: Incorrect use of delete[] in ptr_rep

2012-03-02 Thread Matthias Brantner
** Changed in: zorba
Milestone: None => 2.2

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

Title:
  Incorrect use of delete[] in ptr_rep

Status in Zorba - The XQuery Processor:
  New

Bug description:
  test/libunit/string

   ==28568== Mismatched free() / delete / delete []
  ==28568==at 0x4C26A4B: operator delete[](void*) (vg_replace_malloc.c:409)
  ==28568==by 0x5EED144: 
zorba::rstring, std::allocator > >::~rstring() 
(ptr_rep.h:321)
  ==28568==by 0x5EE8969: void 
test_non_empty, std::allocator > > 
>(zorba::rstring, std::allocator > >&, char 
const*) (string.cpp:136)
  ==28568==by 0x5EE8D33: void 
test, std::allocator > > >() 
(string.cpp:152)
  ==28568==by 0x5EEAA9A: zorba::UnitTests::test_string(int, char**) 
(string.cpp:792)
  ==28568==by 0x5EF5BCF: zorba::UnitTests::runUnitTest(int, char**) 
(unit_tests.cpp:72)
  ==28568==by 0x400BAC: main (lib_unit_test.cpp:34)
  ==28568==  Address 0xaac7d70 is 0 bytes inside a block of size 6 alloc'd
  ==28568==at 0x4C27CC1: operator new(unsigned long) 
(vg_replace_malloc.c:261)
  ==28568==by 0x5EE83B8: void 
test_non_empty, std::allocator > > 
>(zorba::rstring, std::allocator > >&, char 
const*) (string.cpp:93)
  ==28568==by 0x5EE8D33: void 
test, std::allocator > > >() 
(string.cpp:152)
  ==28568==by 0x5EEAA9A: zorba::UnitTests::test_string(int, char**) 
(string.cpp:792)
  ==28568==by 0x5EF5BCF: zorba::UnitTests::runUnitTest(int, char**) 
(unit_tests.cpp:72)
  ==28568==by 0x400BAC: main (lib_unit_test.cpp:34)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944826/+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