[Mono-bugs] [Bug 51695][Nor] New - Mono fails on OSX.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 1 Feb 2004 19:57:54 -0500 (EST)
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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=51695
--- shadow/51695 2004-02-01 19:57:54.000000000 -0500
+++ shadow/51695.tmp.13448 2004-02-01 19:57:54.000000000 -0500
@@ -0,0 +1,113 @@
+Bug#: 51695
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: 10.3.1
+Status: NEEDINFO
+Resolution:
+Severity: Unknown
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: ztashev@openlinksw.co.uk
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Mono fails on OSX.
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+The “Hello World” samples fail on OSX.
+
+Sample code:
+
+-- test.cs --
+using System;
+
+public class Test
+{
+ public static void Main ()
+ {
+ Console.WriteLine ("Hello World.");
+ }
+}
+-- /test.cs --
+
+
+Steps to reproduce the problem:
+1. Compile simple.
+2. Try to execute
+3. mono test.exe – hangs.
+4. Disable GC
+5. Try to execute again – hangs.
+
+How often does this happen?
+
+every time.
+
+Additional Information:
+
+The mint interpreter works fine without GC.
+
+------- Additional Comments From lupus@ximian.com 2003-12-04 11:25 -------
+can you run the command with mono --trace hello.exe and report the
+output? You could also run it in gdb, interrupt it when it hangs and
+issue the following gdb command and report it (it reports the
+backtrace for each thread):
+t a a bt
+
+------- Additional Comments From ztashev@openlinksw.co.uk 2003-12-04 11:42 -------
+Stack trace:
+
+GNU gdb 5.3-20030128 (Apple version gdb-292) (Sat Sep 20 03:22:27 GMT
+2003)
+Copyright 2003 Free Software Foundation, Inc.
+GDB is free software, covered by the GNU General Public License, and
+you are
+welcome to change it and/or distribute copies of it under certain
+conditions.
+Type "show copying" to see the conditions.
+There is absolutely no warranty for GDB. Type "show warranty" for
+details.
+This GDB was configured as "powerpc-apple-darwin".
+Reading symbols for shared libraries ........... done
+(gdb) r hello.exe
+Starting
+program: /Users/virtdev/portspace/virt_bin/mono_inst/bin/mono
+hello.exe
+Reading symbols for shared libraries warning: Trying to remove a
+section from the ordered section list that did not exist at 0x0.
+++++++++. done
+
+Program received signal EXC_BAD_ACCESS, Could not access memory.
+0x04632760 in ?? ()
+(gdb) t a a bt
+
+Thread 1 (process 17398 local thread 0xd03):
+#0 0x04632760 in ?? ()
+Cannot access memory at address 0x4632760
+Cannot access memory at address 0x4632760
+#1 0x028113c4 in ?? ()
+#2 0x028112cc in ?? ()
+#3 0x0107441c in mono_exception_from_name_domain (domain=0x5ecf0,
+image=0x5ecf0, name_space=0x10 <Address 0x10 out of bounds>,
+name=0x6324e0 "") at exception.c:49
+#4 0x01074f80 in mono_runtime_init (domain=0x60f00,
+start_cb=0x1019f6c <mono_thread_start_cb>, attach_cb=0x1019fe8
+<mono_thread_attach_cb>) at appdomain.c:92
+#5 0x0101d198 in mini_init (filename=0x10f5d78 "") at mini.c:7816
+#6 0x01036828 in mono_main (argc=2, argv=0xbffffca8) at driver.c:663
+#7 0x00001af8 in _start (argc=1, argv=0x4, envp=0xbffffcac)
+at /SourceCache/Csu/Csu-46/crt.c:267
+#8 0x0000196c in start ()
+(gdb)
+
+The mono trace (mono --trace hello.exe) don't reproduce any otput.
+
+
+------- Additional Comments From miguel@ximian.com 2004-02-01 19:57 -------
+Can you try with version 0.30?
+
+Am setting this bug to NEEDINFO until its confirmed.