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: multiwindow segmentation fault


Still getting the segfault with multiwindow. I have a bit more debug info here thought but not sure if it will help. There was also a stacktrace produced (but I'm not too sure what to do with that). I have pasted it below in case that helps:

$ gdb ./XWin-Test71.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"...(no debugging symbols found)...
(gdb) run -multiwindow
Starting program: /cygdrive/d/downloads/XWin-Test71.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 0x0043b838 in trans_mkdir ()
#7 0x004394b8 in _XSERVTransSocketUNIXCreateListener ()
#8 0x0043a7d8 in _XSERVTransCreateListener ()
#9 0x0043ad7c in _XSERVTransMakeAllCOTSServerListeners ()
#10 0x004306ca in CreateWellKnownSockets ()
#11 0x00401a45 in main ()
#12 0x61007638 in _libkernel32_a_iname ()
#13 0x6100791d in _libkernel32_a_iname ()
#14 0x006f8de2 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 0x100f8650 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 0x00447707 in InitQueue ()
#7 0x00447c65 in winInitWM ()
#8 0x00442427 in winFinishScreenInitFB ()
#9 0x00441c1d in winScreenInit ()
#10 0x004020f6 in AddScreen ()
#11 0x0043f82a in InitOutput ()
#12 0x00401680 in main ()
#13 0x61007638 in _libkernel32_a_iname ()
#14 0x6100791d in _libkernel32_a_iname ()
#15 0x006f8de2 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 0x100fee58 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 0x00447717 in InitQueue ()
#8 0x00447c65 in winInitWM ()
#9 0x00442427 in winFinishScreenInitFB ()
#10 0x00441c1d in winScreenInit ()
#11 0x004020f6 in AddScreen ()
#12 0x0043f82a in InitOutput ()
#13 0x00401680 in main ()
#14 0x61007638 in _libkernel32_a_iname ()
#15 0x6100791d in _libkernel32_a_iname ()
#16 0x006f8de2 in cygwin_crt0 ()
#17 0x0040103c in mainCRTStartup ()
#18 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00461f32 in fbBlt ()
(gdb) where
#0 0x00461f32 in fbBlt ()
#1 0x00469077 in fbOddTile ()
#2 0x004648ee in fbFillRegionTiled ()
#3 0x004992ae in miSpritePaintWindowBackground ()
#4 0x0068e930 in shadowPaintWindow ()
#5 0x0047866a in miWindowExposures ()
#6 0x00406259 in MapWindow ()
#7 0x004028a4 in InitRootWindow ()
#8 0x004018d1 in main ()
#9 0x61007638 in _libkernel32_a_iname ()
#10 0x6100791d in _libkernel32_a_iname ()
#11 0x006f8de2 in cygwin_crt0 ()
#12 0x0040103c in mainCRTStartup ()
#13 0x77e992a6 in _libkernel32_a_iname ()
(gdb) c
Continuing.

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


$ cat xwin.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=00461F32
eax=00000000 ebx=01732000 ecx=00000000 edx=00000000 esi=102C44D4 edi=00000001
ebp=0022FB28 esp=0022FAC8 program=C:\Program Files\cygwin\usr\X11R6\bin\xwin.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022FB28 00461F32 (102C44A8, 00000003, 00000000, 0172E000)
0022FB88 00469077 (01470000, 00000480, 00000000, 00006C00)
0022FBF8 004648EE (10105778, 0022FCF0, 102C4468, 100F8638)
0022FC18 004992AE (10105778, 0022FCF0, 00000000, 10105220)
0022FC48 0068E930 (10105778, 0022FCF0, 00000000, 004024EE)
0022FCB8 0047866A (10105778, 0022FCF0, 00000000, 0041EB9C)
0022FD38 00406259 (10105778, 100F24D0, 00000000, 00000001)
0022FD58 004028A4 (10105778, 00000000, 100F1890, 00000001)
0022FDA0 004018D1 (00000002, 100F1890, 100F0330, 000000CC)
0022FF40 61007638 (610C1A28, FFFFFFFE, 00000054, 610C194C)
0022FF90 6100791D (00000000, 00000000, 80100000, BB788D00)
0022FFB0 006F8DE2 (00401490, 037F0009, 0022FFF0, 77E992A6)
0022FFC0 0040103C (00000200, 0022E734, 7FFDF000, FFFFFFFF)
0022FFF0 77E992A6 (00401000, 00000000, 000000C8, 00000100)
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 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



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: cygwin-xfree-owner@cygwin.com
[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alexander Gottwald
Sent: Wednesday, January 15, 2003 7:44 AM
To: cygwin-xfree@cygwin.com
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
--
 Alexander.Gottwald@informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723

_________________________________________________________________
The new MSN 8: smart spam 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]