Bug 117930 - FILESAVE; Error while exporting document to XHTML
Summary: FILESAVE; Error while exporting document to XHTML
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, notBibisectable, regression
Depends on:
Blocks: (X)HTML-Export
  Show dependency treegraph
 
Reported: 2018-05-31 11:21 UTC by Vladimir
Modified: 2023-07-20 01:09 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
File which I want to convert to xhtml. (4.14 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-05-31 11:23 UTC, Vladimir
Details
typescript of make debugrun (40.30 KB, text/plain)
2018-06-15 19:50 UTC, Terrence Enger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2018-05-31 11:21:45 UTC
Description:
Some files cause an error when exporting them to XHTML. 

Steps to Reproduce:
1.Open the attached file in Writer.
2.Choose File->Export in menu
3.Choose xhtml file type and click Save.

Actual Results:  
Error message:
"Error saving the document docx1:
General Error.
General input/output error."


Expected Results:
Converting file to xhtml.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Comment 1 Vladimir 2018-05-31 11:23:07 UTC
Created attachment 142439 [details]
File which I want to convert to xhtml.
Comment 2 Julien Nabet 2018-05-31 18:50:52 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed this on console:
TAyMDIwMDAxMDAwMTAxMDAwMTEwRUVGRkZGRkYNCkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGR
                                                                               ^
Entity: line 5: parser error : Extra content at the end of the document
TAyMDIwMDAxMDAwMTAxMDAwMTEwRUVGRkZGRkYNCkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGR
                                                                               ^
warn:filter.xslt:31766:31854:filter/source/xsltfilter/XSLTFilter.cxx:237: XSLTFilter::error was called: N3com3sun4star3uno9ExceptionE msg: Extra content at the end of the document

warn:legacy.osl:31766:31766:xmloff/source/text/txtparae.cxx:3295: hyperlink without an URL --> no export to ODF
warn:xmloff:31766:31766:xmloff/source/core/xmlerror.cxx:169: An error or a warning has occurred during XML import/export!
Error-Id: 0x60040004
    Flags: 6 ERROR SEVERE
    Class: 4 API
    Number: 4
Parameters:
Exception-Message: com.sun.star.uno.RuntimeException: ""
Comment 3 Vladimir 2018-05-31 19:27:07 UTC
In addition. The attached file can be successfully converted to HTML.
Comment 4 Dieter 2018-06-01 05:41:13 UTC
(In reply to Julien Nabet from comment #2)
> On pc Debian x86-64 with master sources updated today, I could reproduce
> this.

=> I changed status to NEW
Comment 5 Xisco Faulí 2018-06-04 11:40:34 UTC
Reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.10; Render: default; 

Version: 5.0.0.0.alpha1+
Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86
Locale: ca-ES (ca_ES.UTF-8)

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

but not in

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 6 Terrence Enger 2018-06-15 19:30:58 UTC
Working on debian-buster in various bibisect repositories, I find:

    result              repo   commit    s-h       date
    ------------------  -----  --------  --------  -------------------
    lack libpng12.so.0  41max  15c6cb33  59f96e17  2013-05-08 08:04:51
    segfault            41max  d4b9573a  56fa2d1b  2013-05-08 09:48:10
    segfault            43max  2f78ce5b  005fae2b  2014-05-21 05:08:02
    msgbox              43max  73fd9643  c354deac  2014-05-21 05:59:59

I am leaving keyword bibisectRequest unchanged.  Maybe somebody can go
back and try versions earlier that the first I listed.
Comment 7 Terrence Enger 2018-06-15 19:50:37 UTC
Created attachment 142786 [details]
typescript of make debugrun

Some quick pointers:

    line  what
       2  make debugrun
     242  info threads
     250  backtrace
     294  thread apply all backtrace

I collected these backtraces while the message box "General
input/output error" was open.

I am setting keyword haveBacktrace.  If it turns out that I have not
captured the right stuff, please remove the keyword.

This collection is from commit cf32e4eb (2018-06-14 13:00 UTC), built
and running on debian-buster.
Comment 8 Buovjaga 2018-07-11 17:11:16 UTC
Like Terrence in comment 6, I get crashes on exporting with Linux max repos. Setting as notBibisectable
Comment 9 QA Administrators 2019-07-12 02:52:06 UTC Comment hidden (obsolete)
Comment 10 Terrence Enger 2019-07-31 15:39:57 UTC
I still see the general input/output error in bibisect-linux-64-6.4
version from 2019-07-28 running on debian-buster.
Comment 11 Julien Nabet 2019-08-02 15:16:51 UTC
On Win10 with master sources updated today, I could reproduce this and also saw same kinds of logs:
warn:vcl.fonts:18120:17012:vcl/source/fontsubset/sft.cxx:1257: Parsing error in : 247 max possible entries, but 258 claimed, truncating
Entity: line 5: parser error : xmlSAX2Characters: huge text node
AAIcAqABfQC1qQ1hIqDlYM6gugSioHlgjqBFYC6gGgQCodHpyen5+qFBYWKili6KLgYGbqJsALy8SOS8
                                                                               ^
Entity: line 5: parser error : Extra content at the end of the document
AAIcAqABfQC1qQ1hIqDlYM6gugSioHlgjqBFYC6gGgQCodHpyen5+qFBYWKili6KLgYGbqJsALy8SOS8
                                                                               ^
warn:filter.xslt:18120:32304:filter/source/xsltfilter/XSLTFilter.cxx:237: XSLTFilter::error was called: com.sun.star.uno.Exception message: Extra content at the end of the document
 context: class XSLT::LibXSLTTransformer
warn:legacy.osl:18120:17012:xmloff/source/text/txtparae.cxx:3329: hyperlink without a URL --> no export to ODF
warn:legacy.osl:18120:17012:xmloff/source/text/txtparae.cxx:3329: hyperlink without a URL --> no export to ODF
warn:legacy.osl:18120:17012:xmloff/source/text/txtparae.cxx:3329: hyperlink without a URL --> no export to ODF
warn:legacy.osl:18120:17012:xmloff/source/text/txtparae.cxx:3329: hyperlink without a URL --> no export to ODF
warn:legacy.osl:18120:17012:xmloff/source/text/txtparae.cxx:3329: hyperlink without a URL --> no export to ODF
warn:legacy.osl:18120:17012:xmloff/source/text/txtparae.cxx:3329: hyperlink without a URL --> no export to ODF
warn:xmloff:18120:17012:xmloff/source/core/xmlerror.cxx:170: An error or a warning has occurred during XML import/export!
Error-Id: 0x60040004
    Flags: 6 ERROR SEVERE
    Class: 4 API
    Number: 4
Parameters:
Exception-Message: com.sun.star.uno.RuntimeException: ""
Comment 12 Stéphane Guillou (stragu) 2021-05-19 07:13:33 UTC
The document now crashes LibreOffice 7.2 alpha1+ !

Reported in Bug 142367

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: b1c0734ffe0f395757b6e0cea7830d820231afeb
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-05-18_03:16:20
Calc: threaded
Comment 13 Terrence Enger 2021-05-20 00:35:56 UTC
After the fix to bug 142367, in a local --enable-dbgutil build of
commit cfe0e7dc, built and running on debian-buster, I see that the
crash is gone and the msgbox is back.
Comment 14 Xisco Faulí 2021-05-20 07:30:09 UTC
Issue still reproducible in

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: 4e4e02904fdff021631e7758a277b7c1c7b9378a
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 15 QA Administrators 2023-05-21 03:15:48 UTC Comment hidden (obsolete)
Comment 16 Terrence Enger 2023-07-20 01:09:53 UTC
In LibreOffice delivered with debian sid ...
        Version: 7.5.5.2 (X86_64) / LibreOffice Community
        Build ID: 50(Build:2)
        CPU threads: 8; OS: Linux 6.3; UI render: default; VCL: gtk3
        Locale: en-CA (en_CA.UTF-8); UI: en-US
        Debian package version: 4:7.5.5~rc2-1
        Calc: threaded
I still receive msgbox
        Error saving the document docx1:
	General Error.
	General input/output error.