From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.devel Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat' Date: Thu, 21 Apr 2022 15:40:05 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24906"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Mattias =?UTF-8?B?RW5n?= =?UTF-8?B?ZGVnw6VyZA==?= , Paul Eggert , emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 22 00:41:23 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhfUH-0006I6-SJ for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Apr 2022 00:41:22 +0200 Original-Received: from localhost ([::1]:54890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhfUG-0001E7-Bx for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 18:41:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhfT9-0000Q9-D9 for emacs-devel@gnu.org; Thu, 21 Apr 2022 18:40:11 -0400 Original-Received: from gateway22.websitewelcome.com ([192.185.46.194]:24848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhfT6-0007Cz-Gz for emacs-devel@gnu.org; Thu, 21 Apr 2022 18:40:10 -0400 Original-Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway22.websitewelcome.com (Postfix) with ESMTP id EE1FDACDA for ; Thu, 21 Apr 2022 17:40:06 -0500 (CDT) Original-Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP id hfT4nifVsHnothfT4n3fSu; Thu, 21 Apr 2022 17:40:06 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com ; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Cc :To:From:Message-ID:Date:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=cSDwzsNm/3uuvbAdUxQpOfPk1Ax+c25G/wtWPmf9iH4=; b=YDL0vdY0h4/Qu0Jrtfxizhgyjk rEBWCoaJ0QMzrK+B/74Wvp8uQas3e8LqXPbaEc/cJIRRlKFQm0/aPm6qcmI88U7EhwEHE++g+FzFD VsaS68FYqTpxU7Iyt7NyoZAUWovyV3SasQJRI8/NCa40Wovl3jRBNUN9bJM9H9Zh8zB6kwERRMqGw Ntuz87QOWqDY85HG7C4T4EUbK7oTnSxLhCK2+BKPGVPOrC4o/GSfnTc4x71x9bq9tYVHEgL96APBd cAlGwoORNX/ZWkoX/eTycoHNO/iLJIHQEaqkUBRwz8ZswEHwgdPXIJb9fIWmYErQe50+Rvdt8eF7V dXZFTI4A==; Original-Received: from cpe-45-48-245-70.socal.res.rr.com ([45.48.245.70]:51361 helo=server.local) by gator3053.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nhfT4-0007aC-2e; Thu, 21 Apr 2022 17:40:06 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3053.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-BWhitelist: no X-Source-IP: 45.48.245.70 X-Source-L: No X-Exim-ID: 1nhfT4-0007aC-2e X-Source-Sender: cpe-45-48-245-70.socal.res.rr.com (server.local) [45.48.245.70]:51361 X-Source-Auth: lawlist X-Email-Count: 2 X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes Received-SPF: pass client-ip=192.185.46.194; envelope-from=esq@lawlist.com; helo=gateway22.websitewelcome.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288779 Archived-At: Here is the new backtrace with the latest revision: (gdb) run Starting program: /Users/HOME/Desktop/emacs/nextstep/Emacs.app/Contents/MacOS/Emacs 2022-04-21 15:34:00.634 Emacs[15214:60f] *** __NSAutoreleaseNoPool(): Object 0x100918460 of class NSPathStore2 autoreleased with no pool in place - just leaking 2022-04-21 15:34:00.637 Emacs[15214:60f] *** __NSAutoreleaseNoPool(): Object 0x10091c290 of class NSPathStore2 autoreleased with no pool in place - just leaking 2022-04-21 15:34:00.638 Emacs[15214:60f] *** __NSAutoreleaseNoPool(): Object 0x1009185f0 of class NSCFString autoreleased with no pool in place - just leaking 2022-04-21 15:34:00.638 Emacs[15214:60f] *** __NSAutoreleaseNoPool(): Object 0x10091cc40 of class NSCFArray autoreleased with no pool in place - just leaking 2022-04-21 15:34:00.638 Emacs[15214:60f] *** __NSAutoreleaseNoPool(): Object 0x10091cd30 of class NSPathStore2 autoreleased with no pool in place - just leaking 2022-04-21 15:34:00.638 Emacs[15214:60f] *** __NSAutoreleaseNoPool(): Object 0x10091ce90 of class NSCFData autoreleased with no pool in place - just leaking [New Thread 0x1903 of process 15214] [New Thread 0x1a03 of process 15214] [New Thread 0x1b03 of process 15214] [New Thread 0x1c03 of process 15214] [New Thread 0x1d03 of process 15214] 2022-04-21 15:34:01.497 Emacs[15214:60f] An uncaught exception was raised 2022-04-21 15:34:01.498 Emacs[15214:60f] *** -getRed:green:blue:alpha: not defined for the NSColor NSCustomColorSpace Generic RGB colorspace 0 0 0 1; need to first convert colorspace. 2022-04-21 15:34:01.500 Emacs[15214:60f] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -getRed:green:blue:alpha: not defined for the NSColor NSCustomColorSpace Generic RGB colorspace 0 0 0 1; need to first convert colorspace.' *** Call stack at first throw: ( 0 CoreFoundation 0x00007fff899577b4 __exceptionPreprocess + 180 1 libobjc.A.dylib 0x00007fff8012bf03 objc_exception_throw + 45 2 CoreFoundation 0x00007fff899575d7 +[NSException raise:format:arguments:] + 103 3 CoreFoundation 0x00007fff89957564 +[NSException raise:format:] + 148 4 Emacs 0x000000010021c885 ns_query_color + 85 5 Emacs 0x000000010022384c ns_defined_color + 76 6 Emacs 0x00000001002185c3 xpm_load_image + 2019 7 Emacs 0x0000000100218acf xpm_load + 127 8 Emacs 0x0000000100219f37 lookup_image + 695 9 Emacs 0x000000010021a961 Fimage_mask_p + 49 10 Emacs 0x000000010018c534 funcall_subr + 468 11 Emacs 0x00000001001d985d exec_byte_code + 11085 12 Emacs 0x000000010018a9b4 Ffuncall + 324 13 Emacs 0x00000001001947c9 mapcar1 + 425 14 Emacs 0x0000000100196b93 Fmapcar + 211 15 Emacs 0x000000010018c534 funcall_subr + 468 16 Emacs 0x00000001001d985d exec_byte_code + 11085 17 Emacs 0x000000010018f396 apply_lambda + 262 18 Emacs 0x0000000100189479 eval_sub + 1481 19 Emacs 0x000000010018f00d Feval + 61 20 Emacs 0x0000000100186537 internal_condition_case_1 + 103 21 Emacs 0x00000001000edd62 menu_item_eval_property + 82 22 Emacs 0x000000010010cea9 get_keyelt + 377 23 Emacs 0x000000010010e078 access_keymap_1 + 1800 24 Emacs 0x000000010010e923 access_keymap + 19 25 Emacs 0x00000001000f102e tool_bar_items + 478 26 Emacs 0x0000000100022dfc update_tool_bar + 236 27 Emacs 0x0000000100061474 redisplay_internal + 4404 28 Emacs 0x000000010010050a read_char + 4314 29 Emacs 0x000000010010462f read_key_sequence + 1055 30 Emacs 0x0000000100106557 command_loop_1 + 695 31 Emacs 0x00000001001865c3 internal_condition_case + 99 32 Emacs 0x00000001000efa66 command_loop_2 + 38 33 Emacs 0x0000000100186647 internal_catch + 87 34 Emacs 0x00000001000ef95a command_loop + 202 35 Emacs 0x00000001000f3e66 recursive_edit_1 + 182 36 Emacs 0x00000001000f4044 Frecursive_edit + 244 37 Emacs 0x00000001000eb515 main + 4805 38 Emacs 0x0000000100001534 start + 52 39 ??? 0x0000000000000001 0x0 + 1 ) terminate called after throwing an instance of 'NSException' Program received signal SIGABRT, Aborted. 0x00007fff8a6120b6 in t.2065 () from /usr/lib/libSystem.B.dylib (gdb) bt #0 0x00007fff8a6120b6 in t.2065 () from /usr/lib/libSystem.B.dylib #1 0x00007fff8a6b29f6 in t.2066 () from /usr/lib/libSystem.B.dylib #2 0x00007fff838465d2 in ?? () from /usr/lib/libstdc++.6.dylib #3 0x00007fff8012fb39 in ?? () from /usr/lib/libobjc.A.dylib #4 0x00007fff83844ae1 in ?? () from /usr/lib/libstdc++.6.dylib #5 0x00007fff83844b16 in ?? () from /usr/lib/libstdc++.6.dylib #6 0x00007fff83844bfc in ?? () from /usr/lib/libstdc++.6.dylib #7 0x00007fff8012bfa2 in ?? () from /usr/lib/libobjc.A.dylib #8 0x00007fff899575d7 in +[NSException raise:format:arguments:] () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation #9 0x00007fff89957564 in +[NSException raise:format:] () from /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation #10 0x000000010021c885 in ns_query_color (col=0x104dacaf0, color_def=0x7fff5fbfb7f0) at nsterm.m:2125 #11 0x000000010022384c in ns_defined_color (f=, name=, color_def=0x7fff5fbfb7f0, alloc=, _makeIndex=) at nsterm.m:2154 #12 0x00000001002185c3 in xpm_load_image (f=0x10387aa30, img=0x104da4970, contents=, end=0x105030103 '\377' ) at image.c:5465 #13 0x0000000100218acf in xpm_load (f=0x10387aa30, img=0x104da4970) at image.c:5574 #14 0x0000000100219f37 in lookup_image (f=0x10387aa30, spec=XIL(0x1038dc033), face_id=) at image.c:2703 #15 0x000000010021a961 in Fimage_mask_p (spec=XIL(0x1038dc033), frame=) at image.c:1279 #16 0x000000010018c534 in funcall_subr (subr=0x10067e660, numargs=1, args=0x7fff5fbfb448) at eval.c:2913 #17 0x00000001001d985d in exec_byte_code (fun=make_fixnum(3803), args_template=6, nargs=0, args=0x7fff5fbfb448) at bytecode.c:809 #18 0x000000010018a9b4 in Ffuncall (nargs=, args=0x7fff5fbfbf30) at eval.c:2873 #19 0x00000001001947c9 in call1 (arg1=XIL(0), fn=) at lisp.h:3218 #20 mapcar1 (leni=14, vals=0x7fff5fbfbfb0, fn=XIL(0x102acf575), seq=XIL(0x7fff5fbfb448)) at fns.c:2798 #21 0x0000000100196b93 in Fmapcar (function=XIL(0x102acf575), sequence=XIL(0x1026042bb)) at fns.c:2858 #22 0x000000010018c534 in funcall_subr (subr=0x10067a2e0, numargs=2, args=0x7fff5fbfb448) at eval.c:2913 #23 0x00000001001d985d in exec_byte_code (fun=make_fixnum(3803), args_template=6, nargs=0, args=0x7fff5fbfb448) at bytecode.c:809 #24 0x000000010018f396 in apply_lambda (fun=XIL(0x102acf46d), args=XIL(0x1038dc793), count=...) at eval.c:2982 #25 0x0000000100189479 in eval_sub (form=) at eval.c:2472 #26 0x000000010018f00d in Feval (form=XIL(0x1038dc7b3), lexical=) at eval.c:2240 #27 0x0000000100186537 in internal_condition_case_1 ( bfun=0x1000ef410 , arg=XIL(0x1038dc7b3), handlers=, hfun=0x1000efb10 ) at eval.c:1474 #28 0x00000001000edd62 in menu_item_eval_property (sexpr=XIL(0x1038dc7b3)) at keyboard.c:8021 #29 0x000000010010cea9 in get_keyelt (object=, autoload=true) at keymap.c:713 #30 0x000000010010e078 in access_keymap_1 (map=, idx=XIL(0xdf50), t_ok=true, noinherit=false, autoload=) ---Type to continue, or q to quit--- at keymap.c:465 #31 0x000000010010e923 in access_keymap (map=make_fixnum(3803), idx=make_fixnum(1), t_ok=false, noinherit=72, autoload=96) at keymap.c:498 #32 0x00000001000f102e in tool_bar_items (reuse=, nitems=0x7fff5fbfc58c) at keyboard.c:8803 #33 0x0000000100022dfc in update_tool_bar (f=0x10387aa30, save_match_data=) at xdisp.c:14537 #34 0x0000000100061474 in prepare_menu_bars () at xdisp.c:13350 #35 redisplay_internal () at xdisp.c:16202 #36 0x000000010010050a in read_char (commandflag=1, map=XIL(0x1038dcf43), prev_event=XIL(0), used_mouse_menu=0x7fff5fbff2ef, end_time=0x0) at keyboard.c:2592 #37 0x000000010010462f in read_key_sequence (keybuf=0x7fff5fbff3a0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9932 #38 0x0000000100106557 in command_loop_1 () at keyboard.c:1401 #39 0x00000001001865c3 in internal_condition_case ( bfun=0x1001062a0 , handlers=, hfun=0x1000f07d0 ) at eval.c:1450 #40 0x00000001000efa66 in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1142 #41 0x0000000100186647 in internal_catch (tag=, func=0x1000efa40 , arg=XIL(0x90)) at eval.c:1180 #42 0x00000001000ef95a in command_loop () at keyboard.c:1120 #43 0x00000001000f3e66 in recursive_edit_1 () at keyboard.c:729 #44 0x00000001000f4044 in Frecursive_edit () at keyboard.c:812 #45 0x00000001000eb515 in main (argc=1, argv=0x7fff5fbff960) at emacs.c:2474 [New Thread 0x1e03 of process 15214] Lisp Backtrace: Cannot access memory at address 0x74b78 (gdb) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > Date: [04-21-2022 15:22:08] <21 Apr 2022 23:22:08 +0100> > From: Alan Third > To: Keith David Bershatsky > Cc: emacs-devel@gnu.org, Po Lu , Mattias EngdegÄrd , Paul Eggert > Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat' > > * * * > > [[((NSColor *)col) colorUsingColorSpace:[NSColorSpace genericRGBColorSpace]] > getRed: &r green: &g blue: &b alpha: &a]; > > -- > Alan Third