[Mono-bugs] [Bug 74816][Maj] Changed - [PPC] Microsoft.VisualBasic/fixup is broken

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun May 22 09:35:14 EDT 2005


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 jsacco at ydl.net.

http://bugzilla.ximian.com/show_bug.cgi?id=74816

--- shadow/74816	2005-05-21 02:51:19.000000000 -0400
+++ shadow/74816.tmp.9397	2005-05-22 09:35:14.000000000 -0400
@@ -93,6 +93,75 @@
 ------- Additional Comments From bmaurer at users.sf.net  2005-05-21 02:49 -------
 Linking monodis to the static version is a horrible idea -- it will
 create alot of bloat in the rpms.
 
 If we can't get a reliable usage of the fixup stuff, it simply should
 not be enabled.
+
+------- Additional Comments From jsacco at ydl.net  2005-05-22 09:35 -------
+monodis appears to be broken. If I force the build/install using "make
+-k mono", I can run monodis directly without the wrapper:
+
+% cd class/Microsoft.VisualBasic/
+% monodis fixup/default/Microsoft.VisualBasic.dll
+Segmentation fault
+
+Viewed from within gdb:
+(gdb) run fixup/default/Microsoft.VisualBasic.dll
+Starting program: /opt/mono-svn/bin/monodis
+fixup/default/Microsoft.VisualBasic.dll
+[Thread debugging using libthread_db enabled]
+[New Thread 807479136 (LWP 10638)]
+
+Program received signal SIGSEGV, Segmentation fault.
+[Switching to Thread 807479136 (LWP 10638)]
+0x0fee1d74 in mono_init_internal (filename=Variable "filename" is not
+available.
+) at domain.c:366
+366             SET_APPDOMAIN (domain);
+(gdb) bt
+#0  0x0fee1d74 in mono_init_internal (filename=Variable "filename" is
+not available.
+) at domain.c:366
+#1  0x0fee1d64 in mono_init_internal (filename=Variable "filename" is
+not available.
+) at domain.c:363
+#2  0x300d58a4 in generic_start_main () from /lib/tls/libc.so.6
+#3  0x300d5a70 in __libc_start_main () from /lib/tls/libc.so.6
+(gdb) l
+363             domain = mono_domain_create ();
+364             mono_root_domain = domain;
+365
+366             SET_APPDOMAIN (domain);
+367
+368             /* Get a list of runtimes supported by the exe */
+369             if (exe_filename != NULL) {
+370                     get_runtimes_from_exe (exe_filename, runtimes);
+371             } else if (runtime_version != NULL) {
+372                     runtimes [0] = get_runtime_by_version
+(runtime_version);
+(gdb) b 363
+Breakpoint 1 at 0xfee1d60: file domain.c, line 363.
+(gdb) r
+The program being debugged has been started already.
+Start it from the beginning? (y or n) y
+
+Starting program: /opt/mono-svn/bin/monodis
+fixup/default/Microsoft.VisualBasic.dll
+[Thread debugging using libthread_db enabled]
+[New Thread 807479136 (LWP 10656)]
+[Switching to Thread 807479136 (LWP 10656)]
+
+Breakpoint 1, mono_init_internal (filename=Variable "filename" is not
+available.
+) at domain.c:363
+363             domain = mono_domain_create ();
+(gdb) n
+366             SET_APPDOMAIN (domain);
+(gdb) p domain
+$1 = (MonoDomain *) 0x0
+
+So... looks like something bad happened to mono_domain_create()
+
+-Joseph
+
+


More information about the mono-bugs mailing list