Hi folks.
I was on vacation so I couldn't replay. 3 days ago I tried to reproduce the
crash,
but it did not happen! I have not installed new software since the previous
crash,
niether cygwin nor Windows. I do not understand how that can be. The only
difference I can think of is that when the crashes happened 2 weeks ago I had
ben working
for a long time with the machine. Three days ago I just booted the machine and
tried to
reproduce the crash. Today I tried again and the crash was back again (my wife
had been
using the machine all day). I have made the backtrace as suggested. It is
attached
together with the XWin.0.log.
In order to have the crash you have to interact for a while with the test
program
and then close the window.
About the locale non working, I start the X server with a windows batch script
that makes
the following sets before running XWin:
SET DISPLAY=127.0.0.1:0.0
SET XAPPLRESDIR=/etc/X11/app-defaults
SET XCMSDB=/usr/lib/X11/Xcms.txt
SET XKEYSYMDB=/usr/share/X11/XKeysymDB
SET XNLSPATH=/usr/share/X11/locale
SET XLIB_SKIP_ARGB_VISUALS=1
SET LC_ALL=es_VEN.ISO-8859-1
Hope that this can be useful
RM
$ gdb --pid=4020
GNU gdb (GDB) 7.3.50.20111026-cvs (cygwin-special)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type show copying
and show warranty for details.
This GDB was configured as i686-cygwin.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Attaching to process 4020
[New Thread 4020.0x644]
[New Thread 4020.0x6f4]
[New Thread 4020.0x8dc]
[New Thread 4020.0xab0]
[New Thread 4020.0xfe4]
[New Thread 4020.0x7d0]
[New Thread 4020.0xcd8]
[New Thread 4020.0xac]
[New Thread 4020.0xb90]
[New Thread 4020.0x720]
[New Thread 4020.0x948]
[New Thread 4020.0x35c]
[New Thread 4020.0xc84]
Reading symbols from /usr/bin/XWin...done.
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 4020.0x644]
0x0058bf47 in DeleteWindowFromAnyEvents (pWin=0x0, freeResources=0)
at events.c:5624
5624events.c: No such file or directory.
in events.c
(gdb) bt full
#0 0x0058bf47 in DeleteWindowFromAnyEvents (pWin=0x0, freeResources=0)
at events.c:5624
parent = 0xf8
mouse = 0x0
keybd = 0x126d4d0
focus = 0x12ac748
oc = 0x19560a60
passive = 0x7e3a941e
grab = 0x0
#1 0x00425be4 in winTopLevelWindowProc@16 (hwnd=0x220370, message=8,
wParam=0, lParam=0) at winmultiwindowwndproc.c:719
ptMouse = {x = 2279540, y = 3}
hdcUpdate = 0x1c
ps = {hdc = 0x1c, fErase = 0, rcPaint = {left = 3744, top = 0,
right = 2117700569, bottom = 2118062216}, fRestore = 3,
fIncUpdate = 2279588,
rgbReserved =
¬\215:~\213\215:~p\005V\031\034\000\000\000Ì\003\020\000\000\000\000\000\001\000\000\000\000\000\000}
pWin = 0x0
pWinPriv = 0x0
s_pScreen = 0x0
s_pScreenPriv = 0x0
s_pScreenInfo = 0x0
---Type return to continue, or q return to quit---
hwndScreen = 0x0
pDraw = 0x0
wmMsg = {dwID = 0, msg = 2279472, iWindow = 6363488,
hwndWindow = 0x11637b0, iX = 2281060, iY = 2279516,
iWidth = 2117766617, iHeight = 1049548}
fWMMsgInitialized = 0
s_fTracking = 0
needRestack = 0
ret = 0
hasEnteredSizeMove = 0
#2 0x7e398734 in USER32!GetDC () from /cygdrive/c/WINDOWS/system32/USER32.dll
No symbol table info available.
#3 0x00220370 in ?? ()
No symbol table info available.
#4 0x7e398816 in USER32!GetDC () from /cygdrive/c/WINDOWS/system32/USER32.dll
No symbol table info available.
#5 0x00424e77 in winStartMousePolling (s_pScreenPriv=0x8)
at winmultiwindowwndproc.c:299
No locals.
#6 0x00220370 in ?? ()
No symbol table info available.
#7 0x7e3a8ea0 in USER32!DefWindowProcW ()
from /cygdrive/c/WINDOWS/system32/USER32.dll
---Type return to continue, or q return to quit---
No symbol table info available.
#8 0x in ?? ()
No symbol table info available.
(gdb)
XWin.0.log
Description: Binary data
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/