{
  "_class" : "hudson.matrix.MatrixRun",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "hudson.model.Cause$UpstreamCause",
          "shortDescription" : "Started by upstream project \"jogl\" build number 564",
          "upstreamBuild" : 564,
          "upstreamProject" : "jogl",
          "upstreamUrl" : "job/jogl/"
        }
      ]
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "origin/master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 564,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "97218b88af9113740b3704a3666d7356cdc83cd0",
            "branch" : [
              {
                "SHA1" : "97218b88af9113740b3704a3666d7356cdc83cd0",
                "name" : "origin/master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "97218b88af9113740b3704a3666d7356cdc83cd0",
            "branch" : [
              {
                "SHA1" : "97218b88af9113740b3704a3666d7356cdc83cd0",
                "name" : "origin/master"
              }
            ]
          }
        },
        "origin2/master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 544,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "bc826eb2e216ce82a5e6bc61403e4eff2f338380",
            "branch" : [
              {
                "SHA1" : "bc826eb2e216ce82a5e6bc61403e4eff2f338380",
                "name" : "origin/master"
              },
              {
                "SHA1" : "bc826eb2e216ce82a5e6bc61403e4eff2f338380",
                "name" : "origin2/master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "bc826eb2e216ce82a5e6bc61403e4eff2f338380",
            "branch" : [
              {
                "SHA1" : "bc826eb2e216ce82a5e6bc61403e4eff2f338380",
                "name" : "origin/master"
              },
              {
                "SHA1" : "bc826eb2e216ce82a5e6bc61403e4eff2f338380",
                "name" : "origin2/master"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "97218b88af9113740b3704a3666d7356cdc83cd0",
        "branch" : [
          {
            "SHA1" : "97218b88af9113740b3704a3666d7356cdc83cd0",
            "name" : "origin/master"
          }
        ]
      },
      "remoteUrls" : [
        
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      "_class" : "hudson.tasks.junit.TestResultAction",
      "failCount" : 0,
      "skipCount" : 0,
      "totalCount" : 173,
      "urlName" : "testReport"
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#564",
  "duration" : 1066635,
  "estimatedDuration" : 2541985,
  "executor" : None,
  "fullDisplayName" : "jogl » linux-x86_64 #564",
  "id" : "2011-11-28_03-08-42",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 564,
  "queueId" : -1,
  "result" : "SUCCESS",
  "timestamp" : 1322446122000,
  "url" : "https://jogamp.org/chuck/job/jogl/label=linux-x86_64/564/",
  "builtOn" : "linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/jogl/classes/jogamp/opengl/egl/EGLContext.java",
          "src/jogl/classes/jogamp/opengl/GLContextImpl.java",
          "src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextListNEWT2.java",
          "make/scripts/tests-x64.bat",
          "src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java",
          "src/jogl/classes/jogamp/opengl/macosx/cgl/awt/MacOSXJava2DCGLContext.java",
          "src/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXContext.java",
          "src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXOnscreenCGLContext.java",
          "src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java",
          "src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXExternalCGLContext.java",
          "make/scripts/tests.sh",
          "src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java"
        ],
        "commitId" : "97218b88af9113740b3704a3666d7356cdc83cd0",
        "timestamp" : 1322442373000,
        "author" : {
          "absoluteUrl" : "https://jogamp.org/chuck/user/sven%20gothel",
          "fullName" : "Sven Gothel"
        },
        "authorEmail" : "sgothel@jausoft.com",
        "comment" : "Fix Bug 527: Creating a context w/ shared context, while the latter is in use (threading)\u000a\u000aBug 527 describes the situation where wglShareLists() fails (throws exception)\u000awhile the shared context is in use by another thread (some Animator).\u000a\u000aIt was reported by Jerome Jouvie.\u000a\u000aThe exception happens not everytime, but at least around 20% on manual tests\u000aI have performed on the Windows platform.\u000a\u000aThe context in question are all JOGL's GL2, which natively where bound to an OpenGL 3.0 profile.\u000aThe WGL_ARB_create_context spec says http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt:\u000a+++\u000a    Future versions of OpenGL may only support being added to a share\u000a    group at context creation time. Specifying such a version of a\u000a    context as either the <hglrc1> or <hglrc2> arguments to\u000a    wglShareLists will fail. wglShareLists will return FALSE, and\u000a    GetLastError will return ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB.\u000a+++\u000aHence the 1st patch was to remove 'wglShareLists()' usage in case\u000awe use the new WGL_ARB_create_context context creation method.\u000aEven though this is a desired change, and works in general, it didn't fix the issue.\u000a\u000aIt seems that the shared context, which is passed @ new context creation,\u000acannot be used while it is in use itself in another thread.\u000a\u000aThis conclusion leads to the actual fix, ie. locking the shared context\u000awhile creating the new context which shares it.\u000aManual tests using this patch could not reproduce this issue (40 attempts).\u000a\u000aTest: TestSharedContextListNEWT2\u000a",
        "date" : "2011-11-28T02:06:13+0100",
        "id" : "97218b88af9113740b3704a3666d7356cdc83cd0",
        "msg" : "Fix Bug 527: Creating a context w/ shared context, while the latter is",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "make/scripts/tests-x64.bat"
          },
          {
            "editType" : "edit",
            "file" : "src/jogl/classes/jogamp/opengl/egl/EGLContext.java"
          },
          {
            "editType" : "edit",
            "file" : "src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXExternalCGLContext.java"
          },
          {
            "editType" : "edit",
            "file" : "src/jogl/classes/jogamp/opengl/macosx/cgl/awt/MacOSXJava2DCGLContext.java"
          },
          {
            "editType" : "edit",
            "file" : "src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java"
          },
          {
            "editType" : "edit",
            "file" : "src/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java"
          },
          {
            "editType" : "add",
            "file" : "src/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedContextListNEWT2.java"
          },
          {
            "editType" : "edit",
            "file" : "src/jogl/classes/jogamp/opengl/GLContextImpl.java"
          },
          {
            "editType" : "edit",
            "file" : "make/scripts/tests.sh"
          },
          {
            "editType" : "edit",
            "file" : "src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXOnscreenCGLContext.java"
          },
          {
            "editType" : "edit",
            "file" : "src/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXContext.java"
          },
          {
            "editType" : "edit",
            "file" : "src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://jogamp.org/chuck/user/sven%20gothel",
      "fullName" : "Sven Gothel"
    }
  ]
}