public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Tried to fix  "Doing vfork: resource temporarily unavailable" error with Emacs, now can't start X server
@ 2011-04-17 22:30 David M. Karr
  2011-04-18 12:13 ` Ken Brown
  0 siblings, 1 reply; 3+ messages in thread
From: David M. Karr @ 2011-04-17 22:30 UTC (permalink / raw)
  To: cygwin-xfree

Cygwin 1.7.8 (and 1.7.9), Win7SP1.

I was having issues with my Emacs startup occasionally failing with  
"Doing vfork: resource temporarily unavailable".  I found a link that 
alleged to have the solution to this 
(http://blog.cottee.org/2008/05/cygwin-emacs-problems.html).

I followed these steps, although when I looked at "libncurses7", I saw 
it was set to "Skip", and that I had versions 8, 9, and 10.  So, I set 
those to reinstall and continued the update.  It also updated some other 
things, including updating me from Cygwin 1.7.8 to 1.7.9.

Now, when I run "startxwin", it chugs for a bit and then presents an 
error dialog saying "Failed to activate core devices".  The log file 
contents follows this.  It fails like this every time now.
-----------------------------------
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.10.0.0
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601]
Package version 1.10.0-1 built 2011-03-15

XWin was started with the following command line:

X :0 -multiwindow

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1080
winInitializeDefaultScreens - native DPI x 96 y 96
[    46.020] (II) xorg.conf is not supported
[    46.020] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for 
more information
[    46.020] LoadPreferences: /home/David/.XWinrc not found
[    46.020] LoadPreferences: Loading /etc/X11/system.XWinrc
[    46.020] LoadPreferences: Done parsing the configuration file...
[    50.419] winDetectSupportedEngines - DirectDraw installed, allowing 
ShadowDD
[    50.419] winDetectSupportedEngines - Windows NT, allowing PrimaryDD
[    50.419] winDetectSupportedEngines - DirectDraw4 installed, allowing 
ShadowDDNL
[    50.466] winDetectSupportedEngines - Returning, supported engines 
0000001f
[    50.466] winSetEngine - Multi Window or Rootless => ShadowGDI
[    50.466] winScreenInit - Using Windows display depth of 32 bits per 
pixel
[    50.466] winAllocateFBShadowGDI - Creating DIB with width: 1920 
height: 1080 depth: 32
[    50.466] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[    50.466] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff 
BPRGB 8 d 24 bpp 32
[    50.466] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[    50.466] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[    50.466] Screen 0 added at virtual desktop coordinate (0,0).
[    52.541] MIT-SHM extension disabled due to lack of kernel support
[    52.541] XFree86-Bigfont extension local-client optimization 
disabled due to lack of shared memory support in the kernel
[    53.102] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
[    53.102] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    53.165] [dix] Could not init font path element 
/usr/share/fonts/OTF/, removing from list!
[    53.165] [dix] Could not init font path element 
/usr/share/fonts/Type1/, removing from list!
[    53.523] (EE) XKB: Could not invoke xkbcomp
[    53.523] (EE) XKB: Couldn't compile keymap
[    53.523] (EE) XKB: Failed to load keymap. Loading default keymap 
instead.
[    53.633] (EE) XKB: Could not invoke xkbcomp
[    53.633] (EE) XKB: Couldn't compile keymap
[    53.633] XKB: Failed to compile keymap
[    53.633] Keyboard initialization failed. This could be a missing or 
incorrect setup of xkeyboard-config.
[    53.633]
Fatal server error:
[    53.633] Failed to activate core devices.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


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

* Re: Tried to fix  "Doing vfork: resource temporarily unavailable" error with Emacs, now can't start X server
  2011-04-17 22:30 Tried to fix "Doing vfork: resource temporarily unavailable" error with Emacs, now can't start X server David M. Karr
@ 2011-04-18 12:13 ` Ken Brown
  2011-04-21  1:02   ` David M. Karr
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Brown @ 2011-04-18 12:13 UTC (permalink / raw)
  To: cygwin-xfree

On 4/17/2011 6:30 PM, David M. Karr wrote:
> Cygwin 1.7.8 (and 1.7.9), Win7SP1.
>
> I was having issues with my Emacs startup occasionally failing with
> "Doing vfork: resource temporarily unavailable".  I found a link that
> alleged to have the solution to this
> (http://blog.cottee.org/2008/05/cygwin-emacs-problems.html).

The advice about libncurses on that page is obsolete.  It applied to old 
versions of emacs.  The suggestion of running rebaseall is good but...

> I followed these steps, although when I looked at "libncurses7", I saw
> it was set to "Skip", and that I had versions 8, 9, and 10.  So, I set
> those to reinstall and continued the update.  It also updated some other
> things, including updating me from Cygwin 1.7.8 to 1.7.9.

you should try rebaseall now.

Ken

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


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

* Re: Tried to fix  "Doing vfork: resource temporarily unavailable" error with Emacs, now can't start X server
  2011-04-18 12:13 ` Ken Brown
@ 2011-04-21  1:02   ` David M. Karr
  0 siblings, 0 replies; 3+ messages in thread
From: David M. Karr @ 2011-04-21  1:02 UTC (permalink / raw)
  To: cygwin-xfree

On 4/18/2011 5:12 AM, Ken Brown wrote:
> On 4/17/2011 6:30 PM, David M. Karr wrote:
>> Cygwin 1.7.8 (and 1.7.9), Win7SP1.
>>
>> I was having issues with my Emacs startup occasionally failing with
>> "Doing vfork: resource temporarily unavailable".  I found a link that
>> alleged to have the solution to this
>> (http://blog.cottee.org/2008/05/cygwin-emacs-problems.html).
>
> The advice about libncurses on that page is obsolete.  It applied to 
> old versions of emacs.  The suggestion of running rebaseall is good 
> but...
>
>> I followed these steps, although when I looked at "libncurses7", I saw
>> it was set to "Skip", and that I had versions 8, 9, and 10.  So, I set
>> those to reinstall and continued the update.  It also updated some other
>> things, including updating me from Cygwin 1.7.8 to 1.7.9.
>
> you should try rebaseall now.
>
I tried to reply to this a while ago, but it never showed up on the list.

This didn't fix the problem.  I still can't start the X server.  It 
fails with "Failed to activate core devices".

Here is the log output:

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.10.0.0
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601]
Package version 1.10.0-1 built 2011-03-15

XWin was started with the following command line:

X :0 -multiwindow

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1080
winInitializeDefaultScreens - native DPI x 96 y 96
[181003.592] (II) xorg.conf is not supported
[181003.592] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for 
more information
[181003.592] LoadPreferences: /home/David/.XWinrc not found
[181003.592] LoadPreferences: Loading /etc/X11/system.XWinrc
[181003.592] LoadPreferences: Done parsing the configuration file...
[181003.654] winDetectSupportedEngines - DirectDraw installed, allowing 
ShadowDD
[181003.654] winDetectSupportedEngines - Windows NT, allowing PrimaryDD
[181003.654] winDetectSupportedEngines - DirectDraw4 installed, allowing 
ShadowDDNL
[181003.763] winDetectSupportedEngines - Returning, supported engines 
0000001f
[181003.763] winSetEngine - Multi Window or Rootless => ShadowGDI
[181003.763] winScreenInit - Using Windows display depth of 32 bits per 
pixel
[181003.779] winAllocateFBShadowGDI - Creating DIB with width: 1920 
height: 1080 depth: 32
[181003.779] winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
[181003.779] winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff 
BPRGB 8 d 24 bpp 32
[181003.779] winInitMultiWindowWM - Calling pthread_mutex_lock ()
[181003.779] winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
[181003.779] Screen 0 added at virtual desktop coordinate (0,0).
[181003.779] MIT-SHM extension disabled due to lack of kernel support
[181003.794] XFree86-Bigfont extension local-client optimization 
disabled due to lack of shared memory support in the kernel
[181003.826] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
[181003.826] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[181003.841] [dix] Could not init font path element 
/usr/share/fonts/OTF/, removing from list!
[181003.841] [dix] Could not init font path element 
/usr/share/fonts/Type1/, removing from list!
[181003.966] (EE) XKB: Could not invoke xkbcomp
[181003.966] (EE) XKB: Couldn't compile keymap
[181003.966] (EE) XKB: Failed to load keymap. Loading default keymap 
instead.
[181004.091] (EE) XKB: Could not invoke xkbcomp
[181004.091] (EE) XKB: Couldn't compile keymap
[181004.091] XKB: Failed to compile keymap
[181004.091] Keyboard initialization failed. This could be a missing or 
incorrect setup of xkeyboard-config.
[181004.091]
Fatal server error:
[181004.091] Failed to activate core devices.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


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

end of thread, other threads:[~2011-04-21  1:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-17 22:30 Tried to fix "Doing vfork: resource temporarily unavailable" error with Emacs, now can't start X server David M. Karr
2011-04-18 12:13 ` Ken Brown
2011-04-21  1:02   ` David M. Karr

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