[Mono-bugs] [Bug 647464] Debugger segfaults when hitting a breakpoint on sse4.2 enabled systems

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 25 10:39:20 EST 2010



Justen Hyde <Justen.Hyde at gmail.com> changed:

           What    |Removed                     |Added
           Priority|P5 - None                   |P2 - High
            Summary|Debugger segfaults on       |Debugger segfaults when
                   |ASP.Net MVC projects        |hitting a breakpoint on
                   |                            |sse4.2 enabled systems
         OS/Version|Kubuntu                     |Ubuntu

--- Comment #6 from Justen Hyde <Justen.Hyde at gmail.com> 2010-11-25 15:39:18 UTC ---
Tracing back before the invocation of strstr by mini.c, the function in mini.c
is called from do_invoke_method in debugger-agent.c, line 4806. Likely this is
the root of the problem, since whatever is causing the trouble has to be
something to do with the debugger else there'd be problems when not debugging.
I also checked for problems on a 32 bit vm, and whilst that did use the sse42
strstr, it didn't have a misaligned stack (and hence didn't fall over).

It looks like the breakpoint doesn't cause a problem if the variable being
inspected isn't an object. doubles, ints, chars and strings are all fine
possibly because the do_invoke_method simply isn't called when inspecting these

It also looks like the method being invoked by do_invoke_method is
System.Type::GetType(). I don't know if that's useful information, since the
problem has potentially already happened at this point, we just haven't hit any
instructions that require stack alignment.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list