Bug 1350 - CGSUpdateManager warning during createContext on OS X 10.11.6
Summary: CGSUpdateManager warning during createContext on OS X 10.11.6
Status: UNCONFIRMED
Alias: None
Product: Jogl
Classification: JogAmp
Component: macosx (show other bugs)
Version: tbd
Hardware: All macosx
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2017-01-06 20:37 CET by Peter.C.Mehlitz
Modified: 2017-01-19 00:10 CET (History)
1 user (show)

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments
CGSUpdateManager warning backtrace (4.76 KB, text/plain)
2017-01-06 20:37 CET, Peter.C.Mehlitz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter.C.Mehlitz 2017-01-06 20:37:25 CET
Created attachment 796 [details]
CGSUpdateManager warning backtrace

I get reproducible CGSUpdateManager warnings on OS X 10.11.6 (MacPro 2009 with NVidia GeForce GT 120) which do not happen on other platforms (OS X 10.10.5, Ubuntu 16.04). This is with the current jogl 2.3.2 from maven central.

The OS X 10.11.6 machine also shows bug #1299 ("uncommitted CATransaction..") during shut down.

The backtrace is attached.

The program in question is from https://github.com/nasarace/race-client-example.git. It needs SBT (http://www.scala-sbt.org/) to build, which for instance can be installed via homebrew.

  brew install sbt

The steps to build and run are

  git clone https://github.com/NASARace/race-client-example.git
  cd race-client-example
  sbt stage
  ./race-client-example config/ISS.conf

This will bring up a NASA WorldWind window that shows the current ISS position. Dragging the globe to rotate it will produce the warning.

To shut down, enter "9" at the command prompt in the terminal from where the application was started. This should also report the "uncommitted CATransaction.." bug.

-- Peter
Comment 1 Julien Gouesse 2017-01-10 09:49:18 CET
Please provide a SSCCE without external dependencies.
Comment 2 Julien Gouesse 2017-01-17 11:06:48 CET
We're currently planning a maintenance release (2.3.3). Please consider providing a SSCCE:
http://sscce.org

We cannot include a test case with third party dependencies mainly because there is a risk that a part of the root cause is within them and not in JogAmp and because we cannot add such test into our own non regression unit tests. Moreover, writing a SSCCE helps to isolate the root cause of the bug by simplifying the source code involved to reproduce it. I admit that it's almost obvious that the problem lies within JOGL itself but a SSCCE would still be helpful.
Comment 3 Peter.C.Mehlitz 2017-01-18 20:22:17 CET
will try but given the size and complexity of the JOGL client (NASA WorldWind geospatial viewer) this will take a while.
Please note the problem does not occur on other platforms, including other OS X versions.
Comment 4 Julien Gouesse 2017-01-18 20:47:59 CET
Maybe you can run the tests provided with JOGL. If one of them allows you to reproduce this bug, you'll only have to mention it here instead of spending a lot of time in writing a SSCCE.
Comment 5 Peter.C.Mehlitz 2017-01-19 00:02:19 CET
the tests for the current jogl from https://github.com/sgothel/jogl.git all pass, but the reported effect only shows warnings on the screen, it doesn't crash and hence might go un-noticed. I didn't see respective warnings while running the tests though.

Is there any specific test you want me to try?
Comment 6 Julien Gouesse 2017-01-19 00:10:01 CET
I need to analyse a bit more the warnings. I have the feeling of shooting in the dark, I don't know yet how to reproduce this bug. I'll investigate tomorrow.