This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Doing vfork: resource temporarily unavailable
- From: Sebastien Vauban <sva-news at mygooglest dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 20 May 2015 12:08:53 +0200
- Subject: Doing vfork: resource temporarily unavailable
- Authentication-results: sourceware.org; auth=none
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