This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Computer upgrade breaks CYGWIN X


I've used CYGWIN for years.  Recently upgraded from a single processor XP system to a multiprocessor Win 7 32 system.  Can't get X running decently at all.  Installed and re-installed CYGWIN several times.  Saw some threads about using rebaseall to solve some similar problems but none of the command sequences help.  Here is the log of my last attempt to get it operating.

rm3@mcbroomrc2 ~
$ /bin/startxwin.exe

giving up.
/bin/startxwin:  Connection refused (errno 111):  unable to connect to X server
/bin/startxwin:  No such process (errno 3):  Server error.

Weird, yesterday I could at least start the server!! The stackdump is

Exception: STATUS_ACCESS_VIOLATION at eip=77905EEE
eax=002C0000 ebx=002C2A24 ecx=76DE1CD4 edx=0000003B esi=0801FFFA edi=002C29E8
ebp=0022C954 esp=0022C884 program=C:\cygwin\bin\startxwin.exe, pid 1980, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022C954  77905EEE  (00000374, 00000380, 002C00C4, 0801FFFA)
0022C9D8  77905AE0  (002C0000, 00000000, 00000374, 0022CA28)
0022C9EC  779056C4  (00000374, 76806AA8, 779058B5, 7790572F)
0022CA28  77905886  (0022CA58, 0022CA48, 00000001, 0022CA90)
0022CA68  75BC3481  (0022CA90, 00948625, 00000004, 00928238)
0022CAC8  61024729  (611A8B9F, 611A8B9F, 00000005, 00000000)
0022CAF8  61024899  (00000058, 0000005C, 00000000, 00000000)
0022CB68  610CBBEE  (00000001, 00000000, 00000000, 00000000)
0022CC98  61029D9D  (00403556, 00405350, 00000000, 0022CD14)
0022CCB8  610C3545  (00000000, 000007BC, 00000000, 0040355C)
0022CD28  00401DBE  (61246C0F, 00000000, 0022CD68, 61007038)
0022CD68  61007038  (00000000, 0022CDA4, 61006980, 7FFFF000)
End of stack trace

rm3@mcbroomrc2 ~
$ ls /bin/st*
/bin/startx          /bin/stat.exe    /bin/stow        /bin/strings.exe
/bin/startxdmcp.bat  /bin/states.exe  /bin/strace.exe  /bin/strip.exe
/bin/startxwin.exe   /bin/stg         /bin/stream.exe  /bin/stty.exe

Try startx

rm3@mcbroomrc2 ~
$ /bin/startx
xauth:  creating new authority file /home/rm3/.serverauth.744
xauth:  creating new authority file /home/rm3/.Xauthority
xauth:  creating new authority file /home/rm3/.Xauthority

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.10.3.0
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win32)
Package: version 1.10.3-1 built 2011-07-19

XWin was started with the following command line:

/usr/bin/X :0 -auth /home/rm3/.serverauth.744

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /home/rm3/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
winDetectSupportedEngines - Windows NT, allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0000001f
winSetEngine - Using Shadow DirectDraw NonLocking
winScreenInit - Using Windows display depth of 32 bits per pixel
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
Screen 0 added at virtual desktop coordinate (0,0).
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
winPointerWarpCursor - Discarding first warp: 836 512
(--) 3 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) Windows keyboard layout: "00000409" (00000409) "US", type 4
(--) Found matching XKB configuration "English (USA)"
(--) Model = "pc105" Layout = "us" Variant = "none" Options = "none"
Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none"
winBlockHandler - pthread_mutex_unlock()
winClipboardProc - DISPLAY=:0.0
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
      0 [main] xterm 1488 exception::handle: Exception: STATUS_ACCESS_VIOLATION
    409 [main] xterm 1488 open_stackdumpfile: Dumping stack trace to xterm.exe.stackdump
      0 [main] xterm 3996 exception::handle: Exception: STATUS_ACCESS_VIOLATION
Exception: STATUS_ACCESS_VIOLATION at eip=6102048B
eax=00B600F8 ebx=61244AA4 ecx=75BA7BBE edx=002C6118 esi=00000000 edi=0022FA10
ebp=61020C00 esp=0022C7E0 program=C:\cygwin\bin\xterm.exe, pid 3996, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
End of stack trace
      0 [main] xterm 3456 exception::handle: Exception: STATUS_ACCESS_VIOLATION
    475 [main] xterm 3456 open_stackdumpfile: Dumping stack trace to xterm.exe.stackdump
      0 [main] xterm 4336 exception::handle: Exception: STATUS_ACCESS_VIOLATION
    333 [main] xterm 4336 open_stackdumpfile: Dumping stack trace to xterm.exe.stackdump
      1 [main] xterm 4124 exception::handle: Exception: STATUS_ACCESS_VIOLATION
   1080 [main] xterm 4124 open_stackdumpfile: Dumping stack trace to xterm.exe.stackdump

This is really weird, TWM not multiwindow!! The stackdump is

Exception: STATUS_ACCESS_VIOLATION at eip=6102048B
eax=009700F8 ebx=61244AA4 ecx=75BA7BBE edx=00256118 esi=00000000 edi=0022FA10
ebp=61020C00 esp=0022C7E0 program=C:\cygwin\bin\xterm.exe, pid 4124, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
End of stack trace
 
  Use EMACS a lot to prepare inputs and manage files.  Occasionally the directory is loaded from dired but usually the message 

Doing vfork: resource temporarily unavailable

is shown.  Followed some threads on vfork but they seem to be dated and are not really what I'm seeing. Some error output is shown in the calling terminal window

rm3@mcbroomrc2 ~
$       1 [main] emacs-X11 5540 C:\cygwin\bin\emacs-X11.exe: *** fatal error - unable to remap \\?\C:\cygwin\lib\gtk-2.0\2.10.0\loaders\cygpixbufloader-xpm.dll to same address as parent: 0x370000 != 0x3F0000
Stack trace:
Frame     Function  Args
00219FB8  6102796B  (00219FB8, 00000000, 00000000, 00000000)
0021A2A8  6102796B  (6117EC60, 00008000, 00000000, 61180977)
0021B2D8  61004F1B  (611A7FAC, 6124B154, 00370000, 003F0000)
End of stack trace
      1 [main] emacs 4700 fork: child 5540 - died waiting for dll loading, errno 11

? 
Robert C. McBroom


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]