Issue 7543

Summary: Saving files in OpenOffice.org 1.0 text document format causes crash
Product: Writer Reporter: robert.kinsella
Component: uiAssignee: stefan.baltzer
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P1 (highest) CC: issues
Version: 643Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on: 7607    
Issue Blocks:    

Description robert.kinsella 2002-09-06 14:55:15 UTC
Linux RedHat 7.2 glibc 2.2.4, OpenOffice.org 643.


Open a new text document (File - Text Document)
enter some text
Select File - Save As
enter a filename, select OpenOffice.org 1.0 text Document (sxw)
Select Save - OpenOffice .org crashes.

The  user get the same result whilst attempting to save
in OpenOffice.org 1.0 text document template format.

Saving in all other formats pass
Comment 1 Martin Hollmichel 2002-09-09 13:21:42 UTC
(gdb) where
#0  0x450d1436 in SwUnoPropertyMapProvider::Sort(unsigned short) ()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#1  0x450d1b03 in SwUnoPropertyMapProvider::GetPropertyMap(unsigned
short) ()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#2  0x450f2937 in SwXTextPortion::getPropertySetInfo() ()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#3  0x4419483a in
XMLTextParagraphExport::exportTextRangeEnumeration(com::sun::s
tar::uno::Reference<com::sun::star::container::XEnumeration> const&,
unsigned ch
ar, unsigned char, unsigned char) ()
   from /export/home/mh/OpenOffice.org643/program/libxo643li.so
#4  0x44194445 in
XMLTextParagraphExport::exportParagraph(com::sun::star::uno::R
eference<com::sun::star::text::XTextContent> const&, unsigned char,
unsigned cha
r, unsigned char, MultiPropertySetHelper&) ()
   from /export/home/mh/OpenOffice.org643/program/libxo643li.so
#5  0x44193476 in
XMLTextParagraphExport::exportTextContentEnumeration(com::sun:
:star::uno::Reference<com::sun::star::container::XEnumeration> const&,
unsigned 
char,
com::sun::star::uno::Reference<com::sun::star::text::XTextSection>
const&,
 unsigned char, unsigned char,
com::sun::star::uno::Reference<com::sun::star::be
ans::XPropertySet> const*, unsigned char) ()
   from /export/home/mh/OpenOffice.org643/program/libxo643li.so
#6  0x44192c68 in
XMLTextParagraphExport::exportText(com::sun::star::uno::Refere
nce<com::sun::star::text::XText> const&, unsigned char, unsigned char,
unsigned 
char) () from /export/home/mh/OpenOffice.org643/program/libxo643li.so
#7  0x4529dabc in SwXMLExport::_ExportAutoStyles() ()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#8  0x440d5434 in SvXMLExport::ImplExportAutoStyles(unsigned char) ()
   from /export/home/mh/OpenOffice.org643/program/libxo643li.so
#9  0x440d5bef in SvXMLExport::exportDoc(xmloff::token::XMLTokenEnum)
()
   from /export/home/mh/OpenOffice.org643/program/libxo643li.so
#10 0x452832a9 in SwXMLExport::exportDoc(xmloff::token::XMLTokenEnum)
()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#11 0x440d48aa in
SvXMLExport::filter(com::sun::star::uno::Sequence<com::sun::st
ar::beans::PropertyValue> const&) ()
   from /export/home/mh/OpenOffice.org643/program/libxo643li.so
#12 0x452821b9 in
SwXMLWriter::WriteThroughComponent(com::sun::star::uno::Refere
nce<com::sun::star::io::XOutputStream> const&,
com::sun::star::uno::Reference<co
m::sun::star::lang::XComponent> const&,
com::sun::star::uno::Reference<com::sun:
:star::lang::XMultiServiceFactory> const&, char const*,
com::sun::star::uno::Seq
uence<com::sun::star::uno::Any> const&,
com::sun::star::uno::Sequence<com::sun::
star::beans::PropertyValue> const&) ()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#13 0x452819ab in
SwXMLWriter::WriteThroughComponent(com::sun::star::uno::Refere
nce<com::sun::star::lang::XComponent> const&, char const*,
com::sun::star::uno::
Reference<com::sun::star::lang::XMultiServiceFactory> const&, char
const*, com::
sun::star::uno::Sequence<com::sun::star::uno::Any> const&, char
const*<com::sun:
:star::beans::PropertyValue> const&, unsigned char) ()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#14 0x45280262 in SwXMLWriter::_Write() ()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#15 0x4528146a in SwXMLWriter::WriteStorage() ()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#16 0x451f9415 in StgWriter::Write(SwPaM&, SvStorage&, String const*)
()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#17 0x4514cac6 in SwWriter::Write(WriterRef&, String const*) ()
   from /export/home/mh/OpenOffice.org643/program/libsw643li.so
#18 0x452bbeab in SwDocShell::SaveAs(SvStorage*) ()
Comment 2 Martin Hollmichel 2002-09-09 13:34:24 UTC
*** Issue 7545 has been marked as a duplicate of this issue. ***
Comment 3 Martin Hollmichel 2002-09-11 12:06:37 UTC
fixed by unomap.cxx 1.122.2.14.

Comment 4 Martin Hollmichel 2002-11-14 15:38:30 UTC
did only occur in 643 build -> reset ooo1.0 keyword
Comment 5 thorsten.ziehm 2003-05-20 16:14:13 UTC
This task is fixed or worked in OOo 1.1 beta2.
Comment 6 thorsten.ziehm 2003-05-20 16:35:24 UTC
This task is fixed long time ago. => closed