From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24911 invoked by alias); 21 Feb 2004 22:12:48 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 24904 invoked from network); 21 Feb 2004 22:12:46 -0000 Received: from unknown (HELO mail.broadpark.no) (217.13.4.2) by sources.redhat.com with SMTP; 21 Feb 2004 22:12:46 -0000 Received: from famine (217-13-20-38.dd.nextgentel.com [217.13.20.38]) by mail.broadpark.no (Postfix) with ESMTP id CDDF279D7C for ; Sat, 21 Feb 2004 23:12:45 +0100 (MET) Subject: New windowing code From: =?ISO-8859-1?Q?=D8yvind?= Harboe To: cygwin-xfree@cygwin.com Content-Type: multipart/mixed; boundary="=-IBJU803AmmZJdkEb15Kd" Organization: Zylin AS Message-Id: <1077401565.6002.2.camel@famine> Mime-Version: 1.0 Date: Sat, 21 Feb 2004 22:51:00 -0000 X-SW-Source: 2004-02/txt/msg00163.txt.bz2 List-Id: --=-IBJU803AmmZJdkEb15Kd Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-length: 7137 I did a cvs update and took the new XWin.exe for a spin. - To get things to compile, I had to make the attached smallchange.txt - I saw the crash below in the my text mode GDB session when maximizing Evolution. Don't know what to make of it. - I was able to resize Evolution window by dragging the upper left corner of the window(which is listed as fixed in the posting by Takuma Murakami) - I was not able to reproduce the duplicate windows + wrong offset for mouse cursor problem after maximizing Evolution on my second monitor. To say that the problem is definitely gone is a bit premature, since the problem was intermittant. startxwin.bat - Starting on Windows NT/2000/XP/2003 GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 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 Starting program: /usr/X11R6/bin/XWin.exe -multiwindow -clipboard -multiplemonit ors --Type to continue, or q to quit-- Program received signal SIGSEGV, Segmentation fault. 0x004d3228 in miComputeClips (pParent=0x103a1800, pScreen=0x100f8e80, universe=0x22e6a4, kind=VTMove, exposed=0x22e684) at mivaltree.c:259 259 dx = pParent->drawable.x - pParent->valdata->before.oldAbsCorner.x; (gdb) thread apply bt all (gdb) thread apply all bt Thread 13 (thread 2848.0x960): #0 0x7ffe0304 in ?? () #1 0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll #2 0x77e7a62d in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL #3 0x00000468 in ?? () Thread 12 (thread 2848.0xf7c): #0 0x7ffe0304 in ?? () #1 0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll #2 0x71a51f97 in DSA_DestroyCallback () from /cygdrive/c/WINDOWS/System32/MSWSOCK.DLL #3 0x0421fdfc in ?? () #4 0x0421fe90 in ?? () #5 0x10184bfc in ?? () #6 0x0421fe80 in ?? () #7 0x6efeb39c in ?? () #8 0x01c3f8c5 in ?? () #9 0xffffffff in ?? () #10 0x7fffffff in ?? () #11 0x002523d8 in ?? () Thread 11 (thread 2848.0xb18): --Type to continue, or q to quit-- #0 0x7ffe0304 in ?? () #1 0x77f5c524 in ntdll!ZwWaitForMultipleObjects () from ntdll.dll #2 0x77e75ee0 in WaitForMultipleObjectsEx () from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL #3 0x00000003 in ?? () #4 0x0401e978 in ?? () #5 0x00000001 in ?? () Thread 10 (thread 2848.0xe5c): #0 0x7ffe0304 in ?? () #1 0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll #2 0x71a51f97 in DSA_DestroyCallback () from /cygdrive/c/WINDOWS/System32/MSWSOCK.DLL #3 0x03e1fdfc in ?? () #4 0x03e1fe90 in ?? () #5 0x10191c94 in ?? () #6 0x03e1fe80 in ?? () #7 0x6efeb39c in ?? () #8 0x01c3f8c5 in ?? () #9 0xffffffff in ?? () #10 0x7fffffff in ?? () #11 0x00252208 in ?? () Thread 9 (thread 2848.0x698): --Type to continue, or q to quit-- #0 0x7ffe0304 in ?? () #1 0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll #2 0x77e7a62d in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL #3 0x000005a4 in ?? () Thread 8 (thread 2848.0x218): #0 0x7ffe0304 in ?? () #1 0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll #2 0x77e7a62d in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL #3 0x000005b8 in ?? () Thread 7 (thread 2848.0x42c): #0 0x7ffe0304 in ?? () #1 0x77f5c024 in ntdll!ZwRemoveIoCompletion () from ntdll.dll #2 0x71a51a1b in DSA_DestroyCallback () from /cygdrive/c/WINDOWS/System32/MSWSOCK.DLL #3 0x0381ffac in ?? () #4 0x0381ffb0 in ?? () #5 0x71a5b740 in MSWSOCK!AcceptEx () from /cygdrive/c/WINDOWS/System32/MSWSOCK.DLL #6 0x00240608 in ?? () #7 0x77f9e28f in ntdll!RtlpNtEnumerateSubKey () from ntdll.dll --Type to continue, or q to quit-- #8 0x00000003 in ?? () #9 0x00000004 in ?? () #10 0x0000ffff in ?? () #11 0x000000b8 in ?? () Thread 6 (thread 2848.0xce0): #0 0x7ffe0304 in ?? () #1 0x77d43a09 in SetBitmapDimensionEx () from /cygdrive/c/WINDOWS/system32/user32.dll #2 0x77d443b5 in USER32!GetMessageA () from /cygdrive/c/WINDOWS/system32/user32.dll #3 0x61091f03 in wait4 () from /usr/bin/cygwin1.dll #4 0x61002dae in forkpty () from /usr/bin/cygwin1.dll #5 0x77e7d33b in RegisterWaitForInputIdle () from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL #6 0x610cfb50 in cygwin1!__ctype_ptr () #7 0x019e4200 in ?? () #8 0x610cfb50 in cygwin1!__ctype_ptr () #9 0x7ffd9000 in ?? () #10 0x0361ffc0 in ?? () #11 0x00000007 in ?? () #12 0xffffffff in ?? () #13 0x77e94809 in SetThreadExecutionState () from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL --Type to continue, or q to quit-- Thread 5 (thread 2848.0xf28): #0 0x7ffe0304 in ?? () #1 0x77f5c524 in ntdll!ZwWaitForMultipleObjects () from ntdll.dll #2 0x77e75ee0 in WaitForMultipleObjectsEx () from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL #3 0x00000001 in ?? () #4 0x0341fe88 in ?? () #5 0x00000001 in ?? () Thread 4 (thread 2848.0xd84): #0 0x7ffe0304 in ?? () #1 0x77f5c524 in ntdll!ZwWaitForMultipleObjects () from ntdll.dll #2 0x77e75ee0 in WaitForMultipleObjectsEx () from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL #3 0x00000002 in ?? () #4 0x0321e058 in ?? () #5 0x00000001 in ?? () Thread 3 (thread 2848.0xa38): #0 0x7ffe0304 in ?? () #1 0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll #2 0x77e7a62d in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL --Type to continue, or q to quit-- #3 0x000005b0 in ?? () Thread 2 (thread 2848.0xde0): #0 0x7ffe0304 in ?? () #1 0x77f5c524 in ntdll!ZwWaitForMultipleObjects () from ntdll.dll #2 0x77e75ee0 in WaitForMultipleObjectsEx () from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL #3 0x00000003 in ?? () #4 0x0191fe58 in ?? () #5 0x00000001 in ?? () Thread 1 (thread 2848.0x820): #0 0x004d3228 in miComputeClips (pParent=0x103a1800, pScreen=0x100f8e80, universe=0x22e6a4, kind=VTMove, exposed=0x22e684) at mivaltree.c:259 #1 0x004d4004 in miValidateTree (pParent=0x10110258, pChild=0x103a1800, kind=VTMove) at mivaltree.c:717 #2 0x004d1764 in miMoveWindow (pWin=0x1035c8c0, x=1658, y=56, pNextSib=0x0, kind=VTMove) at miwindow.c:552 #3 0x00465436 in winMoveWindowMultiWindow (pWin=0x1035c8c0, x=1658, y=56, pSib=0x0, kind=VTMove) at winmultiwindowwindow.c:870 #4 0x00406e70 in ConfigureWindow (pWin=0x1035c8c0, mask=15, vlist=0x22e874, client=0x10365228) at window.c:2439 #5 0x00465713 in winAdjustXWindow (pWin=0x1035c8c0, hwnd=0x370286) at winmultiwindowwindow.c:977 --Type to continue, or q to quit-- #6 0x0045e847 in winTopLevelWindowProc (hwnd=0x370286, message=3, wParam=0, lParam=3671674) at winmultiwindowwndproc.c:804 #7 0x77d43a50 in SetBitmapDimensionEx () from /cygdrive/c/WINDOWS/system32/user32.dll #8 0x00370286 in ?? () #9 0x00000003 in ?? () (gdb) --=-IBJU803AmmZJdkEb15Kd Content-Disposition: attachment; filename=smallchange.txt Content-Type: text/x-patch; name=smallchange.txt; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Content-length: 481 Index: winprefs.h =================================================================== RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/winprefs.h,v retrieving revision 1.1.6.2 diff -u -r1.1.6.2 winprefs.h --- winprefs.h 17 Feb 2004 06:26:17 -0000 1.1.6.2 +++ winprefs.h 21 Feb 2004 22:08:34 -0000 @@ -132,7 +132,7 @@ HandleCustomWM_INITMENU(unsigned long hwndIn, unsigned long hmenuIn); -Bool +int HandleCustomWM_COMMAND (unsigned long hwndIn, int command); --=-IBJU803AmmZJdkEb15Kd--