Bug 107175 - Headless conversion fails on 5.3.x but works with 5.2.x
Summary: Headless conversion fails on 5.3.x but works with 5.2.x
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.3.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-15 05:31 UTC by Richard PALO
Modified: 2017-05-19 06:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard PALO 2017-04-15 05:31:01 UTC
I'm crossposting this https://bugs.archlinux.org/task/53448 here as it appears rather to be a combination LO 5.3 issue on Linux 4.10 which can be easily reproduced (at least on ArchLinux x86_64)

I've reconfirmed the issue remains with LibreOffice 5.3.2.2 30m0(Build:2)
on 4.10.9-1-ARCH whereas it works on 4.9.21-1-lts. LO 5.2 works on both.

Here's the traceback:
$ soffice --headless --convert-to pdf foo.odt
convert /home/richard/foo.odt -> /home/richard/foo.pdf using filter : writer_pdf_Export
*** Error in `/usr/lib/libreoffice/program/soffice.bin': free(): invalid pointer: 0x00000000038a0b38 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x722ab)[0x7f5970b2b2ab]
/usr/lib/libc.so.6(+0x7890e)[0x7f5970b3190e]
/usr/lib/libc.so.6(+0x7911e)[0x7f5970b3211e]
/usr/lib/libc.so.6(+0x366c0)[0x7f5970aef6c0]
/usr/lib/libc.so.6(+0x3671a)[0x7f5970aef71a]
/usr/lib/libc.so.6(__libc_start_main+0xf8)[0x7f5970ad9518]
/usr/lib/libreoffice/program/soffice.bin[0x40068a]
======= Memory map: ========
00400000-00401000 r-xp 00000000 08:01 295010                             /usr/lib/libreoffice/program/soffice.bin
00600000-00601000 r--p 00000000 08:01 295010                             /usr/lib/libreoffice/program/soffice.bin
00601000-00602000 rw-p 00001000 08:01 295010                             /usr/lib/libreoffice/program/soffice.bin
02450000-04287000 rw-p 00000000 00:00 0                                  [heap]
7f5940000000-7f5940021000 rw-p 00000000 00:00 0 
7f5940021000-7f5944000000 ---p 00000000 00:00 0 
...ad nauseum
Comment 1 Alex Thurgood 2017-04-24 08:29:51 UTC
Nothing to do with the Base module, which refers to databases, but more likely printing and PDF preparation in general. Changing module accordingly.
Comment 2 Buovjaga 2017-04-28 17:39:19 UTC
On Arch 64-bit with 4.10.11-1 I don't reproduce this.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.2.2
Build ID: 5.3.2-1
CPU Threads: 8; OS Version: Linux 4.10; UI Render: default; VCL: kde4; Layout Engine: new; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Comment 3 Richard PALO 2017-05-19 06:34:10 UTC
(In reply to Buovjaga from comment #2)
> On Arch 64-bit with 4.10.11-1 I don't reproduce this.
> 
> Arch Linux 64-bit, KDE Plasma 5
> Version: 5.3.2.2
> Build ID: 5.3.2-1
> CPU Threads: 8; OS Version: Linux 4.10; UI Render: default; VCL: kde4;
> Layout Engine: new; 
> Locale: fi-FI (fi_FI.UTF-8); Calc: group

Well, reproduction probably needed to be on same revisions...

But so, just tried again on recent Linux sarchx64 4.10.13-1-ARCH
with LibreOffice 5.3.3.2 30m0(Build:2) and I confirm I no longer see the issue.

since it is now fixed in either the OS or LO, I'll mark now as resolved.

Thanks.