X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@cygwin.com
References: <CAKmU=T_XtcOf1MOa_31oTfNYzUZ6QZD1xU9eTG-ERkvsua+gZQ@mail.gmail.com> <56095DBC.6090308@gmail.com> <1443720905.8588.17.camel@cygwin.com> <560DA71F.2060006@gmail.com> <1443776288.8896.3.camel@cygwin.com>
From: Marco Atzeri <marco.atzeri@gmail.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>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
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

