FWIW, I checked out rev 5835:e24390bd4235, which is the version just before Jerry James "Fix gnuserv file descriptor leak.".  I don't have problems with gnuclient anymore.

Also, checking out 1044acf60048 (which reverted part of Jerry's change) also works. I don't understand why tip doesn't work though.

But for what I need (a working gnuclient), 1044acf60048 is good enough for now.

On Wed, Apr 12, 2017 at 3:45 PM, Raymond Toy <toy.raymond@gmail.com> wrote:
(setq debug-process-io 1) helps a lot.  I see now that when I press Done, gnuserv fails in send_string with a bad file descriptor.  In my case the descriptor is 5.

On Wed, Apr 12, 2017 at 8:39 AM, Raymond Toy <toy.raymond@gmail.com> wrote:
I built the ToT version on Ubuntu 14.04 and everything seems to be working fine except for one thing.

I start xemacs, and the M-x gnuserv-start.  In a terminal, I run "gnuclient file".  Edit the file in a new window as usual and press the Done button.  Window is closed and everything seems fine, but in the main xemacs window, the minibuffer says that gnuserv exited and to M-x gnuserv-start again.

This didn't used to happen.  Can't figure out why gnuserv is exiting in this way.  Any tips on figuring this out?

--
R
​ay​




--
Ray



--
Ray