X-Recipient: archive-cygwin@delorie.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:reply-to:cc
	:message-id:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=VaOWjm0zaaJJmaoS
	hB/LXpgOYyxTjEVtr5g9o2Q/1NMXnRBGnwQtefWalBkYS9DUwVkbwUDMJMatC0tp
	NSCwxf2iyDhlkoHMwi+wWfsWPSA1M4MYmozVsnnxAbnvDuxfPx56TsXH5Cvdih8X
	4WE6BHN2A/peyCgnX6/cO93HxKg=
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:reply-to:cc
	:message-id:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=zEmoapsrfCYTFrbOuwuzgm
	iMSXk=; b=UtIT6YiZWbK43+EzJsB8kdOvpa+Ys/Zyw/Bv0VkznG8LQ564QUrQ5q
	R4Q1cCh5phCDZZdCRle59wUXlYEwKawZgoZ2tkUXs6TpphGi7ykELKEOWJ4LEndS
	d5HiThu/HENOqn7JCTlBQjzLoa+0h+s3+Tz03Bf9hs4NWqWIngy7E=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*i:sk:56E19B8, H*f:sk:56E19B8, H*MI:sk:56E19B8, H*R:D*cygwin.com
X-HELO: out4-smtp.messagingengine.com
Subject: Re: Application not working in 64-bit cygwin cygwin/X
To: cygwin@cygwin.com
References: <CAGX=k3HSzHeuynJeFy09e63p0hm6FoO5Ssa+s_mi-aHxV+zcoA@mail.gmail.com> <56E19B82.8050404@gmail.com>
From: Jon Turney <jon.turney@dronecode.org.uk>
Reply-To: cygwin@cygwin.com
Cc: "girish53@gmail.com >> Girish Joglekar" <girish53@gmail.com>
Message-ID: <56E1A93C.1040304@dronecode.org.uk>
Date: Thu, 10 Mar 2016 17:05:00 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56E19B82.8050404@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

On 10/03/2016 16:06, Marco Atzeri wrote:
> On 10/03/2016 16:58, Girish Joglekar wrote:
>> My application runs on cygwin, cygwin/X 32-bit but does not run on
>> 64-bit on Windows 10. The dump from segmentation faults says:
>>
>> Exception: STATUS_ACCESS_VIOLATION at rip=003F9919D22
>> rax=0000000000000001 rbx=0000000600277300 rcx=0000000000275620
>> rdx=0000000000000000 rsi=0000000000000000 rdi=0000000000275620
>> r8 =0000000000000000 r9 =0000000000000000 r10=0000000100000000
>> r11=00000003F9CF12AB r12=00000000FFFFB200 r13=0000000000000000
>> r14=0000000600277710 r15=0000000000000000
>> rbp=0000000600277300 rsp=00000000FFFFA410
>> program=C:\BPTECH\batches\versn7_2\execs\BATCHES.x, pid 7396, thread main
>> cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
>>
>> Cygwin FAQ says that this could be due to two different versions of
>> cygwin1.dll. However there is only one copy on my machine.
>>
>> Please advise. I had posted a test problem on Feb 23. I do not know if
>> you were able to reproduce the behavior. I am completely stuck at this
>> point and cannot move forward. Any suggestions are welcome.
>> Girish
>>
>
> The test case you provided was too large and have too many
> compilation warnings.
>
> If you eliminate all the compilation warning and than still crash,
> may be someone will look on it.
See also https://cygwin.com/faq.html#faq.programming.64bitporting

Using int, long and pointers interchangeably will not work well with 
libXt on any 64-bit OS.


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

