| Summary: | FILEOPEN: Conditional formatting: crash when opening a particular file created with master and modified with LO 3.5 | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Jean-Baptiste Faure <jbfaure> |
| Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | michael.meeks |
| Priority: | medium | ||
| Version: | 4.0.0.0.alpha0+ Master | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 54157 | ||
| Attachments: |
bugdoc with CF created with master
bugdoc with CF modified by LO 3.5 backtrace for LO 3.7.0.0.alpha+ (ID 232969d) valgring logs |
||
|
Description
Jean-Baptiste Faure
2012-10-04 11:07:00 UTC
Created attachment 68075 [details]
bugdoc with CF modified by LO 3.5
Created attachment 68076 [details]
backtrace for LO 3.7.0.0.alpha+ (ID 232969d)
I reproduce loading that file. Valgrind shows: ==19937== Invalid write of size 4 ==19937== at 0x117B3720: XMLTableStyleContext::ApplyCondFormat(com::sun::star::uno::Sequence<com::sun::star::table::CellRangeAddress>) (conditio.hxx:353) ==19937== by 0x117A61A8: ScXMLImport::SetStyleToRanges() (xmlimprt.cxx:2683) ==19937== by 0x117A6589: ScXMLImport::SetStyleToRange(ScRange const&, rtl::OUString const*, short, rtl::OUString const*) (xmlimprt.cxx:2738) ==19937== by 0x11768DB5: ScMyStyleRanges::SetStylesToRanges(std::list<ScRange, std::allocator<ScRange> > const&, rtl::OUString const*, short, rtl::OUString const*, ScXMLImport&) (XMLStylesImportHelper.cxx:182) ==19937== by 0x11769022: ScMyStyleRanges::SetStylesToRanges(rtl::OUString const*, ScXMLImport&) (XMLStylesImportHelper.cxx:191) ==19937== by 0x1176945F: ScMyStylesImportHelper::SetStylesToRanges() (XMLStylesImportHelper.cxx:493) ==19937== by 0x117B4DD7: ScMyTables::DeleteTable() (xmlsubti.cxx:207) ==19937== by 0x117B6961: ScXMLTableContext::EndElement() (xmltabi.cxx:426) ==19937== by 0x110D99F5: SvXMLImport::endElement(rtl::OUString const&) (xmlimp.cxx:716) ==19937== by 0x113C045C: sax_expatwrap::SaxExpatParser_Impl::callbackEndElement(void*, unsigned short const*) (sax_expat.cxx:817) ==19937== by 0x113CB1CC: doContent (xmlparse.c:2532) ==19937== by 0x113CB73B: contentProcessor (xmlparse.c:2105) ==19937== by 0x113CCE03: XML_ParseBuffer (xmlparse.c:1651) ==19937== by 0x113C0C1F: sax_expatwrap::SaxExpatParser_Impl::parse() (sax_expat.cxx:743) ==19937== by 0x113C17CC: sax_expatwrap::SaxExpatParser::parseStream(com::sun::star::xml::sax::InputSource const&) (sax_expat.cxx:531) ... ==19937== Address 0x143c4034 is 4 bytes inside a block of size 44 free'd ==19937== at 0x4027F33: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==19937== by 0x116808C2: ScTable::AddCondFormat(ScConditionalFormat*) (reversible_ptr_container.hpp:57) ==19937== by 0x115F4194: ScDocument::AddCondFormat(ScConditionalFormat*, short) (documen4.cxx:599) ==19937== by 0x117B3712: XMLTableStyleContext::ApplyCondFormat(com::sun::star::uno::Sequence<com::sun::star::table::CellRangeAddress>) (xmlstyli.cxx:470) ==19937== by 0x117A61A8: ScXMLImport::SetStyleToRanges() (xmlimprt.cxx:2683) ==19937== by 0x117A6589: ScXMLImport::SetStyleToRange(ScRange const&, rtl::OUString const*, short, rtl::OUString const*) (xmlimprt.cxx:2738) ==19937== by 0x11768DB5: ScMyStyleRanges::SetStylesToRanges(std::list<ScRange, std::allocator<ScRange> > const&, rtl::OUString const*, short, rtl::OUString const*, ScXMLImport&) (XMLStylesImportHelper.cxx:182) ==19937== by 0x11769022: ScMyStyleRanges::SetStylesToRanges(rtl::OUString const*, ScXMLImport&) (XMLStylesImportHelper.cxx:191) ==19937== by 0x1176945F: ScMyStylesImportHelper::SetStylesToRanges() (XMLStylesImportHelper.cxx:493) ==19937== by 0x117B4DD7: ScMyTables::DeleteTable() (xmlsubti.cxx:207) ==19937== by 0x117B6961: ScXMLTableContext::EndElement() (xmltabi.cxx:426) ==19937== by 0x110D99F5: SvXMLImport::endElement(rtl::OUString const&) (xmlimp.cxx:716) ==19937== by 0x113C045C: sax_expatwrap::SaxExpatParser_Impl::callbackEndElement(void*, unsigned short const*) (sax_expat.cxx:817) ==19937== by 0x113CB1CC: doContent (xmlparse.c:2532) ==19937== by 0x113CB73B: contentProcessor (xmlparse.c:2105) ==19937== by 0x113CCE03: XML_ParseBuffer (xmlparse.c:1651) ==19937== by 0x113C0C1F: sax_expatwrap::SaxExpatParser_Impl::parse() (sax_expat.cxx:743) ==19937== by 0x113C17CC: sax_expatwrap::SaxExpatParser::parseStream(com::sun::star::xml::sax::InputSource const&) (sax_expat.cxx:531) Created attachment 68091 [details]
valgring logs
Here is an archive with 2 valgring logs: one, with test1 in its name, has been done in interactive mode. The second, with test2 in its name, has been done with the bugdoc filename on the soffice command line.
Hope this helps.
Best regards. JBF
|