From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1131: Fwd: [Aquamacs-bugs] problem with comint Date: Thu, 9 Oct 2008 10:27:12 -0400 Message-ID: <7347CCDD-F951-40B7-8988-C7ABF26A149E@gmail.com> References: Reply-To: David Reitter , 1131@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: multipart/signed; boundary=Apple-Mail-12-442096858; micalg=sha1; protocol="application/pkcs7-signature" X-Trace: ger.gmane.org 1223563878 12790 80.91.229.12 (9 Oct 2008 14:51:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 14:51:18 +0000 (UTC) Cc: Eric Tytell To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 16:52:14 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnwrS-0001Sv-Dh for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 16:51:33 +0200 Original-Received: from localhost ([127.0.0.1]:44664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnwqL-00053W-Li for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 10:50:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Knwq6-0004wA-CM for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 10:50:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Knwq3-0004rU-E5 for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 10:50:06 -0400 Original-Received: from [199.232.76.173] (port=58919 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Knwq3-0004rH-7f for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 10:50:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54871) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Knwq1-0000Ba-QG for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 10:50:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m99EnvxS027456; Thu, 9 Oct 2008 07:49:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m99EZ3mh023984; Thu, 9 Oct 2008 07:35:03 -0700 X-Loop: don@donarmstrong.com Resent-From: David Reitter Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Oct 2008 14:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1131 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122356244422638 (code B ref -1); Thu, 09 Oct 2008 14:35:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 9 Oct 2008 14:27:24 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m99ERJle022632 for ; Thu, 9 Oct 2008 07:27:21 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:41981 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KnwRi-000472-ML for emacs-pretest-bug@gnu.org; Thu, 09 Oct 2008 10:24:55 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KnwU1-0002eB-0u for emacs-pretest-bug@gnu.org; Thu, 09 Oct 2008 10:27:18 -0400 Original-Received: from yx-out-1718.google.com ([74.125.44.156]:41856) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnwU0-0002dh-JS for emacs-pretest-bug@gnu.org; Thu, 09 Oct 2008 10:27:16 -0400 Original-Received: by yx-out-1718.google.com with SMTP id 34so9759yxf.66 for ; Thu, 09 Oct 2008 07:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :content-type:mime-version:subject:date:references:x-mailer; bh=lRBRLnktfDsZ/iYgbqqPoU912fIABp4DlKHIWLajAKg=; b=UO+WZqfilx24DQ1zaC04nQhJMJadKoqldn+JA5Jvd304BtySttk2t4mlydmE+01w6g z+Giy8ZnbwBeyitjBZienQC7bQkx5PGl7SkuFNPFGzNPXgFEFypVqAPnohC4By+Pc7EQ 60WHZLm2y3mDII4RLlTRSXZ+j0qEqwv5LdW1g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:content-type:mime-version:subject:date :references:x-mailer; b=IfF0mdjCO4AsTwOuIjx/f6ndqGU7vv6rngNdwlnOsi5Kp6VJxz4StkcmWFENb04lZu DpblIH6IJWM5ixlPe83NTo71mQrSGZ/bXohwkOSE2KgvEXRVJ+P9gsmduaPzzX+pveGy XwVBU/+almvn+1zeHTcu6SSu8OXP5SjrjkmqI= Original-Received: by 10.100.34.16 with SMTP id h16mr244105anh.86.1223562435175; Thu, 09 Oct 2008 07:27:15 -0700 (PDT) Original-Received: from SCARLETT.PSY.CMU.EDU (SCARLETT.PSY.CMU.EDU [128.2.249.106]) by mx.google.com with ESMTPS id d21sm25056435and.0.2008.10.09.07.27.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Oct 2008 07:27:13 -0700 (PDT) X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 09 Oct 2008 10:50:06 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21328 gmane.emacs.pretest.bugs:23190 Archived-At: --Apple-Mail-12-442096858 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit See below. I've reproduced this once with a current 22 branch CVS build (Carbon), as well as with 22.1 (with -nw), but can't reproduce today, so no backtrace. According to Eric, it appears to still be an issue in Emacs 23 ("Emacs.app"), and there seems to be a very long (15 minute) timeout. Begin forwarded message: > From: "Eric Tytell" > Date: 8 October 2008 17:37:26 EDT > To: aquamacs-bugs@aquamacs.org > Subject: [Aquamacs-bugs] problem with comint > > Enter your bug report here. > > I had been using Aquamacs with Matlab, using the Matlab EmacsLink > interface, > which allows debugging of Matlab scripts in Emacs. Up until > yesterday, the > interface was working fine. Today, it crashes Aquamacs. I've > tracked down > the problem to this line (which seems to be unrelated to Matlab): > > (make-comint "MATLAB EEI" (cons (system-name) 5600)) > > which (according to the docs for make-comint) is supposed to open a > TCP > connection to the local computer on port 5600. This displays "loading > comint..." in the minibuffer, then the mouse cursor turns into the > spinning > wheel and Aquamacs stops responding. I have to kill it using "Force > Quit". > I'm at a loss as to how to debug this further. It's probably > something > related to my system, but I don't know the details of how Aquamacs > handles > TCP connections to figure anything more out. > > Any thoughts? > Cheers, > Eric Tytell > > > In GNU Emacs 22.3.2 (i386-apple-darwin9.5.0, Carbon Version 1.6.0) > of 2008-09-21 on plume.sr.unh.edu - Aquamacs Distribution 1.5 > Windowing system distributor `Apple Inc.', version 10.5.5 > configured using `configure '--without-x' '--prefix=/usr/local'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: nil > locale-coding-system: iso-8859-1 > default-enable-multibyte-characters: t > > Major mode: Text > > Minor modes in effect: > savehist-mode: t > smart-frame-positioning-mode: t > global-visual-line-mode: t > visual-line-mode: t > recentf-mode: t > encoded-kbd-mode: t > osx-key-mode: t > tabbar-mwheel-mode: t > tabbar-mode: t > show-paren-mode: t > delete-selection-mode: t > pc-selection-mode: t > cua-mode: t > tooltip-mode: t > tool-bar-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > unify-8859-on-encoding-mode: t > utf-translate-cjk-mode: t > auto-compression-mode: t > column-number-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > > > A-c > > > C-h > f m a k e - c o m i n C-x > C-f C-g C-h f o p e n n e t > C-x b C-g C-h f m a k e - c o m > i > > > > > Recent messages: > Sending... > Loading mailclient...done > Loading browse-url...done > Sending...done > Truncate long lines disabled > Mark set [2 times] > Sending...done > Making completion list... [2 times] > Quit [2 times] > Making completion list... [2 times] > > Command line: (/Applications/Aquamacs Emacs.app/Contents/MacOS/ > Aquamacs > Emacs) > > PATH: > /opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/ > Versions/Current/bin:/Users/eric/bin:/usr/bin:/bin:/usr/sbin:/sbin:/ > usr/local/bin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin > > exec-path: (/opt/local/bin /opt/local/sbin > /Library/Frameworks/Python.framework/Versions/Current/bin /Users/ > eric/bin > /usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/X11/bin /usr/bin / > bin > /usr/sbin /sbin /Applications/Aquamacs Emacs.app/Contents/MacOS/ > libexec > /Applications/Aquamacs Emacs.app/Contents/MacOS/bin) Begin forwarded message: > From: "Eric Tytell" > Date: 9 October 2008 10:06:51 EDT > To: "aquamacs-bugs@aquamacs.org Bugs" > Subject: Re: [Aquamacs-bugs] problem with comint > > Hi David - > In the documentation on my system for make-comint, it states that > it can > take two types of "program" arguments: either an executable program, > or a > cons pair, like the one I passed, with the form (HOST . SERVICE), > which will > open a TCP connection via open-network-stream. > > After a little more fiddling yesterday, I found that it doesn't crash > Aquamacs -- after about 15min, the lisp debugger kicks in and > returns an > error. Here's the full stack trace: > > Debugger entered--Lisp error: (file-error "make client process failed" > "connection refused" :name "MATLAB EEI" :buffer # EEI*> :host > "hedgehog.local" :service 5600) > make-network-process(:name "MATLAB EEI" :buffer # EEI*> > :host "hedgehog.local" :service 5600) > open-network-stream("MATLAB EEI" # > "hedgehog.local" > 5600) > comint-exec(# "MATLAB EEI" ("hedgehog.local" . > 5600) > nil nil) > make-comint-in-buffer("MATLAB EEI" nil ("hedgehog.local" . 5600) nil) > apply(make-comint-in-buffer "MATLAB EEI" nil ("hedgehog.local" . > 5600) nil > nil) > make-comint("MATLAB EEI" ("hedgehog.local" . 5600)) > eval((make-comint "MATLAB EEI" (cons (system-name) 5600))) > > In the end, I think it's not a problem with Aquamacs, specifically -- > Emacs.app has precisely the same issue. It's most likely something > about my > system. > > But any help you can provide in debugging this issue would be > excellent. > > Cheers, > Eric --Apple-Mail-12-442096858 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFxDCCAn0w ggHmoAMCAQICEEfSZyInpN9bVdFPsdICbiIwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0a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