From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126267 invoked by alias); 12 Mar 2016 17:39:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 126255 invoked by uid 89); 12 Mar 2016 17:39:02 -0000 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 Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 12 Mar 2016 17:39:00 +0000 Received: from kylheku.com ([24.85.175.81]) by shaw.ca with SMTP id enVAap6LDjlcgenVBaBdHy; Sat, 12 Mar 2016 10:38:58 -0700 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 Received: from www-data by kylheku.com with local (Exim 4.72) (envelope-from <920-082-4242@kylheku.com>) id 1aenV9-0000yr-8f for cygwin@cygwin.com; Sat, 12 Mar 2016 09:38:55 -0800 To: cygwin@cygwin.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 Content-Transfer-Encoding: quoted-printable Date: Sat, 12 Mar 2016 17:39:00 -0000 From: Kaz Kylheku <920-082-4242@kylheku.com> In-Reply-To: <56E3B6EA.8070002@gmail.com> References: <56E3504C.4030805@tiscali.co.uk> <56E3B6EA.8070002@gmail.com> Message-ID: <885477408b69794d6ac82b45c7e1b64c@mail.kylheku.com> X-Sender: 920-082-4242@kylheku.com User-Agent: Roundcube Webmail/0.9.2 X-CMAE-Envelope: MS4wfNn7dZLg6RLh8ohPoPse26nJ447By6P6G8OlhUyUEz95gEhuWKcaT01ZB39ipF90ZeE4g03binTOl9TazKdToXHT9H+lIUchYzwNUkXlKP3hlwZGS5rX tHpvU0kwjdHUCZkU2rjpSLlCrMekMbIQAyKf8PuaM4kv0O3FvGTegyuM X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00184.txt.bz2 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=20 >>> 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'. >>>=20 >>> Here is the link to the tar file. >>>=20 >>> https://www.dropbox.com/s/lknuoac64hfql4s/test.tar?dl=3D0 >>>=20 >>> Hope you can reproduce the behavior and fix the problem. >>=20 >> 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=20 >> 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. >>=20 >> Dave. >>=20 > 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=20 different consequences even on architecturally similar systems. E.g. a=20 malloced buffer overrun depends on the heap structure and allocation pattern driven by program inputs. Uninitialized memory will have different=20 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=20 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=20 bothered to use the debugger). Please download the whole, reproduce the problem,=20 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