www.delorie.com/archives/browse.cgi | search |
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=m7Ud4MbZ66HHxd+0 | |
eb3yDk846wtszK4gI+6/V5LvMgz4VkZeKYF/p49QpmeTh7fmZ+9K3fW1BLkj0DdJ | |
mD1iUrCGIvGufY3fFsUM9MU6EaxQOScafl+T2zPx7E3O7OA3dFDupp1i95qtRe6f | |
AYz1s6xT/jV77X6HnTp06gekwGg= | |
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=PXkDNqN+GIWF5iqMGrRtLo | |
+y3gM=; b=r+g+9c0XNie8unbXbAKgr0YMe6E+p+JclSg/qjsf4d2s6EzlVZutBz | |
Q9WhKqdrO1VAkkBYbzkKRemI31NRZDY1+taQpSCQMidDj7bUWaM/gnvjOhMsuxnW | |
aho99KCKFoAh12eOr2zJYQRGdgI0rYMGth2hLUUZNiZgZyTN+7v9w= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mail-wi0-f174.google.com |
X-Received: | by 10.194.84.129 with SMTP id z1mr14566024wjy.17.1443735334023; Thu, 01 Oct 2015 14:35:34 -0700 (PDT) |
Subject: | Re: [Cygwin-ports-general] Ncview |
To: | cygwin AT cygwin DOT com |
References: | <CAKmU=T_XtcOf1MOa_31oTfNYzUZ6QZD1xU9eTG-ERkvsua+gZQ AT mail DOT gmail DOT com> <56095DBC DOT 6090308 AT gmail DOT com> <1443720905 DOT 8588 DOT 17 DOT camel AT cygwin DOT com> |
From: | Marco Atzeri <marco DOT atzeri AT gmail DOT com> |
Message-ID: | <560DA71F.2060006@gmail.com> |
Date: | Thu, 1 Oct 2015 23:35:27 +0200 |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <1443720905.8588.17.camel@cygwin.com> |
X-IsSubscribed: | yes |
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. > 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 #0 LayoutChild (w=w AT entry=0x60065ef80) at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:693 #1 0x00000003cabefc26 in LayoutChild (w=w AT entry=0x60064e8a0) at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:702 #2 0x00000003cabefc26 in LayoutChild (w=<optimized out>) at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:702 #3 0x00000003cabf04ed in Layout (fw=0x60011a2e0, width=<optimized out>, height=<optimized out>, force_relayout=1) at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:565 #4 0x00000003cabefb2b in XawFormChangeManaged (w=0x60011a2e0) at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:1022 #5 0x00000003ca758f5c in XtUnmanageChildren (children=0x22c8d0, num_children=1) at /usr/src/debug/libXt-1.1.4-2/src/Manage.c:184 #6 0x00000003ca759038 in XtUnmanageChild (child=0x60065ef70, child AT entry=0x60064e8a0) at /usr/src/debug/libXt-1.1.4-2/src/Manage.c:204 #7 0x00000003ca74b1db in XtPhase2Destroy (widget=0x60064e8a0) at /usr/src/debug/libXt-1.1.4-2/src/Destroy.c:228 #8 0x00000003ca74b4e8 in _XtDoPhase2Destroy (app=app AT entry=0x60003c030, dispatch_level=dispatch_level AT entry=1) at /usr/src/debug/libXt-1.1.4-2/src/Destroy.c:322 #9 0x00000003ca75018b in XtDispatchEvent (event=0x100632a80 <event>) at /usr/src/debug/libXt-1.1.4-2/src/Event.c:1432 #10 0x00000001004257af in x_process_user_input () at /usr/src/debug/ncview-2.1.5-1/src/interface/x_interface.c:2492 #11 0x000000010041f75a in in_process_user_input () at /usr/src/debug/ncview-2.1.5-1/src/interface/interface.c:149 #12 0x00000001004031e5 in process_user_input () at /usr/src/debug/ncview-2.1.5-1/src/ncview.c:718 #13 0x00000001004012f4 in main (argc=2, argv=0x22cb30) at /usr/src/debug/ncview-2.1.5-1/src/ncview.c:149 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. Regards Marco -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |