Re: XWIN-1.11.3.0 crashes when some client programs terminate.

2012-01-23 Thread rodmed...@cantv.net
Hi,

Jon TURNEY wrote:

you've made a typo somewhere.

It was indeed a typo!

Thanks a lot

RM

--
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/



Re: XWIN-1.11.3.0 crashes when some client programs terminate.

2012-01-21 Thread rodmed...@cantv.net
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/

Re: XWIN-1.11.3.0 crashes when some client programs terminate.

2012-01-11 Thread Jon TURNEY
On 10/01/2012 04:01, rodmed...@cantv.net wrote:
 With the last release of Xwin (1.11.3.0) I have found the following problem.
 The termination of some programs that otherwise work correctly, produces
 a crash of Xwin. With some client programs the problem allways appears,
 with others it happens only occationally. I am attaching the sources of a
  simple program that consistently produces the crash of the server.

I tried your test program, but couldn't reproduce the crash.

Perhaps you can follow the instructions at [1] and produce a backtrace?

Thanks for attaching the cygcheck.out and XWin.0.log files. I notice one odd
thing in the XWin.0.log:

[  9863.906] setlocale failed.

According to your cygcheck.out, you have LANG = 'es_VE.ISO-8859-1', which
should be valid, and I can't reproduce this either, so there is something I
don't understand going on here.  Does this error disappear when you revert to
a previous version also?

[1] http://x.cygwin.com/devel/backtrace.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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/