[Mono-bugs] [Bug 647464] New: Debugger segfaults on ASP.Net MVC projects

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 18 13:49:18 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=647464

https://bugzilla.novell.com/show_bug.cgi?id=647464#c0


           Summary: Debugger segfaults on ASP.Net MVC projects
    Classification: Mono
           Product: Mono: Debugger
           Version: 2.8.x
          Platform: x86-64
        OS/Version: Kubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: backend
        AssignedTo: martin at novell.com
        ReportedBy: Justen.Hyde at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=395482)
 --> (http://bugzilla.novell.com/attachment.cgi?id=395482)
stack trace

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.3
(KHTML, like Gecko) Ubuntu/10.10 Chromium/6.0.472.63 Chrome/6.0.472.63
Safari/534.3

Debugging ASP.Net applications causes the debugger to segfault. Depending upon
the complexity of the application, you may be able to get the app up and
running in debug mode (the MVC project created by monodevelop, for example, can
often be debugged happily provided that you have no breakpoints), but if you
can get up and running the debugger is unstable. For example, setting a
breakpoint inside RegisterRoutes() in Global.Asax.cs in the MVC project created
by monodevelop doesn't always cause the debugger to crash, but subsequently
hovering on the call to RegisterRoutes() in ApplicationStart() will cause the
debugger to fail. More consistently, setting a breakpoint in HomeController.cs
seems to always cause the debugger to crash.

Reproducible: Always

Steps to Reproduce:
1) Ensure that the contents of /proc/sys/kernel/yama/ptrace_scope are "0" not
"1" to prevent a ptrace: operation not permitted error
2) Create a new ASP.Net MVC Project
3) Set breakpoint on line 16 of the generated ./Controllers/HomeController.cs
file
4) Launch the debugger in monodevelop.
Actual Results:  
The debugger segfaults



Expected Results:  
Debugger breaks on line 16 of HomeController.cs

I've seen this in both mono 2.6 (from the ubuntu repos) and 2.8 (built from
source) using Monodevelop 2.4, again both from repos and built from source.

I'm running Kubuntu 10.10.

-- 
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