Bug 15398 - EglSwapBuffers failed with error 12299
Summary: EglSwapBuffers failed with error 12299
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 4.8.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Radek Doulik
URL:
Depends on:
Blocks:
 
Reported: 2013-10-15 05:16 UTC by temp.user.2013.10
Modified: 2017-06-29 23:26 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description temp.user.2013.10 2013-10-15 05:16:52 UTC
Device: Huawei Ascend G700-U20
Stack Trace:
10-15 12:03:29.629 I/MonoDroid(27470): UNHANDLED EXCEPTION: OpenTK.Platform.Android.EglException: EglSwapBuffers failed with error 12299 (0x300b)
10-15 12:03:29.629 I/MonoDroid(27470): at OpenTK.Platform.Android.AndroidGraphicsContext.Swap () [0x0004b] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.8.0-branch/b76e8ec4/source/monodroid/src/OpenGLES/Android/AndroidGraphicsContext.cs:145
10-15 12:03:29.629 I/MonoDroid(27470): at OpenTK.Platform.Android.AndroidGameView.SwapBuffers () [0x0001f] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.8.0-branch/b76e8ec4/source/monodroid/src/OpenGLES/Android/AndroidGameView.cs:187
10-15 12:03:29.629 I/MonoDroid(27470): at Monosyne.Android.GLView.SwapBuffers () [0x00001] in d:\WORK\CaesarsSlots\caesars_casino_refactoring\Src\Monosyne\Monosyne\Src\Android\Graphics\GLView.cs:197
10-15 12:03:29.629 I/MonoDroid(27470): at Monosyne.Android.GLView.OnRenderFrame (OpenTK.FrameEventArgs) [0x00028] in d:\WORK\CaesarsSlots\caesars_casino_refactoring\Src\Monosyne\Monosyne\Src\Android\Graphics\GLView.cs:191
10-15 12:03:29.629 I/MonoDroid(27470): at OpenTK.Platform.Android.AndroidGameView.RenderFrameInternal (OpenTK.FrameEventArgs) [0x00011] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.8.0-branch/b76e8ec4/source/monodroid/src/OpenGLES/Android/AndroidGameView.cs:259
10-15 12:03:29.629 I/MonoDroid(27470): at OpenTK.Platform.Android.AndroidGameView.RunIteration (System.Threading.CancellationToken) [0x00114] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.8.0-branch/b76e8ec4/source/monodroid/src/OpenGLES/Android/AndroidGameView.cs:461
10-15 12:03:29.629 I/MonoDroid(27470): at OpenTK.Platform.Android.AndroidGameView/<StartThread>c__AnonStorey1.<>m__C (object) [0x00001] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.8.0-branch/b76e8ec4/source/monodroid/src/OpenGLES/Android/AndroidGameView.cs:359
10-15 12:03:29.629 I/MonoDroid(27470): at Android.App.SyncContext/<Send>c__AnonStorey29.<>m__1A () [0x00000] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.8.0-branch/b76e8ec4/source/monodroid/src/Mono.Android/src/Android.App/SyncContext.cs:37
10-15 12:03:29.629 I/MonoDroid(27470): at Java.Lang.Thread/RunnableImplementor.Run () [0x0000b] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.8.0-branch/b76e8ec4/source/monodroid/src/Mono.Android/src/Java.Lang/Thread.cs:32
10-15 12:03:29.629 I/MonoDroid(27470): at Java.Lang.IRunnableInvoker.n_Run (intptr,intptr) [0x00008] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.8.0-branch/b76e8ec4/source/monodroid/src/Mono.Android/platforms/android-10/src/generated/Java.Lang.IRunnable.cs:71
10-15 12:03:29.629 I/MonoDroid(27470): at (wrapper dynamic-method) object.5cb63a31-6649-4970-b24c-fe8e34a55e61 (intptr,intptr) <IL 0x00011, 0x0003b>
Comment 1 Michael 2013-10-21 16:19:54 UTC
I got the same thing on my S4.

[SurfaceTextureClient] dequeueBuffer_DEPRECATED: Fence::wait returned an error: -4
Thread finished: <Thread Pool> #15
An exception has occurred. EglSwapBuffers failed with error 12299 (0x300b)
  at OpenTK.Platform.Android.AndroidGraphicsContext.Swap () [0x00000] in <filename unknown>:0 
  at OpenTK.Platform.Android.AndroidGameView.SwapBuffers () [0x00000] in <filename unknown>:0 
  at PlayScript.Application.Android.GLView1.OnRenderFrame (OpenTK.FrameEventArgs e) [0x00037] in /Users/mcheung/git/ninja/playscript-base/PlayScript.Application.Android/GLView1.cs:92 
[IMGSRV] :0: WSEGL_GetDrawableParameters: Native buffer became NULL
[IMGSRV] :0: KEGLGetDrawableParameters: Native window is invalid
[libEGL] eglMakeCurrent:594 error 300b (EGL_BAD_NATIVE_WINDOW)
Comment 2 Radek Doulik 2013-10-29 12:15:16 UTC
Could you please attach test application so I can reproduce it?
Comment 3 Kent Green [MSFT] 2017-06-29 23:26:09 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!