https://bugs.freedesktop.org/show_bug.cgi?id=74308

          Priority: medium
            Bug ID: 74308
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: CppunitTest_dbaccess_firebird_test fails with: double
                    free or corruption (out)
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: octopl...@yandex.com
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.3.0.0.alpha0+ Master
         Component: Libreoffice
           Product: LibreOffice

With both clang (trunk) and gcc (trunk) CppunitTest_dbaccess_firebird_test
fails with: "double free or corruption".

Valgrind shows:
...
==31199== Invalid free() / delete / delete[] / realloc()
==31199==    at 0x4029DF0: operator delete(void*) (vg_replace_malloc.c:502)
==31199==    by 0xA0BEE3D: garbage_collect(Jrd::thread_db*, Jrd::record_param*,
int, Firebird::Stack<Jrd::Record*, 16ul>&) (vio.cpp:3925)
==31199==    by 0xA0BF164: purge(Jrd::thread_db*, Jrd::record_param*)
(vio.cpp:5038)
==31199==    by 0xA0C10BE: VIO_chase_record_version(Jrd::thread_db*,
Jrd::record_param*, Jrd::jrd_tra*, Firebird::MemoryPool*, bool) (vio.cpp:999)
==31199==    by 0xA0C19EC: VIO_next_record(Jrd::thread_db*, Jrd::record_param*,
Jrd::jrd_tra*, Firebird::MemoryPool*, bool) (vio.cpp:2507)
==31199==    by 0xA080F7F: get_record(Jrd::thread_db*, Jrd::RecordSource*,
Jrd::RecordSource*, Jrd::rse_get_mode) (rse.cpp:1825)
==31199==    by 0xA0818A7: RSE_get_record(Jrd::thread_db*, Jrd::RecordSource*,
Jrd::rse_get_mode) (rse.cpp:312)
==31199==    by 0x9FF0B18: EXE_looper(Jrd::thread_db*, Jrd::jrd_req*,
Jrd::jrd_nod*) (exe.cpp:2027)
==31199==    by 0x9FF2642: execute_looper(Jrd::thread_db*, Jrd::jrd_req*,
Jrd::jrd_tra*, Jrd::jrd_req::req_s) (exe.cpp:1410)
==31199==    by 0x9FED865: EXE_receive(Jrd::thread_db*, Jrd::jrd_req*, unsigned
short, unsigned short, unsigned char*, bool) (exe.cpp:725)
==31199==    by 0xA02EE56: JRD_receive(Jrd::thread_db*, Jrd::jrd_req*, unsigned
short, unsigned short, unsigned char*, short) (jrd.cpp:6703)
==31199==    by 0xA129132: DSQL_fetch(Jrd::thread_db*, Jrd::dsql_req*, unsigned
short, unsigned char const*, unsigned short, unsigned char*) (dsql.cpp:511)
==31199==    by 0xA02C3E9: jrd8_fetch (jrd.cpp:4092)
==31199==    by 0x9EEA883: isc_dsql_fetch_m (why.cpp:3263)
==31199==    by 0x9EEAB21: isc_dsql_fetch (why.cpp:3145)
==31199==    by 0x7DD1D8C: connectivity::firebird::OResultSet::next() (in
/var/tmp/libreoffice/instdir/program/libfirebird_sdbclo.so)
==31199==    by 0x888058A: dbaccess::OResultSet::next() (in
/var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x4143DA4: FirebirdTest::testIntegerDatabase() (in
/var/tmp/libreoffice/workdir/LinkTarget/CppunitTest/libtest_dbaccess_firebird_test.so)
==31199==    by 0x4091837: CppUnit::TestCaseMethodFunctor::operator()() const
(in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.
0.1)
==31199==    by 0x408C9F6:
CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1
.13.so.0.0.1)
==31199==    by 0x41277CF: (anonymous
namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext
const&) (in /var/tmp/libreoffice/workdir/LinkTarget/Library
/unoexceptionprotector.so)
==31199==    by 0x408C9F6:
CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1
.13.so.0.0.1)
==31199==    by 0x4083ABD: CppUnit::DefaultProtector::protect(CppUnit::Functor
const&, CppUnit::ProtectorContext const&) (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppu
nit/src/cppunit/.libs/libcppunit-1.13.so.0.0.1)
==31199==    by 0x408C9F6:
CppUnit::ProtectorChain::ProtectFunctor::operator()() const (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1
.13.so.0.0.1)
==31199==    by 0x408C8A0: CppUnit::ProtectorChain::protect(CppUnit::Functor
const&, CppUnit::ProtectorContext const&) (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppuni
t/src/cppunit/.libs/libcppunit-1.13.so.0.0.1)
==31199==    by 0x409BB35: CppUnit::TestResult::protect(CppUnit::Functor
const&, CppUnit::Test*, std::string const&) (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/
src/cppunit/.libs/libcppunit-1.13.so.0.0.1)
==31199==    by 0x4091307: CppUnit::TestCase::run(CppUnit::TestResult*) (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.1)
==31199==    by 0x4091EFB:
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit
-1.13.so.0.0.1)
==31199==    by 0x4091D85: CppUnit::TestComposite::run(CppUnit::TestResult*)
(in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0
.1)
==31199==    by 0x4091EFB:
CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit
-1.13.so.0.0.1)
==31199==    by 0x4091D85: CppUnit::TestComposite::run(CppUnit::TestResult*)
(in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0
.1)
==31199==    by 0x409FC9B:
CppUnit::TestRunner::WrappingSuite::run(CppUnit::TestResult*) (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit
-1.13.so.0.0.1)
==31199==    by 0x409B913: CppUnit::TestResult::runTest(CppUnit::Test*) (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.1)
==31199==    by 0x409FEEB: CppUnit::TestRunner::run(CppUnit::TestResult&,
std::string const&) (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcp
punit-1.13.so.0.0.1)
==31199==    by 0x402329: (anonymous namespace)::ProtectedFixtureFunctor::run()
const (in /var/tmp/libreoffice/workdir/LinkTarget/Executable/cppunittester)
==31199==    by 0x4027B6: sal_main() (in
/var/tmp/libreoffice/workdir/LinkTarget/Executable/cppunittester)
==31199==    by 0x401F7A: main (in
/var/tmp/libreoffice/workdir/LinkTarget/Executable/cppunittester)
==31199==  Address 0x13530a00 is not stack'd, malloc'd or (recently) free'd
==31199== 
==31199== Invalid free() / delete / delete[] / realloc()
==31199==    at 0x4029DF0: operator delete(void*) (vg_replace_malloc.c:502)
==31199==    by 0xA0373E8: release_attachment(Jrd::thread_db*,
Jrd::Attachment*) (jrd.cpp:5435)
==31199==    by 0xA0399D5: purge_attachment(Jrd::thread_db*, Jrd::Attachment*,
bool) (jrd.cpp:6205)
==31199==    by 0xA039EB7: jrd8_detach_database (jrd.cpp:2406)
==31199==    by 0x9EEE999: detach_or_drop_database(long*, unsigned int*, int,
long) (why.cpp:2262)
==31199==    by 0x7DB643E: connectivity::firebird::Connection::disposing() (in
/var/tmp/libreoffice/instdir/program/libfirebird_sdbclo.so)
==31199==    by 0x5D49EA4: cppu::WeakComponentImplHelperBase::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x890CD91: dbaccess::OConnection::disposing() (in
/var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x5D2A384: cppu::OComponentHelper::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x88A3E36: void
comphelper::disposeComponent<com::sun::star::sdbc::XConnection>(com::sun::star::uno::Reference<com::sun::star::sdbc::XConnection>&)
(in /var/t
mp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x894268D:
dbaccess::OSharedConnectionManager::disposing(com::sun::star::lang::EventObject
const&) (in /var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x5D5232F:
cppu::OInterfaceContainerHelper::disposeAndClear(com::sun::star::lang::EventObject
const&) (in /var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelp
ergcc3.so.3)
==31199==    by 0x5D52EC0:
cppu::OMultiTypeInterfaceContainerHelper::disposeAndClear(com::sun::star::lang::EventObject
const&) (in /var/tmp/libreoffice/instdir/ure/lib/libuno
_cppuhelpergcc3.so.3)
==31199==    by 0x5D49E32: cppu::WeakComponentImplHelperBase::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x897F71D: dbaccess::ODatabaseModelImpl::clearConnections() (in
/var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x89832FC: dbaccess::ODatabaseModelImpl::dispose() (in
/var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x891F008: dbaccess::ODatabaseContext::disposing() (in
/var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x5D49EA4: cppu::WeakComponentImplHelperBase::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D402C5: cppu::OFactoryComponentHelper::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D289AB: cppu::OComponentHelper::release() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D8507E:
boost::detail::sp_counted_impl_p<cppuhelper::ServiceManager::Data::Implementation>::dispose()
(in /var/tmp/libreoffice/instdir/ure/lib/libuno_cppuh
elpergcc3.so.3)
==31199==    by 0x5D84FF8: boost::detail::shared_count::~shared_count() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D87B63: std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString
const, boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> >,
std::_Select1st<
std::pair<rtl::OUString const,
boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> > >,
std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const
, boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> > >
>::_M_erase(std::_Rb_tree_node<std::pair<rtl::OUString const,
boost::shared_ptr<cppuhelper::ServiceM
anager::Data::Implementation> > >*) (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D87B56: std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString
const, boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> >,
std::_Select1st<
std::pair<rtl::OUString const,
boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> > >,
std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const
, boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> > >
>::_M_erase(std::_Rb_tree_node<std::pair<rtl::OUString const,
boost::shared_ptr<cppuhelper::ServiceM
anager::Data::Implementation> > >*) (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D79AF2: cppuhelper::ServiceManager::disposing() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D49EA4: cppu::WeakComponentImplHelperBase::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D1DDE2:
cppu::try_dispose(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
const&) (in /var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpe
rgcc3.so.3)
==31199==    by 0x5D1E43C: cppu::ComponentContext::disposing() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D49EA4: cppu::WeakComponentImplHelperBase::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x413BE99: (anonymous namespace)::Prot::~Prot() (in
/var/tmp/libreoffice/workdir/LinkTarget/Library/unobootstrapprotector.so)
==31199==    by 0x413C828: (anonymous namespace)::Prot::~Prot() (in
/var/tmp/libreoffice/workdir/LinkTarget/Library/unobootstrapprotector.so)
==31199==    by 0x408C716: CppUnit::ProtectorChain::pop() (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.1)
==31199==    by 0x409BBB1: CppUnit::TestResult::popProtector() (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.1)
==31199==    by 0x40236C: (anonymous namespace)::ProtectedFixtureFunctor::run()
const (in /var/tmp/libreoffice/workdir/LinkTarget/Executable/cppunittester)
==31199==    by 0x4027B6: sal_main() (in
/var/tmp/libreoffice/workdir/LinkTarget/Executable/cppunittester)
==31199==    by 0x401F7A: main (in
/var/tmp/libreoffice/workdir/LinkTarget/Executable/cppunittester)
==31199==  Address 0x11aa9478 is not stack'd, malloc'd or (recently) free'd
...
==31199==                                                                      
                                                                               
   [5697/7479]
==31199== Invalid free() / delete / delete[] / realloc()
==31199==    at 0x4029DF0: operator delete(void*) (vg_replace_malloc.c:502)
==31199==    by 0x9F5827C:
SCL_release_all(Firebird::BePlusTree<Jrd::SecurityClass*, Firebird::MetaName,
Firebird::MemoryPool, Jrd::SecurityClass, Firebird::DefaultComparator
<Firebird::MetaName> >*&) (scl.cpp:1197)
==31199==    by 0xA0373CE: release_attachment(Jrd::thread_db*,
Jrd::Attachment*) (jrd.cpp:5433)
==31199==    by 0xA0399D5: purge_attachment(Jrd::thread_db*, Jrd::Attachment*,
bool) (jrd.cpp:6205)
==31199==    by 0xA039EB7: jrd8_detach_database (jrd.cpp:2406)
==31199==    by 0x9EEE999: detach_or_drop_database(long*, unsigned int*, int,
long) (why.cpp:2262)
==31199==    by 0x7DB643E: connectivity::firebird::Connection::disposing() (in
/var/tmp/libreoffice/instdir/program/libfirebird_sdbclo.so)
==31199==    by 0x5D49EA4: cppu::WeakComponentImplHelperBase::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x890CD91: dbaccess::OConnection::disposing() (in
/var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x5D2A384: cppu::OComponentHelper::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x88A3E36: void
comphelper::disposeComponent<com::sun::star::sdbc::XConnection>(com::sun::star::uno::Reference<com::sun::star::sdbc::XConnection>&)
(in /var/t
mp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x894268D:
dbaccess::OSharedConnectionManager::disposing(com::sun::star::lang::EventObject
const&) (in /var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x5D5232F:
cppu::OInterfaceContainerHelper::disposeAndClear(com::sun::star::lang::EventObject
const&) (in /var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelp
ergcc3.so.3)
==31199==    by 0x5D52EC0:
cppu::OMultiTypeInterfaceContainerHelper::disposeAndClear(com::sun::star::lang::EventObject
const&) (in /var/tmp/libreoffice/instdir/ure/lib/libuno
_cppuhelpergcc3.so.3)
==31199==    by 0x5D49E32: cppu::WeakComponentImplHelperBase::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x897F71D: dbaccess::ODatabaseModelImpl::clearConnections() (in
/var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x89832FC: dbaccess::ODatabaseModelImpl::dispose() (in
/var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x891F008: dbaccess::ODatabaseContext::disposing() (in
/var/tmp/libreoffice/instdir/program/libdbalo.so)
==31199==    by 0x5D49EA4: cppu::WeakComponentImplHelperBase::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D402C5: cppu::OFactoryComponentHelper::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D289AB: cppu::OComponentHelper::release() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D8507E:
boost::detail::sp_counted_impl_p<cppuhelper::ServiceManager::Data::Implementation>::dispose()
(in /var/tmp/libreoffice/instdir/ure/lib/libuno_cppuh
elpergcc3.so.3)
==31199==    by 0x5D84FF8: boost::detail::shared_count::~shared_count() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D87B63: std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString
const, boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> >,
std::_Select1st<
std::pair<rtl::OUString const,
boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> > >,
std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const
, boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> > >
>::_M_erase(std::_Rb_tree_node<std::pair<rtl::OUString const,
boost::shared_ptr<cppuhelper::ServiceM
anager::Data::Implementation> > >*) (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D87B56: std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString
const, boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> >,
std::_Select1st<
std::pair<rtl::OUString const,
boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> > >,
std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const
, boost::shared_ptr<cppuhelper::ServiceManager::Data::Implementation> > >
>::_M_erase(std::_Rb_tree_node<std::pair<rtl::OUString const,
boost::shared_ptr<cppuhelper::ServiceM
anager::Data::Implementation> > >*) (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D79AF2: cppuhelper::ServiceManager::disposing() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D49EA4: cppu::WeakComponentImplHelperBase::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D1DDE2:
cppu::try_dispose(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
const&) (in /var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpe
rgcc3.so.3)
==31199==    by 0x5D1E43C: cppu::ComponentContext::disposing() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x5D49EA4: cppu::WeakComponentImplHelperBase::dispose() (in
/var/tmp/libreoffice/instdir/ure/lib/libuno_cppuhelpergcc3.so.3)
==31199==    by 0x413BE99: (anonymous namespace)::Prot::~Prot() (in
/var/tmp/libreoffice/workdir/LinkTarget/Library/unobootstrapprotector.so)
==31199==    by 0x413C828: (anonymous namespace)::Prot::~Prot() (in
/var/tmp/libreoffice/workdir/LinkTarget/Library/unobootstrapprotector.so)
==31199==    by 0x408C716: CppUnit::ProtectorChain::pop() (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.1)
==31199==    by 0x409BBB1: CppUnit::TestResult::popProtector() (in
/var/tmp/libreoffice/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.13.so.0.0.1)
==31199==    by 0x40236C: (anonymous namespace)::ProtectedFixtureFunctor::run()
const (in /var/tmp/libreoffice/workdir/LinkTarget/Executable/cppunittester)
==31199==    by 0x4027B6: sal_main() (in
/var/tmp/libreoffice/workdir/LinkTarget/Executable/cppunittester)
==31199==    by 0x401F7A: main (in
/var/tmp/libreoffice/workdir/LinkTarget/Executable/cppunittester)
==31199==  Address 0x12d9d9d8 is not stack'd, malloc'd or (recently) free'd
==31199== 
OK (2)
==31199== Invalid free() / delete / delete[] / realloc()
==31199==    at 0x4029DF0: operator delete(void*) (vg_replace_malloc.c:502)
==31199==    by 0xA0EBD09: Jrd::ConfigStorage::~ConfigStorage()
(RefCounted.h:46)
==31199==    by 0x9FF59AA:
Firebird::InstanceControl::InstanceLink<Jrd::StorageInstance,
(Firebird::InstanceControl::DtorPriority)0>::dtor() (TraceConfigStorage.h:147)
==31199==    by 0xA218302:
Firebird::InstanceControl::InstanceList::destructors() (init.cpp:197)
==31199==    by 0xA2184D8: (anonymous namespace)::Cleanup::~Cleanup()
(init.cpp:61)
==31199==    by 0x4E11EA9: __run_exit_handlers (in /lib64/libc-2.18.90.so)
==31199==    by 0x4E11EF4: exit (in /lib64/libc-2.18.90.so)
==31199==    by 0x4DFAF96: (below main) (in /lib64/libc-2.18.90.so)
==31199==  Address 0xc4ff678 is not stack'd, malloc'd or (recently) free'd
==31199== 
==31199== Invalid free() / delete / delete[] / realloc()
==31199==    at 0x4029DF0: operator delete(void*) (vg_replace_malloc.c:502)
==31199==    by 0x9ED0365:
Firebird::InstanceControl::InstanceLink<Firebird::GlobalPtr<Firebird::Mutex>,
(Firebird::InstanceControl::DtorPriority)0>::dtor() (init.h:119)
==31199==    by 0xA218302:
Firebird::InstanceControl::InstanceList::destructors() (init.cpp:197)
==31199==    by 0xA2184D8: (anonymous namespace)::Cleanup::~Cleanup()
(init.cpp:61)
==31199==    by 0x4E11EA9: __run_exit_handlers (in /lib64/libc-2.18.90.so)
==31199==    by 0x4E11EF4: exit (in /lib64/libc-2.18.90.so)
==31199==    by 0x4DFAF96: (below main) (in /lib64/libc-2.18.90.so)
==31199==  Address 0xc5012b0 is not stack'd, malloc'd or (recently) free'd
==31199== 
==31199== Invalid free() / delete / delete[] / realloc()
==31199==    at 0x4029DF0: operator delete(void*) (vg_replace_malloc.c:502)
==31199==    by 0xA03CBE2:
Firebird::InstanceControl::InstanceLink<Firebird::GlobalPtr<Firebird::StringBase<Firebird::PathNameComparator>
>, (Firebird::InstanceControl::DtorP
riority)0>::dtor() (init.h:119)
==31199==    by 0xA218302:
Firebird::InstanceControl::InstanceList::destructors() (init.cpp:197)
==31199==    by 0xA2184D8: (anonymous namespace)::Cleanup::~Cleanup()
(init.cpp:61)
==31199==    by 0x4E11EA9: __run_exit_handlers (in /lib64/libc-2.18.90.so)
==31199==    by 0x4E11EF4: exit (in /lib64/libc-2.18.90.so)
==31199==    by 0x4DFAF96: (below main) (in /lib64/libc-2.18.90.so)
==31199==  Address 0xc501318 is not stack'd, malloc'd or (recently) free'd
==31199== 
==31199== Invalid free() / delete / delete[] / realloc()
==31199==    at 0x4029DF0: operator delete(void*) (vg_replace_malloc.c:502)
==31199==    by 0x9EE59E9:
Firebird::InstanceControl::InstanceLink<Firebird::GlobalPtr<(anonymous
namespace)::CtrlCHandler>, (Firebird::InstanceControl::DtorPriority)0>::dtor
() (init.h:119)
==31199==    by 0xA218302:
Firebird::InstanceControl::InstanceList::destructors() (init.cpp:197)
==31199==    by 0xA2184D8: (anonymous namespace)::Cleanup::~Cleanup()
(init.cpp:61)
==31199==    by 0x4E11EA9: __run_exit_handlers (in /lib64/libc-2.18.90.so)
==31199==    by 0x4E11EF4: exit (in /lib64/libc-2.18.90.so)
==31199==    by 0x4DFAF96: (below main) (in /lib64/libc-2.18.90.so)
==31199==  Address 0xc5018b0 is not stack'd, malloc'd or (recently) free'd
==31199== 
==31199== Invalid free() / delete / delete[] / realloc()
==31199==    at 0x4029DF0: operator delete(void*) (vg_replace_malloc.c:502)
==31199==    by 0xA21771A:
Firebird::InstanceControl::InstanceLink<Firebird::GlobalPtr<(anonymous
namespace)::StringsBuffer>, (Firebird::InstanceControl::DtorPriority)0>::dto
r() (init.h:119)
==31199==    by 0xA218302:
Firebird::InstanceControl::InstanceList::destructors() (init.cpp:197)
==31199==    by 0xA2184D8: (anonymous namespace)::Cleanup::~Cleanup()
(init.cpp:61)
==31199==    by 0x4E11EA9: __run_exit_handlers (in /lib64/libc-2.18.90.so)
==31199==    by 0x4E11EF4: exit (in /lib64/libc-2.18.90.so)
==31199==    by 0x4DFAF96: (below main) (in /lib64/libc-2.18.90.so)
==31199==  Address 0xc501960 is not stack'd, malloc'd or (recently) free'd
...
==31199== ERROR SUMMARY: 28592 errors from 165 contexts (suppressed: 3 from 3)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to