This is the mail archive of the cygwin-xfree@cygwin.com 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]

Exception: STATUS_INTEGER_DIVIDE_BY_ZERO


Hi All,

I just installed cygwin-xfree and when i try to run startxwin.bat from
the ms-dos prompt, I get the following error messages.


C:\cygwin\usr\X11R6\bin>startxwin.bat

C:\cygwin\usr\X11R6\bin>_XSERVTransmkdir: Owner of /tmp/.X11-unix should
be set
to root
winDetectSupportedEngines () - Windows NT/2000
winDetectSupportedEngines () - DirectDraw installed
winDetectSupportedEngines () - Allowing PrimaryDD
winDetectSupportedEngines () - DirectDraw4 installed
winDetectSupportedEngines () - Returning, supported engines 0000000f
winSetEngine () - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL () - Command line depth: 16, using depth: 8

winCreateBoundingWindowWindowed () - WindowClient width 1024 height 768
winInitVisualsShadowDDNL () - Masks 00000000 00000000 00000000 RGB 0 d 8

winInitVisualsShadowDDNL () - Calling miSetVisualTypesAndMasks
winInitVisualsShadowDDNL () - Returning
      0 [main] XWin 1016 handle_exceptions: Exception:
STATUS_INTEGER_DIVIDE_BY_
ZERO
    695 [main] XWin 1016 stackdump: Dumping stack trace to
XWin.exe.stackdump
XIO:  fatal IO error 104 (Connection reset by peer) on X server
"127.0.0.1:0.0"
      after 0 requests (0 known processed) with 0 events remaining.

      after 0 requests (0 known processed) with 0 events remaining.

As per some of the advice i got from this list my startxwin.bat looks
like this:
------------------------------------------------------------------------------------------------------------------------------------------

@echo off
SET DISPLAY=127.0.0.1:0.0
SET PATH=.;%PATH%;\cygwin\bin;\cygwin\usr\X11R6\bin

REM SET XFCE_DATA=\cygwin\usr\X11R6\var; xfce


REM *********THIS PART COMMENTED OUT. IF YOU WANT TO USE NOHUP,
UNCOMMENT EVERYT
HING AND COMMENT OUT START BELOW********
REM G:\Cygwin\bin\bash -c "/usr/bin/nohup /usr/bin/bash -c ""/bin/bash
-c 'xwin
-screen 0 1024x768x32 -whitepixel 255 -blackpixel 0 -engine 4'&""&"

REM bash -c "/usr/bin/nohup /usr/bin/bash -c ""/usr/bin/bash -c
'./xterm  -sb -s
l 2048 -font 7x13bold -sb -rightbar -ms red -fg yellow -bg black -e
/usr/bin/bas
h' &""&" &
REM bash -c "/usr/bin/nohup /usr/bin/bash -c ""/usr/bin/bash -c
'./mxterm  -sb -
sl 2048 -font 7x13bold -sb -rightbar -ms red -fg yellow -bg black -e
/usr/bin/ba
sh' &""&" &
REM bash -c "/usr/bin/nohup /usr/bin/bash -c ""/usr/bin/bash -c './rxvt
-fn 7x13
bold -e /usr/bin/bash' &""&" &
REM bash -c "/usr/bin/nohup /usr/bin/bash -c ""/usr/bin/bash -c './xfwm'
&""&"


REM ***************** TO USE WINDOWS START COMMAND*********************

start /B XWin -screen 0 1024x768x16 -whitepixel 255 -blackpixel 0


start /B rxvt -fn "Lucida Console-12" -e bash
start /B xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e
/usr/bin/b
ash
REM start /B mxterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black
-e /usr/
bin/bash
start /B twm

REM start mwm
REM start vtwm
REM set stty=intr ^c susp ^z start ^q stop ^s quit ^\\ erase ^?
@echo on
---------------------------------------------------------------------------------------------------------------------

Anything i am missing that leads to this problem?
Any ideas in resolving this problem will be greatly appreciated.


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