multiwindow segmentation fault

2003-01-14 Thread J S
Hi,

I downloaded all the XFree packages off cygwin today on to my W2K box, and 
I'm still getting the segmentation fault when I run 'xwin -multiwindow'. All 
the other xwin features work fine. I am using version -18 also. Here's some 
information from xwinrl.log and cygcheck:

$ cat /tmp/xwinrl.log
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 24 bits per 
pixel
winCreateBoundingWindowWindowed - Initial w: 1152 h: 864
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1152 h 836 r 1152 l 0 b 836 
t 0
winCreateBoundingWindowWindowed -  Returning
winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for the 
screen.  Using default 24bpp
masks.
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 
24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = 
"(null)"
DISPLAY=:0.0


$ cygcheck -s

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jan 14 10:46:13 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 1

Path:   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\bin
   .
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\usr\X11R6\bin
   C:\Program Files\cygwin\usr\local\wmaker\bin
   c:\WINNT\system32
   c:\WINNT
   c:\WINNT\System32\Wbem
   c:\ora8i\bin
   c:\Program Files\Oracle\jre\1.1.7\bin
   c:\PROGRA~1\E!PC
   c:\ACE\rdbms32\bin
   c:\Program Files\Attachmate\E!E2K\
   c:\PROGRA~1\ULTRAE~1

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `ntea nontsec'
HOME = `d:\Documents and Settings\u752359'
MAKE_MODE = `unix'
PWD = `/home/u752359'
USER = `u752359'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS4094Mb  77% CP CS UN PA FC CDRIVE
d:  hd  NTFS3004Mb  69% CP CS UN PA FC DATA STORE
f:  cd   N/AN/ACDRIVE

d:\Documents and Settings  /home  userbinmode
D:\DOCUME~1\u752359\LOCALS~1\Temp  /tmp   userbinmode
C:\Program Files\cygwin/  system  binmode
C:\Program Files\cygwin/bin/usr/bin   system  binmode
C:\Program Files\cygwin/lib/usr/lib   system  binmode
.  /cygdrive  userbinmode,cygdrive

Found: C:\Program Files\cygwin\bin\bash.exe
Found: C:\Program Files\cygwin\bin\cat.exe
Found: C:\Program Files\cygwin\bin\cpp.exe
Found: C:\Program Files\cygwin\bin\find.exe
Found: C:\Program Files\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\Program Files\cygwin\bin\ld.exe
Found: C:\Program Files\cygwin\bin\ls.exe
Not Found: make
Found: C:\Program Files\cygwin\bin\sh.exe

  54k 2002/01/27 C:\Program Files\cygwin\bin\cygbz21.0.dll
  45k 2001/04/25 C:\Program Files\cygwin\bin\cygform5.dll
  35k 2002/01/09 C:\Program Files\cygwin\bin\cygform6.dll
  19k 2002/02/20 C:\Program Files\cygwin\bin\cyggdbm.dll
  17k 2001/06/28 C:\Program Files\cygwin\bin\cyghistory4.dll
  20k 2002/10/10 C:\Program Files\cygwin\bin\cyghistory5.dll
 929k 2002/06/24 C:\Program Files\cygwin\bin\cygiconv-2.dll
  22k 2001/12/13 C:\Program Files\cygwin\bin\cygintl-1.dll
  28k 2002/09/20 C:\Program Files\cygwin\bin\cygintl-2.dll
 119k 2002/02/09 C:\Program Files\cygwin\bin\cygjpeg6b.dll
  26k 2001/04/25 C:\Program Files\cygwin\bin\cygmenu5.dll
  20k 2002/01/09 C:\Program Files\cygwin\bin\cygmenu6.dll
 156k 2001/04/25 C:\Program Files\cygwin\bin\cygncurses++5.dll
 175k 2002/01/09 C:\Program Files\cygwin\bin\cygncurses++6.dll
 226k 2001/04/25 C:\Program Files\cygwin\bin\cygncurses5.dll
 202k 2002/01/09 C:\Program Files\cygwin\bin\cygncurses6.dll
  15k 2001/04/25 C:\Program Files\cygwin\bin\cygpanel5.dll
  12k 2002/01/09 C:\Program Files\cygwin\bin\cygpanel6.dll
  40k 2001/11/21 C:\Program Files\cygwin\bin\cygpcre.dll
  39k 2001/11/21 C:\Program Files\cygwin\bin\cygpcreposix.dll
  22k 2002/06/09

Re: multiwindow segmentation fault

2003-01-14 Thread Harold L Hunt II
You are taking care not to run any other window manager, right?  (don't 
run twm, mwm, openbox, etc. since -multiwindow invokes its own window 
manager)

Harold

J S wrote:

Hi,

I downloaded all the XFree packages off cygwin today on to my W2K box, 
and I'm still getting the segmentation fault when I run 'xwin 
-multiwindow'. All the other xwin features work fine. I am using 
version -18 also. Here's some information from xwinrl.log and cygcheck:

$ cat /tmp/xwinrl.log
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 24 bits 
per pixel
winCreateBoundingWindowWindowed - Initial w: 1152 h: 864
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1152 h 836 r 1152 l 0 
b 836 t 0
winCreateBoundingWindowWindowed -  Returning
winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for 
the screen.  Using default 24bpp
masks.
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 
24 bpp 24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" 
Options = "(null)"
DISPLAY=:0.0


$ cygcheck -s

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jan 14 10:46:13 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 1

Path:   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\bin
   .
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\usr\X11R6\bin
   C:\Program Files\cygwin\usr\local\wmaker\bin
   c:\WINNT\system32
   c:\WINNT
   c:\WINNT\System32\Wbem
   c:\ora8i\bin
   c:\Program Files\Oracle\jre\1.1.7\bin
   c:\PROGRA~1\E!PC
   c:\ACE\rdbms32\bin
   c:\Program Files\Attachmate\E!E2K\
   c:\PROGRA~1\ULTRAE~1

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `ntea nontsec'
HOME = `d:\Documents and Settings\u752359'
MAKE_MODE = `unix'
PWD = `/home/u752359'
USER = `u752359'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS4094Mb  77% CP CS UN PA FC CDRIVE
d:  hd  NTFS3004Mb  69% CP CS UN PA FC DATA STORE
f:  cd   N/AN/ACDRIVE

d:\Documents and Settings  /home  userbinmode
D:\DOCUME~1\u752359\LOCALS~1\Temp  /tmp   userbinmode
C:\Program Files\cygwin/  system  binmode
C:\Program Files\cygwin/bin/usr/bin   system  binmode
C:\Program Files\cygwin/lib/usr/lib   system  binmode
.  /cygdrive  userbinmode,cygdrive

Found: C:\Program Files\cygwin\bin\bash.exe
Found: C:\Program Files\cygwin\bin\cat.exe
Found: C:\Program Files\cygwin\bin\cpp.exe
Found: C:\Program Files\cygwin\bin\find.exe
Found: C:\Program Files\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\Program Files\cygwin\bin\ld.exe
Found: C:\Program Files\cygwin\bin\ls.exe
Not Found: make
Found: C:\Program Files\cygwin\bin\sh.exe

  54k 2002/01/27 C:\Program Files\cygwin\bin\cygbz21.0.dll
  45k 2001/04/25 C:\Program Files\cygwin\bin\cygform5.dll
  35k 2002/01/09 C:\Program Files\cygwin\bin\cygform6.dll
  19k 2002/02/20 C:\Program Files\cygwin\bin\cyggdbm.dll
  17k 2001/06/28 C:\Program Files\cygwin\bin\cyghistory4.dll
  20k 2002/10/10 C:\Program Files\cygwin\bin\cyghistory5.dll
 929k 2002/06/24 C:\Program Files\cygwin\bin\cygiconv-2.dll
  22k 2001/12/13 C:\Program Files\cygwin\bin\cygintl-1.dll
  28k 2002/09/20 C:\Program Files\cygwin\bin\cygintl-2.dll
 119k 2002/02/09 C:\Program Files\cygwin\bin\cygjpeg6b.dll
  26k 2001/04/25 C:\Program Files\cygwin\bin\cygmenu5.dll
  20k 2002/01/09 C:\Program Files\cygwin\bin\cygmenu6.dll
 156k 2001/04/25 C:\Program Files\cygwin\bin\cygncurses++5.dll
 175k 2002/01/09 C:\Program Files\cygwin\bin\cygncurses++6.dll
 226k 2001/04/25 C:\Program Files\cygwin\bin\cygncurses5.dll
 202k 2002/01/09 C:\Program Files\cygwin\bin\cygncurses6.dll
  15k 2001/04/25 C:\Program Files\cygwin\bin\cygpanel5.dll
  12k 2002/01/09 C:\

Re: multiwindow segmentation fault

2003-01-14 Thread J S





Sure. If you just run the command 'xwin -multiwindow' from a bash prompt 
then the only thing you're running is xwin anyway isn't it?

$ ps -ef
UID PIDPPID TTY STIME COMMAND
U752359 836   1 con  16:46:30 /usr/bin/bash
U752359 868 836 con  16:46:41 /usr/bin/ps

U752359@A217447D ~
$ xwin -multiwindow
Segmentation fault (core dumped)

U752359@A217447D ~
$

You are taking care not to run any other window manager, right?  (don't run 
twm, mwm, openbox, etc. since -multiwindow invokes its own window manager)

Harold

J S wrote:

Hi,

I downloaded all the XFree packages off cygwin today on to my W2K box, and 
I'm still getting the segmentation fault when I run 'xwin -multiwindow'. 
All the other xwin features work fine. I am using version -18 also. Here's 
some information from xwinrl.log and cygcheck:

$ cat /tmp/xwinrl.log
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 24 bits per 
pixel
winCreateBoundingWindowWindowed - Initial w: 1152 h: 864
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1152 h 836 r 1152 l 0 b 
836 t 0
winCreateBoundingWindowWindowed -  Returning
winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for the 
screen.  Using default 24bpp
masks.
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 
bpp 24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options 
= "(null)"
DISPLAY=:0.0


$ cygcheck -s

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jan 14 10:46:13 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 1

Path:   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\bin
   .
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\usr\X11R6\bin
   C:\Program Files\cygwin\usr\local\wmaker\bin
   c:\WINNT\system32
   c:\WINNT
   c:\WINNT\System32\Wbem
   c:\ora8i\bin
   c:\Program Files\Oracle\jre\1.1.7\bin
   c:\PROGRA~1\E!PC
   c:\ACE\rdbms32\bin
   c:\Program Files\Attachmate\E!E2K\
   c:\PROGRA~1\ULTRAE~1

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `ntea nontsec'
HOME = `d:\Documents and Settings\u752359'
MAKE_MODE = `unix'
PWD = `/home/u752359'
USER = `u752359'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS4094Mb  77% CP CS UN PA FC CDRIVE
d:  hd  NTFS3004Mb  69% CP CS UN PA FC DATA STORE
f:  cd   N/AN/ACDRIVE

d:\Documents and Settings  /home  userbinmode
D:\DOCUME~1\u752359\LOCALS~1\Temp  /tmp   userbinmode
C:\Program Files\cygwin/  system  binmode
C:\Program Files\cygwin/bin/usr/bin   system  binmode
C:\Program Files\cygwin/lib/usr/lib   system  binmode
.  /cygdrive  userbinmode,cygdrive

Found: C:\Program Files\cygwin\bin\bash.exe
Found: C:\Program Files\cygwin\bin\cat.exe
Found: C:\Program Files\cygwin\bin\cpp.exe
Found: C:\Program Files\cygwin\bin\find.exe
Found: C:\Program Files\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\Program Files\cygwin\bin\ld.exe
Found: C:\Program Files\cygwin\bin\ls.exe
Not Found: make
Found: C:\Program Files\cygwin\bin\sh.exe

  54k 2002/01/27 C:\Program Files\cygwin\bin\cygbz21.0.dll
  45k 2001/04/25 C:\Program Files\cygwin\bin\cygform5.dll
  35k 2002/01/09 C:\Program Files\cygwin\bin\cygform6.dll
  19k 2002/02/20 C:\Program Files\cygwin\bin\cyggdbm.dll
  17k 2001/06/28 C:\Program Files\cygwin\bin\cyghistory4.dll
  20k 2002/10/10 C:\Program Files\cygwin\bin\cyghistory5.dll
 929k 2002/06/24 C:\Program Files\cygwin\bin\cygiconv-2.dll
  22k 2001/12/13 C:\Program Files\cygwin\bin\cygintl-1.dll
  28k 2002/09/20 C:\Program Files\

Re: multiwindow segmentation fault

2003-01-14 Thread Harold L Hunt II
Since I don't have any ideas on how to progress, please do a search for 
cygwin1.dll files on your computer.  Report if you find more than one copy.

Harold

J S wrote:





Sure. If you just run the command 'xwin -multiwindow' from a bash prompt 
then the only thing you're running is xwin anyway isn't it?

$ ps -ef
UID PIDPPID TTY STIME COMMAND
U752359 836   1 con  16:46:30 /usr/bin/bash
U752359 868 836 con  16:46:41 /usr/bin/ps

U752359@A217447D ~
$ xwin -multiwindow
Segmentation fault (core dumped)

U752359@A217447D ~
$

You are taking care not to run any other window manager, right?  
(don't run twm, mwm, openbox, etc. since -multiwindow invokes its own 
window manager)

Harold

J S wrote:

Hi,

I downloaded all the XFree packages off cygwin today on to my W2K 
box, and I'm still getting the segmentation fault when I run 'xwin 
-multiwindow'. All the other xwin features work fine. I am using 
version -18 also. Here's some information from xwinrl.log and cygcheck:

$ cat /tmp/xwinrl.log
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 24 bits 
per pixel
winCreateBoundingWindowWindowed - Initial w: 1152 h: 864
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1152 h 836 r 1152 l 
0 b 836 t 0
winCreateBoundingWindowWindowed -  Returning
winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for 
the screen.  Using default 24bpp
masks.
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 
24 bpp 24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" 
Options = "(null)"
DISPLAY=:0.0


$ cygcheck -s

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Jan 14 10:46:13 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 1

Path:   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\bin
   .
   C:\Program Files\cygwin\bin
   C:\Program Files\cygwin\usr\local\bin
   C:\Program Files\cygwin\usr\X11R6\bin
   C:\Program Files\cygwin\usr\local\wmaker\bin
   c:\WINNT\system32
   c:\WINNT
   c:\WINNT\System32\Wbem
   c:\ora8i\bin
   c:\Program Files\Oracle\jre\1.1.7\bin
   c:\PROGRA~1\E!PC
   c:\ACE\rdbms32\bin
   c:\Program Files\Attachmate\E!E2K\
   c:\PROGRA~1\ULTRAE~1

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `ntea nontsec'
HOME = `d:\Documents and Settings\u752359'
MAKE_MODE = `unix'
PWD = `/home/u752359'
USER = `u752359'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS4094Mb  77% CP CS UN PA FC CDRIVE
d:  hd  NTFS3004Mb  69% CP CS UN PA FC DATA STORE
f:  cd   N/AN/ACDRIVE

d:\Documents and Settings  /home  userbinmode
D:\DOCUME~1\u752359\LOCALS~1\Temp  /tmp   userbinmode
C:\Program Files\cygwin/  system  binmode
C:\Program Files\cygwin/bin/usr/bin   system  binmode
C:\Program Files\cygwin/lib/usr/lib   system  binmode
.  /cygdrive  userbinmode,cygdrive

Found: C:\Program Files\cygwin\bin\bash.exe
Found: C:\Program Files\cygwin\bin\cat.exe
Found: C:\Program Files\cygwin\bin\cpp.exe
Found: C:\Program Files\cygwin\bin\find.exe
Found: C:\Program Files\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\Program Files\cygwin\bin\ld.exe
Found: C:\Program Files\cygwin\bin\ls.exe
Not Found: make
Found: C:\Program Files\cygwin\bin\sh.exe

  54k 2002/01/27 C:\Program Files\cygwin\bin\cygbz21.0.dll
  45k 2001/04/25 C:\Program Files\cygwin\bin\cygform5.dll
  35k 2002/01/09 C:\Program Files\cygwin\bin\cygform6.dll
  19k 2002/02/20 C:\Program Files\cygwin\bin\cyggdbm.dll
  17k 2001/06/28 C:\Program Files\cygwin\bin\cyghistory4.dll
  20k 2002/10/10 C:\Program Files\cygwin\b

Re: multiwindow segmentation fault

2003-01-14 Thread Cary Jamison

"Harold L Hunt II" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Since I don't have any ideas on how to progress, please do a search 
> for
> cygwin1.dll files on your computer.  Report if you find more than one
copy.
> 
> Harold
> 
> J S wrote:
> > 
> > Sure. If you just run the command 'xwin -multiwindow' from a bash 
> > prompt
> > then the only thing you're running is xwin anyway isn't it?
> > 
> > $ ps -ef
> > UID PIDPPID TTY STIME COMMAND
> > U752359 836   1 con  16:46:30 /usr/bin/bash
> > U752359 868 836 con  16:46:41 /usr/bin/ps
> > 
> > U752359@A217447D ~
> > $ xwin -multiwindow
> > Segmentation fault (core dumped)
> > 
> > U752359@A217447D ~
> > $
> > 
> >> You are taking care not to run any other window manager, right?
> >> (don't run twm, mwm, openbox, etc. since -multiwindow invokes its
own 
> >> window manager)
> >>
> >> Harold
> >>
> >> J S wrote:
> >>
> >>> Hi,
> >>>
> >>> I downloaded all the XFree packages off cygwin today on to my W2K
> >>> box, and I'm still getting the segmentation fault when I run 'xwin

> >>> -multiwindow'. All the other xwin features work fine. I am using 
> >>> version -18 also. Here's some information from xwinrl.log and
cygcheck:
> >>>

Try Kensuke's latest patch (dated last night).  (Haven't tried it
myself, just noticed that you guys hadn't seemed to have noticed it
yet.)

Cary



Re: multiwindow segmentation fault

2003-01-14 Thread Harold L Hunt II
Cary,

Thanks for the heads-up.  I am always missing Kensuke's patches for some 
reason.  I will have to ask him to send them in a seperate email with a 
new subject line, prefixed with [PATCH] (Kensuke, did you see that?  If 
not, I will email you directly)

Harold

Cary Jamison wrote:
"Harold L Hunt II" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...


Since I don't have any ideas on how to progress, please do a search 
for
cygwin1.dll files on your computer.  Report if you find more than one

copy.


Harold

J S wrote:


Sure. If you just run the command 'xwin -multiwindow' from a bash 
prompt
then the only thing you're running is xwin anyway isn't it?

$ ps -ef
   UID PIDPPID TTY STIME COMMAND
U752359 836   1 con  16:46:30 /usr/bin/bash
U752359 868 836 con  16:46:41 /usr/bin/ps

U752359@A217447D ~
$ xwin -multiwindow
Segmentation fault (core dumped)

U752359@A217447D ~
$


You are taking care not to run any other window manager, right?
(don't run twm, mwm, openbox, etc. since -multiwindow invokes its


own 

window manager)

Harold

J S wrote:



Hi,

I downloaded all the XFree packages off cygwin today on to my W2K
box, and I'm still getting the segmentation fault when I run 'xwin




-multiwindow'. All the other xwin features work fine. I am using 
version -18 also. Here's some information from xwinrl.log and

cygcheck:


Try Kensuke's latest patch (dated last night).  (Haven't tried it
myself, just noticed that you guys hadn't seemed to have noticed it
yet.)

Cary





Re: multiwindow segmentation fault

2003-01-14 Thread J S
Harold,

Are you going to apply this patch to the cygwin XFree experimental package?

JS.



Cary,

Thanks for the heads-up.  I am always missing Kensuke's patches for some 
reason.  I will have to ask him to send them in a seperate email with a new 
subject line, prefixed with [PATCH] (Kensuke, did you see that?  If not, I 
will email you directly)

Harold

Cary Jamison wrote:
"Harold L Hunt II" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...


Since I don't have any ideas on how to progress, please do a search for
cygwin1.dll files on your computer.  Report if you find more than one


copy.


Harold

J S wrote:


Sure. If you just run the command 'xwin -multiwindow' from a bash prompt
then the only thing you're running is xwin anyway isn't it?

$ ps -ef
   UID PIDPPID TTY STIME COMMAND
U752359 836   1 con  16:46:30 /usr/bin/bash
U752359 868 836 con  16:46:41 /usr/bin/ps

U752359@A217447D ~
$ xwin -multiwindow
Segmentation fault (core dumped)

U752359@A217447D ~
$



You are taking care not to run any other window manager, right?
(don't run twm, mwm, openbox, etc. since -multiwindow invokes its


own


window manager)

Harold

J S wrote:



Hi,

I downloaded all the XFree packages off cygwin today on to my W2K
box, and I'm still getting the segmentation fault when I run 'xwin




-multiwindow'. All the other xwin features work fine. I am using 
version -18 also. Here's some information from xwinrl.log and

cygcheck:


Try Kensuke's latest patch (dated last night).  (Haven't tried it
myself, just noticed that you guys hadn't seemed to have noticed it
yet.)

Cary



_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



Re: multiwindow segmentation fault

2003-01-14 Thread Kensuke Matsuzaki
Harold,

I see.

Sorry, I can't find what makes segv yet.

Kensuke Matsuzaki




Re: multiwindow segmentation fault

2003-01-15 Thread J S
Kensuke,

I'm not an expert on gdb but managed to get the following debug info for 
you. Also in answer to Harold's question I only have one cygwin1.dll.

$ gdb xwin
GNU gdb 2002-12-19-cvs (cygwin-special)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...(no debugging symbols 
found)...
(gdb) run -multiwindow
Starting program: /usr/X11R6/bin/xwin.exe -multiwindow

Program received signal SIGSEGV, Segmentation fault.
0x77e8c40c in _libkernel32_a_iname ()
(gdb) where
#0  0x77e8c40c in _libkernel32_a_iname ()
#1  0x0001 in ?? ()
#2  0x6103f35f in _libkernel32_a_iname ()
#3  0x6103f38b in _libkernel32_a_iname ()
#4  0x6107b7df in _libkernel32_a_iname ()
#5  0x6107baba in _libkernel32_a_iname ()
#6  0x0043b838 in _size_of_stack_reserve__ ()
#7  0x004394b8 in _size_of_stack_reserve__ ()
#8  0x0043a7d8 in _size_of_stack_reserve__ ()
#9  0x0043ad7c in _size_of_stack_reserve__ ()
#10 0x004306ca in _size_of_stack_reserve__ ()
#11 0x00401a45 in _size_of_stack_reserve__ ()
#12 0x61007638 in _libkernel32_a_iname ()
#13 0x6100791d in _libkernel32_a_iname ()
#14 0x006f86a2 in _size_of_stack_reserve__ ()
#15 0x0040103c in _size_of_stack_reserve__ ()
#16 0x77e992a6 in _libkernel32_a_iname ()
(gdb)




Harold,

I see.

Sorry, I can't find what makes segv yet.

Kensuke Matsuzaki



_
MSN 8: advanced junk mail protection and 2 months FREE*. 
http://join.msn.com/?page=features/junkmail



Re: multiwindow segmentation fault

2003-01-15 Thread Alexander Gottwald
On Wed, 15 Jan 2003, J S wrote:

> Kensuke,
> 
> I'm not an expert on gdb but managed to get the following debug info for 
> you. Also in answer to Harold's question I only have one cygwin1.dll.
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x77e8c40c in _libkernel32_a_iname ()

No. This is not the right point. If the segfault occurs in _libkernel32_a_iname
you can continue debugging with "c" until another segfault occurs at another 
place. 

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723




Re: multiwindow segmentation fault

2003-01-15 Thread Corinna Vinschen
On Wed, Jan 15, 2003 at 01:07:46PM +0100, Alexander Gottwald wrote:
> On Wed, 15 Jan 2003, J S wrote:
> 
> > Kensuke,
> > 
> > I'm not an expert on gdb but managed to get the following debug info for 
> > you. Also in answer to Harold's question I only have one cygwin1.dll.
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x77e8c40c in _libkernel32_a_iname ()
> 
> No. This is not the right point. If the segfault occurs in _libkernel32_a_iname
> you can continue debugging with "c" until another segfault occurs at another 
> place. 

The information given by that backtrace is completely useless since
XWin as well as the Cygwin DLL don't contain debugging symbols.  The
addresses have no meaning w/o that info.  The only interesting fact
in the backtrace is:

#0  0x77e8c40c in _libkernel32_a_iname ()
#1  0x0001 in ?? ()

At this point, a function at address 1 (obviously a wrong pointer) is called

#2  0x6103f35f in _libkernel32_a_iname ()

from *any* function in the Cygwin DLL

#3  0x6103f38b in _libkernel32_a_iname ()
#4  0x6107b7df in _libkernel32_a_iname ()
#5  0x6107baba in _libkernel32_a_iname ()
#6  0x0043b838 in _size_of_stack_reserve__ ()

which has been called from *any* function in XWin.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.



Re: multiwindow segmentation fault

2003-01-15 Thread Alexander Gottwald
On Wed, 15 Jan 2003, Corinna Vinschen wrote:
> 
> The information given by that backtrace is completely useless since
> XWin as well as the Cygwin DLL don't contain debugging symbols. 

Kensuke or Harold, kann you make an unstripped version available for download?
This could at least reveal the line where the segfault occurs.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723




RE: multiwindow segmentation fault

2003-01-15 Thread Harold L Hunt II
Alexander,

Okay, there is a new Test71 (4.2.0-19) release out there.  For the
impatient, goto the devel pages and click the download link for
pilot.msu.edu, then install manually.  The 4.2.0-19 release will take a bit
to show up on the mirrors.

http://xfree86.cygwin.com/devel/shadow/


Harold

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Gottwald
Sent: Wednesday, January 15, 2003 7:44 AM
To: [EMAIL PROTECTED]
Subject: Re: multiwindow segmentation fault


On Wed, 15 Jan 2003, Corinna Vinschen wrote:
>
> The information given by that backtrace is completely useless since
> XWin as well as the Cygwin DLL don't contain debugging symbols.

Kensuke or Harold, kann you make an unstripped version available for
download?
This could at least reveal the line where the segfault occurs.

bye
ago
--
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723




Re: multiwindow segmentation fault

2003-01-15 Thread David Fraser
Alexander Gottwald wrote:


On Wed, 15 Jan 2003, J S wrote:

 

Kensuke,

I'm not an expert on gdb but managed to get the following debug info for 
you. Also in answer to Harold's question I only have one cygwin1.dll.

Program received signal SIGSEGV, Segmentation fault.
0x77e8c40c in _libkernel32_a_iname ()
   


No. This is not the right point. If the segfault occurs in _libkernel32_a_iname
you can continue debugging with "c" until another segfault occurs at another 
place. 

bye
	ago
 

I know this is not relevant, but this was a very helpful revelation for 
me...
what causes these _libkernel32_a_iname segfaults in cygwin, can it be 
disabled/fixed?

David



RE: multiwindow segmentation fault

2003-01-15 Thread J S
2FFF0, 77E992A6)
0022FFC0  0040103C  (0200, 0022E734, 7FFDF000, )
0022FFF0  77E992A6  (00401000, , 00C8, 0100)
End of stack trace



$ cat /tmp/xwinrl.log
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Multi Window => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 24 bits per 
pixel
winCreateBoundingWindowWindowed - Initial w: 1152 h: 864
winAdjustForAutoHide - Original WorkArea: 0 0 836 1152
winAdjustForAutoHide - Adjusted WorkArea: 0 0 836 1152
winCreateBoundingWindowWindowed - WindowClient w 1152 h 836 r 1152 l 0 b 836 
t 0
winCreateBoundingWindowWindowed -  Returning
winQueryRGBBitsAndMasks - GetDeviceCaps (BITSPIXEL) returned 24 for the 
screen.  Using default 24bpp
masks.
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 
24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
null screen fn ReparentWindow
null screen fn RestackWindow
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = 
"(null)"
DISPLAY=:0.0




Alexander,

Okay, there is a new Test71 (4.2.0-19) release out there.  For the
impatient, goto the devel pages and click the download link for
pilot.msu.edu, then install manually.  The 4.2.0-19 release will take a bit
to show up on the mirrors.

http://xfree86.cygwin.com/devel/shadow/


Harold

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Gottwald
Sent: Wednesday, January 15, 2003 7:44 AM
To: [EMAIL PROTECTED]
Subject: Re: multiwindow segmentation fault


On Wed, 15 Jan 2003, Corinna Vinschen wrote:
>
> The information given by that backtrace is completely useless since
> XWin as well as the Cygwin DLL don't contain debugging symbols.

Kensuke or Harold, kann you make an unstripped version available for
download?
This could at least reveal the line where the segfault occurs.

bye
	ago
--
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723



_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail



RE: multiwindow segmentation fault

2003-01-15 Thread J S
Sorry I sent the wrong stackdump in my previous email, it should have 
displayed:

$ cat XWin-Test71.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=00461F32
eax= ebx=01732000 ecx= edx= esi=102C44E4 
edi=0001
ebp=0022FB38 esp=0022FAD8 program=d:\downloads\XWin-Test71.exe
cs=001B ds=0023 es=0023 fs=003B gs= ss=0023
Stack trace:
Frame Function  Args
0022FB38  00461F32  (102C44B8, 0003, , 0172E000)
0022FB98  00469077  (0147, 0480, , 6C00)
0022FC08  004648EE  (10105788, 0022FD00, 102C4478, 100F8650)
0022FC28  004992AE  (10105788, 0022FD00, , 10105230)
0022FC58  0068E930  (10105788, 0022FD00, , 004024EE)
0022FCC8  0047866A  (10105788, 0022FD00, , 0041EB9C)
0022FD48  00406259  (10105788, 100F24E8, , 0001)
0022FD68  004028A4  (10105788, , 100F18A8, 0001)
0022FDB0  004018D1  (0002, 100F18A8, 100F0330, 77DBD9D1)
0022FF40  61007638  (610C1A28, FFFE, 0054, 610C194C)
0022FF90  6100791D  (, , 8010, BB7A8D00)
0022FFB0  006F8DE2  (00401490, 037F0009, 0022FFF0, 77E992A6)
0022FFC0  0040103C  (0023, 0045, 7FFDF000, 0200)
0022FFF0  77E992A6  (00401000, , 00C8, 0100)
End of stack trace

Alexander,

Okay, there is a new Test71 (4.2.0-19) release out there.  For the
impatient, goto the devel pages and click the download link for
pilot.msu.edu, then install manually.  The 4.2.0-19 release will take a bit
to show up on the mirrors.

http://xfree86.cygwin.com/devel/shadow/


Harold

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Gottwald
Sent: Wednesday, January 15, 2003 7:44 AM
To: [EMAIL PROTECTED]
Subject: Re: multiwindow segmentation fault


On Wed, 15 Jan 2003, Corinna Vinschen wrote:
>
> The information given by that backtrace is completely useless since
> XWin as well as the Cygwin DLL don't contain debugging symbols.

Kensuke or Harold, kann you make an unstripped version available for
download?
This could at least reveal the line where the segfault occurs.

bye
	ago
--
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723



_
MSN 8: advanced junk mail protection and 2 months FREE*. 
http://join.msn.com/?page=features/junkmail



Re: multiwindow segmentation fault

2003-01-15 Thread Cary Jamison

"Kensuke Matsuzaki" <[EMAIL PROTECTED]> wrote in message
news:<47336.0985903584$[EMAIL PROTECTED]>...
> Harold,
> 
> I see.
> 
> Sorry, I can't find what makes segv yet.
> 
> Kensuke Matsuzaki

Oh, I thought when you posted it you were saying it fixed that problem.
Guess I misread.

Cary