Apache OpenOffice (AOO) Bugzilla – Issue 60388
WMF file crashes application when saving
Last modified: 2006-01-13 16:02:24 UTC
This simple WMF file crashes OO Writer when saving a document that contains it: http://www.webterminate.com/wmf-crash.wmf The problem does not occur when the WMF is scaled to larger proportions (e.g. 200%). When the file is scaled to significantly smaller proportions (e.g. 10%), OO Writer crashes immediatelly. (Both when resizing by mouse, and when resizing in the Object properties) This behaviour seems to be affected by vertical scaling rather than horizontal.
Created attachment 33121 [details] WMF file that crashes OO Writer when scaled to small size
Reassigned to ES.
Problem does not occur under Windows XP, and thus appears to be confined to Linux only. Will check Gentoo Linux tonight.
Cannot confirm - problem does not occur for me using OOo 2.0.1 on Gentoo Linux. Steps taken: 1) Open a new text document 2) Insert the windows metafile in question via Insert > Picture > From file... 3a) Save as test.odt (Writer did not crash) 3b) Resized the metafile to a small size & saved again (Writer did not crash) flofloflo -> Can you post exact steps taken to produce the problem?
Created attachment 33167 [details] ODT file w/ the wmf in question embedded & resized several times
Atdsm, your file crashes my Writer as soon as it's displayed. Here's what I use: Ubuntu Breezy (5.10) + KDE (Kubuntu), with all current updates from main, multiverse, universe and restricted. My Openoffice comes from http://people.ubuntu.com/~doko/OOo2/ and gives as Version: "openoffice.org2-core 2.0.1-0breezy1, Sat Jan 7 01:11:04 UTC 2006" Maybe I should contact the packager ... (glad it's apparantly not a general OO Bug)
Yes, I would try contacting the package maintainer. Alternatively, there seem to be several other issues dealing w/ Ubuntu that suggest checking this bug on the Ubuntu bugzilla: http://bugzilla.ubuntu.com/show_bug.cgi?id=18201 Also, this issue may be a duplicate of either issue 55090 or issue 53922.
Should have stated the proposed workarounds: a) Install the official OOo 2.0.1 builds from the OOo download page (not the Ubuntu builds) or b) Export MALLOC_CHECK_=2 before running OpenOffice Please tell me if one of those workarounds solves the problem. If it does, then I will mark this as a duplicate of issue 53922.
I changed /usr/bin/ooffice2 to include $ENV{MALLOC_CHECK_} = 2; before the exec (last line), and it WORKS PERFECTLY. Thanks. What drawbacks does that solution have?
It's something to do with memory allocation, although I'm really not sure what happens behind the scenes with that environment variable. You could post followup questions to the Ubuntu bug if you wish, or read through issue 53922. Glad that it works for you, anyway. Given a solution duplicate to the workaround in issue 53922, I'm marking this as a duplicate. *** This issue has been marked as a duplicate of 53922 ***
Closing...