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:to:subject:mime-version:content-type :content-transfer-encoding:date:from:in-reply-to:references :message-id; q=dns; s=default; b=LmllrGi75vhptRlobwsLx9I+YvkEwS7 dzkcuP73Mf8IwnrDAOmkTEmXdycaEedr/0iYFNoFfLddnbXZctnTsvS5wXq/D/5d rK6LynM4O/BNKvMEwR8cxCzW/ocO5W6lgj2E5Qgl13NZ9VRfOSTeNRdhfd268AhU P0oYAbvaP7H0= 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:to:subject:mime-version:content-type :content-transfer-encoding:date:from:in-reply-to:references :message-id; s=default; bh=kMtmW/u4YjjCVptIoy8JWWGkLGc=; b=BzHcm yitU2ttejAIgi505bBS651VBATkHEE8H/zUPHM0akoEdi8WjU0dy+xqwCIh5o0WL /Aj4mavpJ2kg6NigF8jMVDtsW2zjp1gwKEpuaa+WVIlV+1rxMOV82jYG+q3X3jwv RAM0MdTHWNMvERpkKHdSXe+6BfaDyAEJxzG8A8= 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=-1.2 required=5.0 tests=AWL,BAYES_00,FROM_STARTS_WITH_NUMS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=solving, overrun, things!, H*i:sk:56E3B6E X-HELO: smtp-out-no.shaw.ca X-Authority-Analysis: v=2.1 cv=FIq7v7cs c=1 sm=1 tr=0 a=WiYoHcCliNeVponEdG0Ckg==:117 a=WiYoHcCliNeVponEdG0Ckg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=7OsogOcEt9IA:10 a=IWGjLCtdAAAA:20 a=H4771pbHvswZJskwCakA:9 a=QEXdDO2ut3YA:10 To: cygwin AT cygwin DOT com Subject: Re: Application not working in 64-bit cygwin cygwin/X X-PHP-Originating-Script: 501:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Sat, 12 Mar 2016 09:38:55 -0800 From: Kaz Kylheku <920-082-4242 AT kylheku DOT com> In-Reply-To: <56E3B6EA.8070002@gmail.com> References: <56E3504C DOT 4030805 AT tiscali DOT co DOT uk> <56E3B6EA DOT 8070002 AT gmail DOT com> Message-ID: <885477408b69794d6ac82b45c7e1b64c@mail.kylheku.com> X-Sender: 920-082-4242 AT kylheku DOT com User-Agent: Roundcube Webmail/0.9.2 X-CMAE-Envelope: MS4wfNn7dZLg6RLh8ohPoPse26nJ447By6P6G8OlhUyUEz95gEhuWKcaT01ZB39ipF90ZeE4g03binTOl9TazKdToXHT9H+lIUchYzwNUkXlKP3hlwZGS5rX tHpvU0kwjdHUCZkU2rjpSLlCrMekMbIQAyKf8PuaM4kv0O3FvGTegyuM X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u2CHdEYF014708 On 11.03.2016 22:27, Marco Atzeri wrote: > On 12/03/2016 00:10, David Stacey wrote: >> On 11/03/16 14:23, Girish Joglekar wrote: >>> I have cleaned up the test example based on X-Windows/Motif which >>> crashes >>> on 64-bit cygwin cygwin/X but runs on the 32-bit version. The only >>> warnings are of the type 'variable set but not used'. >>> >>> Here is the link to the tar file. >>> >>> https://www.dropbox.com/s/lknuoac64hfql4s/test.tar?dl=0 >>> >>> Hope you can reproduce the behavior and fix the problem. >> >> I tried this on Fedora 23 64-bit and it works. I had to add an empty >> utcrcu.h file, as the code tries to #include this, and it doesn't >> exist >> in the tar file. Given that it runs in 64-bit Linux, the problem is >> unlikely to be an issue associated with porting 32-bit applications to >> 64-bit. >> >> Dave. >> > it can be a bug not triggered on linux due the difference in managing > function arguments in the stack. Among a myriad other things! Undefined behaviors can have totally different consequences even on architecturally similar systems. E.g. a malloced buffer overrun depends on the heap structure and allocation pattern driven by program inputs. Uninitialized memory will have different garbage in it. And so on. So it works on Fedora 23 64-bit? That could be by fluke. How about this: does it run with zero errors under Valgrind on the same system? That represents a greater confidence that "it works". In any case, this is a poor approach to problem solving in the context of open source: "Hi, on your platform the program in my multi-megabyte archive crashes ... somewhere in the code (I could tell you where, but I can't be bothered to use the debugger). Please download the whole, reproduce the problem, and debug it for me." This kind of burp-and-diaper changing is done in the industry only for paying customers. -- 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