To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113098
                 Issue #|113098
                 Summary|[writerfilter] STL assertion on table import
               Component|Word processor
                 Version|DEV300m83
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|open-import
             Assigned to|hbrinkm
             Reported by|mst





------- Additional comments from m...@openoffice.org Mon Jul 12 11:37:54 +0000 
2010 -------
when importing the document attached at issue 112516 , a non-pro OOo crashes
with an STL assertion here:

PropertyMapVector2::const_iterator aLastRowIterator = m_aCellProperties.end() - 
1;

m_aCellProperties is empty.

the reason seems to be that 
void TableManager<T, PropertiesPointer>::resolveCurrentTable() is called twice
for the table, once when actually importing the table, another time with 0 rows.

second call seems to be caused by startLevel()/endLevel() calls in
DomainMapper::substream():

(gdb) p nRows
$2 = 0
(gdb) bt
#0 
writerfilter::TableManager<com::sun::star::uno::Reference<com::sun::star::text::XTextRange>,
boost::shared_ptr<writerfilter::dmapper::TablePropertyMap>
>::resolveCurrentTable (this=0xafca2128)
    at ../../inc/resourcemodel/TableManager.hxx:980
#1  0x03cfc1b8 in
writerfilter::TableManager<com::sun::star::uno::Reference<com::sun::star::text::XTextRange>,
boost::shared_ptr<writerfilter::dmapper::TablePropertyMap> >::endLevel
(this=0xafca2128)
    at ../../inc/resourcemodel/TableManager.hxx:730
#2  0x03cefa7e in writerfilter::dmapper::DomainMapperTableManager::endLevel (
    this=0xafca2128)
    at hg/swuno/writerfilter/source/dmapper/DomainMapperTableManager.cxx:328
#3  0x03ccb396 in writerfilter::dmapper::DomainMapper::substream (
    this=0xaf37c74c, rName=10004, ref=...)
    at hg/swuno/writerfilter/source/dmapper/DomainMapper.cxx:4690
#4  0x03b99389 in
writerfilter::ooxml::OOXMLDocumentImpl::resolveFastSubStreamWithId
(this=0xaf37ca7c, rStream=..., pStream=..., nId=10004)
    at hg/swuno/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx:102
#5  0x03b9a22a in writerfilter::ooxml::OOXMLDocumentImpl::resolveHeader (
    this=0xaf37ca7c, rStream=..., type=92100, rId=...)
    at hg/swuno/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx:272

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to