Ask Your Question
0

LibreOffice Base crashes on 32bit Linux

asked 2017-08-08 13:04:13 +0100

BrnVrn gravatar image

updated 2017-10-25 11:44:38 +0100

ratrace gravatar image

I launch LibreOffice base, create a new base, use the default (HSQLDB), just click next, OK, chose a file name, click OK, and it crashes.

"soffice.bin crashed with SIGSEGV in " "stack_expand_to()" or ""JNI_CreateJavaVM()

It is a 32bit machine, It crashes with Ubuntu 16.04 LTS as well as the newest 17.04, fully updated. (Tried OpenJDK 8.131 and Oracle Java 8.144 and tried updating LO to latest version 5.4). I tried on a physical machine and on another one in VirtualBox.

It does not crash using a 64bit install. 32bits used to wor in 2016, before some Ubuntu updates in 16.04 LTS.

On 16.04 LTS there is typically: LibreOffice 5.1.6~rc2 / kernel 4.10.0 / OpenJDK 1.8.0_131

Any hint??

edit retag flag offensive close merge delete

Comments

Another post for the same issue.

ratrace gravatar imageratrace ( 2017-10-25 11:46:29 +0100 )edit

Mint 18.3 32bit & Libreoffice 6.3. Base crashes when trying to create or connect to a table. Switched to Opensource JRE from Oracle JRE. Problem solved!

Winlinuser gravatar imageWinlinuser ( 2018-04-07 21:11:06 +0100 )edit

3 Answers

Sort by » oldest newest most voted
3

answered 2017-08-08 13:48:48 +0100

BrnVrn gravatar image

updated 2017-08-08 15:35:18 +0100

I finally found some info. Issue started mid June 2017.

  • Yes LibreOffice Base does not work on a 32 bit Linux machine
  • It should be fixed with a new kernel release (hopefully)
  • It is a change in the kernel (security fix) that affected Java that is required for LibreOffice Base
  • Neither Ubuntu or LibreOffice or OpenJDK can fix this kernel issue (OK, maybe OpenJDK could also fix it)
  • There IS a workaround (tested on 16.04 and 17.04): "Add kernel parameter stack_guard_gap=1"

Here is how to add kernel parameter: https://askubuntu.com/questions/19486... . You should remove this parameter when the new kernel solve the issue (test), because I guess is it less secure without stack_guard ...

References:

edit flag offensive delete link more

Comments

This kernel issue also affects LO Writer on 32-bit Linux if Java is used, and likely in any other LO applications, at least on Fedora 25. For example, if Java is enabled, going to Tools > Macros > Run Macro... causes Writer to crash. Fortunately, the workaround above works in this case as well.

techsquirrel gravatar imagetechsquirrel ( 2017-10-20 18:58:57 +0100 )edit
0

answered 2018-08-23 20:57:19 +0100

CKB gravatar image

I read many bug report what related this bug , but not clear this problems for me, because we build and use LibreOffice 5.4.1.2 on 32 bit blackPanther OS with 4.9.20 and 4.14.4 kernel between, WITHOUT any kernel parameter and JRE is enabled, and LibreOffice working fine! Not have a freezes or crashes...

image description

Around after LibreOffice 5.5 releases we have get many problem after build. Example: can't save documents to odf formats (rebuild with newest boost, etc solved this problem), and after 6.1 crashes writer if java is enabled with same (4.9.20 - 4.14.4) kernels ?!

We tired debugging with --strace/--backtrace but did not bring really result because we got java and memory errors.

edit flag offensive delete link more
0

answered 2017-08-08 13:46:31 +0100

Mike Kaganski gravatar image
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-08-08 13:04:13 +0100

Seen: 3,072 times

Last updated: Aug 23