Description: Context and references I have LibreOffice 7.4.3.2 installed on an Apple Mac Mini M1 (ARM architecture) machine running Mac OS version 13.1 (Ventura) My intention is to achieve Java access to Libre Office using the SDK I am working through the examples set out at https://api.libreoffice.org/examples/DevelopersGuide/examples.html and specifically https://api.libreoffice.org/examples/DevelopersGuide/examples.html#FirstSteps I have successfully got FirstUnoContact and FirstLoadComponent to work. Broken bootstrap Firstly, the bootstrap provided does not work on Mac OS. Bootstrap.java lines around 334 are broken for Mac OS. Attachment 1 is my replacement that does work. Using the revised bootstrap (see attachment) for Mac I then got examples FirstUnoContact and FirstLoadComponent to work. I have been using NetBeans as my IDE. Crib sheet A crib sheet to make it easier for other people is as follows: 1. In MacOS the libpipe library is located at /Applications/LibreOffice.app/Contents/Frameworks/libjpipe.jnilib. Add the following run time parameter to project VM Options: -Djava.library.path=/Applications/LibreOffice.app/Contents/Frameworks 2. Add a dependency to the maven project forGroup Id org.libreoffice, artifact ID libreoffice, version say 7.4.1 or later if available. 3. Add a dependency to the maven project forGroup Id org.libreoffice, artifact ID unoloader, version say 7.4.1 or later if available. 5 Repeating the hang Then when running HelloTextTableShape. newDocComponent it gets as far as xComponentLoader.loadComponentFromURL(loadUrl, "_blank", 0, loadProps); and hangs at: Object.wait JobQueue.removeJob:210 JobQueue.enter:308 JobQueue.enter:281 JavaThreadPool.enter:81 java_remote_bridge.sendRequest:619 ProxyFactory$Handler.request:145 ProxyFactory$Handler.invoke:129 Hidden Source Calls $Proxy3.loadComponentFromURL HelloTextTableShape.newDocComponent:462 Steps to Reproduce: 1. Install LibreOffice on your Mac OS machine. 2. Download FirstUnoContact create IDE project and make fixes described above so that it will run on MacOS. This proves that your overall setup works OK. 3. Download FirstLoadComponent create IDE project and make fixes described above so that it will run on MacOS. This confirms that your overall setup works OK. 4. Download HelloTextTableShape. create IDE project and make fixes described above so that it will run on MacOS. 5. Trace through code until it enters newDocComponent. Trace into xComponentLoader.loadComponentFromURL and note that it hangs at Object.wait as above. This is 100% repeatable. Actual Results: Libre Office Hangs. Expected Results: The test program should have worked in the same way as the first two test programs ran successfully. Reproducible: Always User Profile Reset: No Additional Info: Version 7.4.3.2 Mac OS X 13.1
Created attachment 184863 [details] Bootstrap that works on Mac OS This is a replacement bootstrap that works on a Mac OS machine. It gives the correct location for the Libre Office installation.
Could you give a try to last LO version 7.4.4? Indeed, this one includes a bunch of specific fixes for macOS.
Created attachment 184864 [details] Finder force quit report This is the report generated by the operating system when the hung Libre Office app is asked to force quit.
Created attachment 184865 [details] Word version - more readable - of bug report
Downloaded 7.7.4.2 and tested. First Contact works OK. FirstLoadComponent works OK. HelloTextTableShape hangs at a slightly different point: Object.wait JobQueue.removeJob:210 JobQueue.enter:308 JobQueue.enter:281 JavaThreadPool.enter:81 java_remote_bridge.sendRequest:619 ProxyFactory$Handler.request:145 ProxyFactory$Handler.invoke:129 Hidden Source Calls HelloTextTableShape.newDocComponent:462 HelloTextTableShape.useWriter:110 HelloTextTableShape.useDocuments:100 HelloTextTableShape.main:84 In particular no window appears and it looks like Libre Office has not been started. Also noted that Maven does not have version 7.4.4 available. so the libreoffice.jar and unoloader.jar that I'm using is still 7.4.1. Are these jars available elsewhere and will Maven repository be updated ?
Latest maven repository is at: https://mavenlibs.com/jar/file/org.libreoffice/libreoffice
libreoffice-7.4.4.jar not in LibreOffice7.4_SDK as at 24jan2023.
(In reply to Julien Nabet from comment #2) > Could you give a try to last LO version 7.4.4? > Indeed, this one includes a bunch of specific fixes for macOS. Julien, I've now proved a similar but slightly different hang using 7.4.4 - see notes above.
David: let's revert version since it must correspond to the earliest one when the bug appears. Stephan: thought you might be interested in this one since it concerns UNO + Java + SDK. Also do you know whom to ping about Maven repo?
I have now successfully compiled and run another example, SDraw (https://api.libreoffice.org/examples/java/Drawing/) after making my standard changes for the Mac. I have tested HelloTextTableShape again which still hangs as before. Since I now have 3 working examples and only HelloTextTableShape hangs, the issue must concern something different that HelloTextTableShape calls or a different sequence of calls.
(In reply to David Gradwell from comment #0) > Broken bootstrap > > Firstly, the bootstrap provided does not work on Mac OS. Bootstrap.java > lines around 334 are broken for Mac OS. Attachment 1 is my replacement that > does work. > > Using the revised bootstrap (see attachment) for Mac I then got examples > FirstUnoContact and FirstLoadComponent to work. > > I have been using NetBeans as my IDE. You are apparently trying to use the SDK in an unsupported way. If you follow its included docs/install.html and use its setsdkenv_unix to set up a properly configured shell, then `cd examples/DevelopersGuide/FirstSteps && make` and `make FirstUnoContact.run` etc. should work fine out of the box. > 5 Repeating the hang > > Then when running HelloTextTableShape. newDocComponent it gets as far as > > xComponentLoader.loadComponentFromURL(loadUrl, "_blank", 0, loadProps); > and hangs at: > > Object.wait > JobQueue.removeJob:210 > JobQueue.enter:308 > JobQueue.enter:281 > JavaThreadPool.enter:81 > java_remote_bridge.sendRequest:619 > ProxyFactory$Handler.request:145 > ProxyFactory$Handler.invoke:129 > Hidden Source Calls > $Proxy3.loadComponentFromURL > HelloTextTableShape.newDocComponent:462 Without having looked further into it yet, `make HelloTextTableShape.run` indeed hangs for me with LO 7.4.4 macOS (Apple Silicon) and accompanying SDK from <https://www.libreoffice.org/download/download-libreoffice/>. However, it works fine with my local (--enable-dbgutil) recent master (towards LO 7.6) build, so it may well be something that has already been addressed.
(In reply to Stephan Bergmann from comment #11) Thank you Stephan. Is it possible for me to get hold of the latest libreoffice.jar ?
(In reply to Stephan Bergmann from comment #11) > Without having looked further into it yet, `make HelloTextTableShape.run` > indeed hangs for me with LO 7.4.4 macOS (Apple Silicon) and accompanying SDK > from <https://www.libreoffice.org/download/download-libreoffice/>. However, > it works fine with my local (--enable-dbgutil) recent master (towards LO > 7.6) build, so it may well be something that has already been addressed. With a local libreoffice-7.4.4.2 build, in the SDK doing `cd examples/DevelopersGuide/FirstSteps && make && make HelloTextTableShape.run` causes a hanging soffice at > * thread #1, queue = 'com.apple.main-thread' > * frame #0: 0x000000019cb7584c libsystem_kernel.dylib`__psynch_cvwait + 8 > frame #1: 0x000000019cbb2638 libsystem_pthread.dylib`_pthread_cond_wait + 1232 > frame #2: 0x000000019cafeac4 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 > frame #3: 0x000000011318d1f4 libvclplug_osxlo.dylib`void std::__1::condition_variable::wait<SalYieldMutex::doAcquire(unsigned int)::$_0>(this=0x0000600003bac060, __lk=0x000000016b4fd3b8, __pred=(unnamed class) @ 0x000000016b4fd340) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__mutex_base:404:9 > frame #4: 0x000000011318cf98 libvclplug_osxlo.dylib`SalYieldMutex::doAcquire(this=0x0000600003bac000, nLockCount=1) at /Users/stephan/lo/core/vcl/osx/salinst.cxx:221:36 > frame #5: 0x0000000119fcaaa8 libvcllo.dylib`comphelper::SolarMutex::acquire(this=0x0000600003bac000, nLockCount=1) at /Users/stephan/lo/core/include/comphelper/solarmutex.hxx:86:5 > frame #6: 0x000000011a872a9c libvcllo.dylib`SalInstance::AcquireYieldMutex(this=0x0000600003bac2d0, nCount=1) at /Users/stephan/lo/core/vcl/source/app/salvtables.cxx:125:73 > frame #7: 0x000000011a93dc0c libvcllo.dylib`Application::AcquireSolarMutex(nCount=1) at /Users/stephan/lo/core/vcl/source/app/svapp.cxx:593:25 > frame #8: 0x000000011319325c libvclplug_osxlo.dylib`SolarMutexReleaser::~SolarMutexReleaser(this=0x000000016b4fd5ec) at /Users/stephan/lo/core/include/vcl/svapp.hxx:1446:29 > frame #9: 0x000000011318f430 libvclplug_osxlo.dylib`SolarMutexReleaser::~SolarMutexReleaser(this=0x000000016b4fd5ec) at /Users/stephan/lo/core/include/vcl/svapp.hxx:1446:27 > frame #10: 0x000000011318ee9c libvclplug_osxlo.dylib`AquaSalInstance::DoYield(this=0x0000600003bac2d0, bWait=true, bHandleAllCurrentEvents=false) at /Users/stephan/lo/core/vcl/osx/salinst.cxx:563:9 > frame #11: 0x000000011a93d298 libvcllo.dylib`ImplYield(i_bWait=true, i_bAllEvents=false) at /Users/stephan/lo/core/vcl/source/app/svapp.cxx:474:48 > frame #12: 0x000000011a93cd34 libvcllo.dylib`Application::Yield() at /Users/stephan/lo/core/vcl/source/app/svapp.cxx:558:5 > frame #13: 0x000000011a93cb0c libvcllo.dylib`Application::Execute() at /Users/stephan/lo/core/vcl/source/app/svapp.cxx:452:13 > frame #14: 0x0000000105560e80 libsofficeapp.dylib`desktop::Desktop::Main(this=0x000000016b4feeb0) at /Users/stephan/lo/core/desktop/source/app/app.cxx:1600:13 > frame #15: 0x000000011a961028 libvcllo.dylib`ImplSVMain() at /Users/stephan/lo/core/vcl/source/app/svmain.cxx:202:35 > frame #16: 0x000000011318e1dc libvclplug_osxlo.dylib`AquaSalInstance::handleAppDefinedEvent(pEvent=0x00006000031a00c0) at /Users/stephan/lo/core/vcl/osx/salinst.cxx:411:20 > frame #17: 0x000000011322c140 libvclplug_osxlo.dylib`-[VCL_NSApplication sendEvent:](self=0x00000001516065a0, _cmd="sendEvent:", pEvent=0x00006000031a00c0) at /Users/stephan/lo/core/vcl/osx/vclnsapp.mm:89:9 > frame #18: 0x00000001a0294098 AppKit`-[NSApplication _handleEvent:] + 60 > frame #19: 0x000000019ff08e1c AppKit`-[NSApplication run] + 500 > frame #20: 0x000000019fee023c AppKit`NSApplicationMain + 880 > frame #21: 0x0000000113192620 libvclplug_osxlo.dylib`AquaSalInstance::SVMainHook(this=0x0000600003bac2d0, pnInit=0x000000016b4fedf8) at /Users/stephan/lo/core/vcl/osx/salinst.cxx:980:5 > frame #22: 0x000000011a960fe8 libvcllo.dylib`ImplSVMain() at /Users/stephan/lo/core/vcl/source/app/svmain.cxx:195:54 > frame #23: 0x000000011a962720 libvcllo.dylib`SVMain() at /Users/stephan/lo/core/vcl/source/app/svmain.cxx:234:12 > frame #24: 0x00000001055e27e0 libsofficeapp.dylib`soffice_main at /Users/stephan/lo/core/desktop/source/app/sofficemain.cxx:94:12 > frame #25: 0x0000000104903f44 soffice`sal_main at /Users/stephan/lo/core/desktop/source/app/main.c:51:15 > frame #26: 0x0000000104903f1c soffice`main(argc=6, argv=0x000000016b4ff2b8) at /Users/stephan/lo/core/desktop/source/app/main.c:49:1 > frame #27: 0x000000019c887e50 dyld`start + 2544 > thread #2 > frame #0: 0x000000019cb73d04 libsystem_kernel.dylib`__workq_kernreturn + 8 > thread #3, name = 'PipeIPC' > frame #0: 0x000000019cb7a94c libsystem_kernel.dylib`__accept + 8 > frame #1: 0x0000000104cbf0ac libuno_sal.dylib.3`osl_acceptPipe(pPipe=0x0000600012a05900) at /Users/stephan/lo/core/sal/osl/unx/pipe.cxx:381:9 > frame #2: 0x00000001055d32dc libsofficeapp.dylib`osl::Pipe::accept(this=0x0000600001c1b830, Connection=0x000000016b9424b0) at /Users/stephan/lo/core/include/osl/pipe.hxx:155:34 > frame #3: 0x00000001055d27cc libsofficeapp.dylib`desktop::PipeIpcThread::execute(this=0x0000600001c1b800) at /Users/stephan/lo/core/desktop/source/app/officeipcthread.cxx:1132:37 > frame #4: 0x00000001049d6ad0 libuno_salhelpergcc3.dylib.3`salhelper::Thread::run(this=0x0000600001c1b800) at /Users/stephan/lo/core/salhelper/source/thread.cxx:39:5 > frame #5: 0x00000001049d8c18 libuno_salhelpergcc3.dylib.3`threadFunc(param=0x0000600001c1b800) at /Users/stephan/lo/core/include/osl/thread.hxx:189:15 > frame #6: 0x0000000104cdd020 libuno_sal.dylib.3`osl_thread_start_Impl(pData=0x00006000036c9440) at /Users/stephan/lo/core/sal/osl/unx/thread.cxx:265:9 > frame #7: 0x000000019cbb206c libsystem_pthread.dylib`_pthread_start + 148 > thread #4, name = 'com.apple.NSEventThread' > frame #0: 0x000000019cb72050 libsystem_kernel.dylib`mach_msg2_trap + 8 > frame #1: 0x000000019cb8411c libsystem_kernel.dylib`mach_msg2_internal + 80 > frame #2: 0x000000019cb7ac24 libsystem_kernel.dylib`mach_msg_overwrite + 452 > frame #3: 0x000000019cb723cc libsystem_kernel.dylib`mach_msg + 24 > frame #4: 0x000000019cc91bb0 CoreFoundation`__CFRunLoopServiceMachPort + 160 > frame #5: 0x000000019cc9049c CoreFoundation`__CFRunLoopRun + 1232 > frame #6: 0x000000019cc8f878 CoreFoundation`CFRunLoopRunSpecific + 612 > frame #7: 0x00000001a0040188 AppKit`_NSEventThread + 172 > frame #8: 0x000000019cbb206c libsystem_pthread.dylib`_pthread_start + 148 > thread #5, name = 'URP Acceptor' > frame #0: 0x000000019cb7a94c libsystem_kernel.dylib`__accept + 8 > frame #1: 0x0000000104cbf0ac libuno_sal.dylib.3`osl_acceptPipe(pPipe=0x0000600012b09f80) at /Users/stephan/lo/core/sal/osl/unx/pipe.cxx:381:9 > frame #2: 0x0000000119c40a50 libiolo.dylib`osl::Pipe::accept(this=0x000000016bada6c0, Connection=0x00006000027af230) at /Users/stephan/lo/core/include/osl/pipe.hxx:155:34 > frame #3: 0x0000000119c4063c libiolo.dylib`io_acceptor::PipeAcceptor::accept(this=0x00006000021acd80) at /Users/stephan/lo/core/io/source/acceptor/acc_pipe.cxx:156:36 > frame #4: 0x0000000119c50bb4 libiolo.dylib`(anonymous namespace)::OAcceptor::accept(this=0x00006000033b4370, sConnectionDescription=0x0000600003da3b60) at /Users/stephan/lo/core/io/source/acceptor/acceptor.cxx:198:22 > frame #5: 0x0000000111e29358 liboffacclo.dylib`desktop::Acceptor::run(this=0x0000600003da3aa0) at /Users/stephan/lo/core/desktop/source/offacc/acceptor.cxx:107:65 > frame #6: 0x0000000111e2b060 liboffacclo.dylib`desktop::offacc_workerfunc(acc=0x0000600003da3aa0) at /Users/stephan/lo/core/desktop/source/offacc/acceptor.cxx:45:34 > frame #7: 0x0000000104cdd020 libuno_sal.dylib.3`osl_thread_start_Impl(pData=0x00006000036a99e0) at /Users/stephan/lo/core/sal/osl/unx/thread.cxx:265:9 > frame #8: 0x000000019cbb206c libsystem_pthread.dylib`_pthread_start + 148 > thread #6, name = 'Crash Watchdog' > frame #0: 0x000000019cb7584c libsystem_kernel.dylib`__psynch_cvwait + 8 > frame #1: 0x000000019cbb2638 libsystem_pthread.dylib`_pthread_cond_wait + 1232 > frame #2: 0x0000000104c94ddc libuno_sal.dylib.3`osl_waitCondition(Condition=0x0000600012a06300, pTimeout=0x000000016bbe6f10) at /Users/stephan/lo/core/sal/osl/unx/conditn.cxx:203:33 > frame #3: 0x000000011a85e694 libvcllo.dylib`osl::Condition::wait(this=0x000060000067db00, pTimeout=0x000000016bbe6f10) at /Users/stephan/lo/core/include/osl/conditn.hxx:123:40 > frame #4: 0x000000011a98371c libvcllo.dylib`WatchdogThread::execute(this=0x0000600001608150) at /Users/stephan/lo/core/vcl/source/app/watchdog.cxx:116:25 > frame #5: 0x00000001049d6ad0 libuno_salhelpergcc3.dylib.3`salhelper::Thread::run(this=0x0000600001608150) at /Users/stephan/lo/core/salhelper/source/thread.cxx:39:5 > frame #6: 0x00000001049d8c18 libuno_salhelpergcc3.dylib.3`threadFunc(param=0x0000600001608150) at /Users/stephan/lo/core/include/osl/thread.hxx:189:15 > frame #7: 0x0000000104cdd020 libuno_sal.dylib.3`osl_thread_start_Impl(pData=0x00006000036ca9a0) at /Users/stephan/lo/core/sal/osl/unx/thread.cxx:265:9 > frame #8: 0x000000019cbb206c libsystem_pthread.dylib`_pthread_start + 148 > thread #7, name = 'binaryurpWriter' > frame #0: 0x000000019cb7584c libsystem_kernel.dylib`__psynch_cvwait + 8 > frame #1: 0x000000019cbb2638 libsystem_pthread.dylib`_pthread_cond_wait + 1232 > frame #2: 0x0000000104c952c0 libuno_sal.dylib.3`osl_waitCondition(Condition=0x0000600002abc680, pTimeout=0x0000000000000000) at /Users/stephan/lo/core/sal/osl/unx/conditn.cxx:228:20 > frame #3: 0x000000011e58307c libbinaryurplo.dylib`osl::Condition::wait(this=0x0000000142904df8, pTimeout=0x0000000000000000) at /Users/stephan/lo/core/include/osl/conditn.hxx:123:40 > frame #4: 0x000000011e5d98f8 libbinaryurplo.dylib`binaryurp::Writer::execute(this=0x0000000142904cf0) at /Users/stephan/lo/core/binaryurp/source/writer.cxx:151:20 > frame #5: 0x00000001049d6ad0 libuno_salhelpergcc3.dylib.3`salhelper::Thread::run(this=0x0000000142904cf0) at /Users/stephan/lo/core/salhelper/source/thread.cxx:39:5 > frame #6: 0x00000001049d8c18 libuno_salhelpergcc3.dylib.3`threadFunc(param=0x0000000142904cf0) at /Users/stephan/lo/core/include/osl/thread.hxx:189:15 > frame #7: 0x0000000104cdd020 libuno_sal.dylib.3`osl_thread_start_Impl(pData=0x00006000036a4240) at /Users/stephan/lo/core/sal/osl/unx/thread.cxx:265:9 > frame #8: 0x000000019cbb206c libsystem_pthread.dylib`_pthread_start + 148 > thread #8, name = 'binaryurpReader' > frame #0: 0x000000019cb765e0 libsystem_kernel.dylib`__recvfrom + 8 > frame #1: 0x0000000104cbf800 libuno_sal.dylib.3`osl_receivePipe(pPipe=0x0000600002abc000, pBuffer=0x00006000006b87c8, BytesToRead=8) at /Users/stephan/lo/core/sal/osl/unx/pipe.cxx:439:12 > frame #2: 0x0000000104cc0260 libuno_sal.dylib.3`osl_readPipe(pPipe=0x0000600002abc000, pBuffer=0x00006000006b87c8, n=8) at /Users/stephan/lo/core/sal/osl/unx/pipe.cxx:509:17 > frame #3: 0x0000000119c438e0 libiolo.dylib`osl::StreamPipe::read(this=0x0000600002463e10, pBuffer=0x00006000006b87c8, n=8) const at /Users/stephan/lo/core/include/osl/pipe.hxx:200:16 > frame #4: 0x0000000119c418c4 libiolo.dylib`io_acceptor::(anonymous namespace)::PipeConnection::read(this=0x0000600002463de0, aReadBytes=0x00000002d37b2960, nBytesToRead=8) at /Users/stephan/lo/core/io/source/acceptor/acc_pipe.cxx:82:30 > frame #5: 0x000000011e5ca800 libbinaryurplo.dylib`binaryurp::(anonymous namespace)::read(connection=0x00000002d37b2ae0, size=8, eofOk=true) at /Users/stephan/lo/core/binaryurp/source/reader.cxx:70:31 > frame #6: 0x000000011e5c9f0c libbinaryurplo.dylib`binaryurp::Reader::execute(this=0x0000000142018200) at /Users/stephan/lo/core/binaryurp/source/reader.cxx:105:46 > frame #7: 0x00000001049d6ad0 libuno_salhelpergcc3.dylib.3`salhelper::Thread::run(this=0x0000000142018200) at /Users/stephan/lo/core/salhelper/source/thread.cxx:39:5 > frame #8: 0x00000001049d8c18 libuno_salhelpergcc3.dylib.3`threadFunc(param=0x0000000142018200) at /Users/stephan/lo/core/include/osl/thread.hxx:189:15 > frame #9: 0x0000000104cdd020 libuno_sal.dylib.3`osl_thread_start_Impl(pData=0x00006000036a42d0) at /Users/stephan/lo/core/sal/osl/unx/thread.cxx:265:9 > frame #10: 0x000000019cbb206c libsystem_pthread.dylib`_pthread_start + 148 > thread #9, name = 'cppu_threadpool::ORequestThread' > frame #0: 0x000000019cb7584c libsystem_kernel.dylib`__psynch_cvwait + 8 > frame #1: 0x000000019cbb2638 libsystem_pthread.dylib`_pthread_cond_wait + 1232 > frame #2: 0x000000019db8c9ac Foundation`-[NSOperation waitUntilFinished] + 512 > frame #3: 0x000000019cc57ba8 CoreFoundation`_CFXNotificationPost + 776 > frame #4: 0x000000019db4738c Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 88 > frame #5: 0x000000019ff0b4a0 AppKit`-[NSMenu insertItem:atIndex:] + 448 > frame #6: 0x00000001a00cf744 AppKit`-[NSApplication(NSServicesMenuPrivate) _fillSpellCheckerPopupButton:] + 1380 > frame #7: 0x00000001a00cee94 AppKit`-[NSSpellChecker _fillSpellCheckerPopupButton:] + 76 > frame #8: 0x00000001a00ce010 AppKit`-[NSSpellChecker init] + 248 > frame #9: 0x00000001a00cdf08 AppKit`__36+[NSSpellChecker sharedSpellChecker]_block_invoke + 20 > frame #10: 0x000000019ca2a504 libdispatch.dylib`_dispatch_client_callout + 20 > frame #11: 0x000000019ca2bd50 libdispatch.dylib`_dispatch_once_callout + 32 > frame #12: 0x00000001a00cdef0 AppKit`+[NSSpellChecker sharedSpellChecker] + 140 > frame #13: 0x000000016b785f54 libMacOSXSpelllo.dylib`MacSpellChecker::getLocales(this=0x0000600003524640) at /Users/stephan/lo/core/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm:117:42 > frame #14: 0x0000000112631894 liblnglo.dylib`LngSvcMgr::GetAvailableSpellSvcs_Impl(this=0x00000001474811b0) at /Users/stephan/lo/core/linguistic/source/lngsvcmgr.cxx:963:67 > frame #15: 0x0000000112634e38 liblnglo.dylib`LngSvcMgr::getAvailableServices(this=0x00000001474811b0, rServiceName=0x00000002d38bb0e0, rLocale=0x00000002d38bb0b0) at /Users/stephan/lo/core/linguistic/source/lngsvcmgr.cxx:1381:9 > frame #16: 0x0000000112629ec0 liblnglo.dylib`LngSvcMgr::UpdateAll(this=0x00000001474811b0) at /Users/stephan/lo/core/linguistic/source/lngsvcmgr.cxx:645:46 > frame #17: 0x00000001126293bc liblnglo.dylib`LngSvcMgr::LngSvcMgr(this=0x00000001474811b0) at /Users/stephan/lo/core/linguistic/source/lngsvcmgr.cxx:414:5 > frame #18: 0x000000011262af30 liblnglo.dylib`LngSvcMgr::LngSvcMgr(this=0x00000001474811b0) at /Users/stephan/lo/core/linguistic/source/lngsvcmgr.cxx:402:1 > frame #19: 0x0000000112638d58 liblnglo.dylib`linguistic_LngSvcMgr_get_implementation((null)=0x00006000035bd270, (null)=0x00000002d38bb6b0) at /Users/stephan/lo/core/linguistic/source/lngsvcmgr.cxx:1826:30 > frame #20: 0x00000001061f2a5c libuno_cppuhelpergcc3.dylib.3`decltype(__f=0x00000001516709e8, __args=0x00000002d38bb630, __args=0x00000002d38bb6b0)(static_cast<com::sun::star::uno::XComponentContext*>(fp0), static_cast<com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&>(fp0))) std::__1::__invoke<com::sun::star::uno::XInterface* (*&)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&), com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&>(com::sun::star::uno::XInterface* (*&)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&), com::sun::star::uno::XComponentContext*&&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/type_traits:3918:1 > frame #21: 0x00000001061f29fc libuno_cppuhelpergcc3.dylib.3`com::sun::star::uno::XInterface* std::__1::__invoke_void_return_wrapper<com::sun::star::uno::XInterface*, false>::__call<com::sun::star::uno::XInterface* (*&)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&), com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&>(__args=0x00000001516709e8, __args=0x00000002d38bb630, __args=0x00000002d38bb6b0) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__functional/invoke.h:30:16 > frame #22: 0x00000001061f29a8 libuno_cppuhelpergcc3.dylib.3`std::__1::__function::__alloc_func<com::sun::star::uno::XInterface* (*)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&), std::__1::allocator<com::sun::star::uno::XInterface* (*)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>, com::sun::star::uno::XInterface* (com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>::operator()(this=0x00000001516709e8, __arg=0x00000002d38bb630, __arg=0x00000002d38bb6b0) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__functional/function.h:178:16 > frame #23: 0x00000001061f12a8 libuno_cppuhelpergcc3.dylib.3`std::__1::__function::__func<com::sun::star::uno::XInterface* (*)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&), std::__1::allocator<com::sun::star::uno::XInterface* (*)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>, com::sun::star::uno::XInterface* (com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>::operator()(this=0x00000001516709e0, __arg=0x00000002d38bb630, __arg=0x00000002d38bb6b0) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__functional/function.h:352:12 > frame #24: 0x00000001061e2868 libuno_cppuhelpergcc3.dylib.3`std::__1::__function::__value_func<com::sun::star::uno::XInterface* (com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>::operator()(this=0x00000001516709e0, __args=0x00000002d38bb630, __args=0x00000002d38bb6b0) const at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__functional/function.h:505:16 > frame #25: 0x00000001061b6b88 libuno_cppuhelpergcc3.dylib.3`std::__1::function<com::sun::star::uno::XInterface* (com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>::operator()(this= Function = linguistic_LngSvcMgr_get_implementation , __arg=0x00006000035bd220, __arg=0x00000002d38bb6b0) const at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__functional/function.h:1182:12 > frame #26: 0x00000001061b6450 libuno_cppuhelpergcc3.dylib.3`cppuhelper::ServiceManager::Data::Implementation::doCreateInstance(this=0x0000000151670968, context=0x00000002d38bbb40) at /Users/stephan/lo/core/cppuhelper/source/servicemanager.cxx:706:13 > frame #27: 0x00000001061b6288 libuno_cppuhelpergcc3.dylib.3`cppuhelper::ServiceManager::Data::Implementation::createInstance(this=0x0000000151670968, context=0x00000002d38bbb40, singletonRequest=false) at /Users/stephan/lo/core/cppuhelper/source/servicemanager.cxx:671:30 > frame #28: 0x00000001061bbc60 libuno_cppuhelpergcc3.dylib.3`cppuhelper::ServiceManager::createInstanceWithContext(this=0x0000000151708ec0, aServiceSpecifier=0x00000002d38bb988, Context=0x00000002d38bbb40) at /Users/stephan/lo/core/cppuhelper/source/servicemanager.cxx:1006:36 > frame #29: 0x00000002f18f40ec libswlo.dylib`com::sun::star::linguistic2::LinguServiceManager::create(the_context=0x00000002d38bbb40) at /Users/stephan/lo/core/workdir/UnoApiHeadersTarget/offapi/normal/com/sun/star/linguistic2/LinguServiceManager.hpp:38:129 > frame #30: 0x00000002f18f3a14 libswlo.dylib`SwLinguServiceEventListener::SwLinguServiceEventListener(this=0x000060000245b480) at /Users/stephan/lo/core/sw/source/uibase/uno/dlelstnr.cxx:53:24 > frame #31: 0x00000002f18f4928 libswlo.dylib`SwLinguServiceEventListener::SwLinguServiceEventListener(this=0x000060000245b480) at /Users/stephan/lo/core/sw/source/uibase/uno/dlelstnr.cxx:46:1 > frame #32: 0x00000002f148f6f0 libswlo.dylib`SwModule::SwModule(this=0x00000001516e40e0, pWebFact=0x00000002f1ddf0e0, pFact=0x00000002f1ddddf0, pGlobalFact=0x00000002f1dddfd0) at /Users/stephan/lo/core/sw/source/uibase/app/swmodule.cxx:160:44 > frame #33: 0x00000002f149023c libswlo.dylib`SwModule::SwModule(this=0x00000001516e40e0, pWebFact=0x00000002f1ddf0e0, pFact=0x00000002f1ddddf0, pGlobalFact=0x00000002f1dddfd0) at /Users/stephan/lo/core/sw/source/uibase/app/swmodule.cxx:136:1 > frame #34: 0x00000002f1483230 libswlo.dylib`std::__1::__unique_if<SwModule>::__unique_single std::__1::make_unique<SwModule, SfxObjectFactory*&, SfxObjectFactory*&, SfxObjectFactory*&>(__args=0x00000002d38bc1d8, __args=0x00000002d38bc1e8, __args=0x00000002d38bc1e0) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__memory/unique_ptr.h:728:32 > frame #35: 0x00000002f1482c04 libswlo.dylib`SwDLL::SwDLL(this=0x00006000007fce60) at /Users/stephan/lo/core/sw/source/uibase/app/swdll.cxx:98:26 > frame #36: 0x00000002f14834a8 libswlo.dylib`SwDLL::SwDLL(this=0x00006000007fce60) at /Users/stephan/lo/core/sw/source/uibase/app/swdll.cxx:81:1 > frame #37: 0x00000002f1483aac libswlo.dylib`(anonymous namespace)::SwDLLInstance::SwDLLInstance(this=0x00000002f1ddde58) at /Users/stephan/lo/core/sw/source/uibase/app/swdll.cxx:57:212 > frame #38: 0x00000002f14839f0 libswlo.dylib`(anonymous namespace)::SwDLLInstance::SwDLLInstance(this=0x00000002f1ddde58) at /Users/stephan/lo/core/sw/source/uibase/app/swdll.cxx:58:9 > frame #39: 0x00000002f1482988 libswlo.dylib`rtl::Static<(anonymous namespace)::SwDLLInstance, (anonymous namespace)::theSwDLLInstance>::get() at /Users/stephan/lo/core/include/rtl/instance.hxx:399:18 > frame #40: 0x00000002f1482938 libswlo.dylib`SwGlobals::ensure() at /Users/stephan/lo/core/sw/source/uibase/app/swdll.cxx:70:9 > frame #41: 0x00000002f190a31c libswlo.dylib`Writer_SwTextDocument_get_implementation((null)=0x00006000035bd270, args=0x00000002d38bc560) at /Users/stephan/lo/core/sw/source/uibase/uno/unodoc.cxx:41:5 > frame #42: 0x00000001061f2a5c libuno_cppuhelpergcc3.dylib.3`decltype(__f=0x000000015168aad8, __args=0x00000002d38bc4e0, __args=0x00000002d38bc560)(static_cast<com::sun::star::uno::XComponentContext*>(fp0), static_cast<com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&>(fp0))) std::__1::__invoke<com::sun::star::uno::XInterface* (*&)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&), com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&>(com::sun::star::uno::XInterface* (*&)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&), com::sun::star::uno::XComponentContext*&&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/type_traits:3918:1 > frame #43: 0x00000001061f29fc libuno_cppuhelpergcc3.dylib.3`com::sun::star::uno::XInterface* std::__1::__invoke_void_return_wrapper<com::sun::star::uno::XInterface*, false>::__call<com::sun::star::uno::XInterface* (*&)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&), com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&>(__args=0x000000015168aad8, __args=0x00000002d38bc4e0, __args=0x00000002d38bc560) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__functional/invoke.h:30:16 > frame #44: 0x00000001061f29a8 libuno_cppuhelpergcc3.dylib.3`std::__1::__function::__alloc_func<com::sun::star::uno::XInterface* (*)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&), std::__1::allocator<com::sun::star::uno::XInterface* (*)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>, com::sun::star::uno::XInterface* (com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>::operator()(this=0x000000015168aad8, __arg=0x00000002d38bc4e0, __arg=0x00000002d38bc560) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__functional/function.h:178:16 > frame #45: 0x00000001061f12a8 libuno_cppuhelpergcc3.dylib.3`std::__1::__function::__func<com::sun::star::uno::XInterface* (*)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&), std::__1::allocator<com::sun::star::uno::XInterface* (*)(com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>, com::sun::star::uno::XInterface* (com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>::operator()(this=0x000000015168aad0, __arg=0x00000002d38bc4e0, __arg=0x00000002d38bc560) at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__functional/function.h:352:12 > frame #46: 0x00000001061e2868 libuno_cppuhelpergcc3.dylib.3`std::__1::__function::__value_func<com::sun::star::uno::XInterface* (com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>::operator()(this=0x000000015168aad0, __args=0x00000002d38bc4e0, __args=0x00000002d38bc560) const at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__functional/function.h:505:16 > frame #47: 0x00000001061b6b88 libuno_cppuhelpergcc3.dylib.3`std::__1::function<com::sun::star::uno::XInterface* (com::sun::star::uno::XComponentContext*, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)>::operator()(this= Function = Writer_SwTextDocument_get_implementation , __arg=0x00006000035bd220, __arg=0x00000002d38bc560) const at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1/__functional/function.h:1182:12 > frame #48: 0x00000001061b6450 libuno_cppuhelpergcc3.dylib.3`cppuhelper::ServiceManager::Data::Implementation::doCreateInstance(this=0x000000015168aa58, context=0x0000600001dda938) at /Users/stephan/lo/core/cppuhelper/source/servicemanager.cxx:706:13 > frame #49: 0x00000001061b6304 libuno_cppuhelpergcc3.dylib.3`cppuhelper::ServiceManager::Data::Implementation::createInstance(this=0x000000015168aa58, context=0x0000600001dda938, singletonRequest=false) at /Users/stephan/lo/core/cppuhelper/source/servicemanager.cxx:675:16 > frame #50: 0x00000001061bbc60 libuno_cppuhelpergcc3.dylib.3`cppuhelper::ServiceManager::createInstanceWithContext(this=0x0000000151708ec0, aServiceSpecifier=0x00000002d38bca48, Context=0x0000600001dda938) at /Users/stephan/lo/core/cppuhelper/source/servicemanager.cxx:1006:36 > frame #51: 0x000000010dbbb1dc libsfxlo.dylib`(anonymous namespace)::SfxFrameLoader_Impl::load(this=0x0000600001dda900, rArgs=0x00000002d38bcec0, _rTargetFrame=0x00000002d38bcf80) at /Users/stephan/lo/core/sfx2/source/view/frmload.cxx:712:58 > frame #52: 0x000000010a0bb180 libfwklo.dylib`framework::LoadEnv::impl_loadContent(this=0x00000002d38bd900) at /Users/stephan/lo/core/framework/source/loadenv/loadenv.cxx:1156:37 > frame #53: 0x000000010a0b7dfc libfwklo.dylib`framework::LoadEnv::start(this=0x00000002d38bd900) at /Users/stephan/lo/core/framework/source/loadenv/loadenv.cxx:395:20 > frame #54: 0x000000010a0b5848 libfwklo.dylib`framework::LoadEnv::startLoading(this=0x00000002d38bd900, sURL=0x00006000021b6170, lMediaDescriptor=0x00000002d38bdc90, xBaseFrame=0x00000002d38bd690, sTarget=0x00006000021b6188, nSearchFlags=0, eFeature=WorkWithUI) at /Users/stephan/lo/core/framework/source/loadenv/loadenv.cxx:300:5 > frame #55: 0x000000010a0b4550 libfwklo.dylib`framework::LoadEnv::loadComponentFromURL(xLoader=0x00000002d38bdb38, xContext=0x00000001516d9d70, sURL=0x00006000021b6170, sTarget=0x00006000021b6188, nSearchFlags=0, lArgs=0x00000002d38bdc90) at /Users/stephan/lo/core/framework/source/loadenv/loadenv.cxx:168:14 > frame #56: 0x000000010a0e8098 libfwklo.dylib`framework::Desktop::loadComponentFromURL(this=0x00000001516d9be0, sURL=0x00006000021b6170, sTargetFrameName=0x00006000021b6188, nSearchFlags=0, lArguments=0x00000002d38bdc90) at /Users/stephan/lo/core/framework/source/services/desktop.cxx:594:16 > frame #57: 0x0000000109dcb124 libgcc3_uno.dylib`callVirtualFunction(function=4463690372, gpr=0x00000002d38bdfc8, fpr=0x00000002d38bdf88, stack=0x00000002d38bdce0, sp=0, ret=0x00000002d38bdd00) at /Users/stephan/lo/core/bridges/source/cpp_uno/gcc3_linux_aarch64/callvirtualfunction.cxx:38:5 > frame #58: 0x0000000109dd4a40 libgcc3_uno.dylib`(anonymous namespace)::call(proxy=0x0000600001dbf0c0, slot=(offset = 0, index = 3), returnType=0x00006000033b9760, count=4, parameters=0x00006000021b62e0, returnValue=0x00006000006b8750, arguments=0x0000600000396640, exception=0x00000002d38be418) at /Users/stephan/lo/core/bridges/source/cpp_uno/gcc3_linux_aarch64/uno2cpp.cxx:293:13 > frame #59: 0x0000000109dd41f4 libgcc3_uno.dylib`unoInterfaceProxyDispatch(pUnoI=0x0000600001dbf0c0, pMemberDescr=0x00006000030944d0, pReturn=0x00006000006b8750, pArgs=0x0000600000396640, ppException=0x00000002d38be418) at /Users/stephan/lo/core/bridges/source/cpp_uno/gcc3_linux_aarch64/uno2cpp.cxx:505:17 > frame #60: 0x000000011e5aca30 libbinaryurplo.dylib`binaryurp::IncomingRequest::execute_throw(this=0x00006000021b6040, returnValue=0x00000002d38be9a0, outArguments=0x00000002d38be988) const at /Users/stephan/lo/core/binaryurp/source/incomingrequest.cxx:236:13 > frame #61: 0x000000011e5ab424 libbinaryurplo.dylib`binaryurp::IncomingRequest::execute(this=0x00006000021b6040) const at /Users/stephan/lo/core/binaryurp/source/incomingrequest.cxx:79:26 > frame #62: 0x000000011e5c9a2c libbinaryurplo.dylib`request(pThreadSpecificData=0x00006000021b6040) at /Users/stephan/lo/core/binaryurp/source/reader.cxx:86:9 > frame #63: 0x0000000104ea7c14 libuno_cppu.dylib.3`cppu_threadpool::JobQueue::enter(this=0x0000600003ba0ff0, nDisposeId=0x00006000011a73c0, bReturnWhenNoJob=true) at /Users/stephan/lo/core/cppu/source/threadpool/jobqueue.cxx:100:17 > frame #64: 0x0000000104eb1470 libuno_cppu.dylib.3`cppu_threadpool::ORequestThread::run(this=0x00006000011a73c0) at /Users/stephan/lo/core/cppu/source/threadpool/thread.cxx:165:31 > frame #65: 0x0000000104eb4368 libuno_cppu.dylib.3`threadFunc(param=0x00006000011a73c0) at /Users/stephan/lo/core/include/osl/thread.hxx:189:15 > frame #66: 0x0000000104cdd020 libuno_sal.dylib.3`osl_thread_start_Impl(pData=0x00006000036b8090) at /Users/stephan/lo/core/sal/osl/unx/thread.cxx:265:9 > frame #67: 0x000000019cbb206c libsystem_pthread.dylib`_pthread_start + 148 so this is the issue that meanwhile got fixed with <https://git.libreoffice.org/core/+/d193d65635de197efe32d97a99540a31a5455c41%5E%21> "tdf#151894 Pre-init NSSpellCHecker to avoid SolarMutex deadlock". (That master commit is also included in libreoffice-7-5 and libreoffice-7-5-0, and a local libreoffice-7.5.0.2 build, done with the same configuration as the failing libreoffice-7.4.4.2 build, indeed succeeds.) So this should be fixed in the upcoming LO 7.5.0, and lets close this as a duplicate of bug 151894. *** This bug has been marked as a duplicate of bug 151894 ***
Daily build dated 25th January 2023 downloaded. 3 tests re-run. My reported bug is fixed.