#972044 libgl1-mesa-dri: GLProfile.get(GLProfile.GL2) gives error "XXX0 profile[2]: GL2 -> profileImpl GL3bc !!! not mapped"

Package:
libgl1-mesa-dri
Source:
mesa
Description:
free implementation of the OpenGL API -- DRI modules
Submitter:
Joe Pfeiffer
Date:
2021-06-17 21:42:02 UTC
Severity:
normal
#972044#5
Date:
2020-10-11 18:53:41 UTC
From:
To:
Attempting to call GLProfile.get(GLProfile.GL2) from a Java program
results in the following stack trace:

java.lang.InternalError: XXX0 profile[2]: GL2 -> profileImpl GL3bc !!! not mapped
	at com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2098)
	at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1976)
	at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1895)
	at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1861)
	at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
	at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:239)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
	at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:225)
	at com.jogamp.opengl.GLProfile.getProfileMap(GLProfile.java:2324)
	at com.jogamp.opengl.GLProfile.get(GLProfile.java:1009)
	at com.jogamp.opengl.GLProfile.get(GLProfile.java:1025)
	at net.sf.openrocket.gui.figure3d.RocketFigure3d.initGLCanvas(RocketFigure3d.java:144)

This appears to be a regression at some point between 18.3.6-2+deb10u1
(which works) and 20.1.9-1 (which doesn't).  I get the same results
whether calling from java8 or java13.

#972044#10
Date:
2021-06-17 21:18:12 UTC
From:
To:
The problem persists with version 21.1.0-4