On 2016-07-23 16:50, Clément Pit--Claudel wrote: > On 2016-07-21 10:21, Eli Zaretskii wrote: >>> […] >> Thanks. I think the evidence and the profiling data you presented >> quite clearly indicate where the problem is. So I think the efforts >> should now be directed towards reproducing bug#17125 and then solving >> it in some other way that doesn't suffer from performance problems. > > I have tried the recipe posted in 17125, but I cannot reproduce it (despite having reverted af1a69f4d17a482c359d98c00ef86fac835b5fac). > Dmitry, is this the right recipe? > > $ emacs -no-site-file -no-init-file --daemon=test > > Warning: due to a long standing Gtk+ bug > http://bugzilla.gnome.org/show_bug.cgi?id=85715 > Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. > Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. > Starting Emacs daemon. > > $ emacsclient -nc -s test > (exit with C-x 5 0) > > $ emacsclient -nc -s test > (exit with C-x 5 0) > > $ emacsclient -nc -s test > (exit with C-x 5 0) Ping on this? I'd love to help fix this bug, but I can reproduce it. Clément.