unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Fabrice Popineau <fabrice.popineau@gmail.com>
Cc: openmcl-devel@clozure.com, emacs-devel@gnu.org
Subject: Re: Stuck with a strange emacs / openmcl problem
Date: Thu, 04 Dec 2014 08:42:56 +0200	[thread overview]
Message-ID: <831tof6hlb.fsf@gnu.org> (raw)
In-Reply-To: <CAFgFV9Pdoqqm40tfnJb3B7gOgsLE2AptRXtnzsxVy1pqCm1eWQ@mail.gmail.com>

> From: Fabrice Popineau <fabrice.popineau@gmail.com>
> Date: Wed, 3 Dec 2014 23:32:34 +0100
> 
> Emacs 24.4 W32/W64
> 
> I'm trying to run Clozure Common Lisp under Emacs / Slime.
> Slime lauches CCL and starts the Swank server.
> When the process is started by Emacs, I get an error with this backtrace :
> 
> ? ;Loading #P"c:/Home/.emacs.d/vendor/slime/swank-loader.lisp"...
> > Error: Le fournisseur de services demandé n’a pas pu être chargé ou
> initialisé. (error #10106) during socket creation operation in socket

For French-challenged people, this message in English means "The
requested service provider could not be loaded or initialized."

> > While executing: SOCKET-ERROR, in process listener(1).
> > Type :POP to abort, :R for a list of available restarts.
> > Type :? for other options.
> 1 > :b
> (223996E8) : 0 (SOCKET-ERROR NIL "socket" 10106 NIL) 1133
> (22399750) : 1 (MAKE-TCP-SOCKET :CONNECT :PASSIVE :LOCAL-PORT 0 :LOCAL-HOST
> "127.0.0.1" :REUSE-ADDRESS T :BACKLOG 5) 429
> (223997D8) : 2 (MAKE-SOCKET :CONNECT :PASSIVE :LOCAL-PORT 0 :LOCAL-HOST
> "127.0.0.1" :REUSE-ADDRESS T :BACKLOG 5) 965
> 
> The same thing works if I run OpenCL from the console.
> How the fact that the process is run from Emacs could 
> result in an error from make-tcp-socket ?
> Conflict with the winsock2 dll which is loaded by both process ?

Does this happen in "emacs -Q"?  Do you have an emacs-server running?

> I have tried many combinations of CCL and emacs :
> - Emacs 24.4 32 bits (GNU version)
> - Emacs 24.4 64 bits (my version)
> - OpenCL 64 bits (official 1.10 version)
> - OpenCL 64 bits (compiled by me with the same toolchain used to compile Emacs)
> - OpenCL 32 bits
> 
> I couldn't find a working version. Any idea on how to hunt this ?

If "emacs -Q" shows the same problem, I'd suggest using SysInternals
tools to find what exactly happens and why.  ProcessExplorer and
ProcessMonitor come to mind.




  reply	other threads:[~2014-12-04  6:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03 22:32 Stuck with a strange emacs / openmcl problem Fabrice Popineau
2014-12-04  6:42 ` Eli Zaretskii [this message]
2014-12-04  9:45   ` Fabrice Popineau
2014-12-04  9:56     ` Eli Zaretskii
2014-12-04 15:24       ` Fabrice Popineau
2014-12-04 15:55         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831tof6hlb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=fabrice.popineau@gmail.com \
    --cc=openmcl-devel@clozure.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).