Subject: bug#58063: 29.0.50; MacOS invalid display identifier

From: Eli Zaretskii <[email-masked]>
Date: Sun, 25 Sep 2022 11:50:45 +0300

> From: Gerd Möllmann <[email-masked]>
> Date: Sun, 25 Sep 2022 08:03:50 +0200
> 
> GUI emacs started from a tty, started to print warnings like shown
> below.  This must have been introduced recently,
> 1231a601ebe1fd9fe454c504dbeb9267440242e7 doesn't print these warnings.

A quick glance at the log of changes since then doesn't yield any
immediate suspects.

> Process 3392 launched: '/Users/gerd/emacs/master/src/emacs' (arm64)
> 2022-09-24 16:42:18.763856+0200 emacs[3392:4902280] [default] invalid display identifier 1A03229E-1086-4973-94D0-5378DC025A1D

What does "invalid display identifier" mean?

Is there any way of figuring out which code in Emacs triggers these
messages?  If not, I think bisection is the best way to go.