LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2017, 07:21 PM   #1
JavaMeister
Member
 
Registered: Jul 2017
Location: NC
Distribution: Ubuntu 20.04
Posts: 34

Rep: Reputation: Disabled
Macro invocation or Base crashes LO


I have discovered at least four ways to crash LO cold dead.

Desktop PC, recently installed Ubuntu 16.04, uninstalled and freshly re-installed LO 5.1.6.2, including LO Base.

Renamed .config\libreoffice\4\user to ...\userOld.
  1. open LO Write or Calc on Untitled 1.odt/ods, Tools, Macros, Run Macro, BOOM
  2. open LO Write or Calc on Untitled 1.odt/ods, Tools, Customize, Keyboard, Category, LibreOffice Macros, BOOM
  3. open LO Base, Select database (default), Finalize, Save as, Save, BOOM
    this creates a file named New Database.odb in my home directory
  4. double click on New Database.odb in my home directory (or any other .odb file), Tables, BOOM
BOOM → all open LO windows immediately close
Clicking any of my LO shortcuts brings up “LibreOffice 5”, LibreOffice Document Recovery, which then runs just fine.

This is really hurting me because I have a whole bunch of macro work to do. Any help?
 
Old 10-08-2017, 06:36 PM   #2
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
It's caused by a recent change to the Linux kernel, which somehow messes up the Java Runtime (JRE). It affects Base, and the Macro commands.

You can read more here: https://www.linuxquestions.org/quest...-a-4175610351/

I don't know if it is resolved. I don't use Base, or macros, but to prevent crashes on the Macro command or tab, I unchecked "use a Java runtime environment" under Options > Advanced. Obviously, that won't help someone using Base, but I don't know if macros need Java.
 
Old 10-08-2017, 06:43 PM   #3
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Probably not much help, but LO 5.4.2.2-2 on Fedora 27 does not have problems #1 and #2 (I don't have Base installed, so can't test #3 and #4).
 
Old 10-21-2017, 09:03 PM   #4
JavaMeister
Member
 
Registered: Jul 2017
Location: NC
Distribution: Ubuntu 20.04
Posts: 34

Original Poster
Rep: Reputation: Disabled
SOLVED Macro invocation or Base crashes LO

This problem is described succinctly at LibreOffice Base crashes on 32bit Linux.

The "stack_guard_gap=1" kernel parameter fixed it all up for me.

I also found a thread in the Slackware forum that seems to identify the same problem. It was fixed there with a "stack_guard_gap=6" kernel parameter. That works well for me in Ubuntu 16.04 also.
 
  


Reply

Tags
base, crash, macro



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Macro invocation or Base crashes LO JavaMeister Linux - Desktop 3 10-24-2017 06:02 AM
Linux 18.2 with OpenOffice 4.1.0 base crashes when trying to scroll. sdkautoa Linux - Newbie 34 07-23-2017 05:40 PM
Getting Error: Cannot find base url for repo: base (CentOS 6) tverbeek Linux - Newbie 8 10-04-2013 10:49 AM
how does macro to get base address register in configuration space works jamesbon Programming 1 11-22-2010 07:19 PM
#defining a macro inside a macro? saravkrish Programming 1 05-24-2005 09:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration