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: 2025-08-27 18:19 UTC (History)
4 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.
Comment 17 QA Administrators 2025-07-20 03:10:56 UTC
Dear Vladimir,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug