Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index




On 10/16/2017 09:24 PM, Frédéric Bron wrote:
I have changed from Fedora 25 to Fedora 26 and I want to reinstall my
LibreOffice Basic libraries. It works fine with the unencrypted ones.
This is wrong: in fact, I import but the modules are empty.

apparently, this is not due to linux update but to LibreOffice update.
Macros working well with 5.2 version do not work with 5.3 version
(tested on linux F26 and Windows).
What's wrong with 5.3?
Greetings,
I am currently using Slackware Linux 14.2 (k4.4.88), LO 5.3.4.2, mariadb 10.0.32, and mysql-connector-java 5.1.42.

Not sure this is your problem, but it sounds familiar. I have learned that there is a possibility that at least some LO macros are Java-based. If that is so, then your Linux kernel update may have broken LO, actually, the Java interface. This is ill-behaved, since a kernel update should never break Java or LO. I believe that LO is doing something ill-behaved or the LO code is making some bad assumptions about the stack frame gaps. For me, this has happened in LO 5.2 as well as 5.3, so it is not LO version-dependent, at least not the later releases.

When I updated my Slackware Linux 14.2 (k4.4.38) to kernel 4.4.75, LO Base started crashing hard, but OpenOffice did not. My investigation discovered that a Linux kernel security fix in k4.4.75 that increased the inter-stack gap was causing the problem. To make a long story short, there are two solutions that I know of:
1. Switch to 64-bit Linux, which does not seem to have this problem.
2. Add " stack_guard_gap=6" to the 32-bit kernel boot parameters. Which reduces the inter-stack gap to where Java/LO can operate.

This has been documented in the Slackware forum on LinuxQuestions.org. Search for my thread:

   *Problem with the 4.4.75 kernel security upgrade dated 26 June 2017
   (SSE 2017-177-01) *

on https://www.linuxquestions.org/ .

Ever since I have done #2, I have not had any LibreOffice Base crashes.

Note that in addition to Base crashes, I discovered some of the Tools -> Options dialogs crashed too, especially the "Internet" options. So Java must be used for more than just Base or macros. But this problem definitely crashes LO when trying to connect to my external Mariadb (MySQL) database.

HTH.
Girvin Herr


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.