Re: XWin 1.12.1.0 seg faults on startup?

2012-06-28 Thread Jon TURNEY
On 27/06/2012 16:33, Nick Vasilatos wrote:
 You might try creating an empty ~/.startxwinrc (so the default xterm is not
 started by startxwin) and see if that makes a difference?
 
 Would seem not/seems to fail as before.  See below and log attached.

Okay. thanks for trying anyhow.

This is going to be somewhat problematic to debug since the debugger seems
unable to attach to the faulted process.  I'm not sure what might cause that,
if it's some software you have installed which is interfering with Cygwin or
some security policy you have set?  Are you running XWin under a local
Administrator account?

I've uploaded a new snapshot at [1], can you try running that, adding the
-notrapsignals option to your usual command line.

This should generate a XWin.exe.stackdump file when it crashes.  Can you
attach that to an email, please.

[1] ftp://cygwin.com/pub/cygwinx/XWin.20120628-git-59d15f68d4fd9bb8.exe.bz2

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



Re: XWin 1.12.1.0 seg faults on startup?

2012-06-25 Thread Jon TURNEY
On 21/06/2012 04:39, Nick Vasilatos wrote:
 Well... the new server (i1.12.2.0) also seg faults at 0x0 on startup. Debugger
 says ``No Stack''? The log file is attached.

 [Inferior 1 (process 17136) exited with code 01]
 (gdb) bt full
 No stack.
 (gdb)

This says that the XWin process exited, so either gdb somehow failed to catch
it when it segfaulted.  Or did it not segfault at all?

 On 6/17/2012 10:09 AM, Jon TURNEY wrote:
 On 09/06/2012 17:32, Nick Vasilatos wrote:
 XWin doesn't want to start for me. This is a new install of Cygwin/new 
 install
 of Win7 on an AMD x64 system with an Nvidia gtx-570 GPU; I've reinstalled 
 the
 X components a couple of times; rebasedall a couple of times. The log (I
 installed an XWin.exe w/symbols) says:

 [ 5306.810] winPositionWindowMultiWindow: (x, y) = (0, 0)
 [ 5306.810] immediately return since hWnd is NULL
 [ 5306.810] winMapWindowMultiWindow - pWin: 80062268
 [ 5306.810] winUpdateWindowsWindow
 [ 5306.810] winReshape ()
 [ 5306.826] Segmentation fault at address 0x0

So, this looks like maybe it's failing while trying to create a window, so
this might be a timing condition at startup.

You might try creating an empty ~/.startxwinrc (so the default xterm is not
started by startxwin) and see if that makes a difference?

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



Re: XWin 1.12.1.0 seg faults on startup?

2012-06-17 Thread Jon TURNEY
On 09/06/2012 17:32, Nick Vasilatos wrote:
 XWin doesn't want to start for me. This is a new install of Cygwin/new install
 of Win7 on an AMD x64 system with an Nvidia gtx-570 GPU; I've reinstalled the
 X components a couple of times; rebasedall a couple of times. The log (I
 installed an XWin.exe w/symbols) says:
 
[ 5306.810] winPositionWindowMultiWindow: (x, y) = (0, 0)
[ 5306.810] immediately return since hWnd is NULL
[ 5306.810] winMapWindowMultiWindow - pWin: 80062268
[ 5306.810] winUpdateWindowsWindow
[ 5306.810] winReshape ()
[ 5306.826] Segmentation fault at address 0x0
[ 5306.826] Segmentation fault at address 0x0
[ 5306.826] Segmentation fault at address 0x0
[ 5306.826]
Fatal server error:
[ 5306.826]
Fatal server error:
[ 5306.826]
Fatal server error:
[ 5306.826] Caught signal 11 (Segmentation fault). Server aborting
[ 5306.826] Caught signal 11 (Segmentation fault). Server aborting
[ 5306.826] Caught signal 11 (Segmentation fault). Server aborting
[ 5306.826]
[ 5306.826]
[ 5306.826]
[ 5306.826] Server terminated with error (1). Closing log file.
 
 Any ideas/what am I doing wrong?

Thanks for reporting this problem.

If this crash still occurs with the latest Cygwin X server version, please can
you follow the instructions at [1] to install debug symbols and use gdb to get
a backtrace for the X server when it crashes.

[1] http://x.cygwin.com/devel/backtrace.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



XWin 1.12.1.0 seg faults on startup?

2012-06-09 Thread Nick Vasilatos

Hi,

XWin doesn't want to start for me. This is a new install of Cygwin/new 
install of Win7 on an AMD x64 system with an Nvidia gtx-570 GPU; I've 
reinstalled the X components a couple of times; rebasedall a couple of 
times. The log (I installed an XWin.exe w/symbols) says:


   [ 5306.810] winPositionWindowMultiWindow: (x, y) = (0, 0)
   [ 5306.810] immediately return since hWnd is NULL
   [ 5306.810] winMapWindowMultiWindow - pWin: 80062268
   [ 5306.810] winUpdateWindowsWindow
   [ 5306.810] winReshape ()
   [ 5306.826] Segmentation fault at address 0x0
   [ 5306.826] Segmentation fault at address 0x0
   [ 5306.826] Segmentation fault at address 0x0
   [ 5306.826]
   Fatal server error:
   [ 5306.826]
   Fatal server error:
   [ 5306.826]
   Fatal server error:
   [ 5306.826] Caught signal 11 (Segmentation fault). Server aborting
   [ 5306.826] Caught signal 11 (Segmentation fault). Server aborting
   [ 5306.826] Caught signal 11 (Segmentation fault). Server aborting
   [ 5306.826]
   [ 5306.826]
   [ 5306.826]
   [ 5306.826] Server terminated with error (1). Closing log file.

Any ideas/what am I doing wrong?

Thanks,

Nick



InitConnectionLimits: MaxClients = 255
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.12.1.0
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (WoW64)
Snapshot: 20120427-git-d3fae865c57f6709

XWin was started with the following command line:

/usr/bin/X :1 -multiwindow -clipboard -wgl -multimonitors
-logverbose 3 -auth /home/boxer/.serverauth.2812

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1920 h 1200
winInitializeScreenDefaults - native DPI x 96 y 96
ddxProcessArgument - arg: :1
ddxProcessArgument - arg: -multiwindow
ddxProcessArgument - arg: -clipboard
ddxProcessArgument - arg: -wgl
ddxProcessArgument - arg: -multimonitors
ddxProcessArgument - arg: -logverbose
ddxProcessArgument - arg: -auth
[ 5306.467] OsVendorInit - Creating default screen 0
[ 5306.467] winInitializeScreens - 1
[ 5306.467] winInitializeScreen - 0
[ 5306.498] InitOutput
[ 5306.498] winValidateArgs - Returning.
[ 5306.498] (II) xorg.conf is not supported
[ 5306.498] (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for 
more information

[ 5306.498] LoadPreferences: /home/boxer/.XWinrc not found
[ 5306.498] LoadPreferences: Loading /etc/X11/system.XWinrc
[ 5306.498] LoadPreferences: Done parsing the configuration file...
[ 5306.498] winGetDisplay: DISPLAY=:1.0
[ 5306.514] winDetectSupportedEngines - DirectDraw installed, allowing 
ShadowDD

[ 5306.514] winDetectSupportedEngines - Windows NT, allowing PrimaryDD
[ 5306.514] winDetectSupportedEngines - DirectDraw4 installed, allowing 
ShadowDDNL
[ 5306.530] winDetectSupportedEngines - Returning, supported engines 
001f

[ 5306.530] winMsgWindowThreadProc - Hello
[ 5306.530] winScreenInit - dwWidth: 1920 dwHeight: 1200
[ 5306.530] winAllocateScreenPrivates - g_ulServerGeneration: 0 
serverGeneration: 1

[ 5306.530] winSetEngine - Multi Window or Rootless = ShadowGDI
[ 5306.530] winScreenInit - Using Windows display depth of 32 bits per pixel
[ 5306.530] winCreateBoundingWindowWindowed - User w: 1920 h: 1200
[ 5306.530] winCreateBoundingWindowWindowed - Current w: 1920 h: 1200
[ 5306.530] winGetWorkArea - Primary Monitor WorkArea: 0 0 1200 1920
[ 5306.530] winGetWorkArea - Virtual screen is 3520 x 1200
[ 5306.530] winGetWorkArea - Virtual screen origin is 0, 0
[ 5306.530] winGetWorkArea - Primary screen is 1920 x 1200
[ 5306.530] winGetWorkArea - Adjusted WorkArea for multiple monitors: 0 
0 1200 3520
[ 5306.530] [ 5306.530] winCreateMsgWwinCreateMsgWindow - Created msg 
window hwnd 0x1c0722

[ 5306.530] winAdjustForAutoHide - Taskbar is auto hide
[ 5306.530] winAdjustForAutoHide - Found BOTTOM auto-hide taskbar
[ 5306.530] winAdjustForAutoHide - Adjusted WorkArea: 0 0 1199 3520
[ 5306.530] winCreateBoundingWindowWindowed - User did not give height 
and width

[ 5306.530] winWindowProc - WM_CREATE
[ 5306.545] winWindowProc - WM_SIZE
[ 5306.545] winCreateBoundingWindowWindowed - CreateWindowEx () returned
[ 5306.545] winCreateBoundingWindowWindowed - WindowClient w 3520 h 1200 
r 3520 l 0 b 1200 t 0

[ 5306.545] winCreateBoundingWindowWindowed - Returning
[ 5306.545] winQueryScreenDIBFormat - First call masks:  
 
[ 5306.545] winQueryScreenDIBFormat - First call masks:  
 

[ 5306.545] winQueryRGBBitsAndMasks - Masks: 00ff ff00 00ff
[ 5306.545] winQueryRGBBitsAndMasks - Bitmap: 1x1 32 bpp 1 planes
[ 5306.545] winQueryRGBBitsAndMasks - Compression: 3 (BI_BITFIELDS)
[ 5306.545] winAllocateFBShadowGDI - Creating DIB with width: 3520 
height: 1200 depth: 32

[ 5306.545] winAllocateFBShadowGDI - Shadow buffer allocated
[ 5306.545] winAllocateFBShadowGDI - Dibsection width: 3520 height: 1200 
depth: 32 size image: 16896000

[ 5306.545] winAllocateFBShadowGDI - Attempting a shadow blit
[ 5306.545]