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:reply-to:to:message-id:subject :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=gOCHaKBJew2rXwzxv5PL++mjiPKBBsjrB5neEdzP76PRvdy7e/giY TnNh8zqAdQTQ+ziC2MpKm+k8DKawF6aQmfDo53TscZSArS0yX5oEXC+R5IU4izAb zYWkFHvFskO9yYmVNEdfTD0bV5Tejh/mWqPxyqKfOrP/8fy+m1AWsQ= 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:reply-to:to:message-id:subject :mime-version:content-type:content-transfer-encoding; s=default; bh=+SOF/7YzjLcRpSPsmQFA8w5Oegw=; b=MhOSpf9+JtJ9l0E+1OUGW2WCLwMZ pW1YxWxkEMk+uKwSkT66t4Cysuioy4FKXq2/Z0Q7oaphO1c/Qu5zniDTPtn2469v Qq5BxgNJyUjlacfg9Z6Fcuq0Ryur3yP1bNh9Dl5WuqY+accc+nQ9/XbVZnLIx2M0 u3LOcRBAQQFfUlE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-0.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: nm30-vm0.bullet.mail.bf1.yahoo.com Date: Wed, 9 Sep 2015 18:53:58 +0000 (UTC) From: Michael Mauger Reply-To: Michael Mauger To: "cygwin AT cygwin DOT com" Message-ID: <185304631.3899945.1441824838587.JavaMail.yahoo@mail.yahoo.com> Subject: Cygwin process handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit We had discussions about this back in May and a solution was put in place and it has helped. However, I am still seeing intermittent hanging when GNU Emacs (emacs-w32) is interacting with back-end GNU Linux systems. I run bash shell sessions in GNU Emacs buffers and SQL sessions on remote hosts thru Emacs buffers as well. I see progress hanging on save operations, using the "with-editor" MELPA add-in (opens a Emacs buffer tied to a remote file from within a Emacs bash session), and remote logins created to start a sqlplus session. I send a SIGUSR2 to the Emacs session to get it's attention, and the backtrace generally looks like ("xyzmachine" is an obvious replacement for the actual server name): accept-process-output(# 1 nil t) byte-code("\306^H\206^F^@\307\310\311#\211^Y\nB^Z\312\216\313^K^H\f^M\205^Y^@\314$+\207" [timeout -with-timeout-timer- with-timeout-timers p timeout-msecs proc run-with-timer 1 nil #[nil "\300\301\211\"\207" [throw timeout] 3] ((cancel-timer -with-timeout-timer-)) accept-process-output t] 6) tramp-accept-process-output(# 1) tramp-wait-for-regexp(# nil "\\(^\\|^@\\)[^#$\n]*///c9cdf3c04442cbe5185fcf9c69da1204#\\$^M?$") tramp-wait-for-output(#) Timeouts don't seem to get it's attention. Sometimes C-g C-g C-g works, but not always. I realize I need to be more specific but it is happening only occasionally and usually when I'm under work deadline pressure. This is happening on my work PC (my home PC runs Fedora and I've seen no such behavior, but I don't do as much remote processing in that environment) so recompiling and debugging options are limited. My intent was only to make others aware that I am still seeing some unexpected behavior in a fairly normal GNU Emacs work flow, and hope that someone else can pipe in with "Me, too!" and "Here's how to fix it!" :) Let me know if there is anything else I can do to help you understand the issue further. -- MICHAEL MAUGER // FSF Member // GNU Emacs sql-mode maintainer // GNU Linux, GNU Emacs, OwnCloud Please no MS Word attachments (I don't pay MS; they don't own my computer) http://www.gnu.org/philosophy/no-word-attachments.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple