delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/20/06:09:37

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:to:from:subject:date:message-id:mime-version
:content-type; q=dns; s=default; b=WLwBdFK3s/40s9ZSTVOr3zaH83bes
2JF5234VjarX39BJ3jiHn3tohcJRAqo8DXuZOb0ENqZuTUL10LhxymI/fGqG5RwR
lD96QP08bpU6/7Etn+cTIxchfXS/K1XIGd4BcHyeStjPER0X3r4FPBIguzGo7cOj
9TLmPQSlgecjA4=
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:to:from:subject:date:message-id:mime-version
:content-type; s=default; bh=iS6mm+tyFp7QXfgtaPm8Vf5YUDA=; b=EXS
KbwXpnxFpmEZ3G6PDR6xJm3aVZNJTFWh3iM+YTJ3h6vAi1OufyYa+tpbzHptVB/g
eqTIgAprM6GPd7iDAYfUC/AanQRFRWiptlqOaM14RpZDsmnAwP3qm8ObbpVJz3Z+
huqE/mJILQTZDKur+mzgROexxLx6n6Fr+Bg4Fgfk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.5 required=5.0 tests=AWL,BAYES_00,LIKELY_SPAM_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Sebastien Vauban <sva-news AT mygooglest DOT com>
Subject: Doing vfork: resource temporarily unavailable
Date: Wed, 20 May 2015 12:08:53 +0200
Lines: 62
Message-ID: <86pp5vlfwq.fsf@example.com>
Mime-Version: 1.0
X-Url: Under construction...
X-Archive: encrypt
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt)
X-IsSubscribed: yes

Hello,

When launching Cygwin Emacs 24.5 [1] with my standard `.emacs' file
(which I successfully use with Windows Emacs 24.5 and 25.0), I have
"Doing vfork: resource temporarily unavailable" errors.

I had to disable the following block of code to allow Cygwin Emacs to go
to the end of its startup:

--8<---------------cut here---------------start------------->8---
  (require 'server)
  (with-eval-after-load "server"

    ;; Test whether Emacs server is running.  If not, start it.
    (or (equal (server-running-p) t)
        (server-start))

    ;; Save file without confirmation before returning to the client.
    (defadvice server-edit (before save-buffer-if-needed activate)
      "Save current buffer before marking it as done."
      (when server-buffer-clients (save-buffer))))
--8<---------------cut here---------------end--------------->8---

Still, I do have errors popping up when further using Cygwin Emacs, such
as:

--8<---------------cut here---------------start------------->8---
dired-insert-directory: Doing vfork: resource temporarily unavailable
--8<---------------cut here---------------end--------------->8---

Any idea what's causing this?

Note that I see as well messages in the terminal:

--8<---------------cut here---------------start------------->8---
      1 [main] emacs-w32 235400 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x19E0000)
      2 [main] emacs-w32 235352 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x19E0000)
      1 [main] emacs-w32 234212 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x1930000)
Failed to connect to socket /tmp/fam-Fabrice/fam-

(process:85276): GLib-GIO-WARNING **: FAMOpen failed, FAMErrno=3

      1 [main] emacs-w32 85364 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x19C0000)
      1 [main] emacs-w32 85692 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x1900000)
      1 [main] emacs-w32 85664 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x1950000)
      2 [main] emacs-w32 85376 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x1950000)
      1 [main] emacs-w32 235660 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x1950000)
      2 [main] emacs-w32 235608 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x1920000)
      1 [main] emacs-w32 85752 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x1910000)
      1 [main] emacs-w32 236016 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x1970000)
      1 [main] emacs-w32 236008 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x19C0000)
      1 [main] emacs-w32 235996 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x19F0000)
      2 [main] emacs-w32 236100 child_info_fork::abort: C:\cygwin\bin\cyggs-9.dll: Loaded to different address: parent(0x1710000) != child(0x1980000)
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

[1] GNU Emacs 24.5.1 (i686-pc-cygwin) of 2015-04-10 on desktop-new.

-- 
Sebastien Vauban


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019