Skip to content

Instantly share code, notes, and snippets.

@JohnPilczak
Created December 4, 2014 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnPilczak/887858494bf4e4125ade to your computer and use it in GitHub Desktop.
Save JohnPilczak/887858494bf4e4125ade to your computer and use it in GitHub Desktop.
Forwarding debugger port 8886
Detecting existing process
Loaded assembly: /storage/emulated/0/Android/data/com.xamarin.samples.glsharedcontext/files/.__override__/GLSharedContext20.dll
Loaded assembly: Mono.Android.dll [External]
[monodroid] Using override path: /data/data/com.xamarin.samples.glsharedcontext/files/.__override__
[monodroid] Using override path: /storage/emulated/0/Android/data/com.xamarin.samples.glsharedcontext/files/.__override__
[monodroid] Trying to load sgen from: /data/data/com.xamarin.samples.glsharedcontext/files/.__override__/libmonosgen-2.0.so
[monodroid] Trying to load sgen from: /data/app-lib/com.xamarin.samples.glsharedcontext-1/libmonosgen-2.0.so
[monodroid] Trying to load sgen from: /data/data/Mono.Android.DebugRuntime/lib/libmonosgen-2.0.so
[monodroid-debug] Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=127.0.0.1:8886,server=y,embedding=1
[Mono] Image addref mscorlib[0x5d64d440] -> mscorlib.dll[0x5db1cc10]: 1
[Mono] AOT module 'mscorlib.dll.so' not found: Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/libaot-mscorlib.dll.so" not found
[Mono] Assembly mscorlib[0x5d64d440] added to domain RootDomain, ref_count=1
[Mono] Assembly Loader probing location: '/storage/emulated/0/Android/data/com.xamarin.samples.glsharedcontext/files/.__override__/GLSharedContext20.dll'.
[Mono] Image addref GLSharedContext20[0x5d936718] -> /storage/emulated/0/Android/data/com.xamarin.samples.glsharedcontext/files/.__override__/GLSharedContext20.dll[0x5d646988]: 2
[Mono] Assembly GLSharedContext20[0x5d936718] added to domain RootDomain, ref_count=1
[Mono] AOT module '/storage/emulated/0/Android/data/com.xamarin.samples.glsharedcontext/files/.__override__/GLSharedContext20.dll.so' not found: Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/libaot-GLSharedContext20.dll.so" not found
[Mono] Assembly Loader loaded assembly from location: '/storage/emulated/0/Android/data/com.xamarin.samples.glsharedcontext/files/.__override__/GLSharedContext20.dll'.
[Mono] Config attempting to parse: '/storage/emulated/0/Android/data/com.xamarin.samples.glsharedcontext/files/.__override__/GLSharedContext20.dll.config'.
[Mono] Config attempting to parse: '/Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/monodroid/builds/install/mono-armv7/etc/mono/assemblies/GLSharedContext20/GLSharedContext20.config'.
[monodroid-gc] GREF GC Threshold: 46080
[Mono] Image addref Mono.Android[0x5d6470c8] -> Mono.Android.dll[0x5d6660f0]: 1
[Mono] Assembly Mono.Android[0x5d6470c8] added to domain RootDomain, ref_count=1
[Mono] AOT module 'Mono.Android.dll.so' not found: Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/libaot-Mono.Android.dll.so" not found
[Mono] Assembly Ref addref Mono.Android[0x5d6470c8] -> mscorlib[0x5d64d440]: 2
[Mono] DllImport attempting to load: '__Internal'.
[Mono] DllImport loaded library '(null)'.
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gref_log_new'.
[Mono] Probing '_monodroid_gref_log_new'.
[Mono] Found as '_monodroid_gref_log_new'.
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_get_identity_hash_code'.
[Mono] Probing '_monodroid_get_identity_hash_code'.
[Mono] Found as '_monodroid_get_identity_hash_code'.
[Mono] Image addref System.Core[0x57f40770] -> System.Core.dll[0x57f4d050]: 1
[Mono] Assembly System.Core[0x57f40770] added to domain RootDomain, ref_count=1
[Mono] AOT module 'System.Core.dll.so' not found: Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/libaot-System.Core.dll.so" not found
[Mono] Assembly Ref addref Mono.Android[0x5d6470c8] -> System.Core[0x57f40770]: 2
Loaded assembly: System.Core.dll [External]
[Mono] Assembly Ref addref System.Core[0x57f40770] -> mscorlib[0x5d64d440]: 3
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gref_log_delete'.
[Mono] Probing '_monodroid_gref_log_delete'.
[Mono] Found as '_monodroid_gref_log_delete'.
[Mono] DllImport searching in: '__Internal' ('(null)').
[Mono] Searching for '_monodroid_gc_wait_for_bridge_processing'.
[Mono] Probing '_monodroid_gc_wait_for_bridge_processing'.
[Mono] Found as '_monodroid_gc_wait_for_bridge_processing'.
[Mono] Assembly Ref addref GLSharedContext20[0x5d936718] -> Mono.Android[0x5d6470c8]: 2
Loaded assembly: MonoDroidConstructors [External]
[Mono] Image addref OpenTK-1.0[0x584d52a0] -> OpenTK-1.0.dll[0x584c55f8]: 1
[Mono] Assembly OpenTK-1.0[0x584d52a0] added to domain RootDomain, ref_count=1
[Mono] AOT module 'OpenTK-1.0.dll.so' not found: Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/libaot-OpenTK-1.0.dll.so" not found
[Mono] Assembly Ref addref GLSharedContext20[0x5d936718] -> OpenTK-1.0[0x584d52a0]: 2
[Mono] Assembly Ref addref OpenTK-1.0[0x584d52a0] -> Mono.Android[0x5d6470c8]: 3
Loaded assembly: OpenTK-1.0.dll [External]
[Mono] Assembly Ref addref OpenTK-1.0[0x584d52a0] -> mscorlib[0x5d64d440]: 4
[Mono] Assembly Ref addref GLSharedContext20[0x5d936718] -> mscorlib[0x5d64d440]: 5
[Mono] Image addref System[0x584f0090] -> System.dll[0x584ef4f0]: 1
[Mono] Assembly System[0x584f0090] added to domain RootDomain, ref_count=1
[Mono] AOT module 'System.dll.so' not found: Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/libaot-System.dll.so" not found
[Mono] Assembly Ref addref OpenTK-1.0[0x584d52a0] -> System[0x584f0090]: 2
[Mono] Assembly Ref addref System[0x584f0090] -> mscorlib[0x5d64d440]: 6
[Mono] Assembly Ref addref GLSharedContext20[0x5d936718] -> System[0x584f0090]: 3
Loaded assembly: System.dll [External]
[libEGL] loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
[libEGL] loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
[libEGL] loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
[GLSharedContext20] Loading with default settings
[Mono] DllImport attempting to load: '/system/lib/libc.so'.
[Mono] DllImport loaded library '/system/lib/libc.so'.
[Mono] DllImport searching in: '/system/lib/libc.so' ('/system/lib/libc.so').
[Mono] Searching for 'uname'.
[Mono] Probing 'uname'.
[Mono] Found as 'uname'.
[Mono] DllImport attempting to load: 'libEGL.dll'.
[Mono] DllImport error loading library './libEGL.dll': 'Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/./libEGL.dll" not found'.
[Mono] DllImport error loading library './libEGL.dll.so': 'Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/libaot-libEGL.dll.so" not found'.
[Mono] DllImport error loading library 'libEGL.dll': 'Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/libEGL.dll" not found'.
[Mono] DllImport error loading library 'libEGL.dll.so': 'Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/libaot-libEGL.dll.so" not found'.
[Mono] DllImport error loading library 'libEGL.dll': 'Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/libEGL.dll" not found'.
[Mono] DllImport error loading library './libEGL': 'Cannot load library: load_library(linker.cpp:745): library "/data/app-lib/com.xamarin.samples.glsharedcontext-1/./libEGL" not found'.
[Mono] DllImport loaded library './libEGL.so'.
[Mono] DllImport searching in: 'libEGL.dll' ('./libEGL.so').
[Mono] Searching for 'eglGetCurrentContext'.
[Mono] Probing 'eglGetCurrentContext'.
[Mono] Found as 'eglGetCurrentContext'.
[GLSharedContext20] OpenTK.Platform.Android.EglException: EglCreateContext == EGL10.EglNoContext
[GLSharedContext20] at OpenTK.Platform.Android.AndroidGraphicsContext.Init (OpenTK.Graphics.GraphicsMode mode, IWindowInfo win, IGraphicsContext sharedContext, Int32 major, Int32 minor, GraphicsContextFlags flags) [0x0016a] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGraphicsContext.cs:153
[GLSharedContext20] at OpenTK.Platform.Android.AndroidGraphicsContext..ctor (OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext sharedContext, GLVersion glesVersion, GraphicsContextFlags flags) [0x00028] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGraphicsContext.cs:104
[GLSharedContext20] at OpenTK.Platform.Android.AndroidGraphicsContext.CreateGraphicsContext (OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, IGraphicsContext sharedContext, GLVersion glVersion, GraphicsContextFlags flags) [0x00007] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGraphicsContext.cs:59
[GLSharedContext20] at OpenTK.Platform.Android.AndroidGameView.CreateContext () [0x00041] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:400
[GLSharedContext20] at OpenTK.Platform.Android.AndroidGameView.MakeCurrent () [0x00013] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:208
[GLSharedContext20] at OpenTK.Platform.Android.AndroidGameView.CreateFrameBuffer () [0x000af] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:195
[GLSharedContext20] at GLSharedContext20.PaintingView.CreateFrameBuffer () [0x0001a] in /Users/johnpilczak/monodroid-samples/GLSharedContext20/PaintingView.cs:172
[GLSharedContext20] Loading with custom Android settings (low mode)
[libEGL] EGLNativeWindowType 0x58635b70 already connected to another API
[libEGL] eglCreateWindowSurface:298 error 300b (EGL_BAD_NATIVE_WINDOW)
[GLSharedContext20] OpenTK.Platform.Android.EglException: EglCreateWindowSurface failed with error 12299 (0x300b)
[GLSharedContext20] at OpenTK.Platform.Android.AndroidWindow.CreateSurface (Javax.Microedition.Khronos.Egl.EGLConfig config) [0x0006d] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGraphicsContext.cs:399
[GLSharedContext20] at OpenTK.Platform.Android.AndroidGameView.CreateFrameBuffer () [0x00097] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:191
[GLSharedContext20] at GLSharedContext20.PaintingView.CreateFrameBuffer () [0x0006e] in /Users/johnpilczak/monodroid-samples/GLSharedContext20/PaintingView.cs:185
[Mono] DllImport attempting to load: '/system/lib/liblog.so'.
[Mono] DllImport loaded library '/system/lib/liblog.so'.
[Mono] DllImport searching in: '/system/lib/liblog.so' ('/system/lib/liblog.so').
[Mono] Searching for '__android_log_print'.
[Mono] Probing '__android_log_print'.
[Mono] Found as '__android_log_print'.
[MonoDroid] UNHANDLED EXCEPTION:
[MonoDroid] OpenTK.Platform.Android.EglException: EglCreateContext == EGL10.EglNoContext
[MonoDroid] at OpenTK.Platform.Android.AndroidGraphicsContext.Init (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,int,int,OpenTK.Graphics.GraphicsContextFlags) [0x0016a] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGraphicsContext.cs:153
[MonoDroid] at OpenTK.Platform.Android.AndroidGraphicsContext..ctor (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLVersion,OpenTK.Graphics.GraphicsContextFlags) [0x00028] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGraphicsContext.cs:104
[MonoDroid] at OpenTK.Platform.Android.AndroidGraphicsContext.CreateGraphicsContext (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLVersion,OpenTK.Graphics.GraphicsContextFlags) [0x00007] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGraphicsContext.cs:59
[MonoDroid] at OpenTK.Platform.Android.AndroidGameView.CreateContext () [0x00041] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:400
[MonoDroid] at OpenTK.Platform.Android.AndroidGameView.MakeCurrent () [0x00013] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:208
[MonoDroid] at GLSharedContext20.PaintingView.OnLoad (System.EventArgs) [0x0004f] in /Users/johnpilczak/monodroid-samples/GLSharedContext20/PaintingView.cs:75
[MonoDroid] at OpenTK.Platform.Android.AndroidGameView.LoadInternal (System.EventArgs) [0x00003] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:290
[MonoDroid] at OpenTK.Platform.Android.AndroidGameView.SurfaceCreated (Android.Views.ISurfaceHolder) [0x00059] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:118
[MonoDroid] at Android.Views.ISurfaceHolderCallbackInvoker.n_SurfaceCreated_Landroid_view_SurfaceHolder_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Views.ISurfaceHolder.cs:185
[MonoDroid] at (wrapper dynamic-method) object.fa460fdd-dffb-42aa-93c0-81716921a89d (intptr,intptr,intptr) <IL 0x00017, 0x00043>
[AndroidRuntime] Shutting down VM
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[AndroidRuntime] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
[AndroidRuntime] at dalvik.system.NativeStart.main(Native Method)
[AndroidRuntime] Caused by: java.lang.reflect.InvocationTargetException
[AndroidRuntime] at java.lang.reflect.Method.invokeNative(Native Method)
[AndroidRuntime] at java.lang.reflect.Method.invoke(Method.java:511)
[AndroidRuntime] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
[AndroidRuntime] ... 2 more
[AndroidRuntime] Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: OpenTK.Platform.Android.EglException: EglCreateContext == EGL10.EglNoContext
[AndroidRuntime] at OpenTK.Platform.Android.AndroidGraphicsContext.Init (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,int,int,OpenTK.Graphics.GraphicsContextFlags) [0x0016a] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGraphicsContext.cs:153
[AndroidRuntime] at OpenTK.Platform.Android.AndroidGraphicsContext..ctor (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLVersion,OpenTK.Graphics.GraphicsContextFlags) [0x00028] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGraphicsContext.cs:104
[AndroidRuntime] at OpenTK.Platform.Android.AndroidGraphicsContext.CreateGraphicsContext (OpenTK.Graphics.GraphicsMode,OpenTK.Platform.IWindowInfo,OpenTK.Graphics.IGraphicsContext,OpenTK.Graphics.GLVersion,OpenTK.Graphics.GraphicsContextFlags) [0x00007] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGraphicsContext.cs:59
[AndroidRuntime] at OpenTK.Platform.Android.AndroidGameView.CreateContext () [0x00041] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:400
[AndroidRuntime] at OpenTK.Platform.Android.AndroidGameView.MakeCurrent () [0x00013] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:208
[AndroidRuntime] at GLSharedContext20.PaintingView.OnLoad (System.EventArgs) [0x0004f] in /Users/johnpilczak/monodroid-samples/GLSharedContext20/PaintingView.cs:75
[AndroidRuntime] at OpenTK.Platform.Android.AndroidGameView.LoadInternal (System.EventArgs) [0x00003] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:290
[AndroidRuntime] at OpenTK.Platform.Android.AndroidGameView.SurfaceCreated (Android.Views.ISurfaceHolder) [0x00059] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/opentk/Source/OpenTK/Platform/Android/AndroidGameView.cs:118
[AndroidRuntime] at Android.Views.ISurfaceHolderCallbackInvoker.n_SurfaceCreated_Landroid_view_SurfaceHolder_ (intptr,intptr,intptr) [0x00011] in /Users/builder/data/lanes/monodroid-mavericks-monodroid-5.0-branch/3303f1bd/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Views.ISurfaceHolder.cs:185
[AndroidRuntime] at (wrapper dynamic-method) object.fa460fdd-dffb-42aa-93c0-81716921a89d (intptr,intptr,intptr) <IL 0x00017, 0x00043>
[AndroidRuntime]
[AndroidRuntime] at opentk_1_0.platform.android.AndroidGameView.n_surfaceCreated(Native Method)
[AndroidRuntime] at opentk_1_0.platform.android.AndroidGameView.surfaceCreated(AndroidGameView.java:63)
[AndroidRuntime] at android.view.SurfaceView.updateWindow(SurfaceView.java:569)
[AndroidRuntime] at android.view.SurfaceView.access$000(SurfaceView.java:86)
[AndroidRuntime] at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:174)
[AndroidRuntime] at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:680)
[AndroidRuntime] at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1842)
[AndroidRuntime] at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989)
[AndroidRuntime] at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351)
[AndroidRuntime] at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
[AndroidRuntime] at android.view.Choreographer.doCallbacks(Choreographer.java:562)
[AndroidRuntime] at android.view.Choreographer.doFrame(Choreograph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment