[Mono-bugs] [Bug 82095][Nor] Changed - GetExecutingAssembly reports the wrong assembly
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jul 27 10:02:28 EDT 2007
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 billholmes54 at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82095
--- shadow/82095 2007-07-14 12:59:42.000000000 -0400
+++ shadow/82095.tmp.8839 2007-07-27 10:02:28.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 82095
Product: Mono: Runtime
Version: 1.2
OS: other
OS Details: Fedora 4 x86_64
-Status: RESOLVED
-Resolution: FIXED
+Status: REOPENED
+Resolution:
Severity: Unknown
Priority: Normal
Component: JIT
AssignedTo: lupus at ximian.com
ReportedBy: billholmes54 at gmail.com
QAContact: mono-bugs at ximian.com
@@ -69,6 +69,22 @@
Sample Code
------- Additional Comments From vargaz at gmail.com 2007-07-14 12:59 -------
Fixed in SVN.
+
+------- Additional Comments From billholmes54 at gmail.com 2007-07-27 10:02 -------
+I was able to verify that bug has been corrected with make CFLAGS=-g.
+ However rebuilding with optimization turned on causes a crash.
+
+I have tracked the problem back to mono_jit_walk_stack_from_ctx.
+MONO_INIT_CONTEXT_FROM_FUNC appears to be assigning a stack pointer
+that is past the end of the stack and the while loop is never entered.
+ Therefore the MonoMethod in
+ves_icall_System_Reflection_Assembly_GetExecutingAssembly is null.
+
+One thing I tried was to change the while in
+mono_jit_walk_stack_from_ctx to a do while. This does make the test
+case start to work however I can not get through a make check without
+hanging in corlib for the net_2_0 profile.
+
More information about the mono-bugs
mailing list