[ANNOUNCEMENT] Server Test 71 [DEBUG BUILD]

Harold L Hunt II huntharo@msu.edu
Thu Jan 16 14:11:00 GMT 2003


JS,

Running ``find'' in Cygwin does not search all of your drives, not even 
all of your local drives.  It only searches within your Cygwin 
installation directory.

I want you to go into Windows Explorer, right-click on your C drive and 
do a search for cygwin1.dll.  Then I want you to do it again for your D 
drive, etc.

It doesn't look like the problem has anything to do with threads.

Harold

J S wrote:

> Hi Harold,
>
> I'm happy to do the testing, I'm just worried in case we find out it 
> was something really stupid! Anyway, I'm sure there's only one 
> cygwin1.dll. Is the line below "fbblt.c: No such file or directory" 
> relevant at all?
>
> $ find / -name cygwin1*
> /bin/cygwin1.dll
> /usr/bin/cygwin1.dll
>
> $ mount
> D:\DOCUME~1\u752359\LOCALS~1\Temp on /tmp type user (binmode)
> C:\Program Files\cygwin\bin on /usr/bin type system (binmode)
> C:\Program Files\cygwin\lib on /usr/lib type system (binmode)
> d:\Documents and Settings on /home type user (binmode)
> C:\Program Files\cygwin on / type system (binmode)
> c: on /cygdrive/c type user (binmode,noumount)
> d: on /cygdrive/d type user (binmode,noumount)
> p: on /cygdrive/p type user (binmode,noumount)
>
>
> $ gdb ./XWin-Test71-DEBUG-2.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-2.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=0x22fd20 "0") at ../../../lib/xtrans/Xtranssock.c:932
> #8  0x0044a591 in _XSERVTransCreateListener (ciptr=0x100f2348,
>    port=0x22fd20 "0") at ../../../lib/xtrans/Xtrans.c:734
> #9  0x0044ac78 in _XSERVTransMakeAllCOTSServerListeners (port=0x22fd20 
> "0",
>    partial=0x22fd48, count_ret=0x83d440, ciptrs_ret=0x7e2550)
>    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 0x007df252 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  0x100f8638 in ?? ()
> #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  0x00457ec4 in InitQueue ()
> #7  0x004584d5 in winInitWM ()
> #8  0x00452a97 in winFinishScreenInitFB ()
> #9  0x0045228d in winScreenInit ()
> #10 0x00402389 in AddScreen (pfnInit=0x4520d0 <winScreenInit>, argc=2,
>    argv=0x100f1890) at main.c:768
> #11 0x0044fe9a in InitOutput ()
> #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 0x007df252 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  0x00457eef in InitQueue ()
> #8  0x004584d5 in winInitWM ()
> #9  0x00452a97 in winFinishScreenInitFB ()
> #10 0x0045228d in winScreenInit ()
> #11 0x00402389 in AddScreen (pfnInit=0x4520d0 <winScreenInit>, argc=2,
>    argv=0x100f1890) at main.c:768
> #12 0x0044fe9a in InitOutput ()
> #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 0x007df252 in cygwin_crt0 ()
> #17 0x0040103c in mainCRTStartup ()
> #18 0x77e992a6 in _libkernel32_a_iname ()
> (gdb) c
> Continuing.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00475b8a in fbBlt (srcLine=0x102c44d8, srcStride=3, srcX=0,
>    dstLine=0x1e431fc, 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  0x00475b8a in fbBlt (srcLine=0x102c44d8, srcStride=3, srcX=0,
>    dstLine=0x1e431fc, dstStride=1152, dstX=0, width=96, height=0, alu=3,
>    pm=4294967295, bpp=24, reverse=0, upsidedown=0) at fbblt.c:174
> #1  0x0047ee96 in fbOddTile (dst=0x1b80000, dstStride=1152, dstX=0,
>    width=27648, height=208, tile=0x102c44a8, tileStride=3, tileWidth=96,
>    tileHeight=4, alu=3, pm=4294967295, bpp=24, xRot=0, yRot=0) at 
> fbtile.c:149
> #2  0x0047ef90 in fbTile (dst=0x1b80000, dstStride=1152, dstX=0, 
> width=27648,
>    height=836, tile=0x102c44a8, tileStride=3, tileWidth=96, tileHeight=4,
>    alu=3, pm=4294967295, bpp=24, xRot=0, yRot=0) at fbtile.c:197
> #3  0x00479763 in fbFillRegionTiled (pDrawable=0x1010b150, 
> pRegion=0x22fce0,
>    pTile=0x102c4468) at fbwindow.c:268
> #4  0x0047981c in fbPaintWindow (pWin=0x1010b150, pRegion=0x22fce0, 
> what=0)
>    at fbwindow.c:304
> #5  0x004bbe41 in miSpritePaintWindowBackground (pWin=0x1010b150,
>    pRegion=0x22fce0, what=0) at misprite.c:844
> #6  0x0075b71f in shadowPaintWindow (pWindow=0x1010b150, 
> prgn=0x22fce0, what=0)
>    at shadow.c:1275
> #7  0x00494927 in miWindowExposures (pWin=0x1010b150, prgn=0x22fce0,
>    other_exposed=0x0) at miexpose.c:536
> #8  0x0040794b in MapWindow (pWin=0x1010b150, client=0x100f24d0)
>    at window.c:2869
> #9  0x00402d92 in InitRootWindow (pWin=0x1010b150) 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 0x007df252 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 /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
> InitQueue - Calling pthread_mutex_init
> InitQueue - pthread_mutex_init returned
> InitQueue - Calling pthread_cond_init
> InitQueue - pthread_cond_init returned
> winScreenInit - returning
> winInitMultiWindowWM - DISPLAY=:0.0
> (EE) No primary keyboard configured
> (==) Using compiletime defaults for keyboard
> Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" 
> Options = "(null)"
>
>
>
>>
>> JS,
>>
>> Looks like we might have a pthreads problem, but I need you to run 
>> the new debug build below before I can tell:
>>
>> http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test71-DEBUG-2.exe.bz2 
>> (2.9 MiB)
>>
>>
>> When you searched your system for multiple copies of cygwin1.dll, you 
>> did search ALL drives (including the C drive, the D drive, and any 
>> attached network drives) right?
>>
>> Thanks for testing,
>>
>> Harold
>>
>
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
> http://join.msn.com/?page=features/junkmail
>



More information about the Cygwin-xfree mailing list