[R-SIG-Mac] graphics problem from Macintosh system software

Charles C. Berry ccberry at ucsd.edu
Sat Dec 19 19:30:43 CET 2015


On Thu, 17 Dec 2015, Erich Neuwirth wrote:

> Do you have any idea under what circumstances this happens.
>

See below.

>
>> On Dec 17, 2015, at 21:44, Richard M. Heiberger <rmh at temple.edu> wrote:
>>
>> This has been reported before.  I am still seeing it with R-3.2.3.
>> It appears randomly.  It sounds scary.
>>
>> Rich
>>
>>>
>> Dec 17 15:14:01 rmhs-MacBook-Air.local R[3534] <Error>:
>> CGContextSetFont: invalid context 0x7fb698259080. This is a serious
>> error. This application, or a library it uses, is using an invalid
>> context  and is thereby contributing to an overall degradation of
>> system stability and reliability. This notice is a courtesy: please
>> fix this problem. It will become a fatal error in an upcoming update.
>> Dec 17 15:14:01 rmhs-MacBook-Air.local R[3534] <Error>:
>> CGContextSetFontSize: invalid context 0x7fb698259080. This is a
>> serious error. This application, or a library it uses, is using an
>> invalid context  and is thereby contributing to an overall degradation
>> of system stability and reliability. This notice is a courtesy: please
>> fix this problem. It will become a fatal error in an upcoming update.
>> Dec 17 15:14:01 rmhs-MacBook-Air.local R[3534] <Error>:
>> CGContextGetFont: invalid context 0x7fb698259080. This is a serious
>> error. This application, or a library it uses, is using an invalid
>> context  and is thereby contributing to an overall degradation of
>> system stability and reliability. This notice is a courtesy: please
>> fix this problem. It will become a fatal error in an upcoming update.
>> p
>>

FWIW, I can reproducibly get CGContext* errors by running R in a
terminal window, plotting something (for example `example(hclust)' and
answering RET to the prompts), then hitting the maximize (green)
button on the graphics window. However, these messages do not produce
the `fatal error' threats mentioned in Rich's email.

I can report the output from doing this under
`CG_CONTEXT_SHOW_BACKTRACE=yes R' if that helps.

Chuck



More information about the R-SIG-Mac mailing list