Hi Alan,


>
> @Arjen and Greg: since it appears to be impossible for Linux users to 
> replicate the
> segfault issue you guys are encountering, I think the only way forward for 
> you is to
> debug this issue on Cygwin.
>
following your receipe I was able to determine that the crash happens in 
plimagefr2 - when it copies the yg array into the grid ygg. The values of nx 
and ny are 399 and 486 respectively, so that is quite correct. Why it should 
fail exactly at this point is something I cannot fathom. When I comment out the 
statement f2c( yg, ygg, ... ) in the SWIG source for plimagefr2, the failure 
simply occurs at f2c( a, aa, ... ).

It is quite possible that the failure occurs much earlier. That ought to be 
checked.

By the way, I noticed that the copies of these arrays are not freed, so that 
constitutes a memory leak, unless something is taking care of that that I have 
overlooked in the code.

Regards,

Arjen





DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.
------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to