delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/02/09:11:09

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=Kc81D50yZXJU9uH7
K48kptzRGNty/evXecEUDsil6yOfQEKZuu6XDNAk4vM8/4b9ILjXiVVWVKdZLuTb
Vo7rFevQVX5XZ41d+yIhSAhajokvlyQEyylfXXyW777Wdv1mgQW2S32bG0CrWd44
iQMEYeulBY85JAV7HdX3djnSAVg=
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=SZ7fAJSBXCsCdqqJqW6aLw
4jYdU=; b=uxvNzG5j0hhcyv3sxkCpSalQv2YOI6gIlxlT1uQ0IRaGKsS+3UEgp6
5+elDuJW7ld99ZTQsXW6c1LlDBa4+mn5eIA0y6RnLKJ6s9gFzr3MOrk+8JQdspHa
Q/Crv2OTwngAyAlCmo5QJLs7Y4lhp2I9PW5nSaX2LZS0HEexDKwos=
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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qg0-f43.google.com
X-Received: by 10.140.28.201 with SMTP id 67mr19317226qgz.95.1443791445373; Fri, 02 Oct 2015 06:10:45 -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> <560DA71F DOT 2060006 AT gmail DOT com> <1443776288 DOT 8896 DOT 3 DOT camel AT cygwin DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <560E824D.8040700@gmail.com>
Date: Fri, 2 Oct 2015 15:10:37 +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: <1443776288.8896.3.camel@cygwin.com>
X-IsSubscribed: yes

On 02/10/2015 10:58, Yaakov Selkowitz wrote:
> On Thu, 2015-10-01 at 23:35 +0200, Marco Atzeri wrote:
>>
>> I don't find any case.
>
> The XtVa* functions use varargs.
>
may be.


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

Hi Yaakov,

the program compiled with -O0 is here

http://matzeri.altervista.org/x86_64/ncview/

you can also install with
setup-x86_64.exe -X -O -s http://matzeri.altervista.org

It requires: libnetcdf7 libpng16 libudunits0 libX11_6 libXaw7 libXt6

On   http://matzeri.altervista.org/works/ncview/

you can find a small test database (~2Mb)
    $ ncview s.nc
to run it.

I also loaded a picture of how to replicate the crash.
Until only the first rows of "Var" is selected everything is fine,
the data are presented in other windows, while with the second row
it usually crashes at the 3rd selection.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019