Bug 158270 - LibreOffice.app crashes upon attempted start in macOS 14 Sonoma
Summary: LibreOffice.app crashes upon attempted start in macOS 14 Sonoma
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: ARM other
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-19 03:38 UTC by n6ac
Modified: 2023-11-24 21:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description n6ac 2023-11-19 03:38:16 UTC
Description:
LibreOffice.app crashes upon attempted start in Sonoma (currently 14.2 Beta (23C5047e))
Double-click LibreOffice.app, it appears briefly in Dock, then crashes off.
Downloaded fresh (but identical) copy of LibreOffice_7.6.2_MacOS_aarch64.dmg, reinstalled. Same thing.

Steps to Reproduce:
1.Double-click LibreOffice.app
2.App crashes


Actual Results:
as above

Expected Results:
worked fine in Monterey, Ventura, earlier ...


Reproducible: Always


User Profile Reset: No

Additional Info:
start and offer choice of function
Comment 1 Sierk Bornemann 2023-11-19 21:19:04 UTC
(In reply to n6ac from comment #0)
> Description:
> LibreOffice.app crashes upon attempted start in Sonoma (currently 14.2 Beta
> (23C5047e))
> Double-click LibreOffice.app, it appears briefly in Dock, then crashes off.
> Downloaded fresh (but identical) copy of
> LibreOffice_7.6.2_MacOS_aarch64.dmg, reinstalled. Same thing.

Can't reproduce, no crash, all works fine with current Sonoma release 14.1.1:

Version: 7.6.3.1 (AARCH64) / LibreOffice Community
Build ID: c4af5b1259bceea6e979e6fe2435dbee7a5a87c2
CPU threads: 10; OS: Mac OS X 14.1.1; UI render: Skia/Metal; VCL: osx
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

Version: 24.2.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: 4a1fac7c703068a49df897bb635ff98bf22c0468
CPU threads: 10; OS: macOS 14.1.1; UI render: Skia/Metal; VCL: osx
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

% /usr/bin/sw_vers
ProductName:		macOS
ProductVersion:		14.1.1
BuildVersion:		23B81

% uname -m
arm64

% machine
arm64e
Comment 2 n6ac 2023-11-20 01:46:10 UTC
I found and downloaded  LibreOffice_7.6.3.1_MacOS_x86-64.dmg  then installed over the older version.
However, here on Mac Mini M1 2020 with Sonoma 14.2 Beta (23C5047e), same thing – tries to open the app, promptly crashes.
Comment 3 n6ac 2023-11-20 20:41:11 UTC
I found and downloaded LibreOffice_7.6.3.2_MacOS_aarch64  then installed over the older version.
However, here on Mac Mini M1 2020 with Sonoma 14.2 Beta (23C5047e), same thing – tries to open the app, promptly crashes.

P.S. prior comment stating use of Intel version was a copy-paste error, it was arm version ...
Comment 4 Patrick Luby (volunteer) 2023-11-23 20:32:14 UTC
I don't see any crashing when launching LibreOffice 7.6.2 or later with macOS 14.1.1 on a Silicon MacBook Pro.

Can anyone who is expreriencing this crash attach a macOS crash log?

If LibreOffice does not generate a crash log, can you get a sample when the Recovery dialog appears using the /Applications/Utilities/Activity Monitor application?
Comment 5 n6ac 2023-11-24 00:25:26 UTC
I am not sure how to get a macOS crash log.
And I started Activity Monitor, attempted stat LibreOffice, do not see any "Recovery" info ...
I do see SystemDiagnostics, would that do?
Comment 6 n6ac 2023-11-24 00:44:25 UTC
One odd thing I see –
in SystemInformation/Software/Applications, 
     LibreOffice is listed as Version 7.6.2.1 9/27/23
While in /Applications, 
     LibreOffice is listed as Version 7.6.3.2 11/17/23

???
Comment 7 Patrick Luby (volunteer) 2023-11-24 01:41:10 UTC
(In reply to n6ac from comment #5)
> I am not sure how to get a macOS crash log.
> And I started Activity Monitor, attempted stat LibreOffice, do not see any
> "Recovery" info ...
> I do see SystemDiagnostics, would that do?

Sorry for the confusion. Sometimes when LibreOffice crashes, it can sometimes save itself. That's when you see a "Recovery" dialog.

Soon after LibreOffice crashes, are you seeing a "Problem Report for LibreOffice" window appear? If yes, that window is displaying the crash log that we want.

The crash log is plain text so the easiest way to post it this bug is to click in the middle of that window, press Command-a to select all of the text, press Command-v to copy, and paste into your reply.
Comment 8 n6ac 2023-11-24 19:16:47 UTC
No thing seen – all I see is about one second of the icon in the dock, nothing at all in the Menu bar ...
Comment 9 Patrick Luby (volunteer) 2023-11-24 19:24:55 UTC
(In reply to n6ac from comment #8)
> No thing seen – all I see is about one second of the icon in the dock,
> nothing at all in the Menu bar ...

Hmmm. Since there are no crash logs, can you try open the Terminal application and run LibreOffice in the Terminal window using the following command:

/Applications/LibreOffice.app/Contents/MacOS/soffice

If there are any messages in the Terminal window, can you paste them into your reply?
Comment 10 n6ac 2023-11-24 19:27:13 UTC
~ % /Applications/LibreOffice.app/Contents/MacOS/soffice
libc++abi: terminating due to uncaught exception of type com::sun::star::deployment::DeploymentException
Unspecified Application Error
Comment 11 Patrick Luby (volunteer) 2023-11-24 19:36:34 UTC
(In reply to n6ac from comment #10)
> ~ % /Applications/LibreOffice.app/Contents/MacOS/soffice
> libc++abi: terminating due to uncaught exception of type
> com::sun::star::deployment::DeploymentException
> Unspecified Application Error

Ah ha! I have seen that type of LibreOffice exception before. Usually it is either corrupt LibreOffice preference files or an old extension that no longer works with newer versions of LibreOffice.

The next thing to try is removing your existing LibreOffice preference files and then see if LibreOffice will launch. To remove your existing LibreOffice preference files, go to the Finder, select the Go > Go to Folder..., and in the dialog that appears, enter "~/Library/Application Support", and double-click on the folder that the Finder displays. Then, the Finder window, select the "LibreOffice" folder, press the Enter/Return key, and rename the folder.

Does LibreOffice still not launch after doing the above?
Comment 12 n6ac 2023-11-24 21:44:29 UTC
Patrick – thank you, thank you!
I thought that I had done that but obviously not!
I appreciate your patience.
... Alfred