Bug 25082 - GLTriangle20-1.0 and GLSharedContext20 samples crash on some devices on 5.0
Summary: GLTriangle20-1.0 and GLSharedContext20 samples crash on some devices on 5.0
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 5.0
Hardware: Macintosh Mac OS
: Highest blocker
Target Milestone: 5.1
Assignee: Radek Doulik
Depends on:
Reported: 2014-12-04 14:16 UTC by John Pilczak
Modified: 2015-04-13 13:19 UTC (History)
4 users (show)

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:

Description John Pilczak 2014-12-04 14:16:19 UTC
These two samples (from monodroid-5.0-series branch of monodroid-samples) crash on launch on 5.0 on some devices and this is a regression from 4.20. I was getting this issue locally when running the two samples on a Galaxy Nexus but after running the samples on Test Cloud, it appears there are a host of other devices that the samples crash on as well.

TC Runs:
GLTriangle20-1.0 - https://testcloud.xamarin.com/test/gltriangle20_0d49dbb1-f008-4096-95a2-5ccff7feefe9/
GLSharedContext20 - https://testcloud.xamarin.com/test/opentksharedcontext_4cb19d46-7f04-4679-815a-15a9b8ece279/

Application output:
GlTriangle20-1.0 - https://gist.github.com/JohnPilczak/ce4558cd890155ee951e
GLSharedContext20 - https://gist.github.com/JohnPilczak/887858494bf4e4125ade

Environment Info:
Comment 1 John Pilczak 2014-12-04 14:26:29 UTC
For comparison, here are the test cloud runs on 4.20.
GLSharedContext20 - https://testcloud.xamarin.com/test/opentksharedcontext_ba0e613e-387b-4f3e-a69e-d8d72c1868c2/
GLTriangle20-1.0 - https://testcloud.xamarin.com/test/gltriangle20_a3ea4f16-298f-43a1-b162-51cbdc730432/
Comment 2 Radek Doulik 2014-12-08 06:00:24 UTC
This is hopefully fixed by https://github.com/mono/opentk/commit/6f07ed3f6225f8daa4640eef63edf957364bbc56

John, could you please test it with master monodroid to check if it really fixes the issue?

I tried to test it with testcloud, but it doesn't like me today - all my runs stay enqueued for validation and don't run so far.
Comment 3 Peter Collins 2014-12-09 15:47:09 UTC
@Radek we've been unable to test master as it has not built since 12/3.
Comment 4 John Pilczak 2014-12-10 12:01:12 UTC
I have just tried these two samples on master monodroid now that there is a build and the change does fix the issue in the two samples.

New TC Runs from master:
GLTriangle20-1.0 - https://testcloud.xamarin.com/test/gltriangle20_0e88aaea-8b11-43f7-96a8-aacfc0c394ff/
GLSharedContext20 - https://testcloud.xamarin.com/test/1c351dc1-540e-47c2-bfd6-b949c01d86bf/
Comment 5 Jonathan Pryor 2014-12-10 14:10:33 UTC
Marking as FIXED as per Comment #4.
Comment 6 Peter Collins 2014-12-10 14:24:58 UTC
Let's get this CP'd onto 5.0-branch, I don't think it ever made it in from master.
Comment 7 Radek Doulik 2014-12-10 14:53:37 UTC
Thanks a lot for testing, it is now CP'd onto 5.0 branch.