Date: Fri, 30 Jun 2017 14:22:28 +0000 From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: [Bug 214396] emulators/virtualbox-ose-additions Minimalist program crashes after end main() execution. Message-ID: <bug-214396-26505-pkQODBtgxF@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-214396-26505@https.bugs.freebsd.org/bugzilla/> References: <bug-214396-26505@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214396 --- Comment #3 from otacilio.neto@bsd.com.br --- This version of the program do not shows the bug. Looks related with a race condition when a call to glutDestroyWindow is missing. #include <stdio.h> #include <GL/glew.h> #include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> #include <GL/glext.h> int main(int argc, char **argv) { int win; glutInit(&argc, argv); win =3D glutCreateWindow("GLUT"); glewInit(); printf("OpenGL version supported by this platform (%s): \n", glGetString(GL_VERSION)); glutDestroyWindow(win); fprintf(stdout, "Exiting...\n"); fflush(stdout); return 0; } --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214396-26505-pkQODBtgxF>