X-Spam-Check-By: sourceware.org Message-ID: X-Sender: emacs_user AT hotmail DOT com In-Reply-To: <20060814074204.GA1773@calimero.vinschen.de> From: "emacs user" To: cygwin AT cygwin DOT com, emacs-pretest-bug AT gnu DOT org Cc: eliz AT gnu DOT org Subject: Re: reproducible cygwin memory problems Date: Sat, 19 Aug 2006 16:57:49 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ok, let me try again. here is a case in which I try to run latest cvs gnu emacs under gdb and this just immediately freezes x windows. surely someone in the cygwin/ emacs teams would be interested in figuring this out...? ~ $ startx& [1] 304 ~ $ Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.99.901-4 Contact: cygwin-xfree AT cygwin DOT com XWin was started with the following command line: X :0 -multiwindow -clipboard -emulate3buttons 500 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000007 winSetEngine - Multi Window or Rootless => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 768 depth: 32 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: "00000409" (00000409) (--) Using preset keyboard for "English (USA)" (409), type "4" Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options = "(null )" /usr/local/emacs/src $ /usr/local/emacs/src $ xterm xterm Xt error: Can't open display: xterm: DISPLAY is not set /usr/local/emacs/src $ setenv DISPLAY :0.0 bash: setenv: command not found /usr/local/emacs/src $ export DISPLAY=:0.0 /usr/local/emacs/src $ xterm /usr/local/emacs/src $ gdb emacs.exe GNU gdb 6.5.50.20060706-cvs (cygwin-special) Copyright (C) 2006 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"... DISPLAY = :0.0 TERM = cygwin Breakpoint 1 at 0x2009d8d6: file emacs.c, line 464. Breakpoint 2 at 0x200b6e29: file sysdep.c, line 1395. (gdb) run -Q Starting program: /usr/local/emacs/src/emacs.exe -Q Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll Loaded symbols for /usr/bin/cygncurses-8.dll Loaded symbols for /usr/bin/cygwin1.dll Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dllid Window parameter) Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll Loaded symbols for /usr/bin/cygjpeg-62.dllas NULL Loaded symbols for /usr/bin/cygpng12.dll was NULL Loaded symbols for /usr/bin/cygz.dlld: The handle is invalid. Loaded symbols for /usr/bin/cygtiff-5.dll Loaded symbols for /usr/bin/cygungif-4.dll handle is invalid. Loaded symbols for /usr/X11R6/bin/cygX11-6.dll Loaded symbols for /usr/X11R6/bin/cygICE-6.dll2, last bpp: 32, new bpp: 32 Loaded symbols for /usr/X11R6/bin/cygSM-6.dll 1280 new height: 768 Loaded symbols for /usr/X11R6/bin/cygXaw3d-7.dll last bpp: 32, new bpp: 32 Loaded symbols for /usr/X11R6/bin/cygXext-6.dll280 new height: 768 Loaded symbols for /usr/X11R6/bin/cygXmu-6.dlldle is invalid. Loaded symbols for /usr/X11R6/bin/cygXt-6.dll Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll2, last bpp: 32, new bpp: 32 winWindowProc - WM_DISPLAYCHANGE - new width: 1280 new height: 768 Program received signal SIGSEGV, Segmentation fault.t bpp: 32, new bpp: 32 [Switching to thread 5892.0x1520]- new width: 1280 new height: 768 0x00000000 in ?? ()DISPLAYCHANGE - orig bpp: 32, last bpp: 32, new bpp: 32 (gdb) xinit: connection to X server lost. xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0.0"dowProc - WM_DISPLAYCHANGE - new width: 1280 new height: 768 xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0.0"dowProc - WM_DISPLAYCHANGE - new width: 1280 new height: 768 xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0.0"dowProc - WM_DISPLAYCHANGE - new width: 1280 new height: 768 winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow (invalid Window parameter) _________________________________________________________________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/