{"id":107,"date":"2009-05-04T17:11:39","date_gmt":"2009-05-04T23:11:39","guid":{"rendered":"http:\/\/www.brunerd.com\/blog\/?p=107"},"modified":"2009-05-04T17:12:02","modified_gmt":"2009-05-04T23:12:02","slug":"office-2008-out-of-context","status":"publish","type":"post","link":"https:\/\/www.brunerd.com\/blog\/2009\/05\/04\/office-2008-out-of-context\/","title":{"rendered":"Office 2008 out of context"},"content":{"rendered":"<p>So&#8230; who&#8217;s running Office 2008 and <em>hasn&#8217;t<\/em> seen\u00a0<code>CGBitmapContextGetData: invalid context<\/code> popping up in their system.log? I&#8217;ve seen it plenty: on Tiger, Leopard, ppc, and i386 systems (18MB worth on one heavy Powerpoint users&#8217;!) What&#8217;s puzzling is why MS hasn&#8217;t fixed it (do you <em>want<\/em>\u00a0us to go over to iWork or what?!)<\/p>\n<p>Anyway, lots of chatter on the net and no solutions except to hope either Apple or MS fix it&#8230; and I hope they do, we are rolling 2008 out at work (finally) and it&#8217;s stupefying to see this memory leaking bug is just spewing out garbage into logs at astonishing rate (inserting one movie gave me 22 messages!)<\/p>\n<p>Anyway here&#8217;s some samples of what is happening when this error occurs<br \/>\n<code>1 WrapContext<br \/>\n1 GetDeviceCaps<br \/>\n1 CGBitmapContextGetData<br \/>\n1 CGPostError<br \/>\n1 CGPostErrorWithArguments<br \/>\n1 asl_vlog$LDBL128<br \/>\n1 asl_send<br \/>\n1 gethostname<br \/>\n1 __sysctl<br \/>\n1 __sysctl<\/code><\/p>\n<p>Seems that after calling <code>GetDeviceCaps<\/code>, which I can find Windows CE <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms929230.aspx\" target=\"_blank\">references<\/a> to on the web, it then calls\u00a0<code>CGBitmapContextGetData<\/code> and fails and the logging ensues&#8230; 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!<\/p>\n<p>More traces:<br \/>\n<code><br \/>\n3 WrapContext<br \/>\n3 GetDeviceCaps<br \/>\n3 CGBitmapContextGetData<br \/>\n3 CGPostError<br \/>\n3 CGPostErrorWithArguments<br \/>\n2 asl_vlog$LDBL128<br \/>\n2 asl_send<br \/>\n2 notify_get_state<br \/>\n2 _notify_server_get_state<br \/>\n2 mach_msg<br \/>\n2 mach_msg_trap<br \/>\n2 mach_msg_trap<\/code><\/p>\n<p><code>1 0x46af14<br \/>\n1 0x4515b8<br \/>\n1 0x451500<br \/>\n1 0xb12e0<br \/>\n1 MsoFillCGDc<br \/>\n1 WrapContext<br \/>\n1 GetDeviceCaps<br \/>\n1 CGBitmapContextGetData<br \/>\n1 CGPostError<br \/>\n1 CGPostErrorWithArguments<br \/>\n1 asl_vlog$LDBL128<br \/>\n1 asl_free<br \/>\n1 free<br \/>\n1 szone_size<br \/>\n1 szone_size<\/code><\/p>\n<p><code>2 0x605b54<br \/>\n2 0x4515b8<br \/>\n2 0x451500<br \/>\n2 0xb12e0<br \/>\n2 MsoFillCGDc<br \/>\n2 WrapContext<br \/>\n2 GetDeviceCaps<br \/>\n2 CGBitmapContextGetData<br \/>\n2 CGPostError<br \/>\n2 CGPostErrorWithArguments<br \/>\n2 asl_vlog$LDBL128<br \/>\n2 asl_send<br \/>\n1 asl_format_message<br \/>\n1 _asl_append_string<br \/>\n1 __memcpy<br \/>\n1 __memcpy<br \/>\n1 gethostname<br \/>\n1 __sysctl<br \/>\n1 __sysctl<\/p>\n<p><\/code><\/p>\n<p>\u00a0<\/p>\n<p><code>2 0x4515b8<br \/>\n2 0x451500<br \/>\n2 0xb12e0<br \/>\n2 MsoFillCGDc<br \/>\n2 WrapContext<br \/>\n2 GetDeviceCaps<br \/>\n2 CGBitmapContextGetData<br \/>\n2 CGPostError<br \/>\n2 CGPostErrorWithArguments<br \/>\n2 asl_vlog$LDBL128<br \/>\n2 asl_send<br \/>\n1 asl_format_message<br \/>\n1 _asl_append_string<br \/>\n1 __memcpy<br \/>\n1 __memcpy<br \/>\n1 gethostname<br \/>\n1 __sysctl<br \/>\n1 __sysctl<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So&#8230; who&#8217;s running Office 2008 and hasn&#8217;t seen\u00a0CGBitmapContextGetData: invalid context popping up in their system.log? I&#8217;ve seen it plenty: on Tiger, Leopard, ppc, and i386 systems (18MB worth on one heavy Powerpoint users&#8217;!) What&#8217;s puzzling is why MS hasn&#8217;t fixed it (do you want\u00a0us to go over to iWork or what?!) Anyway, lots of chatter [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-microsoft"],"_links":{"self":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":3,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":110,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/107\/revisions\/110"}],"wp:attachment":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}