Description: My application is a windows service and creates the documents and spreadsheets for web users. I have been using LibreOffice via Microsoft OLE. (com.sun.star.ServiceManager) It works without any problems on Windows server 2012 R2 and Windows server 2019. For the reason of the Office365 document format I switched to LibreOffice 7.1.0 recently. With LibreOffice 7.1.0 my application does not work on Windows server 2016, process just hangs. Thank you in advance Steps to Reproduce: 1.Run the app on Wİndows server 2016 2. 3. Actual Results: Process hangs. Expected Results: Should generate a docx file. Reproducible: Always User Profile Reset: No Additional Info: With the previous version (LibreOffice 6) it was running on any Windows server versions (2012,2016 or 2019).
Last week we have upgraded production server to Window Server 2019 and this bug is not occurring any more as I explained in the description.
Maybe this is related: We're running an application that calls LO Writer via OLE like this (code from Sybase PowerBuilder): OleControl loc_Object ... loc_Object.ObjectData = loc_Object.InsertClass( "LibreOffice.WriterDocument.1" ).ObjectData loc_Object.Activate( OffSite! ) Up to LO 7.0.6, this works seamlessly. However, since 7.1.x, the application throws a Windows error: Error no. 298, Too many posts were made to a semaphore. Any idea what has changed from 7.0.x to 7.1.x that might cause this error?
(In reply to cpohle from comment #2) > Maybe this is related: > > We're running an application that calls LO Writer via OLE like this (code > from Sybase PowerBuilder): > > OleControl loc_Object > ... > loc_Object.ObjectData = loc_Object.InsertClass( > "LibreOffice.WriterDocument.1" ).ObjectData > loc_Object.Activate( OffSite! ) > > Up to LO 7.0.6, this works seamlessly. However, since 7.1.x, the application > throws a Windows error: > > Error no. 298, Too many posts were made to a semaphore. > > Any idea what has changed from 7.0.x to 7.1.x that might cause this error? This still occurs with LO 24.2 RC2.
(In reply to cpohle from comment #2) > Maybe this is related: > > We're running an application that calls LO Writer via OLE like this (code > from Sybase PowerBuilder): > > OleControl loc_Object > ... > loc_Object.ObjectData = loc_Object.InsertClass( > "LibreOffice.WriterDocument.1" ).ObjectData > loc_Object.Activate( OffSite! ) > > Up to LO 7.0.6, this works seamlessly. However, since 7.1.x, the application > throws a Windows error: > > Error no. 298, Too many posts were made to a semaphore. > > Any idea what has changed from 7.0.x to 7.1.x that might cause this error? You could bibisect it with the 7.1 repository: https://wiki.documentfoundation.org/QA/Bibisect/Windows Let me know, if you need help. Here is my tutorial: https://wiki.documentfoundation.org/QA/Bibisect/Bibisecting_tutorial
I'd love to help by bibisecting, got the 7.1 repo and tried to start. Unfortunately, it turned out that my application that relies on the OLE interface would crash when calling the 64 bit version of LO. And the x86-build is not available for bibisect :-(. (In reply to Buovjaga from comment #4) > (In reply to cpohle from comment #2) > > Maybe this is related: > > > > We're running an application that calls LO Writer via OLE like this (code > > from Sybase PowerBuilder): > > > > OleControl loc_Object > > ... > > loc_Object.ObjectData = loc_Object.InsertClass( > > "LibreOffice.WriterDocument.1" ).ObjectData > > loc_Object.Activate( OffSite! ) > > > > Up to LO 7.0.6, this works seamlessly. However, since 7.1.x, the application > > throws a Windows error: > > > > Error no. 298, Too many posts were made to a semaphore. > > > > Any idea what has changed from 7.0.x to 7.1.x that might cause this error? > > You could bibisect it with the 7.1 repository: > https://wiki.documentfoundation.org/QA/Bibisect/Windows > > Let me know, if you need help. > > Here is my tutorial: > https://wiki.documentfoundation.org/QA/Bibisect/Bibisecting_tutorial