From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19551 invoked by alias); 2 Oct 2015 08:58:09 -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 19539 invoked by uid 89); 2 Oct 2015 08:58:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 02 Oct 2015 08:58:07 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 2FFFA2FAA78 for ; Fri, 2 Oct 2015 08:58:06 +0000 (UTC) Received: from YAAKOV04.redhat.com (ovpn-116-36.rdu2.redhat.com [10.10.116.36]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t928w4OG029785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 2 Oct 2015 04:58:05 -0400 Message-ID: <1443776288.8896.3.camel@cygwin.com> Subject: Re: [Cygwin-ports-general] Ncview From: Yaakov Selkowitz To: cygwin@cygwin.com Date: Fri, 02 Oct 2015 08:58:00 -0000 In-Reply-To: <560DA71F.2060006@gmail.com> References: <56095DBC.6090308@gmail.com> <1443720905.8588.17.camel@cygwin.com> <560DA71F.2060006@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00014.txt.bz2 On Thu, 2015-10-01 at 23:35 +0200, Marco Atzeri wrote: > On 01/10/2015 19:35, Yaakov Selkowitz wrote: > > On Mon, 2015-09-28 at 17:33 +0200, Marco Atzeri wrote: > >> On 28/09/2015 16:07, Vasileios Anagnostopoulos wrote: > > >> > >> 2) the 64 bit crashes inside X libs. > >> I never succeeded to identify the root cause > > > > Confirmed. Often 64-bit-only issues come down to one or more of the > > following: > > > > * implicit function declarations. Per the C standard, argument types > > are assumed to match whatever is given (which may be wrong if e.g. 0 is > > used instead of 0L or (PointerType)0 or NULL etc.) and the return type > > is assumed to be int (which will truncate the actual return value when > > it is actually a long/pointer). > > This is not. The only two implicit declaration are of type int > and declaring them changes noting. > > > > > * vararg types. Because these types aren't declared, the compiler can't > > automatically cast values to the correct type, so literal values and > > symbolic constants must be explicitly cast if they are not meant to be > > an int and are not obviously a long/pointer. > > I don't find any case. The XtVa* functions use varargs. > > In the case of ncview, I strongly suspect the latter should anyone be > > interested in fixing this. > > The hard issue is that only cygwin 64 bit seems impacted, > while other 64 platform are fine, > and that the crash is well deep X libraries during the > destruction phase of graphical elements > as the X graphics elements are not correctly destroyed in sequence. > > If someone more knowledgeable in X is interested I can provide the > program and a test case. That would be great. -- Yaakov -- 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