LibreOffice 5.2.1 & 5.1.5 crashing after upgrading to macOS Sierra (10.12)

  • MacBook Pro late 2011
  • macOS Sierra

Upgraded the OS to macOS Sierra and LO 5.2.1 crashed on startup with message application quit unexpectedly.

LO worked before the upgrade and all other programs are working fine with the new OS.

I downgraded LO to 5.1.5 and have the same problem.

Tried:

Renaming the user folder to see if that would correct the problem, same results.

Installed LO 5.1.5 to see if that would resolve the issue. LO opened the first time I started the program and then crashed the next time with the above error message.

First part of the crash report from the 5.1.5 version installation:

Process:               soffice [831]
Path:                  /Applications/LibreOffice.app/Contents/MacOS/soffice
Identifier:            org.libreoffice.script
Version:               5.1.5002 (5.1.5002)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           soffice [831]
User ID:               501

Date/Time:             2016-09-21 10:44:45.709 -0400
OS Version:            Mac OS X 10.12 (16A323)
Report Version:        12
Anonymous UUID:        1243F49C-597B-4A22-4C0A-07CF2E4C5270

Time Awake Since Boot: 4700 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

Any suggestion on how to fix this?

Short answer, no :
https://bugs.documentfoundation.org/show_bug.cgi?id=100994

Someone is trying to work on a fix, but it doesn’t appear to be working yet.

Anyone have any information on when an update will be released to fix the macOS Sierra problems ?

Will a patch be released or do we have to wait for the next release cycle?

Open a Terminal-Session and start it with
/Applications/LibreOffice.app/Contents/MacOS/soffice

works for me.

cd ~/Desktop
ln -sf /Applications/LibreOffice.app/Contents/MacOS/soffice ./LibreOffice
and as a workaround you should be able to start LO by double-click

I think there might be a work around. I found it on the AOO forum (am I allowed to mention that on here?!!?! :wink: )
https://forum.openoffice.org/en/forum/viewtopic.php?f=17&t=85216&start=60#p398844

So when LO is closed/quit, go to System Preferences > Displays > Color and choose ‘Generic RGB Profile’. Then try opening LO. It works for me! The colors might look a bit washed out, depending on the monitor you’ve got, but hey if it works…

I’ve got two mac minis running external displays and only one had the problems - and that one was using a custom profile/calibration. I changed it to Generic RGB and it’s ok! (the one without issues was already using Generic RGB)

I hope this might also be able to put people in the right direction to coding a proper fix…

This worked for me also.

So far this has also worked for me. 27" iMac AMD Radeon R9 M390 Graphics i5 core.

Worked for me too! late-2015 iMac 27" 5K

This worked for me too! MacBookPro mid 2010. I chose “Generic RGB Profile” (german: “Allgemeines RB-Profil”), started LO without crash, changed Profle back to “Farb-LCD” (german for ~ “Color LCD”). Then stopped and restarted LO again w/o any more crashes!

Changing color profile to Generic RGB is working for me on my 2013 iMac (2.7 GHz Intel Core i5 processor, 8 GB 1600 MHz DDR3 memory), Intel Iris Pro 1536 MB graphics) with macOS Sierra 10.12.

NEEDED and worked with parallel install of 5.3.2 on MacBook OSX 10.10.5. BUT, it seems – on subsequent login – I need to change the colour profile back … and it works. This is really odd, and unsettling. But it does work.

No answer, but I have the same problem but only with the word processor. The spreadsheet seems to work OK. These are the two I used most and a fix for the word processor would be very welcome.

This would be more appropriate as a comment below the original question, because it is not an answer.

Tried the 5.2.2 released on 09/29/16. This release does not work with macOS Sierra

First few lines of the crash report.

Process:               soffice [678]
Path:                  /Applications/LibreOffice.app/Contents/MacOS/soffice
Identifier:            org.libreoffice.script
Version:               5.2.2002 (5.2.2002)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           soffice [678]
User ID:               501

Date/Time:             2016-09-29 10:31:45.086 -0400
OS Version:            Mac OS X 10.12 (16A323)
Report Version:        12
Anonymous UUID:        1243F49C-597B-4A22-4C0A-07CF2E4C5270


Time Awake Since Boot: 3700 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

No use downloading this release if you are having this problem with LibreOffice.


Added 10/05/16

Tried the pre-release version 5.1.6.1. It is experiencing the same problem as prior releases for me.


Added 10/12/16

Removed all previous versions and installed the LO Dev build 5.2.3.1.
As with previous releases the program opened the first time and then crashed the next time.

First few lines of the crash report.

Process:               soffice [708]
Path:                  /Applications/LibreOffice.app/Contents/MacOS/soffice
Identifier:            org.libreoffice.script
Version:               5.2.3001 (5.2.3001)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           soffice [708]
User ID:               501

Date/Time:             2016-10-12 16:51:08.964 -0400
OS Version:            Mac OS X 10.12 (16A323)
Report Version:        12
Anonymous UUID:        1243F49C-597B-4A22-4C0A-07CF2E4C5270

Sleep/Wake UUID:       79E46845-F44F-4451-8EA5-3E4CCF57CA25

Time Awake Since Boot: 5100 seconds
Time Since Wake:       3500 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

I had seen reports that the graphic card switching was causing this crash.

When to Preferences>Energy Saver. With the power adapter button selected I unchecked “Automatic graphics switching”. This will cause the computer to always use the high-performance graphics.

After making this change LO will open without a problem. So for me the macOS Sierra problem has something to do with the graphic card and which one is being used. When the AMD Radeon HD 6770M is used all the time there is no problem with LO starting.

Hardware information

15” late 2011
macOS Sierra 10.12
Model Name:	MacBook Pro
  Model Identifier:	MacBookPro8,2
  Processor Name:	Intel Core i7
  Processor Speed:	2.4 GHz
  Number of Processors:	1
  Total Number of Cores:	4
  L2 Cache (per Core):	256 KB
  L3 Cache:	6 MB
  Memory:	8 GB
  Boot ROM Version:	MBP81.0047.B2C
  SMC Version (system):	1.69f4

Graphics information:

AMD Radeon HD 6770M:

  Chipset Model:	AMD Radeon HD 6770M
  Type:	GPU
  Bus:	PCIe
  PCIe Lane Width:	x8
  VRAM (Total):	1024 MB
  Vendor:	ATI (0x1002)
  Device ID:	0x6740
  Revision ID:	0x0000
  ROM Revision:	113-C0170L-573
  Automatic Graphics Switching:	Supported
  gMux Version:	1.9.23
  EFI Driver Version:	01.00.573
  Displays:
Color LCD:
  Display Type:	LCD
  Resolution:	1440 x 900
  Pixel Depth:	32-Bit Color (ARGB8888)
  Main Display:	Yes
  Mirror:	Off
  Online:	Yes
  Automatically Adjust Brightness:	No
  Built-In:	Yes

Intel HD Graphics 3000:

  Chipset Model:	Intel HD Graphics 3000
  Type:	GPU
  Bus:	Built-In
  VRAM (Dynamic, Max):	512 MB
  Vendor:	Intel (0x8086)
  Device ID:	0x0126
  Revision ID:	0x0009
  Automatic Graphics Switching:	Supported
  gMux Version:	1.9.23

Added 10/08/16 ******

Downloaded and installed the current nightly build for mac found below.

http://dev-builds.libreoffice.org/daily/master/MacOSX-x86_64@49-TDF/current/

This has corrected my problem with LibreOffice crashing at startup.

So far, have only tested Writer as that is the main application I use. Maybe other problems but so far all seems to be working with Writer. Does seem to be slow loading a document but it is a nightly build so some issues are expected.

I second Blanksheet’s comments. I have yet to encounter issues running LibreOfficeDev (version 5.3.0.0) on macOS 10.12.1 (Build 16B2555) on a recent-issue iMac. See http://dev-builds.libreoffice.org/daily/master/MacOSX-x86_64@49-TDF/current/master~2016-11-17_00.29.28_LibreOfficeDev_5.3.0.0.alpha1_MacOS_x86-64.dmg

hi and thanks for this post. Turning off graphics card switching like you suggested worked for me without having to update LO (I’m running 5.1.3.2 on a mid 2010 MacBook Pro.

I have the same problem both the word processor and the spreadsheet crash when i try and move around a document.
I have Open Office 4.0.1 and it is more stable. I also installed Open Office 4.1.2 and that crashes like Libre. Not sure that helps in identifying the problem.

I contacted Apple Care about a problem with full screen crashing the system. They took me through a procedure to clean up various folders in Library: caches…

Tha t fixed the full screen crash but it also fixed the Libre problem. Call AppleCare and ask them how to clean up caches etc.

This worked for me as well, I downgraded to version 4.0.3, on a macbook pro circa 2012 running mac OS Sierra.