Bug 154468 - soffice crashes under unclear conditions
Summary: soffice crashes under unclear conditions
Status: RESOLVED DUPLICATE of bug 152524
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-30 09:02 UTC by steve
Modified: 2023-04-03 16:26 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 steve 2023-03-30 09:02:30 UTC
Description:
crash log (1 year): https://bin.disroot.org/?77ad04f75939895e#FcX5kva3HrGD1STurr7GLPiit3C5pTbA87NbvdJabkS6

Relevant part:
Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: Owner in ulock is unknown - possible memory corruption
Abort Cause 39693
*** multi-threaded process forked ***
crashed on child side of fork pre-exec

Steps to Reproduce:
Open LibreOffice main build. Sadly no reliable repro steps, it happened once after opening Preferences. But this was not a reliable method to reproduce the crash.

Today the crash happened twice in the span of under 10 minutes while having LibreOffice mostly sit idle.

What is interesting is also that - despite the crash of soffice - I can continue to work e.g. in a writer document and save the file.

Actual Results:
soffice quit unexpectedly.

Expected Results:
No crash.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9c7d3ce813c761b116232bc291e2737c59d383da
CPU threads: 8; OS: Mac OS X 13.3; UI render: Skia/Metal; VCL: osx
Locale: de-DE (en_DE.UTF-8); UI: en-US
Calc: threaded
Comment 1 Julien Nabet 2023-03-30 20:32:58 UTC
Do you use certificate or specific key? If yes, are they ok? (not expired or something)
Could you apply https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile and give a new try?
Comment 2 steve 2023-03-31 17:20:44 UTC
You mean certs as in OpenPGP keys? I have those but I am not using them actively with LibreOffice.

Reset user profile and will report back how this evolves.
Comment 3 QA Administrators 2023-04-01 03:23:38 UTC Comment hidden (obsolete)
Comment 4 steve 2023-04-02 20:00:48 UTC
Peristing after resetting user profile. Unclear repro, the crash happens on different actions or no action at all. Maybe a timing problem, however even the timing when the crash happens differs :(

At least the crash seems to be the same:
Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: Owner in ulock is unknown - possible memory corruption
Abort Cause 38669
*** multi-threaded process forked ***
crashed on child side of fork pre-exec

1 year: https://bin.disroot.org/?81b7ce7441a1849a#H8Y6smf9iMLhWxxEizTshiYFCg54qHGeQQKMcyV5CtVG
Comment 5 Alex Thurgood 2023-04-03 14:29:49 UTC
I'd hasard a guess that this is related to bug 146852, just showing up in a different way.
Comment 6 Alex Thurgood 2023-04-03 14:43:40 UTC
@steve : isn't this a reappearance/re-manifestation of bug 15254 ?
Comment 7 Alex Thurgood 2023-04-03 14:44:28 UTC
(In reply to Alex Thurgood from comment #6)
> @steve : isn't this a reappearance/re-manifestation of bug 15254 ?

bug 152524, of course ;-)
Comment 8 Alex Thurgood 2023-04-03 14:51:36 UTC
Of course, if the issue is that, for whatever reason, a search for gpgme is forked from main, and the corresponding library can't be found, I guess that such a circumstance might cause macOS to determine it is an illegal instruction, especially if it commits the double sin of trying to connect to the internet. Invoking libraries outside of the authorised path is a no-no, but a graceful handling would tell the user about the attempt to exceed the macOS security jail, rather than generate a SIGILL. Still a massive PITA though.
Comment 9 steve 2023-04-03 16:26:05 UTC
You are of course correct, Alex.

*** This bug has been marked as a duplicate of bug 152524 ***