unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1131: Fwd: [Aquamacs-bugs] problem with comint
       [not found] <e5df4aae0810081437v7eab0eb9le94edba3afe68e5@mail.gmail.com>
@ 2008-10-09 14:27 ` David Reitter
  0 siblings, 0 replies; 2+ messages in thread
From: David Reitter @ 2008-10-09 14:27 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: Eric Tytell

[-- Attachment #1: Type: text/plain, Size: 6159 bytes --]

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" <tytell@umd.edu>
> 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:
> <menu-bar> <help-menu> <bug-diagnosis> <start-vanilla-aquamacs>
> <down-mouse-1> <mouse-movement> <mouse-movement> <mouse-movement>
> <mouse-movement> <drag-mouse-1> A-c <menu-bar> <help-menu>
> <bug-diagnosis> <send-emacs-bug-report> <menu-bar>
> <help-menu> <bug-diagnosis> <send-emacs-bug-report>
> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> C-h
> f m a k e - c o <tab> m <tab> i n <tab> <return> C-x
> C-f C-g C-h f o p e n <tab> n e t <tab> <return> <down-mouse-1>
> <mouse-1> C-x b C-g C-h f m a k e - c o <tab> m <tab>
> i <tab> <return> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <up> <up> <down> <down>
> <down> <switch-frame> <menu-bar> <help-menu> <bug-diagnosis>
> <send-emacs-bug-report>
>
> 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" <tytell@umd.edu>
> Date: 9 October 2008 10:06:51 EDT
> To: "aquamacs-bugs@aquamacs.org Bugs" <aquamacs-bugs@aquamacs.org>
> 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 #<buffer *MATLAB  
> EEI*> :host
> "hedgehog.local" :service 5600)
>  make-network-process(:name "MATLAB EEI" :buffer #<buffer *MATLAB  
> EEI*>
> :host "hedgehog.local" :service 5600)
>  open-network-stream("MATLAB EEI" #<buffer *MATLAB EEI*>  
> "hedgehog.local"
> 5600)
>  comint-exec(#<buffer *MATLAB EEI*> "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



[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1131: Fwd: [Aquamacs-bugs] problem with comint
@ 2009-03-06 19:36 Adrian Robert
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Robert @ 2009-03-06 19:36 UTC (permalink / raw)
  To: 1131; +Cc: David Reitter, Eric Tytell

Hello,

Does this issue still exist in emacs-23?  Can it be reproduced in any  
simple manner without access to Matlab?  Does it exist on an X11  
build of Emacs on Mac OS X?

If I try just

(make-comint "MATLAB EEI" (cons (system-name) 5600))

on Emacs.app on my system, with nothing listening on 5600 (but not a  
packet-dropping firewall either), I quickly get a lisp error about  
'(file-error "make client process failed" ...'.

thanks,
Adrian







^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-06 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <e5df4aae0810081437v7eab0eb9le94edba3afe68e5@mail.gmail.com>
2008-10-09 14:27 ` bug#1131: Fwd: [Aquamacs-bugs] problem with comint David Reitter
2009-03-06 19:36 Adrian Robert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).