RE: XWin crashes when exiting in W98(SE)

2005-04-01 Thread Rodrigo Medina
Hi,
More on the bug I have previously reported.
If you run XWin through gdb you get a segmentation fault immediately.

$ gdb XWin
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 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
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-1

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -multiwindow 

winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib
/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75d
pi/,/usr/X11R6/lib/X11/fonts/100dpi/
winPrefsLoadPreferences: /usr/X11R6/lib/X11/system.XWinrc
LoadPreferences: XWinrc loaded
GetModuleHandleA succeed

LoadLibrary returns baaa
winDetectSupportedEngines - Windows 95/98/Me
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Multi Window or Rootless = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 800 height: 600 depth: 16
winFinishScreenInitFB - Masks: f800 07e0 001f
winInitVisualsShadowGDI - Masks f800 07e0 001f BPRGB 6 d 16 bpp
16
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread -4014111.0xffc107e1]
0xbff7a606 in KERNEL32!Heap32ListNext ()
   from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
(gdb) quit
The program is running.  Exit anyway? (y or n) y
$
-

I hope that can help.
R.M.





RE: XWin crashes when exiting in W98(SE)

2005-04-01 Thread Alexander Gottwald
Rodrigo Medina wrote:

 winDetectSupportedEngines - Windows 95/98/Me
 winDetectSupportedEngines - DirectDraw installed
 winDetectSupportedEngines - DirectDraw4 installed
 winDetectSupportedEngines - Returning, supported engines 0007
 winSetEngine - Multi Window or Rootless = ShadowGDI
 winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per
 pixel

Maybe a problem with win9x. I'll try to reproduce this in my local installation

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


XWin crashes when exiting in W98(SE)

2005-03-30 Thread Rodrigo Medina
Hi,
Lately I have found the following bug. I have W98(SE) and the
latest XWin and cygwin1.dll snapshot.
I start XWin with XWin -multiwindow 
I run any (or none) X program and it works fine.
I close the X programs and everything is OK.
Then I try to close XWin with the Exit button and XWin crashes.
This is what you get from the Windows alert window:

XWIN caused an invalid page fault in
module CYGWIN1.DLL at 0167:610bafb5.
Registers:
EAX=004b CS=0167 EIP=610bafb5 EFLGS=00010206
EBX=76003c30 SS=016f ESP=01a3fbc8 EBP=01a3fbe0
ECX=01100f28 DS=016f ESI=01100f30 FS=509f
EDX=76003c30 ES=016f EDI=77104b58 GS=
Bytes at CS:EIP:
8b 47 04 83 e0 fc 89 45 f0 0f b6 41 04 34 01 24 
Stack dump:
 7600e404 01a3f0a0 01100f30 6100  01a3fc10
6105ef75 760096d3 76009752 2736 6100 01100f20 01100710
2736 bff7dcbf 

XWin.log and the output of cygcheck -s are attached.
Bye.
R.M.

Cygwin Configuration Diagnostics
Current System Time: Wed Mar 30 22:10:55 2005

Windows 98 SE Ver 4.10 Build  

Path:   .\
~\bin
c:\WINDOWS\Profiles\rmedina\My Documents\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\bin
c:\WINDOWS
c:\WINDOWS\COMMAND
c:\PROGRA~1\JAVA\J2RE14~1.2_0\BIN
C:\cygwin\USR\LOCAL\BIN

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 56503(rmedina) GID: 544(users)
544(users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 56503(rmedina) GID: 544(users)
544(users)

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\rmedina'
LIBRARY_PATH = `/usr/X11R6/lib:/usr/local/lib'
MAKE_MODE = `unix'
PWD = `/home/rmedina/Notas-cygwin'
USER = `rmedina'

Use `-r' to scan registry

a:  fd N/AN/A
c:  hd  FAT32 3069Mb  62% CPUN   
d:  hd  FAT32 6137Mb  91% CPUN   
e:  cd N/AN/A
f:  cd N/AN/A

C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
C:/cygwin  / system  binmode
C:/cygwin/bin  /usr/bin  system  binmode
C:/cygwin/lib  /usr/lib  system  binmode
.  /cygdrive system  
binmode,cygdrive

Not Found: awk
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Not Found: sh
Found: C:\cygwin\bin\tar.exe

   28k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygDtPrint-1.dll
   77k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygMrm-2.dll
   66k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygUil-2.dll
   41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll
 1294k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygXm-2.dll
  459k 2004/02/10 C:\cygwin\usr\X11R6\bin\cygXmHTML-0.dll
   36k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygFS-6.dll
  358k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGL-1.dll
  438k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGLU-1.dll
   75k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygICE-6.dll
 1413k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygOSMesa-4.dll
   30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygSM-6.dll
  877k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygX11-6.dll
8k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXRes-1.dll
   27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXTrap-6.dll
  254k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-6.dll
  356k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-7.dll
  363k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-8.dll
9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcomposite-1.dll
   30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcursor-1.dll
   49k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXext-6.dll
   56k 2004/03/11 C:\cygwin\usr\X11R6\bin\cygXft-1.dll
   63k 2004/03/23 C:\cygwin\usr\X11R6\bin\cygXft-2.dll
9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXdamage-1.dll
7k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXevie-1.dll
  282k 2003/10/28 C:\cygwin\usr\X11R6\bin\cygfreetype-9.dll
  275k 2004/01/13 C:\cygwin\usr\X11R6\bin\cygXaw3d-7.dll
   16k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXfixes-3.dll
   27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXi-6.dll
   76k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmu-6.dll
   11k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmuu-1.dll
   26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXp-6.dll
   52k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXpm-4.dll
   12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrandr-2.dll
   28k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrender-1.dll
  282k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXt-6.dll
   17k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXtst-6.dll
  243k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygdps-1.dll
   26k 2005/02/23