Apache OpenOffice (AOO) Bugzilla – Issue 90822
SESELinux 'execheap' violation at startup
Last modified: 2008-12-16 17:09:29 UTC
OO2.4.1, after being installed via an update from 2.4, aborts immediately on Fedora Core 7 (and most likely later versions) because of an SELinux 'execheap' violation. I will attach the complete error report from SELinux. But in essence it says the program contains incorrect code which is a security risk. The SELinux web site discusses how to write code which avoids this problem (it says to use mmap to allocate anonymous storage for generated code, not malloc + mprotect) Please see the 'execheap' section of http://people.redhat.com/drepper/selinux-mem.html
Created attachment 54549 [details] Detailed error report from SELinux
I guess this happens with any other apps (Calc, Impress...)? Are you sure this affects 2.4.0 -> 2.4.1? The error report shows: openoffice.org-writer-*2.2.1*-18.2.fc7
I cannot reproduce this problem. Tested it with native OO 2.4.1 and 3.0 dev build on WinXP, Fedora Core and SUSE 10.2. You are running Fedora using the by-packed OOo build. Please refer to the distributors support or even run the native OOo builds which can be downloaded from Openoffice.org.
Closed.
FWIW a lot of those execheap errors that claim to be from e.g. openoffice.org are in fact from e.g. nvidia or some other driver that has a replacement libGL and so apps that use opengl fail. To make OOo not try and use libGL then export SAL_NOOPENGL=true is a workaround, i.e. if export SAL_NOOPENGL=true makes it work, then the problem is not that of OpenOffice.org, but that of a bad libGL.so.1