Bug 129539 - LibreOffice Vanilla does not start - possibly sandbox violation on MacOS
Summary: LibreOffice Vanilla does not start - possibly sandbox violation on MacOS
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.6.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-21 12:07 UTC by Joe Siponen
Modified: 2019-12-30 09:38 UTC (History)
1 user (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 Joe Siponen 2019-12-21 12:07:24 UTC
Description:
Starting LibreOffice Vanilla 6.2.6002 (installed from App Store) on MacOS Mojave 10.14.6 fails. It does not start - possibly due to sandbox violation.

Found to following Sandbox violation in the logs that might explain why LibreOffice crashed:

Subsystem: com.apple.sandbox.reporting
Category: violation

Sandbox: soffice(2536) deny(1) file-read-data /Users/joes/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist

Steps to Reproduce:
1. Install LibreOffice Vanilla 6.2.6002 from App Store
2. Attempt to start LibreOffice (from command line - with or without safe mode - or normally)




Actual Results:
LibreOffice does not start, crashes upon start

Expected Results:
LibreOffice should start


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Cannot copy "Help - About LibreOffice" since it won't start.
Comment 1 Alex Thurgood 2019-12-26 11:49:45 UTC
No repro with

Version: 6.2.6.2
Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
Threads CPU : 4; OS : Mac OS X 10.15.2; UI Render : par défaut; VCL: osx; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded
Comment 2 Alex Thurgood 2019-12-26 11:51:00 UTC
Not sure what might be different to cause this other than OS version number.
Comment 3 Alex Thurgood 2019-12-26 11:51:43 UTC
My LOVanilla is from the appstore too.
Comment 4 Joe Siponen 2019-12-26 22:26:28 UTC
Not sure what is happening here then. 

As an experiment, just to work around the file-read-data denial, I gave "LibreOffice Vanilla.app" Full Disk Access from System Preferences -> Security & Privacy -> Privacy. In my mind this should allow LibreOffice to read any file on my system. However, LibreOffice still crashes with the same error in the logs.

This time I also saw other log messages relating to some Sandbox constraints being violated.

soffice (libsqlite3.dylib)
Subsystem: com.apple.libsqlite3
Category: Logging persist

error	23:10:26.757423 +0100	soffice	cannot open file at line 42270 of [95fbac39ba]

error	23:10:26.757456 +0100	soffice	os_unix.c:42270: (2) open(/var/db/DetachedSignatures) - No such file or directory


error	23:10:27.540381 +0100	sandboxd	Sandbox: soffice(971) deny(1) ipc-posix-shm-write-create com.apple.AppleDatabaseChanged
Violation:       deny(1) ipc-posix-shm-write-create com.apple.AppleDatabaseChanged 
Process:         soffice [971]
Path:            /Applications/LibreOffice Vanilla.app/Contents/MacOS/soffice
Load Address:    0x103062000
Identifier:      com.collabora.libreoffice-free
Version:         6.2.6002 (6.2.6002)
Code Type:       x86_64 (Native)
Parent Process:  launchd [1]
Responsible:     /Applications/LibreOffice Vanilla.app/Contents/MacOS/soffice [971]
User ID:         501

Date/Time:       2019-12-26 23:10:26.810 GMT+1
OS Version:      Mac OS X 10.14.6 (18G2022)
Report Version:  8


MetaData: {"platform-policy":false,"process":"soffice","primary-filter":"ipc-posix-name","responsible-process-pid":971,"build":"Mac OS X 10.14.6 (18G2022)","profile-in-collection":false,"errno":1,"platform_binary":"no","target":"com.apple.AppleDatabaseChanged","hardware":"Mac","action":"deny","operation":"ipc-posix-shm-write-create","summary":"deny(1) ipc-posix-shm-write-create com.apple.AppleDatabaseChanged","ipc-posix-name":"com.apple.AppleDatabaseChanged","signing-id":"com.collabora.libreoffice-free","pid":971,"responsible-process-path":"\/Applications\/LibreOffice Vanilla.app\/Contents\/MacOS\/soffice","uid":501,"container":"\/Users\/joes\/Library\/Containers\/com.collabora.libreoffice-free\/Data","semaphore-owner-pid":0,"platform-binary":false,"profile-flags":0,"primary-filter-value":"com.apple.AppleDatabaseChanged","process-path":"\/Applications\/LibreOffice Vanilla.app\/Contents\/MacOS\/soffice","team-id":"J4FQ687VJK","flags":5,"normalized_target":["com.apple.AppleDatabaseChanged"]}

Thread 0 (id: 30421):
0   libsystem_kernel.dylib        	0x000000010447495e __shm_open + 10
1   libsystem_pthread.dylib       	0x00007fff7d668ce3 __pthread_once_handler + 65
2   libsystem_platform.dylib      	0x00007fff7d65eaab _os_once_callout + 18
3   libsystem_pthread.dylib       	0x00007fff7d668c7f pthread_once + 56
4   Security                      	0x0000000103fbee5b Security::DbModifier::getDbVersion(bool) + 97
5   Security                      	0x0000000103fbedcd Security::AppleDatabase::dbOpen(Security::DbContext&) + 59
6   Security                      	0x0000000103fbe7a3 Security::Database::_dbOpen(Security::DatabaseSession&, unsigned int, Security::AccessCredentials const*, void const*) + 97
7   Security                      	0x0000000103fbdc7a Security::DatabaseManager::dbOpen(Security::DatabaseSession&, Security::DbName const&, unsigned int, Security::AccessCredentials const*, void const*) + 64
8   Security                      	0x0000000103fbd843 Security::DatabaseSession::DbOpen(char const*, cssm_net_address const*, unsigned int, Security::AccessCredentials const*, void const*, long&) + 277
9   Security                      	0x0000000103fbd709 Security::MDSSession::dbOpen(char const*, bool) + 247
10  Security                      	0x0000000103fbd5e0 Security::MDSSession::DbFilesInfo::objDbHand() + 182
11  Security                      	0x0000000103fbba79 Security::MDSSession::updateDataBases() + 2233
12  Security                      	0x000000010401929b Security::MDSSession::DbOpen(char const*, cssm_net_address const*, unsigned int, Security::AccessCredentials const*, void const*, long&) + 95
13  Security                      	0x0000000104019171 mds_DbOpen(long, char const*, cssm_net_address const*, unsigned int, cssm_access_credentials const*, void const*, long*) + 214
14  Security                      	0x0000000103fbae5b Security::MDSClient::Directory::cdsa() const + 97
15  Security                      	0x00000001040f8be4 Security::MDSClient::Directory::dlGetFirst(cssm_query const&, cssm_db_record_attribute_data&, cssm_data*, cssm_db_unique_record*&) + 38
16  Security                      	0x0000000103fba95f Security::CssmClient::Table<Security::MDSClient::Common>::startQuery(Security::CssmQuery const&, bool) + 185
17  Security                      	0x0000000103fba5a9 Security::CssmClient::Table<Security::MDSClient::Common>::fetch(Security::CssmClient::Query const&, int) + 121
18  Security                      	0x0000000103fb94d4 CSSM_ModuleLoad + 602
19  Security                      	0x000000010401850b SecCspHandleForAlgorithm + 139
20  Security                      	0x000000010401845d SecCmsUtilGetHashObjByAlgID + 30
21  Security                      	0x000000010401834d SecCmsDigestContextStartMultiple + 155
22  Security                      	0x0000000104018299 SecCmsSignedDataDecodeBeforeData + 33
23  Security                      	0x0000000104017809 nss_cms_decoder_notify + 463
24  Security                      	0x0000000103fc885b SEC_ASN1DecoderUpdate + 1727
25  Security                      	0x00000001040175ed SecCmsDecoderUpdate + 33
26  Security                      	0x000000010401734f CMSDecoderUpdateMessage + 73
27  Security                      	0x000000010411ca71 Security::CodeSigning::SecStaticCode::validateDirectory() + 269
28  Security                      	0x000000010411c916 Security::CodeSigning::SecStaticCode::getDictionary(unsigned int, bool) + 28
29  Security                      	0x000000010411b9ce Security::CodeSigning::SecStaticCode::infoDictionary() + 60
30  Security                      	0x0000000104113fd5 SecCodeCopySigningInformation + 1868
31  libuno_sal.dylib.3            	0x00000001030a696a do_once() + 74
32  libsystem_pthread.dylib       	0x00007fff7d668ce3 __pthread_once_handler + 65
33  libsystem_platform.dylib      	0x00007fff7d65eaab _os_once_callout + 18
34  libsystem_pthread.dylib       	0x00007fff7d668c7f pthread_once + 56
35  libuno_sal.dylib.3            	0x00000001030a4443 prepare_to_access_file_path(char const*) + 51
36  libuno_sal.dylib.3            	0x00000001030a46a1 realpath_u(_rtl_uString const*, _rtl_uString**) + 289
37  libuno_sal.dylib.3            	0x000000010309cffb osl_setCommandArgs + 347
38  soffice                       	0x0000000103062f5b main + 11
39  libdyld.dylib                 	0x00007fff7d4763d5 start + 1
40  soffice                       	0x0000000000000001

Thread 1 (id: 30434):
0   libsystem_kernel.dylib        	0x0000000104474bfa __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff7d6693fd start_wqthread + 13
2   soffice                       	0x0000000054485244

Thread 2 (id: 30435):
0   libsystem_kernel.dylib        	0x0000000104474bfa __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff7d6693fd start_wqthread + 13

Thread 3 (id: 30436):

Binary Images:
       0x103062000 -        0x103062ffb  com.collabora.libreoffice-free (6.2.6002 - 6.2.6002) <d198ed98-d307-3d6f-8467-b0ae3ed859c1> /Applications/LibreOffice Vanilla.app/Contents/MacOS/soffice
       0x10306c000 -        0x1030b1fff  libuno_sal.dylib.3 (0) <6ef9858a-62ea-37b5-b4a5-606ad8742406> /Applications/LibreOffice Vanilla.app/Contents/Frameworks/libuno_sal.dylib.3
       0x103fb5000 -        0x1042b5ff7  com.apple.security (7.0 - 58286.270.6) <9c5ed4e4-12fb-3252-b645-e1c7eae2896c> /System/Library/Frameworks/Security.framework/Versions/A/Security
       0x104472000 -        0x10449aff7  libsystem_kernel.dylib (4903.278.19) <2c2536e7-ea3b-32b5-afc6-b1139a5046fd> /usr/lib/system/libsystem_kernel.dylib
    0x7fff7d460000 -     0x7fff7d48cff7  libdyld.dylib (655.1.1) <002418cc-ad11-3d10-865b-015591d24e6c> /usr/lib/system/libdyld.dylib
    0x7fff7d65d000 -     0x7fff7d666fef  libsystem_platform.dylib (177.270.1) <9d1fe5e4-eb7d-3b3f-a8d1-a96d9cf1348c> /usr/lib/system/libsystem_platform.dylib
    0x7fff7d667000 -     0x7fff7d671ff7  libsystem_pthread.dylib (330.250.2) <2d5c08ff-484f-3d59-9132-ce1dcb3f76d7> /usr/lib/system/libsystem_pthread.dylib

error	23:10:28.346897 +0100	soffice	        AEGetDescData of non-desc type 'reco' not a good idea

error	23:10:28.595560 +0100	sandboxd	Sandbox: soffice(971) deny(1) file-read-data /Users/joes/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist
Violation:       deny(1) file-read-data /Users/joes/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist 
Process:         soffice [971]
Path:            /Applications/LibreOffice Vanilla.app/Contents/MacOS/soffice
Load Address:    0x103062000
Identifier:      com.collabora.libreoffice-free
Version:         6.2.6002 (6.2.6002)
Code Type:       x86_64 (Native)
Parent Process:  launchd [1]
Responsible:     /Applications/LibreOffice Vanilla.app/Contents/MacOS/soffice [971]
User ID:         501

Date/Time:       2019-12-26 23:10:27.562 GMT+1
OS Version:      Mac OS X 10.14.6 (18G2022)
Report Version:  8


MetaData: {"platform-policy":false,"process":"soffice","primary-filter":"path","file-flags":0,"responsible-process-pid":971,"build":"Mac OS X 10.14.6 (18G2022)","profile-in-collection":false,"errno":1,"platform_binary":"no","rdev":0,"target":"\/Users\/joes\/Library\/Preferences\/com.apple.LaunchServices\/com.apple.launchservices.secure.plist","hardware":"Mac","file-mode":420,"action":"deny","operation":"file-read-data","summary":"deny(1) file-read-data \/Users\/joes\/Library\/Preferences\/com.apple.LaunchServices\/com.apple.launchservices.secure.plist","signing-id":"com.collabora.libreoffice-free","pid":971,"responsible-process-path":"\/Applications\/LibreOffice Vanilla.app\/Contents\/MacOS\/soffice","uid":501,"container":"\/Users\/joes\/Library\/Containers\/com.collabora.libreoffice-free\/Data","vnode-type":"REGULAR-FILE","platform-binary":false,"path":"\/Users\/joes\/Library\/Preferences\/com.apple.LaunchServices\/com.apple.launchservices.secure.plist","profile-flags":0,"primary-filter-value":"\/Users\/joes\/Library\/Preferences\/com.apple.LaunchServices\/com.apple.launchservices.secure.plist","process-path":"\/Applications\/LibreOffice Vanilla.app\/Contents\/MacOS\/soffice","team-id":"J4FQ687VJK","flags":5,"normalized_target":["Users","joes","Library","Preferences","com.apple.LaunchServices","com.apple.launchservices.secure.plist"]}

Thread 0 (id: 30421):
0   libsystem_kernel.dylib        	0x00000001044759da __ulock_wait + 10
1   libdispatch.dylib             	0x00007fff7d429ef8 _dispatch_thread_event_wait_slow + 33
2   libdispatch.dylib             	0x00007fff7d43537f __DISPATCH_WAIT_FOR_QUEUE__ + 286
3   libdispatch.dylib             	0x00007fff7d434fce _dispatch_sync_f_slow + 171
4   LaunchServices                	0x00000001073624a7 _LSPreferences::with(_LSPreferences::SecurityContext const*, void (void const*) block_pointer) + 321
5   LaunchServices                	0x0000000107362017 _LSPreferences::With(_LSPreferences::SecurityContext const*, void (void const*) block_pointer) + 85
6   LaunchServices                	0x0000000107385dca _LSWithMutableInsecurePreferences + 122
7   LaunchServices                	0x0000000107385d0a _LSPrefsInit(long*) + 372
8   LaunchServices                	0x000000010738f195 _LSPrefsGetApplicationCapabilityIsDisabled + 45
9   LaunchServices                	0x000000010738d467 prepareApplicationCapabilityIsDisabledValue(_LSOnDemandContext&, FSNode*, __CFString const*, unsigned int, __FileCache*, __CFString const*, NSError* __autoreleasing*) + 567
10  LaunchServices                	0x000000010738f162 prepareApplicationHighResolutionModeIsMagnifiedValue(_LSOnDemandContext&, FSNode*, __FileCache*, __CFString const*, NSError* __autoreleasing*) + 30
11  LaunchServices                	0x000000010735a836 LSPropertyProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) + 657
12  CoreServicesInternal          	0x00007fff656df0ee prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) + 360
13  CoreServicesInternal          	0x00007fff656e0d3d _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) + 214
14  CoreFoundation                	0x0000000103287d2b CFURLCopyResourcePropertyForKey + 101
15  HIToolbox                     	0x0000000104508483 _HIMagnifiedMode + 74
16  AppKit                        	0x0000000110232d9f -[NSScreen backingScaleFactor] + 64
17  AppKit                        	0x00000001102320eb _NSScreenConfigurationUpdateWithSharedInfo + 3549
18  AppKit                        	0x000000011022f469 ___NSScreenConfigurationEnsureInitialUpdateOccurred_block_invoke + 173
19  libdispatch.dylib             	0x00007fff7d42963d _dispatch_client_callout + 8
20  libdispatch.dylib             	0x00007fff7d42ad4b _dispatch_once_callout + 20
21  AppKit                        	0x000000011022f3ba +[_NSScreenConfiguration prepare] + 34
22  AppKit                        	0x000000011022f1f7 -[NSApplication(ScreenHandling) _registerForDisplayChangedNotifications] + 261
23  AppKit                        	0x0000000110229549 -[NSApplication init] + 1750
24  AppKit                        	0x0000000110228c80 +[NSApplication sharedApplication] + 138
25  libvclplug_osxlo.dylib        	0x00000001148a31ba create_SalInstance + 234
26  libvcllo.dylib                	0x000000010cab53a8 (anonymous namespace)::tryInstance(rtl::OUString const&, bool) + 200
27  libvcllo.dylib                	0x000000010cab523c CreateSalInstance() + 172
28  libvcllo.dylib                	0x000000010ca11888 InitVCL() + 120
29  libvcllo.dylib                	0x000000010ca116fe ImplSVMain() + 78
30  libsofficeapp.dylib           	0x00000001031275cc soffice_main + 236
31  soffice                       	0x0000000103062f60 main + 16
32  libdyld.dylib                 	0x00007fff7d4763d5 start + 1
33  soffice                       	0x0000000000000001

Thread 1 (id: 30434):
0   libsystem_kernel.dylib        	0x00000001044759f2 __ulock_wake + 10
1   CoreFoundation                	0x0000000103287d94 CFURLCopyResourcePropertyForKey + 206
2   CoreFoundation                	0x00000001032daa7c ____CFRunLoopSetOptionsReason_block_invoke_5 + 154
3   libdispatch.dylib             	0x00007fff7d4285f8 _dispatch_call_block_and_release + 12
4   libdispatch.dylib             	0x00007fff7d42963d _dispatch_client_callout + 8
5   libdispatch.dylib             	0x00007fff7d437654 _dispatch_root_queue_drain + 988
6   libdispatch.dylib             	0x00007fff7d437b46 _dispatch_worker_thread2 + 90
7   libsystem_pthread.dylib       	0x00007fff7d6696b3 _pthread_wqthread + 583
8   libsystem_pthread.dylib       	0x00007fff7d6693fd start_wqthread + 13
9   soffice                       	0x0000000054485244

Thread 2 (id: 30435):
0   libsystem_kernel.dylib        	0x0000000104474bfa __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff7d6693fd start_wqthread + 13
2   soffice                       	0x0000000054485244

Thread 3 (id: 30436):
0   libsystem_pthread.dylib       	0x00007fff7d6693f0 start_wqthread + 0

Thread 4 (id: 30447):
0   libsystem_kernel.dylib        	0x00000001044741ea __open + 10
1   Foundation                    	0x000000010397082c -[NSData(NSData) initWithContentsOfFile:options:maxLength:error:] + 206
2   Foundation                    	0x0000000103978413 +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] + 115
3   Foundation                    	0x000000010397838d +[NSDictionary(NSDictionary) dictionaryWithContentsOfURL:] + 45
4   LaunchServices                	0x00000001073cd0d3 invocation function for block in _LSPreferences::load() + 292
5   libdispatch.dylib             	0x00007fff7d434cea _dispatch_block_async_invoke2 + 83
6   libdispatch.dylib             	0x00007fff7d42963d _dispatch_client_callout + 8
7   libdispatch.dylib             	0x00007fff7d4363da _dispatch_lane_concurrent_drain + 1003
8   libdispatch.dylib             	0x00007fff7d430416 _dispatch_lane_invoke + 513
9   libdispatch.dylib             	0x00007fff7d42b8fd _dispatch_queue_override_invoke + 421
10  libdispatch.dylib             	0x00007fff7d4373bc _dispatch_root_queue_drain + 324
11  libdispatch.dylib             	0x00007fff7d437b46 _dispatch_worker_thread2 + 90
12  libsystem_pthread.dylib       	0x00007fff7d6696b3 _pthread_wqthread + 583
13  libsystem_pthread.dylib       	0x00007fff7d6693fd start_wqthread + 13
14  soffice                       	0x0000000054485244

Thread 5 (id: 30448):
0   libsystem_platform.dylib      	0x00007fff7d65f37b _platform_strcmp + 27
1   libobjc.A.dylib               	0x00007fff7bc963e8 objc_opt::objc_stringhash_t::getIndex(char const*) const + 120
2   libobjc.A.dylib               	0x00007fff7bcb3576 search_builtins(char const*) + 32
3   libobjc.A.dylib               	0x00007fff7bcb35c6 __sel_registerName(char const*, bool, bool) + 38
4   libobjc.A.dylib               	0x00007fff7bca3e2a fixupMethodList(method_list_t*, bool, bool) + 100
5   libobjc.A.dylib               	0x00007fff7bc98ec5 prepareMethodLists(objc_class*, method_list_t**, int, bool, bool) + 136
6   libobjc.A.dylib               	0x00007fff7bcacfdf realizeClassWithoutSwift(objc_class*) + 1698
7   libobjc.A.dylib               	0x00007fff7bcb1f49 realizeClassMaybeSwiftMaybeRelock(objc_class*, mutex_tt<false>&, bool) + 306
8   libobjc.A.dylib               	0x00007fff7bcac5d0 initializeAndMaybeRelock(objc_class*, objc_object*, mutex_tt<false>&, bool) + 92
9   libobjc.A.dylib               	0x00007fff7bc9b690 lookUpImpOrForward + 228
10  libobjc.A.dylib               	0x00007fff7bc9b114 _objc_msgSend_uncached + 68
11  CoreFoundation                	0x00000001032b949a __32-[__NSDictionaryM copyWithZone:]_block_invoke + 24
12  libdispatch.dylib             	0x00007fff7d42963d _dispatch_client_callout + 8
13  libdispatch.dylib             	0x00007fff7d42ad4b _dispatch_once_callout + 20
14  CoreFoundation                	0x00000001032b947d -[__NSDictionaryM copyWithZone:] + 201
15  Foundation                    	0x0000000103951a94 -[NSError initWithDomain:code:userInfo:] + 214
16  Foundation                    	0x00000001039519a7 +[NSError errorWithDomain:code:userInfo:] + 59
17  Foundation                    	0x0000000103951932 _NSErrorWithFilePathErrnoVariantAndExtraUserInfo + 883
18  Foundation                    	0x0000000103958a4d _NSReadBytesFromFileWithExtendedAttributes + 1017
19  Foundation                    	0x000000010397082c -[NSData(NSData) initWithContentsOfFile:options:maxLength:error:] + 206
20  Foundation                    	0x0000000103978413 +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] + 115
21  Foundation                    	0x000000010397838d +[NSDictionary(NSDictionary) dictionaryWithContentsOfURL:] + 45
22  LaunchServices                	0x00000001073cd0d3 invocation function for block in _LSPreferences::load() + 292
23  libdispatch.dylib             	0x00007fff7d434cea _dispatch_block_async_invoke2 + 83
24  libdispatch.dylib             	0x00007fff7d42963d _dispatch_client_callout + 8
25  libdispatch.dylib             	0x00007fff7d4363da _dispatch_lane_concurrent_drain + 1003
26  libdispatch.dylib             	0x00007fff7d430416 _dispatch_lane_invoke + 513
27  libdispatch.dylib             	0x00007fff7d42b8fd _dispatch_queue_override_invoke + 421
28  libdispatch.dylib             	0x00007fff7d4373bc _dispatch_root_queue_drain + 324
29  libdispatch.dylib             	0x00007fff7d437b46 _dispatch_worker_thread2 + 90
30  libsystem_pthread.dylib       	0x00007fff7d6696b3 _pthread_wqthread + 583
31  libsystem_pthread.dylib       	0x00007fff7d6693fd start_wqthread + 13
32  soffice                       	0x0000000054485244

Binary Images:
       0x103062000 -        0x103062ffb  com.collabora.libreoffice-free (6.2.6002 - 6.2.6002) <d198ed98-d307-3d6f-8467-b0ae3ed859c1> /Applications/LibreOffice Vanilla.app/Contents/MacOS/soffice
       0x1030f4000 -        0x103197fff  libsofficeapp.dylib (0) <22097b35-2ba3-382d-b570-97b89d973d2d> /Applications/LibreOffice Vanilla.app/Contents/Frameworks/libsofficeapp.dylib
       0x103243000 -        0x103688fef  com.apple.CoreFoundation (6.9 - 1575.23) <596dbc2a-60e3-3a73-aa5f-7a1806cf3204> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x103924000 -        0x103cd1ffb  com.apple.Foundation (6.9 - 1575.23) <c5ea5abe-2e0c-37a0-a02a-f3150fe3cc66> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
       0x104472000 -        0x10449aff7  libsystem_kernel.dylib (4903.278.19) <2c2536e7-ea3b-32b5-afc6-b1139a5046fd> /usr/lib/system/libsystem_kernel.dylib
       0x1044fe000 -        0x1047f5fff  com.apple.HIToolbox (2.1.1) <13f69d4c-d19f-3e09-9231-1978d783a556> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
       0x107357000 -        0x107508ff7  com.apple.LaunchServices (946 - 946) <a0c91634-9410-38e8-bc11-7a5a369e6ba5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
       0x10c64e000 -        0x10cc24ff7  libvcllo.dylib (0) <c8f5e78b-0714-36a4-beaa-c3b8a11951d0> /Applications/LibreOffice Vanilla.app/Contents/Frameworks/libvcllo.dylib
       0x110225000 -        0x110fdaffb  com.apple.AppKit (6.9 - 1671.60.109) <e23b2968-32ea-340d-9e5e-12f5370dc55d> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x114882000 -        0x1148f9ff7  libvclplug_osxlo.dylib (0) <ef9d29e8-4de2-34be-8863-8cab5969a412> /Applications/LibreOffice Vanilla.app/Contents/Frameworks/libvclplug_osxlo.dylib
    0x7fff656db000 -     0x7fff6570cff3  com.apple.CoreServicesInternal (358 - 358) <dd6ef60d-048f-3186-83da-eb191edf48ae> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff7bc94000 -     0x7fff7c419fdf  libobjc.A.dylib (756.2) <7c312627-43cb-3234-9324-4dea92d59f50> /usr/lib/libobjc.A.dylib
    0x7fff7d426000 -     0x7fff7d45fff7  libdispatch.dylib (1008.270.1) <97273678-e94c-3c8c-89f6-2e2020f4b43b> /usr/lib/system/libdispatch.dylib
    0x7fff7d460000 -     0x7fff7d48cff7  libdyld.dylib (655.1.1) <002418cc-ad11-3d10-865b-015591d24e6c> /usr/lib/system/libdyld.dylib
    0x7fff7d65d000 -     0x7fff7d666fef  libsystem_platform.dylib (177.270.1) <9d1fe5e4-eb7d-3b3f-a8d1-a96d9cf1348c> /usr/lib/system/libsystem_platform.dylib
    0x7fff7d667000 -     0x7fff7d671ff7  libsystem_pthread.dylib (330.250.2) <2d5c08ff-484f-3d59-9132-ce1dcb3f76d7> /usr/lib/system/libsystem_pthread.dylib
Comment 5 Joe Siponen 2019-12-26 22:28:08 UTC
I cannot say why my Sandbox would seem to be somehow stricter than yours. But I suppose this issue would be more reported if it was widespread. I guess that would point to this being some issue with my machine.
Comment 6 Joe Siponen 2019-12-26 22:50:17 UTC
One of the errors in the logs was "Sandbox: soffice(971) deny(1) ipc-posix-shm-write-create com.apple.AppleDatabaseChanged" indicating some issue with shared memory and interprocess communication. Does the app have the required entitlements to use IPC? I am certainly not an expert wrt entitlements in MacOS. 

However, I cannot then explain that everything was working OK for you...

The apps entitlements are:

$ codesign -d --entitlements :- /Applications/LibreOffice\ Vanilla.app/

Executable=/Applications/LibreOffice Vanilla.app/Contents/MacOS/soffice
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.security.network.server</key>
	<true/>
	<key>com.apple.security.files.bookmarks.app-scope</key>
	<true/>
	<key>com.apple.security.device.bluetooth</key>
	<true/>
	<key>com.apple.security.files.bookmarks.document-scope</key>
	<true/>
	<key>com.apple.security.network.client</key>
	<true/>
	<key>com.apple.security.files.bookmarks.collection-scope</key>
	<true/>
	<key>com.apple.security.files.user-selected.read-write</key>
	<true/>
	<key>com.apple.security.app-sandbox</key>
	<true/>
	<key>com.apple.security.print</key>
	<true/>
</dict>
</plist>
Comment 7 Alex Thurgood 2019-12-27 09:00:13 UTC
I can't reproduce this either on macOS 10.14 on my MBPro, sorry, no idea what is going on here, seems particular to your machine.

You haven't fiddled with the SIP by any chance ?
Comment 8 Joe Siponen 2019-12-27 11:11:58 UTC
Got my hands on another Mac as well and was not able to reproduce on that machine either. My machine must be corrupted somehow and perhaps SIP is to blame (although I have not fiddled around with it). So, I am willing to say that this has nothing to do with Libreoffice. Sorry to have wasted your time with this.
Comment 9 Anthony coastal 2019-12-28 05:26:52 UTC Comment hidden (spam)
Comment 10 Alex Thurgood 2019-12-30 09:38:21 UTC
Thanks Joe.
Per comment 9, closing as WFM