LibreOffice 6.2 crashes crashes on Mac OS Catalina after a while

asked 2019-10-20 14:14:06 +0100

Andreas Piening gravatar image

Hi there, after switching to MacOS X Catalina (10.15) LibreOffice crashed after a while. I can open, edit and even save documents when I'm quick enough, because after around 30 seconds LibreOffice crashes. Sometimes I get the message Due to an unexpected error, LibreOffice crashed. and sometimes the crash report dialog from Mac OS X pops up.

I have tried the latest stable version 6.2.8002 (6.2.8002) from https://www.libreoffice.org/download/... and I tried to install the newest version available at homebrew (6.3.2) but the Symptoms are the same.

Here are the first lines of my crash report:

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

Date/Time:             2019-10-20 13:53:22.259 +0200
OS Version:            Mac OS X 10.15 (19A602)
Report Version:        12
Bridge OS Version:     3.0 (14Y906)
Anonymous UUID:        42039164-2841-55CE-B22F-1122999A04AA

Sleep/Wake UUID:       C057D13F-E441-41D0-B4D0-71B9ECA82E11

Time Awake Since Boot: 22000 seconds
Time Since Wake:       1000 seconds

System Integrity Protection: disabled

Crashed Thread:        4  UpdateCheckThread

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010
Exception Note:        EXC_CORPSE_NOTIFY

To me it looks like the UpdateCheckThread is causing the crash which makes sense, since LibreOffice works fine for a while and it crashes after a while without doing any specific action. I have a working internet connection.

Any idea why this is or how I can solve it?

Kind regards Andreas

edit retag flag offensive close merge delete

Comments

tdf#127619 is about the same problem - but it tells about pre-Catalina...

Mike Kaganski gravatar imageMike Kaganski ( 2019-10-20 14:24:30 +0100 )edit

Thanks Mike, that's exactly my issue! I started LibreOffice again, went quickly to the settings and disabled AutoUpdate. Now it works without issues! However if I trigger the "check for update" function LO crashes immediately. But at least I can use LO now and I can live with manually checking for updates and install them from the website. Maybe I can re-enable the update check if the issue is solved in a newer version.

Andreas Piening gravatar imageAndreas Piening ( 2019-10-20 14:30:30 +0100 )edit

That bug needs a crucial piece of information, which could help fixing it. It is bibisection, a process of finding the firch code change that resulted in the problem.

To bibisect, one needs to be able to reproduce the problem, and have some energy to repeatedly (around 12 times) launch the program to nail down to the problematic commit. You have an environment where you can reproduce the crash. If you could spend some time bibisecting, and post the results to that bug, that would be really important contribution!

Mike Kaganski gravatar imageMike Kaganski ( 2019-10-20 15:33:31 +0100 )edit

Hi Mike, I would like to assist by investigating on this and/or trying different versions and follow the Bibisect guide. However I'm sceptic that this might help in this case: - I was running an older version (I think it was 6.2.4) when the issue happened for me right after upgrading to Catalina (it did work before!) and it also happens with 6.2.8 and 6.3.2 which are the current versions. Looking at Bug #127619 this issue is related to some external library (nss3/nssutil3) or other circumstances. Since from my understanding there is no version that has introduced this issue and the only workaround is to disable the update check, it is unlikely that an intermediate version would not have the issue. - I'm not using LibreOffice Vanilla for Mac (in the Mac App Store). Instead I downloaded the release from the website ...(more)

Andreas Piening gravatar imageAndreas Piening ( 2019-10-21 16:07:14 +0100 )edit

The bug report claims that the first failing version of LibreOffice was 6.1 - so first step would be confirming that 6.0 doesn't fail, and 6.1 fails. Then, if that's true, then you'd need to download the 6.1 bibisect repo, and follow the procedure to find the problem. If 6.0 fails, then bug report needs updating, and earlier versions need checking, until either a version that doesn't fail is found, or it's confirmed that it was failing forever...

Mike Kaganski gravatar imageMike Kaganski ( 2019-10-21 17:38:27 +0100 )edit

Turning off the automatic updates worked for me.

I am on Mac OS High Sierra, and I had the same issue. I upgraded from 6.2.5 to 6.2.8 and it seemed to work ok. Sometime in the last week I installed the new security update from Apple, and after that I noticed that LibreOffice kept crashing. I just spent the past day trying all sorts of fixes, resetting my user profile, reinstalling Java, reverting to 6.2.5 or earlier versions from my Time Machine backup, and even reinstalling XServer. After everything I tried, LibreOffice would crash after a minute or so. I finally stumbled upon this thread and disabled the update check. Now it's been over 10 minutes and LO is still running! So excited that I created a user account on here to post a comment on this thread!

hring gravatar imagehring ( 2019-10-21 22:11:43 +0100 )edit

@hring Thank you for the feedback. It was also my observation that the issue started after a Mac OS system upgrade, not an update for LibreOffice.

@Mike I have downloaded LibreOffice 6.0.1 from https://downloadarchive.documentfound... and I confirm that the issue does not affect this version. I can manually check for updates without an issue which caused the latest versions to crash. However, when I try to open the preferences panel in LO 6.0.0.1 it crashes immediately. But that's another issue which is unrelated and it does not occur on the latest version. Would downloading the different LO versions from https://downloadarchive.documentfound... be an option to nail down what the first version was that has the update issue? I took a look at the Bibisect guide but I'm confused that there seems to be no repository for versions 6.0 and ...(more)

Andreas Piening gravatar imageAndreas Piening ( 2019-10-23 16:45:30 +0100 )edit

You need only to download v.6.1.0 - to check that the problem indeed started between these two major versions. If it did, then you need to use bibisect repo for 6.1 - which is mentioned on the bibisect page that I referred above. Thank you!

Mike Kaganski gravatar imageMike Kaganski ( 2019-10-23 17:45:39 +0100 )edit

I have downloaded version 6.1.0.1 and LO crashes as soon as I hit the 'Check now' button in the Online Update section of the preferences. I'm currently doing a "git clone https://git.libreoffice.org/bibisect-..." and see how that works.

Andreas Piening gravatar imageAndreas Piening ( 2019-10-23 18:08:25 +0100 )edit

I have cloned the Bibisect repo bibisect-mac64-6.1 and did a git checkout oldest and made sure that the issue did not happen on this version (6.0.0.0.alpha1+). From my understanding of the Bibisect guide the next step would be to do a git bisect start latest oldest but this gives me the following error:

error: update_ref für Referenz 'refs/bisect/bad' fehlgeschlagen: cannot update ref 'refs/bisect/bad': trying to write ref 'refs/bisect/bad' with nonexistent object a0342aebfe7f0000a088ba6aff7f000000000000

I removed and downloaded the repo again to make sure it is complete, this didn't help. I typed the command just as it is, do I need to replace latest and oldest with the version hashes of the repo from a git log or something else? I'm sorry for being this stupid, but I've never done a bibisect before and have no idea what ...(more)

Andreas Piening gravatar imageAndreas Piening ( 2019-10-24 15:44:16 +0100 )edit