[Mono-bugs] [Bug 659827] New: Mono.Tasklets.Continuation: randomly generate an Invalid stack frame exception
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Dec 15 23:43:50 EST 2010
https://bugzilla.novell.com/show_bug.cgi?id=659827
https://bugzilla.novell.com/show_bug.cgi?id=659827#c0
Summary: Mono.Tasklets.Continuation: randomly generate an
Invalid stack frame exception
Classification: Mono
Product: Mono: Runtime
Version: 2.8.x
Platform: x86
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: virgile.bello at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Randomly, when using Continuation.Mark, Mono throws an Invalid stack frame
exception.
This is due to ctx and new_ctx not being initialized in
continuation_mark_frame.
As a result, depending on random memory content, sometimes mono_find_jit_info
happens to find a function matching the random ctx.esp (which should be
ignored).
Simple fix is to add in continuation_mark_frame:
ctx.eip = 0;
new_ctx.eip = 0;
Reproducible: Sometimes
Steps to Reproduce:
1. Could not reproduce a simple test case (depends on uninitialized data)
--
Configure bugmail: https://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