From: Keith David Bershatsky <esq@lawlist.com>
To: Po Lu <luangruo@yahoo.com>
Cc: "Mattias Engdegård" <mattiase@acm.org>,
"Alan Third" <alan@idiocy.org>,
"Paul Eggert" <eggert@cs.ucla.edu>,
emacs-devel@gnu.org
Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat'
Date: Wed, 20 Apr 2022 19:22:53 -0700 [thread overview]
Message-ID: <m235i789aa.wl%esq@lawlist.com> (raw)
I applied the suggested revision and here is the updated backtrace:
* * *
(gdb) run
Starting program: /Users/HOME/Desktop/emacs/nextstep/Emacs.app/Contents/MacOS/Emacs
2022-04-20 19:19:03.401 Emacs[11566:60f] *** __NSAutoreleaseNoPool(): Object 0x100918460 of class NSPathStore2 autoreleased with no pool in place - just leaking
2022-04-20 19:19:03.404 Emacs[11566:60f] *** __NSAutoreleaseNoPool(): Object 0x10091c290 of class NSPathStore2 autoreleased with no pool in place - just leaking
2022-04-20 19:19:03.404 Emacs[11566:60f] *** __NSAutoreleaseNoPool(): Object 0x1009185f0 of class NSCFString autoreleased with no pool in place - just leaking
2022-04-20 19:19:03.404 Emacs[11566:60f] *** __NSAutoreleaseNoPool(): Object 0x10091cc40 of class NSCFArray autoreleased with no pool in place - just leaking
2022-04-20 19:19:03.405 Emacs[11566:60f] *** __NSAutoreleaseNoPool(): Object 0x10091cd30 of class NSPathStore2 autoreleased with no pool in place - just leaking
2022-04-20 19:19:03.405 Emacs[11566:60f] *** __NSAutoreleaseNoPool(): Object 0x10091ce90 of class NSCFData autoreleased with no pool in place - just leaking
[New Thread 0x1903 of process 11566]
[New Thread 0x1a03 of process 11566]
[New Thread 0x1b03 of process 11566]
2022-04-20 19:19:03.995 Emacs[11566:60f] An uncaught exception was raised
2022-04-20 19:19:03.995 Emacs[11566:60f] *** -getRed:green:blue:alpha: not defined for the NSColor NSCustomColorSpace Device RGB colorspace 0 0 0 1; need to first convert colorspace.
2022-04-20 19:19:03.996 Emacs[11566:60f] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -getRed:green:blue:alpha: not defined for the NSColor NSCustomColorSpace Device 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 0x000000010021cc24 -[NSColor(EmacsColor) unsignedLong] + 36
5 Emacs 0x00000001002343ff ns_set_foreground_color + 127
6 Emacs 0x0000000100018371 gui_set_frame_parameters + 1553
7 Emacs 0x000000010001963e gui_default_parameter + 174
8 Emacs 0x000000010023952f Fx_create_frame + 1631
9 Emacs 0x000000010018c5b0 funcall_subr + 480
10 Emacs 0x00000001001d98cd exec_byte_code + 11085
11 Emacs 0x000000010018aa24 Ffuncall + 324
12 Emacs 0x000000010018dfe4 Fapply + 756
13 Emacs 0x000000010018c450 funcall_subr + 128
14 Emacs 0x00000001001d98cd exec_byte_code + 11085
15 Emacs 0x000000010018f406 apply_lambda + 262
16 Emacs 0x00000001001894e9 eval_sub + 1481
17 Emacs 0x000000010018f07d Feval + 61
18 Emacs 0x0000000100186633 internal_condition_case + 99
19 Emacs 0x00000001000efaa8 top_level_1 + 88
20 Emacs 0x00000001001866b7 internal_catch + 87
21 Emacs 0x00000001000ef9b8 command_loop + 184
22 Emacs 0x00000001000f3ed6 recursive_edit_1 + 182
23 Emacs 0x00000001000f40b4 Frecursive_edit + 244
24 Emacs 0x00000001000eb585 main + 4805
25 Emacs 0x00000001000015a4 start + 52
26 ??? 0x0000000000000001 0x0 + 1
)
terminate called after throwing an instance of 'NSException'
[New Thread 0x1c03 of process 11566]
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 0x000000010021cc24 in -[NSColor(EmacsColor) unsignedLong] (self=0x2d2e,
_cmd=<optimized out>) at nsterm.m:183
#11 0x00000001002343ff in ns_set_foreground_color (f=0x10387aa30,
arg=XIL(0x10094fba4), oldval=XIL(0)) at nsfns.m:255
#12 0x0000000100018371 in gui_set_frame_parameters (f=0x2d2e,
alist=<optimized out>) at frame.c:4274
#13 0x000000010001963e in gui_default_parameter (f=0x10387aa30,
alist=<optimized out>, prop=XIL(0x69c0), deflt=XIL(0x10094fba4),
xprop=<optimized out>, xclass=<optimized out>, type=RES_TYPE_STRING)
at frame.c:5469
#14 0x000000010023952f in Fx_create_frame (parms=XIL(0x1038183b3))
at nsfns.m:1282
#15 0x000000010018c5b0 in funcall_subr (subr=0x10067ef00, numargs=1,
args=0x7fff5fbfeb88) at eval.c:2911
#16 0x00000001001d98cd in exec_byte_code (fun=make_fixnum(2891),
args_template=6, nargs=0, args=0x7fff5fbfeb88) at bytecode.c:809
#17 0x000000010018aa24 in Ffuncall (nargs=<optimized out>, args=0x104800208)
at eval.c:2873
#18 0x000000010018dfe4 in Fapply (nargs=2, args=0x104800208) at eval.c:2507
#19 0x000000010018c450 in funcall_subr (subr=0x1006784c0, numargs=2,
args=0x7fff5fbfeb88) at eval.c:2938
#20 0x00000001001d98cd in exec_byte_code (fun=make_fixnum(2891),
args_template=6, nargs=0, args=0x7fff5fbfeb88) at bytecode.c:809
#21 0x000000010018f406 in apply_lambda (fun=XIL(0x102a067c5), args=XIL(0),
count=...) at eval.c:2982
#22 0x00000001001894e9 in eval_sub (form=<optimized out>) at eval.c:2472
#23 0x000000010018f07d in Feval (form=XIL(0x102fe1cab),
lexical=<optimized out>) at eval.c:2240
#24 0x0000000100186633 in internal_condition_case (
bfun=0x1000ef8e0 <top_level_2>, handlers=<optimized out>,
hfun=0x1000f0840 <cmd_error>) at eval.c:1450
#25 0x00000001000efaa8 in top_level_1 (ignore=<optimized out>)
at keyboard.c:1159
#26 0x00000001001866b7 in internal_catch (tag=<optimized out>,
func=0x1000efa50 <top_level_1>, arg=XIL(0)) at eval.c:1180
#27 0x00000001000ef9b8 in command_loop () at keyboard.c:1119
#28 0x00000001000f3ed6 in recursive_edit_1 () at keyboard.c:729
#29 0x00000001000f40b4 in Frecursive_edit () at keyboard.c:812
#30 0x00000001000eb585 in main (argc=1, argv=0x7fff5fbff960) at emacs.c:2474
Lisp Backtrace:
Cannot access memory at address 0x74b78
(gdb)
next reply other threads:[~2022-04-21 2:22 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-21 2:22 Keith David Bershatsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-04-26 2:56 Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat' Keith David Bershatsky
2022-04-26 3:14 ` Po Lu
2022-04-25 5:17 Keith David Bershatsky
2022-04-25 5:43 ` Po Lu
2022-04-25 9:56 ` Alan Third
2022-04-25 10:30 ` Po Lu
2022-04-25 18:07 ` Alan Third
2022-04-26 0:10 ` Po Lu
2022-04-25 3:46 Keith David Bershatsky
2022-04-25 4:13 ` Po Lu
2022-04-25 1:49 Keith David Bershatsky
2022-04-25 3:09 ` Po Lu
2022-04-25 1:35 Keith David Bershatsky
2022-04-25 18:08 ` Alan Third
2022-04-24 17:02 Keith David Bershatsky
2022-04-24 19:22 ` Alan Third
2022-04-24 0:08 Keith David Bershatsky
2022-04-24 9:03 ` Alan Third
2022-04-23 4:33 Keith David Bershatsky
2022-04-23 22:04 ` Alan Third
2022-04-22 21:29 Keith David Bershatsky
2022-04-23 22:13 ` Alan Third
2022-04-22 21:23 Keith David Bershatsky
2022-04-21 22:40 Keith David Bershatsky
2022-04-21 22:44 ` Alan Third
2022-04-21 20:51 Keith David Bershatsky
2022-04-21 22:22 ` Alan Third
2022-04-21 17:52 Keith David Bershatsky
2022-04-21 19:21 ` Alan Third
2022-04-21 0:51 Keith David Bershatsky
2022-04-21 2:05 ` Po Lu
2022-04-21 5:09 ` Alan Third
2022-04-20 13:55 Keith David Bershatsky
2022-04-20 16:48 ` Alan Third
2022-04-19 4:36 Keith David Bershatsky
2022-04-19 4:38 ` Po Lu
2022-04-19 1:24 Keith David Bershatsky
2022-04-19 2:35 ` Po Lu
2022-04-19 4:19 ` Alan Third
2022-04-19 4:24 ` Po Lu
2022-04-19 6:04 ` Eli Zaretskii
2022-04-20 1:23 ` Po Lu
2022-04-20 8:07 ` Alan Third
2022-04-19 2:56 ` Paul Eggert
2022-04-18 20:43 Keith David Bershatsky
2022-04-18 19:51 Keith David Bershatsky
2022-04-18 19:54 ` Paul Eggert
2022-04-19 1:00 ` Po Lu
2022-04-18 2:24 Keith David Bershatsky
2022-04-18 2:53 ` Po Lu
2022-04-18 0:38 Keith David Bershatsky
2022-04-18 0:58 ` Paul Eggert
2022-04-18 1:39 ` Po Lu
2022-04-17 21:57 Keith David Bershatsky
2022-04-17 23:21 ` Paul Eggert
2022-04-17 18:45 Keith David Bershatsky
2022-04-17 20:37 ` Alan Third
2022-04-17 20:37 ` Paul Eggert
2022-04-15 19:11 Keith David Bershatsky
2022-04-17 9:01 ` Mattias Engdegård
2022-04-17 17:49 ` Paul Eggert
2022-04-17 19:12 ` Eli Zaretskii
2022-04-17 20:36 ` Paul Eggert
2022-04-18 4:49 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m235i789aa.wl%esq@lawlist.com \
--to=esq@lawlist.com \
--cc=alan@idiocy.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
--cc=mattiase@acm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.