You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Rory O'Farrell <of...@iol.ie> on 2026/08/01 10:43:19 UTC
OpenOffice 4.1.16 on (X)ubuntu 26.04
Is anyone using Xubuntu 26.04, or any of the linux versions based on
that?
I have tried OpenOffice 4.1.16 on two machines, one using Xubuntu 26.04 (64 bit)
and the other using Xubuntu 26.04 minimal. On opening a Writer file I
get a "General error", then the file opens. On closing a modified file
I may get another General error; these show up as segmentation faults in
the logs.
The files I used were plain book text (styled), and also a simple Calc file.
I also tried OO 4.1.16 on an "out of the box" installation on MXLinux
25.2, with the same problem.
The same machines ran AOO 4.1.16 on Xubuntu 24.04.4 without problems.
In both cases I tried fresh User Profiles and confirmed that there were valid Java installations.
I'd appreciate any feedback and suggested solutions. I know work is advancing on a future upgrade of OpenOffice and I do not wish to distract from that effort.
The Saved files are OK, with no damage, so I can continue to work with them using AOO for the present.
Rory
--
Rory O'Farrell <of...@iol.ie>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: OpenOffice 4.1.16 on (X)ubuntu 26.04
Posted by Dean Webber <de...@student.uq.edu.au>.
Of relation,
Bug 32653 - Review options for improving both security and backwards compatibility of glibc 2.41 dlopen / execstack handling, https://sourceware.org/bugzilla/show_bug.cgi?id=32653 , regarding the December 2024 release of glibc 2.41, which was a response to CVE-2023-38408.
From Brave AI, "Bug 32653 (glibc 2.41+): dlopen() now strictly fails if a library requires an executable stack but the main process doesn't have one (error: cannot enable executable stack). No intrinsic bug in libraptor. The error occurs because your build (or a dependency like libxml2) lacks the PT_GNU_STACK header, defaulting to "executable" due to older toolchains or missing assembly annotations. dlopen-based loads (e.g., Python/Ruby bindings) crash on glibc 2.41+ (Debian 13, Fedora 41+). Rebuild with -z noexecstack or run execstack -c on the .so file."
On 6 November 2025, after discussion, Pedro shared Apache_OpenOffice_4.2.0_Linux_x86-64_install-deb_en-GB (AOO420m5(Build:9824) - Rev. C51e9806e6), which worked without issue. I also have a much older build, that did not feature this issue.
As mentioned below, was fixed in #483 which added ".IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"; LDFLAGS+:=-Wl,-z,noexecstack; .ENDIF # "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD"" into main/redland/raptor/makefile.mk
I was experiencing this issue on my system, which did not have SELinux installed, and even disabling apparmor made no difference. It was due to the CVE-2023-38408 -> release of glibc 2.41 -> the use of dlopen making stack executable, which is now blocked because of https://access.redhat.com/security/cve/cve-2023-38408.
Sorry if this posting was unnecessary, as it duplicates/drags up stuff from previous discussions.
Faithfully,
Dean
________________________________
From: Rory O'Farrell <of...@iol.ie>
Sent: 01 August 2026 22:37
To: dev@openoffice.apache.org <de...@openoffice.apache.org>
Subject: Re: OpenOffice 4.1.16 on (X)ubuntu 26.04
On Sat, 1 Aug 2026 13:04:03 +0100
Rory O'Farrell <of...@iol.ie> wrote:
> Thank you for the below reply.
>
> I will try these options out and report back when completed, but real life always gets in the way!.
>
> Rory
I tried your option (3), downloading execstack from
https://archive.ubuntu.com/ubuntu/pool/universe/p/prelink/execstack_0.0.20131005-1.1_amd64.deb
installing it, then executing
sudo execstack -c /opt/openoffice4/program/libraptor2.so.0
as you suggested
OpenOffice 4.1.16 now opens files in Writer without any general error.
Many thanks.
I have not yet tried this fix on MXLinux - will do so later.
Rory
> On Sat, 1 Aug 2026 13:45:50 +0200
> Arrigo Marchiori <ar...@apache.org> wrote:
>
> > Hello Rory,
> >
> > On Sat, Aug 01, 2026 at 11:43:19AM +0100, Rory O'Farrell wrote:
> >
> > > Is anyone using Xubuntu 26.04, or any of the linux versions based on
> > > that?
> > >
> > > I have tried OpenOffice 4.1.16 on two machines, one using Xubuntu 26.04 (64 bit)
> > > and the other using Xubuntu 26.04 minimal. On opening a Writer file I
> > > get a "General error", then the file opens. On closing a modified file
> > > I may get another General error; these show up as segmentation faults in
> > > the logs.
> >
> > There is an issue with SELinux, that is enabled by default on some
> > distributions.
> >
> > You can also check this long thread:
> > https://lists.apache.org/thread/2y50cgsjcy7l9shm06yt7p8w2s021d6m
> >
> > The issue was fixed with pull request #483, this means that the next
> > version will not be affected.
> >
> > There are many possible workarounds to this issue:
> >
> > 1- disable SELinux;
> >
> > 2- mark the OpenOffice executable as requiring executable stack
> > (you need to compile the execstack program, that is most probably
> > not available in your distro repository)
> > https://lists.apache.org/thread/sg5trgwvj01n92yv904z20k2398jzzll
> > $ sudo execstack -s /opt/openoffice4/program/soffice.bin
> >
> > 3- mark file /opt/openoffice4/program/libraptor2.so.0 to not require
> > executable stack
> > $ sudo execstack -c /opt/openoffice4/program/libraptor2.so.0
> >
> > The safest choice should be 3- but I did not test it yet.
> >
> > I hope this helps.
> >
> > Best regards,
> > --
> > Arrigo
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> > For additional commands, e-mail: dev-help@openoffice.apache.org
> >
>
>
> --
> Rory O'Farrell <of...@iol.ie>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
--
Rory O'Farrell <of...@iol.ie>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: OpenOffice 4.1.16 on (X)ubuntu 26.04
Posted by Rory O'Farrell <of...@iol.ie>.
On Sat, 1 Aug 2026 13:04:03 +0100
Rory O'Farrell <of...@iol.ie> wrote:
> Thank you for the below reply.
>
> I will try these options out and report back when completed, but real life always gets in the way!.
>
> Rory
I tried your option (3), downloading execstack from
https://archive.ubuntu.com/ubuntu/pool/universe/p/prelink/execstack_0.0.20131005-1.1_amd64.deb
installing it, then executing
sudo execstack -c /opt/openoffice4/program/libraptor2.so.0
as you suggested
OpenOffice 4.1.16 now opens files in Writer without any general error.
Many thanks.
I have not yet tried this fix on MXLinux - will do so later.
Rory
> On Sat, 1 Aug 2026 13:45:50 +0200
> Arrigo Marchiori <ar...@apache.org> wrote:
>
> > Hello Rory,
> >
> > On Sat, Aug 01, 2026 at 11:43:19AM +0100, Rory O'Farrell wrote:
> >
> > > Is anyone using Xubuntu 26.04, or any of the linux versions based on
> > > that?
> > >
> > > I have tried OpenOffice 4.1.16 on two machines, one using Xubuntu 26.04 (64 bit)
> > > and the other using Xubuntu 26.04 minimal. On opening a Writer file I
> > > get a "General error", then the file opens. On closing a modified file
> > > I may get another General error; these show up as segmentation faults in
> > > the logs.
> >
> > There is an issue with SELinux, that is enabled by default on some
> > distributions.
> >
> > You can also check this long thread:
> > https://lists.apache.org/thread/2y50cgsjcy7l9shm06yt7p8w2s021d6m
> >
> > The issue was fixed with pull request #483, this means that the next
> > version will not be affected.
> >
> > There are many possible workarounds to this issue:
> >
> > 1- disable SELinux;
> >
> > 2- mark the OpenOffice executable as requiring executable stack
> > (you need to compile the execstack program, that is most probably
> > not available in your distro repository)
> > https://lists.apache.org/thread/sg5trgwvj01n92yv904z20k2398jzzll
> > $ sudo execstack -s /opt/openoffice4/program/soffice.bin
> >
> > 3- mark file /opt/openoffice4/program/libraptor2.so.0 to not require
> > executable stack
> > $ sudo execstack -c /opt/openoffice4/program/libraptor2.so.0
> >
> > The safest choice should be 3- but I did not test it yet.
> >
> > I hope this helps.
> >
> > Best regards,
> > --
> > Arrigo
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> > For additional commands, e-mail: dev-help@openoffice.apache.org
> >
>
>
> --
> Rory O'Farrell <of...@iol.ie>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
--
Rory O'Farrell <of...@iol.ie>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: OpenOffice 4.1.16 on (X)ubuntu 26.04
Posted by Rory O'Farrell <of...@iol.ie>.
Thank you for the below reply.
I will try these options out and report back when completed, but real life always gets in the way!.
Rory
On Sat, 1 Aug 2026 13:45:50 +0200
Arrigo Marchiori <ar...@apache.org> wrote:
> Hello Rory,
>
> On Sat, Aug 01, 2026 at 11:43:19AM +0100, Rory O'Farrell wrote:
>
> > Is anyone using Xubuntu 26.04, or any of the linux versions based on
> > that?
> >
> > I have tried OpenOffice 4.1.16 on two machines, one using Xubuntu 26.04 (64 bit)
> > and the other using Xubuntu 26.04 minimal. On opening a Writer file I
> > get a "General error", then the file opens. On closing a modified file
> > I may get another General error; these show up as segmentation faults in
> > the logs.
>
> There is an issue with SELinux, that is enabled by default on some
> distributions.
>
> You can also check this long thread:
> https://lists.apache.org/thread/2y50cgsjcy7l9shm06yt7p8w2s021d6m
>
> The issue was fixed with pull request #483, this means that the next
> version will not be affected.
>
> There are many possible workarounds to this issue:
>
> 1- disable SELinux;
>
> 2- mark the OpenOffice executable as requiring executable stack
> (you need to compile the execstack program, that is most probably
> not available in your distro repository)
> https://lists.apache.org/thread/sg5trgwvj01n92yv904z20k2398jzzll
> $ sudo execstack -s /opt/openoffice4/program/soffice.bin
>
> 3- mark file /opt/openoffice4/program/libraptor2.so.0 to not require
> executable stack
> $ sudo execstack -c /opt/openoffice4/program/libraptor2.so.0
>
> The safest choice should be 3- but I did not test it yet.
>
> I hope this helps.
>
> Best regards,
> --
> Arrigo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
--
Rory O'Farrell <of...@iol.ie>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: OpenOffice 4.1.16 on (X)ubuntu 26.04
Posted by Arrigo Marchiori <ar...@apache.org>.
Hello Rory,
On Sat, Aug 01, 2026 at 11:43:19AM +0100, Rory O'Farrell wrote:
> Is anyone using Xubuntu 26.04, or any of the linux versions based on
> that?
>
> I have tried OpenOffice 4.1.16 on two machines, one using Xubuntu 26.04 (64 bit)
> and the other using Xubuntu 26.04 minimal. On opening a Writer file I
> get a "General error", then the file opens. On closing a modified file
> I may get another General error; these show up as segmentation faults in
> the logs.
There is an issue with SELinux, that is enabled by default on some
distributions.
You can also check this long thread:
https://lists.apache.org/thread/2y50cgsjcy7l9shm06yt7p8w2s021d6m
The issue was fixed with pull request #483, this means that the next
version will not be affected.
There are many possible workarounds to this issue:
1- disable SELinux;
2- mark the OpenOffice executable as requiring executable stack
(you need to compile the execstack program, that is most probably
not available in your distro repository)
https://lists.apache.org/thread/sg5trgwvj01n92yv904z20k2398jzzll
$ sudo execstack -s /opt/openoffice4/program/soffice.bin
3- mark file /opt/openoffice4/program/libraptor2.so.0 to not require
executable stack
$ sudo execstack -c /opt/openoffice4/program/libraptor2.so.0
The safest choice should be 3- but I did not test it yet.
I hope this helps.
Best regards,
--
Arrigo
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org