GNU bug report logs - #56559
29.0.50; Invalid CGContextSaveState on NS

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Thu, 14 Jul 2022 15:09:02 UTC

Severity: normal

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Po Lu <luangruo <at> yahoo.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#56559: closed (29.0.50; Invalid CGContextSaveState on NS)
Date: Sat, 16 Jul 2022 03:06:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 16 Jul 2022 11:05:36 +0800
with message-id <871quln4e7.fsf <at> yahoo.com>
and subject line Re: bug#56559: 29.0.50; Invalid CGContextSaveState on NS
has caused the debbugs.gnu.org bug report #56559,
regarding 29.0.50; Invalid CGContextSaveState on NS
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
56559: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56559
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Invalid CGContextSaveState on NS
Date: Thu, 14 Jul 2022 17:08:03 +0200
In GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.5.0, NS appkit-2113.50 Version 12.4 (Build 21F79))
 of 2022-07-12 built on Mini.fritz.box
Repository revision: f209650e41d59356a90b5a602abc60c6783bc7b1
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2113
System Description:  macOS 12.4

Configured using:
 'configure --with-native-compilation'

At various times, Emacs prints

2022-07-14 16:55:41.722952+0200 emacs[65244:294257] [emacs] CGContextSaveGState:
invalid context 0x0. If you want to see the backtrace, please set
CG_CONTEXT_SHOW_BACKTRACE environmental variable.

to the terminal from which it is started.  Setting the env variable,
gives the backtrace

2022-07-14 16:56:29.249179+0200 emacs[65299:295037] [emacs] CGContextSetLineJoin: invalid context 0x0. Backtrace:
  <+[NSBezierPath strokeRect:]+136>
   <ns_draw_window_cursor+5448>
    <display_and_set_cursor+4532>
     <update_window_cursor+1556>
      <update_cursor_in_window_tree+444>
       <gui_update_cursor+100>
        <ns_set_cursor_color+1140>
         <gui_set_frame_parameters+15768>
          <Fmodify_frame_parameters+856>
           <Finternal_set_lisp_face_attribute+54152>
  


[Message part 3 (message/rfc822, inline)]
From: Po Lu <luangruo <at> yahoo.com>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 56559-done <at> debbugs.gnu.org
Subject: Re: bug#56559: 29.0.50; Invalid CGContextSaveState on NS
Date: Sat, 16 Jul 2022 11:05:36 +0800
Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:

> Works for me.  Thanks!

Great, then I'm closing this bug.


This bug report was last modified 2 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.