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]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Server Test 71 [DEBUG BUILD]


Harold,

Lots of debug info here. I have added more info at the bottom to show what I get when I run xwin without the -multiwindow flag as well.

$ gdb ./XWin-Test71-DEBUG.exe
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"...
(gdb) run -multiwindow
Starting program: /cygdrive/d/downloads/XWin-Test71-DEBUG.exe -multiwindow

Program received signal SIGSEGV, Segmentation fault.
0x77e8c40c in _libkernel32_a_iname ()
(gdb) where
#0 0x77e8c40c in _libkernel32_a_iname ()
#1 0x00000001 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 0x0044b94a in trans_mkdir (path=0x448c97 "/tmp/.X11-unix", mode=1023)
at ../../../lib/xtrans/Xtransutil.c:495
#7 0x00448e17 in _XSERVTransSocketUNIXCreateListener (ciptr=0x100f2348,
port=0x22fd30 "0") at ../../../lib/xtrans/Xtranssock.c:932
#8 0x0044a591 in _XSERVTransCreateListener (ciptr=0x100f2348,
port=0x22fd30 "0") at ../../../lib/xtrans/Xtrans.c:734
#9 0x0044ac78 in _XSERVTransMakeAllCOTSServerListeners (port=0x22fd30 "0",
partial=0x22fd58, count_ret=0x840440, ciptrs_ret=0x7e5550)
at ../../../lib/xtrans/Xtrans.c:1029
#10 0x0043ed3c in CreateWellKnownSockets () at connection.c:342
#11 0x0040153c in main (argc=2, argv=0x100f1890, envp=0x100f0330) at main.c:327
#12 0x61007638 in _libkernel32_a_iname ()
#13 0x6100791d in _libkernel32_a_iname ()
#14 0x007e2a02 in cygwin_crt0 ()
#15 0x0040103c in mainCRTStartup ()
#16 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x77e83ab6 in _libkernel32_a_iname ()
(gdb) where
#0 0x77e83ab6 in _libkernel32_a_iname ()
#1 0x007e3510 in cygwin_premain3 ()
#2 0x61087bbd in _libkernel32_a_iname ()
#3 0x61087c38 in _libkernel32_a_iname ()
#4 0x61086b41 in _libkernel32_a_iname ()
#5 0x610893d5 in _libkernel32_a_iname ()
#6 0x004592eb in InitQueue (pQueue=0x100fee34) at winmultiwindowwm.c:191
#7 0x00459951 in winInitWM (ppWMInfo=0x100f88d4, ptWMProc=0x100f88d0,
dwScreen=0) at winmultiwindowwm.c:440
#8 0x00453bd3 in winFinishScreenInitFB (index=0, pScreen=0x100f8638, argc=2,
argv=0x100f1890) at winscrinit.c:501
#9 0x00452fac in winScreenInit (index=0, pScreen=0x100f8638, argc=2,
argv=0x100f1890) at winscrinit.c:181
#10 0x00402389 in AddScreen (pfnInit=0x452bc8 <winScreenInit>, argc=2,
argv=0x100f1890) at main.c:768
#11 0x00450655 in InitOutput (screenInfo=0x83e450, argc=2, argv=0x100f1890)
at InitOutput.c:1214
#12 0x00401719 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at main.c:380
#13 0x61007638 in _libkernel32_a_iname ()
#14 0x6100791d in _libkernel32_a_iname ()
#15 0x007e2a02 in cygwin_crt0 ()
#16 0x0040103c in mainCRTStartup ()
#17 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x77e83ab6 in _libkernel32_a_iname ()
(gdb) where
#0 0x77e83ab6 in _libkernel32_a_iname ()
#1 0x100fee40 in ?? ()
#2 0x61087bbd in _libkernel32_a_iname ()
#3 0x61087c38 in _libkernel32_a_iname ()
#4 0x61087c80 in _libkernel32_a_iname ()
#5 0x61088b79 in _libkernel32_a_iname ()
#6 0x61088c82 in _libkernel32_a_iname ()
#7 0x00459301 in InitQueue (pQueue=0x100fee34) at winmultiwindowwm.c:192
#8 0x00459951 in winInitWM (ppWMInfo=0x100f88d4, ptWMProc=0x100f88d0,
dwScreen=0) at winmultiwindowwm.c:440
#9 0x00453bd3 in winFinishScreenInitFB (index=0, pScreen=0x100f8638, argc=2,
argv=0x100f1890) at winscrinit.c:501
#10 0x00452fac in winScreenInit (index=0, pScreen=0x100f8638, argc=2,
argv=0x100f1890) at winscrinit.c:181
#11 0x00402389 in AddScreen (pfnInit=0x452bc8 <winScreenInit>, argc=2,
argv=0x100f1890) at main.c:768
#12 0x00450655 in InitOutput (screenInfo=0x83e450, argc=2, argv=0x100f1890)
at InitOutput.c:1214
#13 0x00401719 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at main.c:380
#14 0x61007638 in _libkernel32_a_iname ()
#15 0x6100791d in _libkernel32_a_iname ()
#16 0x007e2a02 in cygwin_crt0 ()
#17 0x0040103c in mainCRTStartup ()
#18 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0047933a in fbBlt (srcLine=0x102c31e0, srcStride=3, srcX=0,
dstLine=0x1f031fc, dstStride=1152, dstX=0, width=96, height=0, alu=3,
pm=4294967295, bpp=24, reverse=0, upsidedown=0) at fbblt.c:174
174 fbblt.c: No such file or directory.
in fbblt.c
(gdb) where
#0 0x0047933a in fbBlt (srcLine=0x102c31e0, srcStride=3, srcX=0,
dstLine=0x1f031fc, dstStride=1152, dstX=0, width=96, height=0, alu=3,
pm=4294967295, bpp=24, reverse=0, upsidedown=0) at fbblt.c:174
#1 0x00482646 in fbOddTile (dst=0x1c40000, dstStride=1152, dstX=0,
width=27648, height=208, tile=0x102c31b0, tileStride=3, tileWidth=96,
tileHeight=4, alu=3, pm=4294967295, bpp=24, xRot=0, yRot=0) at fbtile.c:149
#2 0x00482740 in fbTile (dst=0x1c40000, dstStride=1152, dstX=0, width=27648,
height=836, tile=0x102c31b0, tileStride=3, tileWidth=96, tileHeight=4,
alu=3, pm=4294967295, bpp=24, xRot=0, yRot=0) at fbtile.c:197
#3 0x0047cf13 in fbFillRegionTiled (pDrawable=0x10105778, pRegion=0x22fcf0,
pTile=0x102c3170) at fbwindow.c:268
#4 0x0047cfcc in fbPaintWindow (pWin=0x10105778, pRegion=0x22fcf0, what=0)
at fbwindow.c:304
#5 0x004bf5f1 in miSpritePaintWindowBackground (pWin=0x10105778,
pRegion=0x22fcf0, what=0) at misprite.c:844
#6 0x0075eecf in shadowPaintWindow (pWindow=0x10105778, prgn=0x22fcf0, what=0)
at shadow.c:1275
#7 0x004980d7 in miWindowExposures (pWin=0x10105778, prgn=0x22fcf0,
other_exposed=0x0) at miexpose.c:536
#8 0x0040794b in MapWindow (pWin=0x10105778, client=0x100f24d0)
at window.c:2869
#9 0x00402d92 in InitRootWindow (pWin=0x10105778) at window.c:522
#10 0x00401944 in main (argc=2, argv=0x100f1890, envp=0x100f0330) at main.c:439
#11 0x61007638 in _libkernel32_a_iname ()
---Type <return> to continue, or q <return> to quit---
#12 0x6100791d in _libkernel32_a_iname ()
#13 0x007e2a02 in cygwin_crt0 ()
#14 0x0040103c in mainCRTStartup ()
#15 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program exited with code 0305400.
(gdb) where
No stack.
(gdb)


$ cat XWin-Test71-DEBUG.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=0047933A
eax=00000000 ebx=100F8638 ecx=01F02000 edx=102C31D8 esi=00000000 edi=007E3510
ebp=0022FA98 esp=0022FA00 program=d:\downloads\XWin-Test71-DEBUG.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022FA98 0047933A (102C31E0, 00000003, 00000000, 01F031FC)
0022FAF8 00482646 (01C40000, 00000480, 00000000, 00006C00)
0022FB38 00482740 (01C40000, 00000480, 00000000, 00006C00)
0022FBC8 0047CF13 (10105778, 0022FCF0, 102C3170, 00000003)
0022FBF8 0047CFCC (10105778, 0022FCF0, 00000000, 100F9490)
0022FC18 004BF5F1 (10105778, 0022FCF0, 00000000, 0000000C)
0022FC38 0075EECF (10105778, 0022FCF0, 00000000, 00000001)
0022FCA8 004980D7 (10105778, 0022FCF0, 00000000, 11111111)
0022FD48 0040794B (10105778, 100F24D0, 00000000, 00000000)
0022FD68 00402D92 (10105778, 00000000, 100F1890, 00000001)
0022FDB0 00401944 (00000002, 100F1890, 100F0330, 77DBD9D1)
0022FF40 61007638 (610C1A28, FFFFFFFE, 00000054, 610C194C)
0022FF90 6100791D (00000000, 00000000, 80100000, BB680D00)
0022FFB0 007E2A02 (00401438, 037F0009, 0022FFF0, 77E992A6)
0022FFC0 0040103C (FFFFFFFF, 0022E744, 7FFDF000, 0000020A)
0022FFF0 77E992A6 (00401000, 00000000, 000000C8, 00000100)
End of stack trace (more stack frames may be present)


$ 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 0000001f
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: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff 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
Couldn't load XKB keymap, falling back to pre-XKB keymap


If I run without the -multiwindow flag xwin is fine:

$ gdb ./XWin-Test71-DEBUG.exe
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"...
(gdb) run
Starting program: /cygdrive/d/downloads/XWin-Test71-DEBUG.exe

Program received signal SIGSEGV, Segmentation fault.
0x77e8c40c in _libkernel32_a_iname ()
(gdb) where
#0 0x77e8c40c in _libkernel32_a_iname ()
#1 0x00000001 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 0x0044b94a in trans_mkdir (path=0x448c97 "/tmp/.X11-unix", mode=1023)
at ../../../lib/xtrans/Xtransutil.c:495
#7 0x00448e17 in _XSERVTransSocketUNIXCreateListener (ciptr=0x100f2350,
port=0x22fd30 "0") at ../../../lib/xtrans/Xtranssock.c:932
#8 0x0044a591 in _XSERVTransCreateListener (ciptr=0x100f2350,
port=0x22fd30 "0") at ../../../lib/xtrans/Xtrans.c:734
#9 0x0044ac78 in _XSERVTransMakeAllCOTSServerListeners (port=0x22fd30 "0",
partial=0x22fd58, count_ret=0x840440, ciptrs_ret=0x7e5550)
at ../../../lib/xtrans/Xtrans.c:1029
#10 0x0043ed3c in CreateWellKnownSockets () at connection.c:342
#11 0x0040153c in main (argc=1, argv=0x100f1898, envp=0x100f0330) at main.c:327
#12 0x61007638 in _libkernel32_a_iname ()
#13 0x6100791d in _libkernel32_a_iname ()
#14 0x007e2a02 in cygwin_crt0 ()
#15 0x0040103c in mainCRTStartup ()
#16 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program exited normally.
(gdb) quit


$ cat /tmp/xwinrl.log
OsVendorInit - Creating bogus screen 0
winInitializeDefaultScreens - w 1152 h 864
winInitializeDefaultScreens - Returning
_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 0000001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - 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 1146 h 811 r 1146 l 0 b 811 t 0
winCreateBoundingWindowWindowed - Returning
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 4584
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 24
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winScreenInit - returning
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)"

Hey, the debug build finished way early.

Try this out:

http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test71-DEBUG.exe.bz2 (2.9 MiB)

Harold

Harold L Hunt II wrote:
I am building a debug version for you.

I will post it sometime tonight as an unofficial release (i.e., without all the formal release announcements, etc.).

Harold

J S wrote:

Yadin,

I tried your suggestion but no success.

JS.

Hi,
This version works great! All the menus are now updated correctly (Win XP).
Thanks Kensuke and Harold!
To JS: Are you running any virus protection program? try disabling it.
Yadin.
"Harold L Hunt II" <huntharo@msu.edu> wrote in message
NHEELHJHHFKPMAEAFMFCIEIDDFAA.huntharo@msu.edu">news:NHEELHJHHFKPMAEAFMFCIEIDDFAA.huntharo@msu.edu...
> Links:
>
> I just posted Test 71 to the server development page:
> http://xfree86.cygwin.com/devel/shadow/
>
> You can install the Test 71 package via setup.exe by selecting the
> 'test' package (and be sure to check the 'Bin' box):
XFree86-xserv-4.2.0-19
>
> Server Test Series binary and source code releases are now
> available via the sources.redhat.com ftp mirror network
> (http://cygwin.com/mirrors.html) in the
> pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the
> desired filename in the links below, then download from your
> closest mirror (http://cygwin.com/mirrors.html).
>
> Server binary, direct link:
> http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test71.exe.bz2 (1333 KiB)
>
> Server source, direct link:
> http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030115-1007.tar.bz2 (98
KiB)
>
>
> Changes:
>
> 1) This is an unstripped build to aid in debugging the new
> multiwindow mode.
>
> 2) Attempt at fixing the segfault on startup that some users are
> reporting. (Kensuke Matsuzaki)
>
> 3) New "-multimonitor" command-line parameter that is used to
> tell XWin.exe to display across all available displays. (Nick
> Crabtree)
>
>
> Enjoy,
>
> Harold
>
>



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



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


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