https://bugs.freedesktop.org/show_bug.cgi?id=85651
Bug ID: 85651
Summary: Writer crashes when a MailMerge instance is created in
C#
Product: LibreOffice
Version: 4.3.1.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: major
Priority: medium
Component: sdk
Assignee: [email protected]
Reporter: [email protected]
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.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs