Re: Cygwin 1.7 beta XWin Crashs from Ubuntun 9.10 after Firefox sessions (update)

2009-12-29 Thread ERIC HO

After I upgraded to xorg-server1.7.3-1, XWin does not crash anymore after I ssh 
to Ubuntun 9.10 invoking gnome-session. But it hangs intermittently after a few 
Firefox sessions and I need to terminate XWin. Hope the next xorg-server 
upgrade will improve this.

--
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: Cygwin 1.7 beta XWin Crashs from Ubuntun 9.10 after Firefox sessions

2009-11-15 Thread Jon TURNEY

On 03/11/2009 23:34, ERIC HO wrote:

Hi Jon, the crash is not caused by doing some specific action or looking at
specific pages in firefox.  Sometimes I sit on the Firefox screen and the
cash happens. I ssh to the the remote Ubuntu Box and start up a
gnome-session  there back to my display.


Over ssh, I can't even get gnome-session to start up properly, so I'm bit 
stymied trying to reproduce this.



I then bring up the firefox on the
Ubuntu box. After a few clicks, the cygwin Xserver died. I tried starting
the X server with -multiwindow, but could not even get a complete GNOME
screen back.


You won't be able to get gnome-session to work with -multiwindow mode, as you 
are already running the integrated window manager.


What I meant was, you should try starting the X server in -multiwindow mode, 
then ssh'ing to your Ubuntu host and just running firefox


Are you sure that it is firefox that causes the X server crash? i.e. does the 
crash not happen if you use other applications or just idle in your gnome session?



I've tried  -query but did not get a screen back. It could be
only ssh is allowed into the Ubuntu box.


Yes, it seems that XDMCP is disabled by default in Ubuntu 9.10 and they seem 
to have neglected to provide a GUI to turn it on.


A quick google should reveal how to do that, e.g. [1]

[1] http://www.peppertop.com/blog/?p=690

--
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: Cygwin 1.7 beta XWin Crashs from Ubuntun 9.10 after Firefox sessions

2009-11-15 Thread ERIC HO

Hi Jon, further testings show the issue is related to GNOME. XWin still crashed 
 after I started  GNOME-SESSION  and waited for some time without bringing up 
any apps. I',m able to ssh to the Ubuntu box and bring up xterm or firefox and 
do some work without any problems.  Since you can't even start up 
GNOME-SESSION, I am not going to pursue this issue anymore. Hopefully future 
upgrade will fix this problem. Thanks for your efforts.

Eric.
- Original Message -
From: Jon TURNEY jon.tur...@dronecode.org.uk
Date: Sunday, November 15, 2009 9:46 am
Subject: Re: Cygwin 1.7 beta XWin Crashs from Ubuntun 9.10 after Firefox 
sessions
To: cygwin-xfree@cygwin.com
Cc: ERIC HO eric...@shaw.ca

 On 03/11/2009 23:34, ERIC HO wrote:
  Hi Jon, the crash is not caused by doing some specific action 
 or looking at
  specific pages in firefox.  Sometimes I sit on the 
 Firefox screen and the
  cash happens. I ssh to the the remote Ubuntu Box and start up a
  gnome-session  there back to my display.
 
 Over ssh, I can't even get gnome-session to start up properly, 
 so I'm bit 
 stymied trying to reproduce this.
 
  I then bring up the firefox on the
  Ubuntu box. After a few clicks, the cygwin Xserver died. I 
 tried starting
  the X server with -multiwindow, but could not even get a 
 complete GNOME
  screen back.
 
 You won't be able to get gnome-session to work with -multiwindow 
 mode, as you 
 are already running the integrated window manager.
 
 What I meant was, you should try starting the X server in -
 multiwindow mode, 
 then ssh'ing to your Ubuntu host and just running firefox
 
 Are you sure that it is firefox that causes the X server crash? 
 i.e. does the 
 crash not happen if you use other applications or just idle in 
 your gnome session?
 
  I've tried  -query but did not get a screen back. It 
 could be
  only ssh is allowed into the Ubuntu box.
 
 Yes, it seems that XDMCP is disabled by default in Ubuntu 9.10 
 and they seem 
 to have neglected to provide a GUI to turn it on.
 
 A quick google should reveal how to do that, e.g. [1]
 
 [1] http://www.peppertop.com/blog/?p=690
 
 -- 
 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: Cygwin 1.7 beta XWin Crashs from Ubuntun 9.10 after Firefox sessions

2009-11-03 Thread Jon TURNEY


Thanks for the backtrace.

It's interesting, but I'm afraid it doesn't immediately let me pinpoint the 
problem.


A couple of questions I should have asked before:
- is this crash caused by to doing some specific action or looking at specific 
pages in firefox?
- using ssh with your X server in a window but no WM is rather strange. Are 
you starting any other programs or a window manager along with firefox? Do you 
see the problem if you start the X server with -multiwindow? Do you see the 
problem if you use -query to do an XDMCP login?


In future, please send your replies to the cygwin-xfree list, rather than to 
me personally.


On 01/11/2009 20:32, ERIC HO wrote:

Hi Jon, the message are as follows:
(gdb) run
Starting program: /home/eho/XWin-1.7.1-1.unstripped.exe -clipboard
[New thread 1120.0x720]
[New thread 1120.0x1374]
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.7.1.0 (10701000)
Build Date: 2009-11-01

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/home/eho/XWin-1.7.1-1.unstripped -clipboard

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/IBM-6963EB6C3F2:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
warning: Lowest section in /cygdrive/c/WINDOWS/system32/wmi.dll is .text
at 76d31000
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more informa
   tion
winPrefsLoadPreferences: /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winGetDisplay: DISPLAY=:0.0
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits pe
   r pixel
winFinishScreenInitFB - Masks: 00ff ff00 00ff
Screen 0 added at XINERAMA 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
[dix] Could not init font path element /usr/share/fonts/OTF/, removing f
   rom list!
[New thread 1120.0x2098]
winPointerWarpCursor - Discarding first warp: 509 336
(--) 5 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
Rules = base Model = pc105 Layout = us Variant = none Options =   
 none
winProcEstablishConnection - Hello
winInitClipboard ()
[New thread 1120.0xee0]
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winGetDisplay: DISPLAY=:0.0
winClipboardProc - DISPLAY=:0.0
[New thread 1120.0x2338]
[New thread 1120.0x2594]
winClipboardProc - XOpenDisplay () returned and successfully opened the display.

Program received signal SIGSEGV, Segmentation fault.
0x005168a1 in damageRegionAppend (pDrawable=0x103bd878,
 pRegion=0x22cbcc, clip=1, subWindowMode=0)
 at 
/opt/wip/cygport-svn/xorg-server/xorg-server-1.7.1-1/src/xorg-server-1.7.1/miext/damage/damage.c:290
290 
/opt/wip/cygport-svn/xorg-server/xorg-server-1.7.1-1/src/xorg-server-1.7.1/miext/damage/damage.c:
 No such file or directory.
 in 
/opt/wip/cygport-svn/xorg-server/xorg-server-1.7.1-1/src/xorg-server-1.7.1/miext/damage/damage.c
(gdb) bt full
#0  0x005168a1 in damageRegionAppend (pDrawable=0x103bd878,
 pRegion=0x22cbcc, clip=1, subWindowMode=0)
 at 
/opt/wip/cygport-svn/xorg-server/xorg-server-1.7.1-1/src/xorg-server-1.7.1/miext/damage/damage.c:290
 pScreen = (ScreenPtr) 0x1008c8e8
 pScrPriv = (DamageScrPrivPtr) 0x1008da38
 pDamage = (DamagePtr) 0x104ec960
 pNext = (DamagePtr) 0x100944d0
 clippedRec = {extents = {x1 = 0, y1 = 0, x2 = 0, y2 = 0},
   data = 0x61c8a8}
 pDamageRegion = (RegionPtr) 0x1008a990
 pixClip = {extents = {x1 = -13416, y1 = 34, x2 = -5217,
 y2 = 83}, data = 0x103bd890}
 draw_x = 6386704
 draw_y = 2280360
 screen_x = 0
 screen_y = 0
#1  0x00516d29 in damageDamageBox (pDrawable=0x103bd878,
 pBox=0x22cc10, subWindowMode=0)
 at 
/opt/wip/cygport-svn/xorg-server/xorg-server-1.7.1-1/src/xorg-server-1.7.1/miext/damage/damage.c:425
 region = {extents = {x1 = 5, y1 = 152, x2 = 22, y2 = 169},
   data = 0x0}
#2  

Re: Cygwin 1.7 beta XWin Crashs from Ubuntun 9.10 after Firefox sessions

2009-11-03 Thread ERIC HO
Hi Jon, the crash is not caused by doing some specific action or looking at 
specific
pages in firefox.  Sometimes I sit on the Firefox screen and the cash happens.
I ssh to the the remote Ubuntu Box and start up a gnome-session  there back to 
my display. I then bring up the firefox on the Ubuntu box. After a few clicks, 
the cygwin Xserver died.
I tried starting the X server with -multiwindow, but could not even get a 
complete GNOME screen back.
I've tried  -query but did not get a screen back. It could be only ssh is 
allowed into the Ubuntu box.

Thanks.

- Original Message -
From: Jon TURNEY jon.tur...@dronecode.org.uk
Date: Tuesday, November 3, 2009 12:58 pm
Subject: Re: Cygwin 1.7 beta XWin Crashs from Ubuntun 9.10 after Firefox 
sessions
To: ERIC HO eric...@shaw.ca
Cc: cygwin-xfree@cygwin.com

 
 Thanks for the backtrace.
 
 It's interesting, but I'm afraid it doesn't immediately let me 
 pinpoint the 
 problem.
 
 A couple of questions I should have asked before:
 - is this crash caused by to doing some specific action or 
 looking at specific 
 pages in firefox?
 - using ssh with your X server in a window but no WM is rather 
 strange. Are 
 you starting any other programs or a window manager along with 
 firefox? Do you 
 see the problem if you start the X server with -multiwindow? Do 
 you see the 
 problem if you use -query to do an XDMCP login?
 
 In future, please send your replies to the cygwin-xfree list, 
 rather than to 
 me personally.
 
 On 01/11/2009 20:32, ERIC HO wrote:
  Hi Jon, the message are as follows:
  (gdb) run
  Starting program: /home/eho/XWin-1.7.1-1.unstripped.exe -clipboard
  [New thread 1120.0x720]
  [New thread 1120.0x1374]
  Welcome to the XWin X Server
  Vendor: The Cygwin/X Project
  Release: 1.7.1.0 (10701000)
  Build Date: 2009-11-01
 
  Contact: cygwin-xfree@cygwin.com
 
  XWin was started with the following command line:
 
  /home/eho/XWin-1.7.1-1.unstripped -clipboard
 
  _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
  _XSERVTransOpen: transport open failed for inet6/IBM-6963EB6C3F2:0
  _XSERVTransMakeAllCOTSServerListeners: failed to open listener 
 for inet6
  warning: Lowest section in 
 /cygdrive/c/WINDOWS/system32/wmi.dll is 
 .text    at 76d31000
  winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
  (II) xorg.conf is not supported
  (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for 
 more informa   tion
  winPrefsLoadPreferences: /etc/X11/system.XWinrc
  LoadPreferences: Done parsing the configuration file...
  winGetDisplay: DISPLAY=:0.0
  winDetectSupportedEngines - Windows NT/2000/XP
  winDetectSupportedEngines - DirectDraw installed
  winDetectSupportedEngines - DirectDraw4 installed
  winDetectSupportedEngines - Returning, supported engines 0007
  winSetEngine - Using Shadow DirectDraw NonLocking
  winAdjustVideoModeShadowDDNL - Using Windows display depth of 
 32 bits 
 pe   r pixel
  winFinishScreenInitFB - Masks: 00ff ff00 00ff
  Screen 0 added at XINERAMA 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
  [dix] Could not init font path element /usr/share/fonts/OTF/, 
 removing f   rom list!
  [New thread 1120.0x2098]
  winPointerWarpCursor - Discarding first warp: 509 336
  (--) 5 mouse buttons found
  (--) Setting autorepeat to delay=500, rate=31
  (--) winConfigKeyboard - Layout: 0409 (0409)
  (--) Using preset keyboard for English (USA) (409), type 4
  Rules = base Model = pc105 Layout = us Variant = none 
 Options =    none
  winProcEstablishConnection - Hello
  winInitClipboard ()
  [New thread 1120.0xee0]
  winProcEstablishConnection - winInitClipboard returned.
  winClipboardProc - Hello
  DetectUnicodeSupport - Windows NT/2000/XP
  winGetDisplay: DISPLAY=:0.0
  winClipboardProc - DISPLAY=:0.0
  [New thread 1120.0x2338]
  [New thread 1120.0x2594]
  winClipboardProc - XOpenDisplay () returned and successfully 
 opened the display.
 
  Program received signal SIGSEGV, Segmentation fault.
  0x005168a1 in damageRegionAppend (pDrawable=0x103bd878,
   pRegion=0x22cbcc, clip=1, 
 subWindowMode=0)  at 
 /opt/wip/cygport-svn/xorg-server/xorg-server-1.7.1-1/src/xorg-
 server-1.7.1/miext/damage/damage.c:290
  290 /opt/wip/cygport-svn/xorg-
 server/xorg-server-1.7.1-1/src/xorg-server-
 1.7.1/miext/damage/damage.c: No such file or directory.
   in 
 /opt/wip/cygport-svn/xorg-server/xorg-server-1.7.1-1/src/xorg-
 server-1.7.1/miext/damage/damage.c
  (gdb) bt full
  #0  0x005168a1

Re: Cygwin 1.7 beta XWin Crashs from Ubuntun 9.10 after Firefox sessions

2009-11-01 Thread Jon TURNEY

On 01/11/2009 00:23, ERIC HO wrote:

I ssh to Ubuntu 9.10 box and brought up Firefox. After a few screens I've got 
XWin crashes. I've got the following:
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.7.1.0 (10701000)
Build Date: 2009-10-25

[...]

2009-10-31 17:32:18 Segmentation fault at address 0x0
2009-10-31 17:32:18 Fatal server error:
2009-10-31 17:32:18 Caught signal 11 (Segmentation fault). Server aborting

Any idea what could be the problem. Thanks.


I'm not able to reproduce this problem, so I'd like your help to get a 
backtrace, if you are willing:


1. Download [1] (this is a build of the 1.7.1-1 XWin server but with debugging 
symbols unstripped)

2. bunzip2 XWin-1.7.1-1.unstripped.exe.bz2 to uncompress it
(you may need to install the bzip2 package)
3. gdb --args ./XWin-1.7.1-1.unstripped.exe -clipboard
(you may need to install the gdb package)
4. Wait for the '(gdb)' prompt, type 'run'
5. In another terminal window, do your ssh, start firefox and do whatever you 
do to make the crash happen. You should get another '(gdb)' prompt, type 'bt full'

6. post the output

[1] ftp://cygwin.com/pub/cygwinx/XWin-1.7.1-1.unstripped.exe.bz2

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



Cygwin 1.7 beta XWin Crashs from Ubuntun 9.10 after Firefox sessions

2009-10-31 Thread ERIC HO
I ssh to Ubuntu 9.10 box and brought up Firefox. After a few screens I've got 
XWin crashes. I've got the following:
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.7.1.0 (10701000)
Build Date: 2009-10-25

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

Xwin -clipboard

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
2009-10-31 17:30:37 _XSERVTransSocketOpenCOTSServer: Unable to open socket for 
inet6
2009-10-31 17:30:37 _XSERVTransOpen: transport open failed for inet6/xx:0
2009-10-31 17:30:37 _XSERVTransMakeAllCOTSServerListeners: failed to open 
listener for inet6
2009-10-31 17:30:37 winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
2009-10-31 17:30:37 (II) xorg.conf is not supported
2009-10-31 17:30:37 (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for 
more information
2009-10-31 17:30:37 winPrefsLoadPreferences: /etc/X11/system.XWinrc
2009-10-31 17:30:37 LoadPreferences: Done parsing the configuration file...
2009-10-31 17:30:37 winGetDisplay: DISPLAY=:0.0
2009-10-31 17:30:37 winDetectSupportedEngines - Windows NT/2000/XP
2009-10-31 17:30:37 winDetectSupportedEngines - DirectDraw installed
2009-10-31 17:30:37 winDetectSupportedEngines - DirectDraw4 installed
2009-10-31 17:30:37 winDetectSupportedEngines - Returning, supported engines 
0007
2009-10-31 17:30:37 winSetEngine - Using Shadow DirectDraw NonLocking
2009-10-31 17:30:37 winAdjustVideoModeShadowDDNL - Using Windows display depth 
of 32 bits per pixel
2009-10-31 17:30:37 winFinishScreenInitFB - Masks: 00ff ff00 00ff
2009-10-31 17:30:37 Screen 0 added at XINERAMA coordinate (0,0).
2009-10-31 17:30:37 MIT-SHM extension disabled due to lack of kernel support
2009-10-31 17:30:37 XFree86-Bigfont extension local-client optimization 
disabled due to lack of shared memory support in the kernel
2009-10-31 17:30:37 (II) AIGLX: Loaded and initialized 
/usr/lib/dri/swrast_dri.so
2009-10-31 17:30:37 (II) GLX: Initialized DRISWRAST GL provider for screen 0
2009-10-31 17:30:37 [dix] Could not init font path element 
/usr/share/fonts/OTF/, removing from list!
2009-10-31 17:30:37 winPointerWarpCursor - Discarding first warp: 509 336
2009-10-31 17:30:37 (--) 5 mouse buttons found
2009-10-31 17:30:37 (--) Setting autorepeat to delay=500, rate=31
2009-10-31 17:30:37 (--) winConfigKeyboard - Layout: 0409 (0409)
2009-10-31 17:30:37 (--) Using preset keyboard for English (USA) (409), type 
4
2009-10-31 17:30:37 Rules = base Model = pc105 Layout = us Variant = 
none Options = none
2009-10-31 17:31:14 winProcEstablishConnection - Hello
2009-10-31 17:31:14 winInitClipboard ()
2009-10-31 17:31:14 winProcEstablishConnection - winInitClipboard returned.
2009-10-31 17:31:14 winClipboardProc - Hello
2009-10-31 17:31:14 DetectUnicodeSupport - Windows NT/2000/XP
2009-10-31 17:31:14 winGetDisplay: DISPLAY=:0.0
2009-10-31 17:31:14 winClipboardProc - DISPLAY=:0.0
2009-10-31 17:31:14 winClipboardProc - XOpenDisplay () returned and 
successfully opened the display.
2009-10-31 17:32:18 Segmentation fault at address 0x0
2009-10-31 17:32:18
Fatal server error:
2009-10-31 17:32:18 Caught signal 11 (Segmentation fault). Server aborting
2009-10-31 17:32:18

Any idea what could be the problem. Thanks.

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