Bug 99137 - Word Document as DOCX crash LibreOffice server during PDF conversion
Summary: Word Document as DOCX crash LibreOffice server during PDF conversion
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks:
 
Reported: 2016-04-07 09:14 UTC by David KELLER
Modified: 2017-03-01 10:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
DOCX crash Writer (108.81 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-04-07 09:14 UTC, David KELLER
Details
DOC File ok (1.32 MB, application/msword)
2016-04-07 09:15 UTC, David KELLER
Details
Source code to do the PDF Transformation (12.80 KB, text/plain)
2016-04-10 10:22 UTC, David KELLER
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David KELLER 2016-04-07 09:14:22 UTC
Created attachment 124154 [details]
DOCX crash Writer

the DOCX document "NAHOUM_ RETRAITE-LETTRE.docx" (109 ko) crash PDF conversion.

When I convert this document in .doc using Word, the PDF conversion is done correctly.
Comment 1 David KELLER 2016-04-07 09:15:15 UTC
Created attachment 124155 [details]
DOC File ok
Comment 2 Julien Nabet 2016-04-10 07:55:06 UTC
On pc Debian x86-64 with master sources updated today or with LO Debian package 5.1.2.1.0, I don't reproduce this.

Could you give a try with LO 5.1.2?
Also, did you use specific options for PDF export? If not sure, please rename your LO directory profile (see https://wiki.documentfoundation.org/UserProfile#Windows) and give it a new try.

BTW, your doc might be confidential, you should have removed at least names of people quoted there.
Comment 3 Julien Nabet 2016-04-10 07:58:54 UTC
I've just made a new test and LO 5.1.2 crashes when exiting it after having exported in PDF.
Do you confirm the crash is during the pdf export?
Comment 4 David KELLER 2016-04-10 10:16:47 UTC
(In reply to Julien Nabet from comment #2)
> On pc Debian x86-64 with master sources updated today or with LO Debian
> package 5.1.2.1.0, I don't reproduce this.
> 
> Could you give a try with LO 5.1.2?
> Also, did you use specific options for PDF export? If not sure, please
> rename your LO directory profile (see
> https://wiki.documentfoundation.org/UserProfile#Windows) and give it a new
> try.
> 
> BTW, your doc might be confidential, you should have removed at least names
> of people quoted there.

I do not want to update the original document to keep the error.
you can put this attachment in private ? 
best regards
Comment 5 David KELLER 2016-04-10 10:21:55 UTC
(In reply to Julien Nabet from comment #3)
> I've just made a new test and LO 5.1.2 crashes when exiting it after having
> exported in PDF.
> Do you confirm the crash is during the pdf export?

I run libreoffice as server 
"C:\Program Files (x86)\LibreOffice 4\program\soffice.exe" --headless -accept="socket,host=localhost,port=8100;urp;"

Then I do the conversion using the Java API :

  XComponent document = initializeLibreOfficeService(inPath.toUri());
  saveAs(document, outPath.toUri(), filterName, filterData);

I put in attachment the source code.
Comment 6 David KELLER 2016-04-10 10:22:45 UTC
Created attachment 124230 [details]
Source code to do the PDF Transformation
Comment 7 Julien Nabet 2016-04-10 16:16:04 UTC
2 things:
1) All the attachments are automatically made public so I can't keep your file private since it's already public. (like the 2 other files you put) (see https://wiki.documentfoundation.org/QA/BugReport/Attachments)
To remove it, I'm not sure but I think you must create a bugtracker with "Product = LibreOffice", "Component=deletionrequest"
2) I don't know how to use Java Api but give a try to advice given in https://bugs.documentfoundation.org/show_bug.cgi?id=99137#c2
Comment 8 David KELLER 2016-04-18 17:08:19 UTC
(In reply to Julien Nabet from comment #3)
> I've just made a new test and LO 5.1.2 crashes when exiting it after having
> exported in PDF.
> Do you confirm the crash is during the pdf export?

I just installed  LO 5.1.2 win x86.
The problem is the same.
I confirm the crash is during the pdf export.
Comment 9 Julien Nabet 2016-04-18 18:08:34 UTC
Version must correspond to the oldest LO version where you may find the bug, so I reverted back version.

Also, since I don't have more questions, I'll put the status back to UNCONFIRMED.
Comment 10 Buovjaga 2016-04-26 12:06:45 UTC
Could you get a backtrace of the crash: https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg
Comment 11 Aron Budea 2016-06-28 04:29:15 UTC
Also, could you make the code example as minimal as possible? (eg. not a servlet)
Comment 12 QA Administrators 2017-01-31 00:29:52 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2017-03-01 10:37:13 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20170301