Writer crashes on close everytime I open a document, manually or programmatically, after having created an instance of a MailMerge object using CLI-uno. Step to reproduce: - Create a small C# app that does the following: XComponentContext context = Bootstrap.bootstrap(); XMultiServiceFactory msf = (XMultiServiceFactory)context.getServiceManager(); //Create the Mail Merge service object mailMerge = msf.createInstance("com.sun.star.text.MailMerge"); ((XComponent)mailMerge).dispose(); //Open document XComponentLoader componentLoader = (XComponentLoader)msf.createInstance("com.sun.star.frame.Desktop"); componentLoader.loadComponentFromURL(new Uri(System.Environment.CurrentDirectory + @"/test/test1.odt").AbsoluteUri, "_blank", 0, new PropertyValue[] { }); - Close writer. - You receive an error. Inside Event Viewer you find: Faulting application name: soffice.bin, version: 4.3.1.2, time stamp: 0x53fc7a22 Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x53159a86 Exception code: 0x00000000 Fault offset: 0x0000c42d Faulting process id: 0x159c Faulting application start time: 0x01cff446b33c683d Faulting application path: C:\Program Files (x86)\LibreOffice 4\program\soffice.bin Faulting module path: C:\Windows\syswow64\KERNELBASE.dll Report Id: f895de58-6039-11e4-b725-047d7b95035d The same error is thrown even if you open a document manually, without using loadComponentFromURL but keeping the test program opened.
The problem is present also in version 4.3.2 and 4.3.3. With version 4.3.3 is possible to enable Quickstart and with this feature the error doesn't show up. The strange thing is that I tested many PCs and configuration and only in a couple of PCs I'm not able to reproduce the error, maybe is related to some library installed there.
Hi APS - can you please attach a document and the small C# app that you describe. It's always easier to reproduce if you attach all relevant attachments and then provide simple steps on how to reproduce. Also, do you happen to know if this was a problem prior to 4.1? Marking as NEEDINFO -once you provide the attachments please set to UNCONFIRMED. Thanks!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.