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. 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 Fulvio From: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca> Subject: Re: [Plplot-devel] [ plplot-Bugs-3604554 ] wxwidgets window does not close Date: Thu, 14 Feb 2013 13:58:18 -0800 (PST) > Hi Fulvio: > > Thanks for your interest in PLplot on wxwidgets. I am answering you on > the Plplot development mailing list since that is where we typically > discuss bugs rather than our bug tracker. I look forward to your > replies to my questions below on that same mailing list. Note you have > to subscribe in order to post to that list, but that it easy to do > following the directions at > https://lists.sourceforge.net/lists/listinfo/plplot-devel. > > On my Linux platform (Debian testing) with version 2.8.12.1 > of wxwidgets) I cannot replicate the issue you have reported. > > Here is the exact command that I ran: > > examples/c/x01c -dev wxwidgets > > That gave a good-looking result. I then right-clicked on the > resulting wxwidgets (wxGC) window, and the x01c programme exited > without any obvious issues at all and return code of zero. > > 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.) > > Alan > > On 2013-02-13 10:29-0800 SourceForge.net wrote: > >> Bugs item #3604554, was opened at 2013-02-13 10:29 >> Message generated for change (Tracker Item Submitted) made by >> fulviociriaco >> You can respond by visiting: >> https://sourceforge.net/tracker/?func=detail&atid=102915&aid=3604554&group_id=2915 >> >> Please note that this message will contain a full copy of the comment >> thread, >> including the initial issue submission, for this request, >> not just the latest update. >> Category: None >> Group: None >> Status: Open >> Resolution: None >> Priority: 5 >> Private: No >> Submitted By: fulvio ciriaco (fulviociriaco) >> Assigned to: Nobody/Anonymous (nobody) >> Summary: wxwidgets window does not close >> >> Initial Comment: >> wxwindow does not close until the program exits. I tried this with 3 >> different interpreted environments: sbcl, ccl (cl-plplot) and >> perlconsole. >> At the end of all examples the window remains open, if another example >> is launched inside the same environment the process receives segfault. >> example >> perlconsole >> do 'x01.pl' >> 12 #is wxwidgets >> press right mouse => window hangs >> do 'x01.pl' >> 1 >> opens xwin, wx windows is still open but xwin works well >> do 'x01.pl' >> 12 >> 139% segmentation fault >> > > __________________________ > 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 > __________________________ ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel