Xwin stackdump while logging into RH8 with KDE as window manager

Harold L Hunt II huntharo@msu.edu
Sun Sep 7 02:11:00 GMT 2003


Joel,

Alexander Gottwald --- Take a look at the location of this crash:

Program received signal SIGSEGV, Segmentation fault.
0x0050b588 in ProcXkbGetKbdByName (client=0x10709ff8) at xkb.c:6022

Does this indicate any problems to you?

The line reference does two pointer dereferences:

*xkb->ctrls = *old_xkb->ctrls;


That is interesting... are you using an XF86Config file?  Or, do you 
have your keyboard in Windows set to something other than the default 
layout (the answer is probably no if you don't know what this is)?  What 
about the keyboard in your KDE setup.


Harold

Joel Rosi-Schwartz wrote:
> Harold,
> 
> I  have attached the output from the gdb run and, even thought they have 
> not changed much, the stack trace and log. Please not that I have not 
> downloaded source, so all you have is the file and line number where the 
> violation takes place. I my having the source here can help with this 
> please let me know.
> 
> Thanks,
> Joel
> 
> Harold L Hunt II wrote:
> 
>> Joel,
>>
>> I just posted a Test97 DEBUG release to:
>>
>> http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test97-DEBUG.exe.bz2
>>
>>
>> You seem pretty knowledgeable, so I assume that you know what to do in 
>> order to locate the place that XWin.exe is bombing.
>>
>> One caveat --- if you run this under gdb, be aware that two exceptions 
>> are thrown during intialization... these are caught by handlers in 
>> cygwin1.dll, so you can just "continue" when you see these two 
>> exceptions.  Anything after that should indicate an actual problem.
>>
>> Thanks so much for testing,
>>
>> Harold
>>
>> Joel Rosi-Schwartz wrote:
>>
>>> Harold L Hunt II wrote:
>>>
>>>> Joel,
>>>>
>>>> The next step is to have you run a debug build of XWin.exe.  We 
>>>> should be able to locate the offending line of code, so long as it 
>>>> is a problem internal to XWin.exe and not in an external library (it 
>>>> almost never is).  I am creating a debug build of XWin.exe for you 
>>>> to try now.  I really should have done this a long time ago... we 
>>>> have a few types of random crashes now that need to be fixed. 
>>>
>>>
>>>
>>>
>>> Fine, let me know when it is ready to go.
>>>
>>> Thnaks,
>>> Joel
>>>
>>
>>
> 
> 
> ------------------------------------------------------------------------
> 
> (gdb) run  -query athena -from polyhymnia
> Starting program: /usr/X11R6/bin/XWin.exe -query athena -from polyhymnia
> ---Type <return> to continue, or q <return> to quit---
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0050b588 in ProcXkbGetKbdByName (client=0x10709ff8) at xkb.c:6022
> 6022    xkb.c: No such file or directory.
>         in xkb.c
> 
> 
> ------------------------------------------------------------------------
> 
> Exception: STATUS_ACCESS_VIOLATION at eip=0050B588
> eax=00000054 ebx=10707808 ecx=00000015 edx=00000000 esi=103E6658 edi=00000000
> ebp=0022FE58 esp=0022FB20 program=c:\root\usr\X11R6\bin\XWin.exe
> cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
> Stack trace:
> Frame     Function  Args
> 0022FE58  0050B588  (1064E6A0, 00000001, 00000064, 00000010)
> 0022FE78  0050DE79  (1064E6A0, 00000033, 00000000, 0000003A)
> 0022FEA8  00409CBB  (00000002, 00000000, 61622B84, 00000001)
> 0022FEF0  00401988  (00000007, 61622B84, 10100330, 0022FF24)
> 0022FF40  61004D8A  (610D0EE8, FFFFFFFE, 000003A8, 610D0E0C)
> 0022FF90  6100507D  (00000000, 00000000, FFFFFFFF, 80430D04)
> 0022FFB0  0082A282  (00401438, 037F0009, 0022FFF0, 7C4E87F5)
> 0022FFC0  0040103C  (00000000, 00000000, 7FFDF000, 00000020)
> 0022FFF0  7C4E87F5  (00401000, 00000000, 000000C8, 00000100)
> End of stack trace
> 
> 
> ------------------------------------------------------------------------
> 
> ddxProcessArgument - Initializing default screens
> winInitializeDefaultScreens - w 1024 h 768
> winInitializeDefaultScreens - Returning
> OsVendorInit - Creating bogus screen 0
> (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 32 bits per pixel
> winCreateBoundingWindowWindowed - User w: 1024 h: 768
> winCreateBoundingWindowWindowed - Current w: 1024 h: 768
> winAdjustForAutoHide - Original WorkArea: 0 0 740 1024
> winAdjustForAutoHide - Adjusted WorkArea: 0 0 740 1024
> winCreateBoundingWindowWindowed - WindowClient w 1018 h 715 r 1018 l 0 b 715 t 0
> winCreateBoundingWindowWindowed -  Returning
> winCreatePrimarySurfaceShadowDDNL - Creating primary surface
> winCreatePrimarySurfaceShadowDDNL - Created primary surface
> winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
> winAllocateFBShadowDDNL - lPitch: 4072
> winAllocateFBShadowDDNL - Created shadow pitch: 4072
> winAllocateFBShadowDDNL - Created shadow stride: 1018
> winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
> winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
> winCreateDefColormap - Deferring to fbCreateDefColormap ()
> winFinishScreenInitFB - returning
> winScreenInit - returning
> InitOutput - Returning.
> (==) winConfigKeyboard - Layout: "00000809" 
> (==) Using preset keyboard for "English (United Kingdom)" (00000809), type "4"
> (EE) No primary keyboard configured
> (==) Using compiletime defaults for keyboard
> Rules = "xfree86" Model = "pc105" Layout = "gb" Variant = "(null)" Options = "(null)"
> winPointerWarpCursor - Discarding first warp: 509 357
> winBlockHandler - Releasing pmServerStarted
> winBlockHandler - pthread_mutex_unlock () returned



More information about the Cygwin-xfree mailing list