https://bugs.documentfoundation.org/show_bug.cgi?id=97104

            Bug ID: 97104
           Summary: Writer crashes when a MailMerge instance is created
                    with CLI_UNO
           Product: LibreOffice
           Version: 5.0.4.2 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: dev.ma...@apsystems.it

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: 5.0.4.2, time stamp:
0x566ad0aa
Faulting module name: MSVCR120.dll, version: 12.0.21005.1, time stamp:
0x524f7ce6
Exception code: 0xc0000409
Fault offset: 0x000a7666
Faulting process id: 0x16ac
Faulting application start time: 0x01d14e13f3c4a8e4
Faulting application path: C:\Program Files (x86)\LibreOffice
5\program\soffice.bin
Faulting module path: C:\Windows\SYSTEM32\MSVCR120.dll
Report Id: 3559a71e-ba07-11e5-82a8-68f72874dcaa
Faulting package full name: 
Faulting package-relative application ID: 

The same error is thrown even if you open a document manually, without using
loadComponentFromURL but keeping the test program opened.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to