Apache OpenOffice (AOO) Bugzilla – Issue 60480
dbaccess: STL error: Iterators used in expression are from different owners
Last modified: 2006-05-31 14:29:06 UTC
With debug stl (as activated in SRC680 m150 for non product builds) smoketest crashes in checking database funcionality. Error message: ../stlport/stl/debug/_debug.c(465): STL error: Iterators used in expression are from different owners First stack: #0 0x42322861 in kill () from /lib/libc.so.6 #1 0x420c0acc in pthread_kill () from /lib/libpthread.so.0 #2 0x420c0fd6 in raise () from /lib/libpthread.so.0 #3 0x42323c81 in abort () from /lib/libc.so.6 #4 0x42142841 in _STLD::__stl_debug_engine<bool>::_Terminate () from /tmp/rt/StarOffice/opt/staroffice8/program/libstlport_gcc_stldebug.so #5 0x4214240d in _STLD::__stl_debug_engine<bool>::_Assert () from /tmp/rt/StarOffice/opt/staroffice8/program/libstlport_gcc_stldebug.so #6 0x47516044 in _STLD::operator==<_STLD::__vector<vos::ORef<connectivity::ORowVector<connectivity::ORowSetValue> >, _STLD::allocator<vos::ORef<connectivity::ORowVector<connectivity::ORowSetValue> > > > > (__x=@0x484c17b4, __y=@0xbfff981c) at _iterator.h:306 #7 0x47515cf1 in dbaccess::ORowSetCacheIterator::isNull (this=0x48a479a0) at /home/rt94443/emptydir/SRC680/dbaccess/source/core/api/RowSetCacheIterator.cxx:125 #8 0x47545ecb in dbaccess::ORowSetBase::firePropertyChange (this=0x48a478f8, _rOldRow=@0xbfff992c) at /net/jumbo2.germany/ws1/SRC680/src/dbaccess/source/core/api/RowSetBase.cxx:1156 #9 0x4751f628 in dbaccess::ORowSet::moveToInsertRow (this=0x48a478a0) at /home/rt94443/emptydir/SRC680/dbaccess/source/core/api/RowSet.cxx:1301 Following occurences are at dbaccess/source/core/api/RowSetCacheIterator.cxx:108 -> dbaccess/source/core/api/CRowSetDataColumn.cxx:240 dbaccess/source/core/api/RowSetCacheIterator.cxx:115 -> dbaccess/source/core/api/CRowSetDataColumn.cxx:248 dbaccess/source/core/api/RowSetCacheIterator.cxx:115 -> dbaccess/source/core/api/RowSet.cxx:2503 dbaccess/source/core/api/RowSetCache.cxx:1580 dbaccess/source/core/api/RowSetCacheIterator.cxx:110 -> dbaccess/source/core/api/RowSet.cxx:1362 and there are probably more.
Fixed in cws stlusagefix01
Found another one during smoketest on linux "non-product": RowSetCache line 1408: if ( aCacheIter->second.aIterator != m_pMatrix->end() && aCacheIter->second.aIterator != m_aInsertRow && !m_bInserted && !m_bModified) { .... } The first term aCacheIter->second.aIterator != m_pMatrix->end() causes another ../stlport/stl/debug/_debug.c(465): STL error: Iterators used in expression are from different owners assertion.
Fixed
. re-open issue and reassign to msc@openoffice.org
reassign to msc@openoffice.org
reset resolution to FIXED
*** Issue 60443 has been marked as a duplicate of this issue. ***
verified in cws stlusagefix01
closing