Bugzilla – Bug 623796
Mono crashes when I try to debug application with OpenTK in MonoDevelop on OSX
Last modified: 2011-06-02 18:01:07 UTC
Created attachment 377115 [details] 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.