Bug 90103 - Headless convert-to PDF segfaults certain PPTX files
Summary: Headless convert-to PDF segfaults certain PPTX files
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-19 14:36 UTC by James Montgomery
Modified: 2015-12-31 08:26 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
gdb backtrace (3.75 KB, text/plain)
2015-03-19 14:36 UTC, James Montgomery
Details
Basic PPTX w/ Comments that can reproduce results from backtrace (60.75 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2015-03-19 17:14 UTC, James Montgomery
Details
Crasher2.pdf (pptx export without crash) (43.03 KB, application/pdf)
2015-03-19 19:15 UTC, Robinson Tryon (qubit)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Montgomery 2015-03-19 14:36:16 UTC
Created attachment 114192 [details]
gdb backtrace

--headless --convert-to pdf causes a segfaults with some PPTX files. GDB backtrace attached. 

###########################################################################

dl_open_worker (a=<error reading variable: Cannot access memory at address 0x7fffffffaa88>) at dl-open.c:563
563	    LIBC_PROBE (reloc_complete, 3, args->nsid, r, new);
ptrace: No such process.
(gdb) bt full
#0  dl_open_worker (a=<error reading variable: Cannot access memory at address 0x7fffffffaa88>) at dl-open.c:563
        args = <error reading variable args (Cannot access memory at address 0x7fffffffaa88)>
        file = <optimized out>
        mode = <optimized out>
        call_map = <optimized out>
        dst = <optimized out>
        new = <optimized out>
        r = <optimized out>
        reloc_mode = <optimized out>
        nmaps = <optimized out>
        l = <optimized out>
        maps = <optimized out>
        relocation_in_progress = <optimized out>
        any_tls = <optimized out>
        first_static_tls = <optimized out>
Cannot access memory at address 0x7fffffffaa88

###########################################################################
Comment 1 Robinson Tryon (qubit) 2015-03-19 14:43:07 UTC
(In reply to James Montgomery from comment #0)
> Created attachment 114192 [details]
> gdb backtrace
> 
> --headless --convert-to pdf causes a segfaults with some PPTX files. GDB
> backtrace attached. 

Hi James,
Thanks for the backtrace! Could you please attach an example PPTX file that demonstrates the problem?

Status -> NEEDINFO
Comment 2 James Montgomery 2015-03-19 17:14:09 UTC
Created attachment 114196 [details]
Basic PPTX w/ Comments that can reproduce results from backtrace

At this point in our testing it appears that any PPTX containing comments will fail to convert to PDF. 

*PPTX generated using Office 2010
Comment 3 James Montgomery 2015-03-19 17:17:21 UTC
Changing to "UNCONFIRMED" IAW Bug Reporter guidance.
Comment 4 Robinson Tryon (qubit) 2015-03-19 19:15:14 UTC
Created attachment 114197 [details]
Crasher2.pdf (pptx export without crash)
Comment 5 Robinson Tryon (qubit) 2015-03-19 19:16:08 UTC
TESTING on Ubuntu 14.04 with daily master:
Version: 4.5.0.0.alpha0+
Build ID: bdad6d0fe492a2334cb27ef54fc5d1cba17d1970
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-03-19_00:36:37
Locale: en_US

(In reply to James Montgomery from comment #0)
> --headless --convert-to pdf causes a segfaults with some PPTX files. GDB
> backtrace attached. 

NOREPRO with 4.5-master build:

qubit@lo:~/libreoffice/builds/master-2015-03-19_00.36.37_LibreOfficeDev_4.5.0.0.alpha0_Linux_x86-64_deb$ ./DEBS/install/opt/libreofficedev4.5/program/soffice -env:UserInstallation=file:////home/qubit/libreoffice/builds/master-2015-03-19_00.36.37_LibreOfficeDev_4.5.0.0.alpha0_Linux_x86-64_deb --headless --convert-to pdf ~/scratch/libreoffice/bugs/90103/Crasher2.pptx 
convert /home/qubit/scratch/libreoffice/bugs/90103/Crasher2.pptx -> /home/qubit/libreoffice/builds/master-2015-03-19_00.36.37_LibreOfficeDev_4.5.0.0.alpha0_Linux_x86-64_deb/Crasher2.pdf using filter : impress_pdf_Export

Successfully exported attachment 114197 [details] (assuming that looks correct :-)
Comment 6 Robinson Tryon (qubit) 2015-03-19 19:20:40 UTC
NOREPRO with 4.4.1.2 (x86-64) on Ubuntu 14.04

qubit@lo:~/libreoffice/builds/LibreOffice_4.4.1.2_Linux_x86-64_deb$ ./DEBS/install/opt/libreoffice4.4/program/soffice -env:UserInstallation=file:////home/qubit/libreoffice/builds/LibreOffice_4.4.1.2_Linux_x86-64_deb  --headless --convert-to pdf ~/scratch/libreoffice/bugs/90103/Crasher2.pptx 
convert /home/qubit/scratch/libreoffice/bugs/90103/Crasher2.pptx -> /home/qubit/libreoffice/builds/LibreOffice_4.4.1.2_Linux_x86-64_deb/Crasher2.pdf using filter : impress_pdf_Export

James:
1) What's your OS?
2) Can you reproduce the problem with a daily build?
http://dev-builds.libreoffice.org/daily/master/Linux-rpm_deb-x86_64@46-TDF/current/

Status -> NEEDINFO
Comment 7 Julien Nabet 2015-03-19 20:30:45 UTC
On pc Debian x86-64 with master sources updated yesterday, I don't reproduce this.

For the test, could you rename your LO directory profile (see https://wiki.documentfoundation.org/UserProfile#GNU.2FLinux) and give a new try?
Comment 8 QA Administrators 2015-10-14 19:50:54 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


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


Warm Regards,
QA Team

This NEEDINFO message was generated on: 2015-10-14
Comment 9 Julien Nabet 2015-12-31 08:26:21 UTC
No feedback since 7 months.
If you still reproduce this with recent LO version (last stable is 5.0.4) with a brand new LO profile (see https://bugs.documentfoundation.org/show_bug.cgi?id=90103#c7), don't hesitate to reopen this tracker.