Bug 64897

Summary: [CRASH] Impress crashes when saving as .ppt
Product: LibreOffice Reporter: Xisco Faulí <anistenis>
Component: PresentationAssignee: Caolán McNamara <caolanm>
Status: RESOLVED FIXED QA Contact: Jorendc <jorendc>
Severity: critical    
Priority: medium CC: ChrRossmanith
Version: 4.1.0.0.alpha0+ MasterKeywords: regression
Hardware: Other   
OS: All   
Whiteboard: target:4.1.0
i915 platform: i915 features:
Attachments: sample
backtrace
Minimal test presentation

Description Xisco Faulí 2013-05-23 08:26:56 UTC
Created attachment 79694 [details]
sample

Impress crashes when it tries to save the attached document as .ppt.
Tested with Version: 4.1.0.0.alpha1+
Build ID: de00b8bb67b7453b45e081fe602782803eab134

Last time I tested it I used 4.1.0.0.alpha1+
Build ID: 578bd45644657a9f7ae99f525eeb5c653103dcf8 and the document was saved correctly so this is a regression introduced during this month.
Comment 1 Jorendc 2013-05-23 19:06:35 UTC
Thanks for reporting Xisco!

I can reproduce this using Linux Mint 15 x64 with LibreOffice Version: 4.2.0.0.alpha0+ Build ID: 66c315bcf2b78c4928d1e436d1a853f58f4cccd (pull date: Tue May 21 17:05:42 2013 +0300)

I'll attach a backtrace.

The terminal output is filled with:

warn:legacy.osl:13209:1:vcl/source/filter/wmf/wmfwr.cxx:1642: Unsupported meta action!

Kind regards,
Joren
Comment 2 Jorendc 2013-05-23 19:18:59 UTC
Created attachment 79718 [details]
backtrace
Comment 3 Jorendc 2013-05-24 16:15:25 UTC
I did a first bisect build with the versions Xisco mentioned in the Description.

I can reproduce a crash using:
Version: 4.1.0.0.alpha1+ Build ID: c9c2fbe485de2bb831bd2e58faef87a19ceff62
Comment 4 Jorendc 2013-05-28 14:38:46 UTC
Hi Xisco,

Can you confirm you test this with a --enable-debug (or other debug build)?
Following the backtrace this is an assertion failure (as far I can see as a non-dev), which result in the fact I can not bibisect it using the daily bisect repo.

Kind regards,
Joren
Comment 5 Christina Rossmanith 2013-06-01 12:59:48 UTC
commit abb6f47bd3941ec63a41a9b9fa4c7de620b5177d causes the crash
Comment 6 Xisco Faulí 2013-06-01 13:05:52 UTC
I can reproduce the bug with the following configuration:
--enable-dbgutil
--without-junit
Comment 7 Xisco Faulí 2013-06-01 13:33:10 UTC
Nice catch Christina, I've just reverted that commit locally and it isn't reproducible anymore.

I assign it to Caolán so he can decide what to do
Comment 8 Christina Rossmanith 2013-06-01 16:56:02 UTC
Created attachment 80142 [details]
Minimal test presentation

This is a small sample presentation. The shape filled with a color causes a crash when saved as ppt, the shape with no filling is saved successfully.
Comment 9 Caolán McNamara 2013-06-04 11:20:04 UTC
looks like sberg fixed this already as http://cgit.freedesktop.org/libreoffice/core/commit/?id=6dfd6a0e115136f7ae1730458508d76007560517

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.