CGBitmapContextGetData: invalid context

B

brunerd

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Power PC

This memory leaking bug is still happening in 12.1.7, Tiger or Leopard, PPC or Intel. Whenever you insert a movie, picture, or PDF into a Powerpoint document.

Anyway here's a process sample from Activity Monitor of what is happening when this error occurs:
1 WrapContext
1 GetDeviceCaps <--------------- The MS call to get device capabilities
1 CGBitmapContextGetData <------- The Apple call to get data from Core Graphics
1 CGPostError
1 CGPostErrorWithArguments
1 asl_vlog$LDBL128
1 asl_send
1 gethostname
1 __sysctl
1 __sysctl

Seems that after calling GetDeviceCaps, which I can find Windows CE references to on the web, it then calls CGBitmapContextGetData (with an invalid context argument) and fails and the logging ensues… so MS if you guys are reading, please fix the info that GetDeviceCaps is either giving or getting so we can get some work done, thanks!

More samples at:
<http://www.brunerd.com/blog/2009/05/04/office-2008-out-of-context/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top