Issue 125886 - Open Office crashes while storing the component to an URL
Summary: Open Office crashes while storing the component to an URL
Status: CLOSED DUPLICATE of issue 97227
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 4.0.1
Hardware: All Linux 64-bit
: P3 Major (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-21 12:13 UTC by jvchbabu
Modified: 2017-05-20 10:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jvchbabu 2014-11-21 12:13:47 UTC
We have  installed open office 4.0.1 on Linux version 2.6.32-220.el6.x86_64 (mockbuild@x86-004.build.bos.redhat.com) 


We tried to generate an word document out of an HTML content.  The HTML content has table data where the cells were merged for few rows and does not span across all columns . We created a temporary html file with HTML content and used the below code fragment to insert this document.
XDocumentInsertable.insertDocumentFromURL(strFileUrl, insertArgs);

Then tried to save the component to URL by below code fragment.
            PropertyValue[] propertyvalue = new PropertyValue[ 2 ];
	    propertyvalue[ 0 ] = new PropertyValue();
	    propertyvalue[ 0 ].Name = "Overwrite";
	    propertyvalue[ 0 ].Value = new Boolean(true);
	    propertyvalue[ 1 ] = new PropertyValue();
	    propertyvalue[ 1 ].Name = "FilterName";
            propertyvalue[ 1 ].Value =  "MS Word 97"       ;

    
            Xstorable.storeAsURL(targetDocName, propertyvalue );

when executing Xstorable.storeAsURL(xx,xx); the CPU spike to 90%  and memory spike to 90% usage, after some time the open office services crashes down by throwing below exception:

com.sun.star.lang.DisposedException: com.sun.star.io.IOException: EOF reached - socket,host=localhost,port=8100,localHost=localhost.localdomain,localPort=53572,peerHost=localhost,peerPort=8100 (s:null c:null i:null)
com.sun.star.lang.DisposedException: com.sun.star.io.IOException: EOF reached - socket,host=localhost,port=8100,localHost=localhost.localdomain,localPort=53572,peerHost=localhost,peerPort=8100
	at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.invoke(java_remote_bridge.java:282)
	at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:170)

The data table which causes the issue is in the attached doc(data_content.doc).

The issue is observed in Linux environment where as it work fine without any issues in windows environment.

when we merge the cells across all rows evenly , then open office is bale to generate the report even in Linux environment also.

We tried it number of time and all the times it failed consistently.
 So open office is failing to store the document when table contains merged cells across all rows evenly.
 We have attached  data content in the attachment( table data which fails and table data which works.
Comment 1 oooforum (fr) 2014-11-21 13:24:46 UTC
(In reply to jvchbabu from comment #0) 
> The issue is observed in Linux environment where as it work fine without any
> issues in windows environment.

*** This issue has been marked as a duplicate of issue 97227 ***