public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: [Cygwin-ports-general] Ncview
Date: Fri, 02 Oct 2015 13:10:00 -0000	[thread overview]
Message-ID: <560E824D.8040700@gmail.com> (raw)
In-Reply-To: <1443776288.8896.3.camel@cygwin.com>

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

  reply	other threads:[~2015-10-02 13:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAKmU=T_XtcOf1MOa_31oTfNYzUZ6QZD1xU9eTG-ERkvsua+gZQ@mail.gmail.com>
2015-09-28 15:33 ` Marco Atzeri
2015-10-01 17:35   ` Yaakov Selkowitz
2015-10-01 21:35     ` Marco Atzeri
2015-10-02  8:58       ` Yaakov Selkowitz
2015-10-02 13:10         ` Marco Atzeri [this message]
2015-10-01 22:11     ` Michael Enright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560E824D.8040700@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).