X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=F8mIr0apNycilqQw jh70wKdxP1jnvEvoNc7I9xet3KtkisWXM0LAAocZ2kgpMQ4fVzGe+qAmvstM8fFZ MnvOuXr5ooiYo9OFbyxNGtDSR3B2IDWbNsBy2yCE8eRuUp2IX9tTpVUrRwHCBUcT v9tQ8LSgZ9cf2A/0I9swoQBs2EM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=lvytBJJ80C0zjJ0RswtryR 6TW/M=; b=k9z7kTVV3atzFZmoHn0MvdxxtkSzGEeFHAiIAYJQluokK3oeDJyJuh mmOXR4WLGoZcUm6pUIg37mVDMngq5VNy3YhXxqYYWerGD0Ng9I04TYgHLdbWR+nk FezWeWtFiSsMdmk/2qMN+S0VrI0LOwQ0eUO8ny5PKNez7fY4lem08= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Roe, roe, click X-HELO: limerock03.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: Cygwin 64 problem To: cygwin AT cygwin DOT com References: <20161127223035 DOT GA3886 AT dimstar DOT local DOT net> From: Ken Brown Message-ID: Date: Sun, 27 Nov 2016 17:42:14 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: <20161127223035.GA3886@dimstar.local.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes On 11/27/2016 5:30 PM, Duncan Roe wrote: > On Sun, Nov 27, 2016 at 11:02:29AM -0500, Ken Brown wrote: >> On 11/27/2016 9:03 AM, Girish Joglekar wrote: >>> Hi Ken, >>> Thank you for your reply on the Cygwin mailing list. I have created a >>> slightly smaller test example smaller than what I had created in Feb. >>> Attached is a tar file. After make insall if you run TEST.x and click >>> the Open button, it gives segmentation fault. >>> Hope you will be able to help. >>> Thank you. >>> Girish >> >> Please keep the discussion on the mailing list so that people who might be >> able to help will see it. I personally am not familiar with X11 >> programming, so I'm not one of those people. >> >> I do have a few comments, however: >> >> 1. This may be slightly smaller than your previous program, but it is still >> *very* far from a small test case. You really can't expect people to debug >> a program of this size for you. >> >> 2. I suggest that you build with -Wall (as Marco already suggested in the >> earlier discussion) and fix all the compiler warnings. I saw several that >> need attention (aside from the many "unused variable" warnings). It >> wouldn't hurt to also use -Wextra. >> >> 3. I also suggest that you use gdb to find out where the program is crashing >> and why. You made a start on that in the discussion last March, but you >> didn't follow through. (By the way, I recommend building without >> optimization; otherwise you may not be able to get accurate information >> about the crash from gdb.) >> >> 4. If, after the steps above, you still think the crash is due to a Cygwin >> bug rather than a programming error, then try to extract from your program a >> test case as small as possible that reproduces the crash. >> >> Ken > > I thought I would have a crack at this but immediately got the error: > > testc.h:8:19: fatal error: Xm/Xm.h: No such file or directory > #include > > I thought /usr/include/Xm/ should come with motif, which I have installed. > > What have I missed? libXm-devel Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple