Issue 72571 - Crash when exporting *.odp in *.PPT-Format
Summary: Crash when exporting *.odp in *.PPT-Format
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: OOo 2.1
Hardware: Mac Mac OS X, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: jogi
QA Contact: issues@porting
URL:
Keywords: oooqa
: 75300 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-12-14 11:40 UTC by Uwe Altmann
Modified: 2007-09-13 08:08 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
This odp crashes OOo when exporting as ppt (368.47 KB, application/vnd.oasis.opendocument.presentation)
2006-12-14 11:43 UTC, Uwe Altmann
no flags Details
This file will export to ppt with no crash (1.03 MB, application/vnd.oasis.opendocument.presentation)
2006-12-15 08:54 UTC, Uwe Altmann
no flags Details
...and these five will crash (542.57 KB, application/octet-stream)
2006-12-15 08:57 UTC, Uwe Altmann
no flags Details
slide 4 crashes (361.50 KB, application/vnd.oasis.opendocument.presentation)
2007-01-26 07:03 UTC, smolejv
no flags Details
slide 4 crashes powerpoint 2003 (364.50 KB, application/vnd.oasis.opendocument.presentation)
2007-01-28 15:10 UTC, smolejv
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Uwe Altmann 2006-12-14 11:40:28 UTC
Attatched odp document crashes when trying to export it to *.ppt.
OOo 2.0.3. does also.
Using another document crashes also in both cases.

Mac(Intel) 10.4.8.
Comment 1 Uwe Altmann 2006-12-14 11:43:59 UTC
Created attachment 41425 [details]
This odp crashes OOo when exporting as ppt
Comment 2 eric.bachard 2006-12-14 12:01:47 UTC
Issue confirmed on Mac Intel : crash

This issue is a show stopper for 2.1 

reassigning issue to wg


ericb->wg

Thank's in advance for your expertise


The crash trace :


Thread 2 Crashed:
0   libuno_sal.dylib.3         	0x01ba270f rtl_string_release + 26
1   libreg.dylib.3             	0x034695ee FieldEntry::~FieldEntry [in-charge]() + 44
2   libemp680mxi.dylib         	0x0a10efea PortionObj::ImplClear() + 32
3   libemp680mxi.dylib         	0x0a10f022 PortionObj::~PortionObj [in-charge]() + 18
4   libemp680mxi.dylib         	0x0a10f283 ParagraphObj::ImplClear() + 45
5   libemp680mxi.dylib         	0x0a119fe2 ParagraphObj::~ParagraphObj [in-charge]() + 18
6   libemp680mxi.dylib         	0x0a11a18c ImplTextObj::~ImplTextObj [in-charge]() + 48
7   libemp680mxi.dylib         	0x0a11a270 TextObj::~TextObj [in-charge]() + 54
8   libemp680mxi.dylib         	0x0a11c55c PPTWriter::ImplWriteTextStyleAtom(SvStream&, int, 
unsigned long, TextRuleEntry*, SvStream&) + 5840
9   libemp680mxi.dylib         	0x0a11ca36 PPTWriter::ImplCreatePresentationPlaceholder(unsigned 
char, PageType, unsigned long, unsigned char) + 1186
10  libemp680mxi.dylib         	0x0a1243dd PPTWriter::ImplWritePage(PHLayout const&, 
EscherSolverContainer&, PageType, unsigned char, int) + 27923
11  libemp680mxi.dylib         	0x0a1076f4 PPTWriter::ImplCreateMaster(unsigned long) + 2726
12  libemp680mxi.dylib         	0x0a10ab60 PPTWriter::PPTWriter[in-charge](SotStorageRef&, 
com::sun::star::uno::Reference<com::sun::star::frame::XModel>&, 
com::sun::star::uno::Reference<com::sun::star::task::XStatusIndicator>&, SvMemoryStream*, unsigned 
long) + 3724
13  libemp680mxi.dylib         	0x0a10b055 ExportPPT + 65
14  libsd680mxi.dylib          	0x074044f1 SdPPTFilter::Export() + 471
15  libsd680mxi.dylib          	0x0734fe66 sd::DrawDocShell::ConvertTo(SfxMedium&) + 194
16  libsfx680mxi.dylib         	0x048790dd SfxObjectShell::SaveTo_Impl(SfxMedium&, SfxItemSet const*) 
+ 819
17  libsfx680mxi.dylib         	0x0487c3c8 SfxObjectShell::PreDoSaveAs_Impl(String const&, String 
const&, SfxItemSet*) + 648
18  libsfx680mxi.dylib         	0x0487cd5c SfxObjectShell::CommonSaveAs_Impl(INetURLObject const&, 
String const&, SfxItemSet*) + 2014
19  libsfx680mxi.dylib         	0x0488436f SfxObjectShell::APISaveAs_Impl(String const&, SfxItemSet*) + 
623
20  libsfx680mxi.dylib         	0x048d9d97 SfxBaseModel::impl_store(rtl::OUString const&, 
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, unsigned char) + 533
21  libsfx680mxi.dylib         	0x048daf86 SfxBaseModel::storeAsURL(rtl::OUString const&, 
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) + 206
22  libsfx680mxi.dylib         	0x048eee99 SfxStoringHelper::GUIStoreModel
(com::sun::star::uno::Reference<com::sun::star::frame::XModel> const&, rtl::OUString const&, 
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&) + 3661
23  libsfx680mxi.dylib         	0x04885812 SfxObjectShell::ExecFile_Impl(SfxRequest&) + 4442
24  libsfx680mxi.dylib         	0x04944127 SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, 
SfxRequest&, unsigned char) + 599
25  libsfx680mxi.dylib         	0x04944927 SfxDispatcher::_Execute(SfxShell&, SfxSlot const&, 
SfxRequest&, unsigned short) + 149
26  libsfx680mxi.dylib         	0x04937a4e SfxBindings::Execute_Impl(SfxRequest&, SfxSlot const*, 
SfxShell*) + 106
27  libsfx680mxi.dylib         	0x04960d7f SfxDispatchController_Impl::dispatch(com::sun::star::util::URL 
const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, 
com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> const&) + 4805


Comment 3 eric.bachard 2006-12-14 12:02:52 UTC
added me on CC
Comment 4 andreschnabel 2006-12-14 17:14:19 UTC
confirmed as comments tell, that other users could reproduce
Comment 5 lohmaier 2006-12-14 17:24:38 UTC
FYI: no crash with PPC
Comment 6 shaunmcdonald131 2006-12-14 18:48:49 UTC
I can confirm a crash here for the en-GB build on Mac OS X Intel ooo2.1rc1.
Comment 7 shaunmcdonald131 2006-12-14 19:12:21 UTC
This would appear to be a document specific issue, as a export of the template
works fine.
Comment 8 Uwe Altmann 2006-12-14 20:34:42 UTC
Yes, but eight of the nine odp/sxi documents I got her are crashing.
Comment 9 shaunmcdonald131 2006-12-15 00:04:31 UTC
There will be something specific in all these documents, that causes this crash.
We need to work out what this is.

This is another bit of very important information:
Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x0000000c

Seems like there is an issue with the importer that might be related to issue 72565
Comment 10 Uwe Altmann 2006-12-15 08:54:29 UTC
Created attachment 41437 [details]
This file will export to ppt with no crash
Comment 11 Uwe Altmann 2006-12-15 08:57:42 UTC
Created attachment 41438 [details]
...and these five will crash
Comment 12 eric_openoffice 2006-12-15 17:34:26 UTC
After some more testing I figured out that only presentations having more than
one slide crash. If that's the case it makes no difference if you have twenty or
two slides.

In addition the bug is also reproducable if I use an old StarOffice 5.2 or
OpenOffice.org 1.x presentation. 

Comment 13 eric_openoffice 2006-12-15 17:39:12 UTC
Strange. 

One of Uwe Altmann's presentations with only one slide makes OOo crash too. So
it may have nothing to do with the actual number of slides. 

Comment 14 jjmckenzie 2006-12-16 22:21:45 UTC
@uwealtmann

The first file also crashed the en_US version of OpenOffice.org 2.1rc2.  However
a file of the same name existed and had to be saved in PPT format.  I don't know
what in the file is causing the crash and this should be investigated and isolated.

James McKenzie
Comment 15 wolframgarten 2007-01-02 08:57:57 UTC
Reassigned.
Comment 16 terencewright 2007-01-07 14:08:52 UTC
I have experienced this crash with very simple single slide text only presentations.
Comment 17 terencewright 2007-01-07 15:08:43 UTC
I do not get crashing in OOo_2.1.0_MacOSXIntel if I create a presentation from a
template or an existing presentation, only when created from a 'blank' presentation.

I tried removing the footer fields in the default master but it had no effect.
Comment 18 fein 2007-01-13 20:31:17 UTC
No crashes on PPC. 
Comment 19 Uwe Altmann 2007-01-22 20:50:35 UTC
As Karsten Schulz reports, OOo 2.0.3 crashes also with these files. With X11 1.1
installed (so we can't blame  Apples X11 update this time :-)
Comment 20 smolejv 2007-01-26 06:58:10 UTC
In my case it crashes on a specific slide I created for the animation tests.
(XP, 2.1 slovenian version)  see the exported ppt
Comment 21 smolejv 2007-01-26 06:59:20 UTC
In my case it crashes on a specific slide I created for the animation tests.
(XP, 2.1 slovenian version)  see the exported ppt.

smo
Comment 22 smolejv 2007-01-26 07:03:05 UTC
Created attachment 42475 [details]
slide 4 crashes
Comment 23 tino.rachui 2007-01-26 19:56:58 UTC
It seems as this issue is fixed with cws 'macosxmapfiles'! I could export all the attached file without 
crashes to ppt on Mac Intel
Comment 24 shaunmcdonald131 2007-01-27 12:38:40 UTC
I can confirm that this issue no longer occurs with my build with the CWS
macosxmapfiles. My build (Intel) is available from
http://termite.go-oo.org/MacPort1/builds/101
Comment 25 smolejv 2007-01-28 15:07:43 UTC
quickanima.ppt, recreated from 2.2 odp file, still powerpoint (2003 ver) at the
slide 4.
Comment 26 smolejv 2007-01-28 15:10:52 UTC
Created attachment 42523 [details]
slide 4 crashes powerpoint 2003
Comment 27 andreschnabel 2007-01-28 15:47:32 UTC
smolejv: 
please don't mix up the issues. This issue is about OOo on Mac / Intel crashing
when a presentation is exported to ppt format.

obviously you've been able to export to ppt but the exported file is broken.
Please file a new issue (and attach the original file, not only the broken .ppt
export)
Comment 28 goldmtesting 2007-01-31 20:50:14 UTC
Confirmed for OOo 2.1 running on Mac OS X 10.4.8 Intel platform.  The attached
document crashes when saving as a PPT.  The other document reported as not
crashing OOo is confirmed.  I was able to save it with no problems.

Perhaps this is a corruption in OOo on your machine and corrupts the files saved
on it (in some situations), causing a crash when trying to save as a PPT file.

Further testing on PPC iMac G5 caused no crash on the first file.  This leads to
believe this is a problem with the Intel architecture on Mac OS X with OOo. 
Interesting.

Comment 29 shaunmcdonald131 2007-01-31 21:04:55 UTC
goldmtesting: Can you please check http://termite.go-oo.org/MacPort1/builds/101
which should not have the issue. This is a build of OpenOffice.org for Mac OS X
Intel with a big code change for the Mac platform. Our tests so far have shown
that with the fixes in the CWS macoxmapfiles (which the above build is based
on), the crash does not happen.
Comment 30 shaunmcdonald131 2007-03-12 22:09:30 UTC
*** Issue 25227 has been marked as a duplicate of this issue. ***
Comment 31 shaunmcdonald131 2007-03-12 22:10:36 UTC
*** Issue 75300 has been marked as a duplicate of this issue. ***
Comment 32 shaunmcdonald131 2007-03-12 22:12:37 UTC
Fixed in the CWS macosxmapfiles which has been integrated.
Comment 33 jjmckenzie 2007-03-19 04:15:03 UTC
Verified that problem does not exist in 2.2rc3.  Macosxmapfiles was integrated
in 2.2rc1, but this issue was not tested as that release had other issues and
was withdrawn.  Will close issue when 2.2 Final is released on/about March 31, 2007.
Comment 34 thackert 2007-09-07 07:19:55 UTC
Just as a reminder ... ;)
jjmckenzie: Have you or anyone else tested it with a newer release as 2.2 or
better: in 2.3RC1 (does this version exists in your language? I do not know it,
sorry ... :( )? Does this problem still occurs? If this problem is solved, could
someone close this issue, please?
Comment 35 shaunmcdonald131 2007-09-07 10:47:04 UTC
closing as it was fixed a long time back
Comment 36 conboymj 2007-09-13 06:28:41 UTC
Dear OpenOffice,

I'm just a User, so bear with me.  I experienced the same crashes described
herein, on a Mac Ibook G4, OSX 10.3.9, OO v. 2.1, where the computer would crash
when trying to save as a WinOffice .ppt file.  I also noticed that many of my
Excel charts, embedded in the slides, had been altered when OO saved as an .odp
file (which did not crash).  The alterations were kind of random, but included
presenting a spreadsheet instead of the chart and a histogram instead of a pie
chart.  Anyway, after digging around in the menus, I found under
Tools>Options>Load/Save>VBA Properties, two checkboxes for MS PPT 97/2000 to
"Load Basic code to edit" and "Save original Basic code again".  When I
unchecked the "Save original Basic code again", the crash problem went away and
has not returned.  (The "Load Basic code to edit" box did not affect the crashing).

I hope this helps.  I am now a happy user again.

Cheers,
Mike
Comment 37 conboymj 2007-09-13 06:31:32 UTC
D'oh, correction: _Open Office_ would crash, not my computer.
-Mike
Comment 38 eric.bachard 2007-09-13 08:08:10 UTC
ericb->conboymj 

Can you please file a new issue ?  That one is closed and fixed already, and I
think your problem is different, and needs to be treated separately. ( juste
paste your comments + all information helping us to reproduce are welcome )

Anyway, thanks for reporting problems.

P.S. : maybe you mean OpenOffice.org  ? <-  please don't forget the .org