Bug 123970 - Reflowable epub2/epub3 output fails with General Input/Output Error
Summary: Reflowable epub2/epub3 output fails with General Input/Output Error
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: EPUB-Export
  Show dependency treegraph
 
Reported: 2019-03-09 21:06 UTC by kroeger_frank
Modified: 2020-03-18 11:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Demo.docx test file to reproduce this bug (1.25 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-03-09 21:07 UTC, kroeger_frank
Details
console logs + bt (59.88 KB, text/plain)
2019-03-10 08:48 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kroeger_frank 2019-03-09 21:06:29 UTC
Description:
I can't generate reflowable epub2/epub3 builds from the attached demo.docx file. (Fixed layout epubs work fine.) 

I tested this with the March 8 2019 nightly build (Version: 6.2.3.0.0+ (x64). The bug also occurs with the same version and the latest x64 Linux kernels. (The bug was also present in earlier versions.)

Steps to Reproduce:
1. Open the attache demo.docx file.
2. Select File > Export as > Export as EPUB...
3. Accept all defaults (EPUB 3.0, Heading, Reflowable), click OK and select the default file name (demo.epub).


Actual Results:
The output will fail with a General input output error. 

Expected Results:
Writer should generate a reflowable epub3 document. 


Reproducible: Always


User Profile Reset: No



Additional Info:
FIXED layout EPUB 2.0/3.0 output works. I can also generate reflowable epub3 books from simple .docx files. Most likely there's a bug in the .docx parser and/or the reflowable epub converter.
Comment 1 kroeger_frank 2019-03-09 21:07:42 UTC
Created attachment 149847 [details]
Demo.docx test file to reproduce this bug
Comment 2 Julien Nabet 2019-03-10 08:48:20 UTC
Created attachment 149852 [details]
console logs + bt

On pc Debian x86-64 with master sources updated today, I got an assert.
Comment 3 Xisco Faulí 2019-03-22 16:29:49 UTC
Also reproduced in

Version: 6.1.0.0.alpha1+
Build ID: 3a801799536e6870f2fb111b1cc00b9575a35a39
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

@Miklos, I thought you might be interested in this issue