<Error>: CGContextGetCTM messages

Leonid Romanov leonid.romanov at oracle.com
Tue Jun 26 10:54:42 PDT 2012


Yes, I can confirm that I've been seeing these messages as well.  I'm also getting quite a lot of "IOSurface: buffer allocation size is zero" errors in the log. No idea about what causes them or what workarounds are, though. 

On 26.06.2012, at 21:40, Sara Burke wrote:

> Hi all,
> 
> I am new on this list, so I do apologize for any format issues.
> 
> I came across a post to this mailing list of which I am having the same issue so I was wondering if anyone has c:
> http://mail.openjdk.java.net/pipermail/macosx-port-dev/2012-June/004407.html
> 
> More details:
> 
> My application emits the following messages; for easier reading, MY_APP replaces the actual application name:
> 
> Jun  1 14:49:12 sburke-maci MY_APP[5611] <Error>: CGContextGetCTM: invalid context 0x0
> Jun  1 14:49:12 sburke-maci MY_APP[5611] <Error>: CGContextSetBaseCTM: invalid context 0x0
> Jun  1 14:49:12 sburke-maci MY_APP[5611] <Error>: CGContextGetCTM: invalid context 0x0
> Jun  1 14:49:12 sburke-maci MY_APP[5611] <Error>: CGContextSetBaseCTM: invalid context 0x0
> 
> Same messages with my sample Java application.
> 
> This did not happen in Mac OS X versions prior to 10.7.4. I confirmed that this still occurs in the latest developer preview of Mountain Lion and the latest Java SE 7, including OpenJDK 7.
> Regardless of whether or not this is a Java-related issue, the fact that these messages suddenly appeared with 10.7.4 insinuates that there is an OS bug somewhere or perhaps someone left in some debugging print statements.
> Posting this topic here to see if anyone else has come across this issue and/or knows of a workaround.
> 
> Thanks,
> Sara
> 
> 
> 
> -----------------------------------------------------------------
> Sara M. Burke
> Ext. 7476
> 



More information about the macosx-port-dev mailing list