[Mono-bugs] [Bug 623796] New: Mono crashes when I try to debug application with OpenTK in MonoDevelop on OSX

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 20 04:53:20 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=623796

http://bugzilla.novell.com/show_bug.cgi?id=623796#c0


           Summary: Mono crashes when I try to debug application with
                    OpenTK in MonoDevelop on OSX
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: debug
        AssignedTo: martin at novell.com
        ReportedBy: inflyttningshest at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=377115)
 --> (http://bugzilla.novell.com/attachment.cgi?id=377115)
Test Code

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE;
rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

The problem occurs only when I run the application through the debugger in
MonoDevelop. If i don't add the OpenTK OpenGL control to the window the
application runs.

The output looks like this (full stack trace in attachement problem.txt):
** (/Users/hannes/Projects/Revolutions2/Testing/bin/Debug/Testing.exe:1495):
WARNING **: mono_class_from_mono_type: implement me 0x8b

**
ERROR:class.c:5408:mono_class_from_mono_type: code should not be reached
Stacktrace:

  at (wrapper managed-to-native)
System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointerInternal
(intptr,System.Type) <0x00004>
..........
  at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler () [0x00000] in
<filename unknown>:0 


Reproducible: Always

Steps to Reproduce:
1. Download http://zink-interactive.se/media/2011/opentk-debug-bug.zip
2. Open in MonoDevelop on OSX
3. Run with debugging.
4. Watch the crash
Actual Results:  
Mono crashes

Expected Results:  
Shown a window with an opengl rendered square

My system is a Macbook Pro i7 15" (GT330M) with OSX 10.6.3, Mono 2.6.4 and
MonoDevelop 2.4.

-- 
Configure bugmail: http://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