[Mono-bugs] [Bug 502582] System.InvalidProgramException thrown on some unsafe code with stackalloc.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon May 11 05:51:36 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=502582
User m at fritschy.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=502582#c2
Marcus Fritzsch <m at fritschy.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |m at fritschy.de
Component|JIT |C#
AssignedTo|lupus at novell.com |mono-bugs at lists.ximian.com
Product|Mono: Runtime |Mono: Compilers
--- Comment #2 from Marcus Fritzsch <m at fritschy.de> 2009-05-11 03:51:35 MDT ---
Some more information and program output, I haven't run it on a .Net so far,
only mono.
----------------------------------------- ---------- --- - -
~/software/mono/bin/gmcs -warn:4 -unsafe -out:illegal.exe illegal.cs
----------------------------------------- ---------- --- - -
~/software/mono/bin/gmcs --version
Mono C# compiler version 2.4.0.0
----------------------------------------- ---------- --- - -
~/software/mono/bin/mono --security=validil illegal.exe
Unhandled Exception: System.InvalidProgramException: Invalid IL code in
NotWorking.Program:NotWorking (): IL_0014: stloc.1
at NotWorking.Program.Main (System.String[] s) [0x00000]
----------------------------------------- ---------- --- - -
~/software/mono/bin/mono --version
Mono JIT compiler version 2.4 (tarball Thu Apr 16 22:44:50 CEST 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
----------------------------------------- ---------- --- - -
This is the debian packages mono
----------------------------------------- ---------- --- - -
mono --security=validil illegal.exe
Unhandled Exception: System.InvalidProgramException: Invalid IL code in
NotWorking.Program:NotWorking (): IL_0014: stloc.1
at NotWorking.Program.Main (System.String[] s) [0x00000]
----------------------------------------- ---------- --- - -
mono --version
Mono JIT compiler version 2.0.1 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list