From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13529 invoked by alias); 12 May 2014 10:34:47 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 13519 invoked by uid 89); 12 May 2014 10:34:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: smtpout08.bt.lon5.cpcloud.co.uk Received: from smtpout08.bt.lon5.cpcloud.co.uk (HELO smtpout08.bt.lon5.cpcloud.co.uk) (65.20.0.128) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 May 2014 10:34:44 +0000 X-CTCH-RefID: str=0001.0A090205.5370A3C1.0136,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Junkmail-Premium-Raw: score=8/97,refid=2.7.2:2014.4.29.81818:17:8.317,ip=,rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __HAS_REPLYTO, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __TO_NO_NAME, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __STOCK_PHRASE_7, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_1600_1699, __MIME_TEXT_ONLY, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, BODY_SIZE_2000_LESS, REPLYTO_FROM_DIFF_ADDY, BODY_SIZE_7000_LESS, NO_URI_FOUND X-CTCH-Spam: Unknown Received: from [192.168.1.93] (86.174.34.48) by smtpout08.bt.lon5.cpcloud.co.uk (8.6.100.99.10223) (authenticated as jonturney@btinternet.com) id 53583CE700DFABF8; Mon, 12 May 2014 11:34:40 +0100 Message-ID: <5370A3BB.8080300@dronecode.org.uk> Date: Mon, 12 May 2014 10:34:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: nem@emptec.com Subject: Re: xterm crashing when trying to access Ctrl- menu items References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2014-05/txt/msg00015.txt.bz2 On 05/05/2014 19:39, Nem W Schlecht wrote: > For over a month now I've been having issues with my xterms in Cygwin. > If I try to access *any* menu item under the Ctrl- menu > items (change font, turn on/off scrollbar, redraw window, etc.), my > xterm crashes the moment I un-press my mouse button. I don't access > them all that often, so I don't know how long the issue has been > around, but it's been a couple of months now. > > I've tried launching it with an empty .Xdefaults file (home dir) and > by moving my .bashrc/.bash_profile files out of the way - still the > same result. I've also gone out and downloaded the latest XTerm code > and have a version compiled with debugging, but my C skills are really > rusty and I'm not seeing anything terribly useful in gdb (I set my > CYGWIN env var to "error_start=dumper -d %1 %2" so I would get core > dumps). I compiled a version with a different "DEFCLASS" set so that > I *know* it's not a bad resource or resource file. > > I'm running 64 bit on Windows 7. More details in the attached cygcheck.out. > > Anybody else on 64bit Cygwin / Win 7 having the same issues? Thanks for reporting this issue. I can reproduce it. This appears to be an issue with Xt, as a Cygwin-specific patch does not work correctly on x86_64 when another DLL which is using Xt is loaded >2GB away from it. Until we have a fix, you *might* be able to work around this by rebasing the DLLs, e.g. in the specific case of xterm, which uses Xaw: cd /usr/bin rebase -v -b 0x400000000 cygXt-6.dll rebase -v -b 0x410000000 cygXaw-7.dll -- 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/