On 2013-11-16 13:40-0800 Alan W. Irwin wrote:

> Hi Arjen:
>
> I took a look at the segfault that was occurring at the end of running
> the test_wish_standard_examples target.  The segfault persisted even if
> I eliminated running all examples, and finally I discovered that
> the "plframe .plw" command (part of tkdemos.tcl that is
> executed in the wish case) was the crux of the issue.  So here
> is the simplest test case:
>
> software@raven> wish
> % lappend auto_path /home/software/plplot_svn/HEAD/build_dir/bindings/tk
> /usr/share/tcltk/tcl8.5 /usr/lib /usr/local/lib/tcltk /usr/local/share/tcltk 
> /usr/lib/tcltk /usr/share/tcltk /usr/share/tcltk/tk8.5 
> /usr/share/tcltk/tk8.5/ttk 
> /home/software/plplot_svn/HEAD/build_dir/bindings/tk
> % package require Pltk
> 5.9.10
> % plframe .plw
> .plw
> % exit
> Segmentation fault
>
[....]
> Meanwhile, because this segfault interferes with other tests, I have
> temporarily dropped (revision 12707) the test_wish_standard_examples target 
> from the
> test_interactive target dependencies.  That still allows
> running test_wish_standard_examples directly to aid in the investigation
> of this segfault.

Hi Arjen:

One other symptom is that the configured wish_standard_examples script
that is run by the test_wish_standard_examples target sometimes
displays plots OK and sometimes loses them completely.  For example,
the build tree version of test_wish_standard_examples target didn't
show plots a few days ago, but now does.  Currently, the installed
examples version does not show plots.  I am virtually positive these
intermittent plot display symptoms that occur for this target alone
are the result of the same memory management issues that are causing
the above segfault.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to