On 2013-02-15 07:58+0100 fulvio ciriaco wrote: > Hallo Alan, > it is the same on my computers, I too use debian testing actually. > So, probably I was not clear enough, all the examples are fine, > in that they immediately exit as soon as the example finishes all > the pages. > You can evidentiate the problem if you place a > sleep(10); > before > exit(0); > All the drivers correctly close the window after you right click > the window but wxwidgets.
Hi Fulvio: The symptom I get here (for the case of sleep(2) before exit(0) for x01c.c) is that for the xwin, xcairo, and qtwidgets device drivers) right click or hitting the enter key immediately kills the window and then there is a two-second delay before command is returned to the command line. For -dev wxwidgets, the two-second delay occurs while the window is still displayed which is a subtle difference but also unexpected. Is that the difference you are referring to for the single plinit case? If so, I have verified at least that part of the issue. > This is not all the story, if you make > a double example, that is a single program that does two examples > one after the other, this breaks with segfaults before opening > the second window, I imagine at plinit. > This is what my example did: > > perlconsole > do 'x01.pl' > 12 > press right mouse => window hangs > do 'x01.pl' > 12 > 139% segmentation fault > > or > sbcl > (require :plplot-examples) > (plplot-examples::example1 "wxwidgets") > ;; window hangs there > (plplot-examples::example1 "wxwidgets") > ;; catches segfaults These are poor examples in the sense that the perl and lisp bindings for PLplot are all external to the PLplot core development so PLplot core developers are not particularly familiar with those bindings. So please send a temporary patch for a simple example (say for examples/c/x01c.c) that generates the segfault in the double plinit case for you for wxwidgets but not for other devices. That patch should help make it convenient for core PLplot developers to verify the issue. >> So to pin down exactly what the issue is that you are seeing we need >> more information from you. Are you using the svn trunk version of >> PLplot? (If you are not trying that yet, please do so.) Do you get >> the issue you reported if you run exactly the above command? What is >> your platform? What is your version of wxwidgets? What kind of >> wxwidgets device are you using? (You can find that listed at the top >> of the wxwidgets GUI that is created by the above command, and in my >> case that answer is wxGC.) Thanks for answering the platform question but please also answer the other questions as well. 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 __________________________ ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel