[Mono-bugs] [Bug 79731][Wis] New - Mono openoffice bindings doesn't work
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Oct 24 06:17:34 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by informatique.internet at fiducial.fr.
http://bugzilla.ximian.com/show_bug.cgi?id=79731
--- shadow/79731 2006-10-24 06:17:34.000000000 -0400
+++ shadow/79731.tmp.21587 2006-10-24 06:17:34.000000000 -0400
@@ -0,0 +1,224 @@
+Bug#: 79731
+Product: Mono: Runtime
+Version: 1.0
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: informatique.internet at fiducial.fr
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Mono openoffice bindings doesn't work
+
+Description of Problem:
+I can get bindings to work with mono from svn
+
+Steps to reproduce the problem:
+1. Install openoffice from novell rpm
+(OpenOffice_org-2.0.4-9.i586.rpm,OpenOffice_org-mono-2.0.4-14.i586.rpm)
+
+2. try this program
+
+using System;
+using System.Collections;
+ using unoidl.com.sun.star.lang;
+ using unoidl.com.sun.star.uno;
+ using unoidl.com.sun.star.bridge;
+ using unoidl.com.sun.star.frame;
+ using uno.util;
+
+ class MainClass
+ {
+
+ private static unoidl.com.sun.star.uno.XComponentContext
+m_xContext,xLocalContext;
+
+ [STAThread]
+ public static void Main(string[] args)
+ {
+ Console.WriteLine("Hello World!");
+ m_xContext = uno.util.Bootstrap.bootstrap();
+ }
+ }
+
+
+
+3. compile this and run it
+
+Actual Results:
+Hello World!
+
+=================================================================
+Got a SIGSEGV while executing native code. This usually indicates
+a fatal error in the mono runtime or one of the native libraries
+used by your application.
+=================================================================
+
+Stacktrace:
+
+ at (wrapper managed-to-native) uno.util.Bootstrap.native_bootstrap ()
+<0x00004>
+ at (wrapper managed-to-native) uno.util.Bootstrap.native_bootstrap ()
+<0xffffffff>
+ at uno.util.Bootstrap.bootstrap () <0x0000d>
+ at testoo.MainClass.Main (string[]) <0x0002e>
+ at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[]
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+ mono [0x815f676]
+ mono [0x812a5e8]
+ [0xb7ee8440]
+ /usr/lib/ooo-2.0/program/libcli_uno.so(uno_ext_getMapping+0xee)
+[0xb46b807e]
+ /usr/lib/ooo-2.0/program/libuno_cppu.so.3 [0xb6f48fc6]
+ /usr/lib/ooo-2.0/program/libuno_cppu.so.3 [0xb6f491ec]
+ /usr/lib/ooo-2.0/program/libuno_cppu.so.3(uno_getMapping+0x8b3)
+[0xb6f49b21]
+
+/usr/lib/ooo-2.0/program/libuno_cppu.so.3(uno_getMappingByName+0x91)
+[0xb6f49bd9]
+ /usr/lib/ooo-2.0/program/libcli_uno_glue.so [0xb79787c4]
+ /usr/lib/ooo-2.0/program/libcli_uno_glue.so [0xb797835a]
+ /usr/lib/ooo-2.0/program/libcli_uno_glue.so(native_bootstrap+0x26)
+[0xb7978420]
+ [0xb798315a]
+ [0xb798305e]
+ [0xb797d86f]
+ [0xb797d7c3]
+ mono(mono_runtime_exec_main+0x60) [0x80dbcc0]
+ mono(mono_runtime_run_main+0x1b3) [0x80dbfa3]
+ mono(mono_main+0xe54) [0x8058cd4]
+ mono [0x80579b2]
+ /lib/libc.so.6(__libc_start_main+0xe6) [0xb7cd3866]
+ mono(dl_iterate_phdr+0x19d) [0x8057911]
+
+Debug info from gdb:
+
+Using host libthread_db library "/lib/libthread_db.so.1".
+[Thread debugging using libthread_db enabled]
+[New Thread -1211382080 (LWP 17505)]
+[New Thread -1259295840 (LWP 17528)]
+[New Thread -1250903136 (LWP 17526)]
+[New Thread -1242178656 (LWP 17508)]
+[New Thread -1221907552 (LWP 17507)]
+[New Thread -1221891168 (LWP 17506)]
+0xb7ee8410 in ?? ()
+ 6 Thread -1221891168 (LWP 17506) 0xb7ee8410 in ?? ()
+ 5 Thread -1221907552 (LWP 17507) 0xb7ee8410 in ?? ()
+ 4 Thread -1242178656 (LWP 17508) 0xb7ee8410 in ?? ()
+ 3 Thread -1250903136 (LWP 17526) 0xb7ee8410 in ?? ()
+ 2 Thread -1259295840 (LWP 17528) 0xb7ee8410 in ?? ()
+ 1 Thread -1211382080 (LWP 17505) 0xb7ee8410 in ?? ()
+
+Thread 6 (Thread -1221891168 (LWP 17506)):
+#0 0xb7ee8410 in ?? ()
+#1 0xb72b6438 in ?? ()
+#2 0x081f0700 in ?? ()
+#3 0x00000000 in ?? ()
+
+Thread 5 (Thread -1221907552 (LWP 17507)):
+#0 0xb7ee8410 in ?? ()
+#1 0xb72b2248 in ?? ()
+#2 0x00000001 in ?? ()
+#3 0x00000000 in ?? ()
+
+Thread 4 (Thread -1242178656 (LWP 17508)):
+#0 0xb7ee8410 in ?? ()
+#1 0xb5f5d3a8 in ?? ()
+#2 0x00000000 in ?? ()
+
+Thread 3 (Thread -1250903136 (LWP 17526)):
+#0 0xb7ee8410 in ?? ()
+#1 0xb570b348 in ?? ()
+#2 0x00000003 in ?? ()
+#3 0x00000000 in ?? ()
+
+Thread 2 (Thread -1259295840 (LWP 17528)):
+#0 0xb7ee8410 in ?? ()
+#1 0xb4f0a118 in ?? ()
+#2 0xb7113ff4 in ?? () from /usr/lib/ooo-2.0/program/libuno_sal.so.3
+#3 0xb4f0a100 in ?? ()
+#4 0xb7e06e78 in recv () from /lib/libpthread.so.0
+#5 0xb6f7d907 in osl_receivePipe ()
+ from /usr/lib/ooo-2.0/program/libuno_sal.so.3
+#6 0xb6f7d93d in osl_readPipe () from /usr/lib/ooo-2.0/program/libuno_sal.so.3
+#7 0xb574bb18 in component_writeInfo ()
+ from /usr/lib/ooo-2.0/program/connector.uno.so
+#8 0x0829eff0 in ?? ()
+#9 0x082b0f60 in ?? ()
+#10 0x00000008 in ?? ()
+#11 0xb574ba95 in component_writeInfo ()
+ from /usr/lib/ooo-2.0/program/connector.uno.so
+#12 0xb5753ff4 in ?? () from /usr/lib/ooo-2.0/program/connector.uno.so
+#13 0xb5753ff4 in ?? () from /usr/lib/ooo-2.0/program/connector.uno.so
+#14 0xb4f0a198 in ?? ()
+#15 0xb574b48f in component_writeInfo ()
+ from /usr/lib/ooo-2.0/program/connector.uno.so
+#16 0x08298f48 in ?? ()
+#17 0x082b0f60 in ?? ()
+#18 0x00000008 in ?? ()
+#19 0xb574b41f in component_writeInfo ()
+ from /usr/lib/ooo-2.0/program/connector.uno.so
+#20 0xb4f0a1c8 in ?? ()
+#21 0x00000008 in ?? ()
+#22 0x08279330 in ?? ()
+#23 0xb5735ff4 in ?? () from /usr/lib/ooo-2.0/program/remotebridge.uno.so
+#24 0x00000008 in ?? ()
+#25 0xb4f0a1c8 in ?? ()
+#26 0xb4f0a1d8 in ?? ()
+#27 0xb5731b69 in component_writeInfo ()
+ from /usr/lib/ooo-2.0/program/remotebridge.uno.so
+#28 0x08298f30 in ?? ()
+#29 0xb4f0a1c8 in ?? ()
+#30 0x00000008 in ?? ()
+#31 0xb571986a in uno_initEnvironment ()
+ from /usr/lib/ooo-2.0/program/liburp_uno.so
+
+Thread 1 (Thread -1211382080 (LWP 17505)):
+#0 0xb7ee8410 in ?? ()
+#1 0xbfc8dbc8 in ?? ()
+#2 0x00000000 in ?? ()
+#0 0xb7ee8410 in ?? ()
+
+Abandon
+
+
+Expected Results:
+it should work
+
+How often does this happen?
+always
+
+Additional Information:
+
+Here's the native stacktrace (with mdb)
+
+(mdb) bt
+(*) #0: 0x080997d7 in mono_assembly_get_image+0x7 at
+/home/hubert/mono/mono/mono/metadata/assembly.c:2403
+ #1: 0xb77d5079 in uno_ext_getMapping+0xe9
+ #2: 0xb6d9dfc4 in uno_registerMapping+0xbee
+ #3: 0xb6d9e1e7 in uno_registerMapping+0xe11
+ #4: 0xb6d9eb1c in uno_getMapping+0x8ae
+ #5: 0xb6d9ebd4 in uno_getMappingByName+0x8c
+ #6: 0xb6f6d7bf in
+native_defaultBootstrap_InitialComponentContext_iniFile+0x257
+ #7: 0xb6f6d355 in _init+0x321
+ #8: 0xb6f6d41b in native_bootstrap+0x21
+ #9: 0xb7118cd5 in <(wrapper managed-to-native)
+uno.util.Bootstrap:native_bootstrap ()>+0x25 at 5
+ #10: 0xb7118bd7 in <uno.util.Bootstrap:bootstrap ()>+0xf at 1
+ #11: 0xb71179ed in testoo.MainClass.connect()+0x65 at
+/home/hubert/Projects/testoo/testoo/Main.cs:44
+ #12: 0xb711795e in testoo.MainClass.Run()+0xe at
+/home/hubert/Projects/testoo/testoo/Main.cs:30
+ #13: 0xb71116e7 in testoo.MainClass.Main(System.String[])+0x47 at
+/home/hubert/Projects/testoo/testoo/Main.cs:24
More information about the mono-bugs
mailing list