| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; q=dns; s= | |
| default; b=vLHEke7VEzOVXDnHDI51hUYaMY3hzjSADMbh8ow3LXVBOvFTyUL7k | |
| vfiC1kEnodsqVGq3SggTi+EJVt91Ov2sqWXPfX0H8VWm2q4g35OQ1RaePGqpvax6 | |
| /1VaLbISekQrOCqpEZ2+0YoF7rle71DD0Kqk11vJmFpksurvFyMQ1E= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:date:from:to:subject:message-id:reply-to | |
| :references:mime-version:content-type:in-reply-to; s=default; | |
| bh=B5MTpBF7zVr7nmGD8tKtO0cZ9yU=; b=wWshUCizE4JEEiyOOy4bT/qZvmEy | |
| GagIOTOAQRpIfSg3FdbkH1pPVDytb15NbITTcRo+Fxm+X2kM9Qbo0/TjejSS2etN | |
| vqJ0pLjUjnquaXA9jcEjqgdemDdW/AN2cCQPyoFX9gwU/4q8YU0jxLoyULZ81dug | |
| ZmDGOKlPN31x1R8= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
| X-HELO: | calimero.vinschen.de |
| Date: | Mon, 17 Mar 2014 17:45:13 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: With latest snapshot, emacs is very slow to start under X11 |
| Message-ID: | <20140317164513.GA28387@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <532325A5 DOT 5020103 AT cornell DOT edu> <53232E30 DOT 3080801 AT cornell DOT edu> <20140314164243 DOT GD2355 AT calimero DOT vinschen DOT de> <53234E31 DOT 8030805 AT cornell DOT edu> <20140314201916 DOT GG2355 AT calimero DOT vinschen DOT de> <53248149 DOT 2000007 AT cornell DOT edu> <20140316115307 DOT GC400 AT calimero DOT vinschen DOT de> <532666CE DOT 8 AT cornell DOT edu> <5327203A DOT 9050704 AT cornell DOT edu> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <5327203A.9050704@cornell.edu> |
| User-Agent: | Mutt/1.5.21 (2010-09-15) |
--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mar 17 12:18, Ken Brown wrote:
> On 3/16/2014 11:06 PM, Ken Brown wrote:
> >It turns out that this has nothing to do with emacs after all, but it's
> >a problem with glib and/or dbus. I get the exact same behavior with the
> >following program, copied from
> >https://developer.gnome.org/gtk3/3.0/gtk-getting-started.html, which
> >simply pops up a small empty window:
> >
> >$ cat window-default.c
> >#include <gtk/gtk.h>
> >int
> >main (int argc, char *argv[])
> >{
> > GtkWidget *window;
> > gtk_init (&argc, &argv);
> > window =3D gtk_window_new (GTK_WINDOW_TOPLEVEL);
> > g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL=
);
> > gtk_widget_show (window);
> > gtk_main ();
> > return 0;
> >}
> >
> >$ gcc $(pkg-config --cflags gtk+-3.0) -o window-default
> >window-default.c $(pkg-config --libs gtk+-3.0)
> >
> >Now start the X server and give the following commands in an xterm
> >window running a bash shell:
> >
> >$ eval $(dbus-launch --sh-syntax) # this starts a dbus daemon
> >
> >$ ./window-default.exe &
> >
> >Under cygwin-1.7.28, the empty window pops up immediately. Under the
> >latest snapshot, there's a long delay, after which the following message
> >appears in the xterm window:
> >
> >** (window-default:10812): WARNING **: Error retrieving accessibility
> >bus address: org.freedesktop.DBus.Error.NoReply: Did not receive a
> >reply. Possible causes include: the remote application did not send a
> >reply, the message bus security policy blocked the reply, the reply
> >timeout expired, or the network connection was broken.
> >
> >After another delay, the following additional messages appear, and the
> >empty window pops up:
> >
> >Error creating proxy: Error calling StartServiceByName for
> >org.gtk.vfs.Daemon: Timeout was reached (g-io-error-quark, 24)
> >
> >(window-default:1556): GVFS-CRITICAL **: fill_mountable_info: assertion
> >`proxy !=3D NULL' failed
> >
> >I did a little debugging in gdb and found that the first delay is caused
> >by a timeout in a call to "dbus_connection_send_with_reply_and_block"
> >(defined in dbus-connection.c in the dbus sources). This in turn is
> >called by "get_accessibility_bus_address_dbus" in atspi-misc.c in the
> >at-spi2-core sources. I think the second delay is also caused by a
> >timeout in a call to the same function, this time coming from gvfs, but
> >I don't remember for sure any more.
> >
> >I hope someone who knows about glib and dbus (Yaakov?) can help at this
> >point.
>=20
> One further detail: An strace of window-default shows the same two
> exceptions that I saw in the emacs straces. These presumably
> correspond to the two delays mentioned above. I tried stepping
> through dbus_connection_send_with_reply_and_block to see if I could
> see where the exceptions were coming from, but I couldn't.
This exception is expected, if some pthread function uses an
uninitialized object and usually non-critical.
I'm looking into this myself and I really don't grok this. I'm
inclined to revert to VEH and be done with it.
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJTJyaZAAoJEPU2Bp2uRE+gmDIP/0LrP0N0rr0RC2O8wmB/HztE
M0Gs38G8cObQVSU9FxZ2UG+/SWDQqor34T8dH/MBQe+FJAGTfrfRN7SqPU8UOD9r
oRtmEIodoEmRuSnO0rUDoS8tm28zlVvsQFwjdwvQIs4Wettk51/btlmHv+Bd9BX4
6T8b9vkDSIAquyMsFJbHdo1GdU7NhC0xKHU36Ol3CQVHtGzoteQJPlUqtMZqPXMF
sRVkqmnosF4Vntw8KkaJ1s+ZcL45as6WRw1U6OrX+08l3X17gxxkO3VY0MWcejWm
cd0fD6vwDPpcKZQ0efdBzipCHXgs/Nouduai3ZlvkxqDKP0OZzKkLrLsmrISfCXF
7OS4zJULL/WCs8fWIr48SQ0kxc2xioOs5gXjibrujbYIGprAyU1fDQKBWrW+/5Vk
bwuq3EFrzRS8OLEiwr468/xPipjGrsnCyjzYiE+wgoQp5ZXTPav6DCVfSlfkkSMv
Y3ieoLEaCyHFwCWIRqqKcM/uD7ZEbuedHn5nyyHgbpfXSF+ieQmdhhKgC2HBJCBS
/PneQVCWe/SXWVhIs3c1/7uB5S7enkAiYkDMoywsXv/0T2zIIgHETZHP8QOSnhsw
XgOcc8LDw7gDGmStRpGuaoUeX6yzCGca0c/byIKa5zhP3a3qNeVf6OlseH+x5/zd
d2+Vq2lXSExjDr298NCW
=zs1f
-----END PGP SIGNATURE-----
--CE+1k2dSO48ffgeK--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |