Hi Pedro: I thought your fix and/or the additional debugging output it produces might yield some insight into the long-pause issue that still remains.
So here is the most recent debugging output result for conditions (a quick repeat of an example) that always cause the long pause issue here. Could you try the same experiment on one of your Linux systems that is a lot more modern than Debian Jessie to confirm that the long pause issue still occurs for those systems, i.e., it is not due to some kernel, wxwidgets, or GTK+ issue that has been subsequently fixed? Build the x01c, and wxwidgets targets (needed prerequisites). Then run software@raven> time examples/c/x01c -dev wxwidgets -np; echo "done x01c"; time examples/c/x01c -dev wxwidgets -np;echo "done x01c" PLplot library version: 5.11.1 PLMemoryMap::close: just entering close PLMemoryMap::create: (mustNotExist) calling shm_open PLMemoryMap::create: shm_open was a success for plplotMemoryMapYDIQRGQQHF PLMemoryMap::create: (mustNotExist) calling ftruncate PLMemoryMap::create: calling mmap PLMemoryMap::create: finished with call of mmap 12:54:39: Debug: wxPLplotwindow PLMemoryMap::close: just entering close PLMemoryMap::create: (mustExist) calling shm_open PLMemoryMap::create: shm_open was a success for plplotMemoryMapYDIQRGQQHF PLMemoryMap::create: calling mmap PLMemoryMap::create: finished with call of mmap 12:54:39: Debug: wxPLplotwindow::Show 12:54:39: Debug: wxPLplotwindow::CreateStream 12:54:39: Debug: wxPLplotwindow::RenewPlot 12:54:39: Debug: wxPLplotwindow::RenewPlot 12:54:39: Debug: wxPLplotwindow::RenewPlot 12:54:39: Debug: wxPLplotwindow::OnCreate 12:54:39: Debug: wxPLplotwindow::CreateStream 12:54:39: Debug: wxPLplotwindow::OnCreate 12:54:39: Debug: wxPLplotwindow::CreateStream PLMemoryMap::close: just entering close PLMemoryMap::close: calling munmap PLMemoryMap::close: calling shm_unlink PLMemoryMap::close: shm_unlink was a success for plplotMemoryMapYDIQRGQQHF PLMemoryMap::close: start deleting m_name PLMemoryMap::close: end deleting m_name 12:54:39: Debug: wxPLplotwindow::OnErase real 0m0.256s user 0m0.044s sys 0m0.012s done x01c PLplot library version: 5.11.1 12:54:40: Debug: wxPLplotwindow::RenewPlot 12:54:40: Debug: wxPLplotwindow::OnErase PLMemoryMap::close: just entering close PLMemoryMap::close: calling munmap PLMemoryMap::close: calling shm_unlink PLMemoryMap::close: shm_unlink error PLMemoryMap::close: No such file or directory PLMemoryMap::close: start deleting m_name PLMemoryMap::close: end deleting m_name PLMemoryMap::close: just entering close **************[long ~5 second pause]************* PLMemoryMap::close: just entering close PLMemoryMap::create: (mustNotExist) calling shm_open PLMemoryMap::create: shm_open was a success for plplotMemoryMapJVIGLNDRKZ PLMemoryMap::create: (mustNotExist) calling ftruncate PLMemoryMap::create: calling mmap PLMemoryMap::create: finished with call of mmap 12:54:45: Debug: wxPLplotwindow PLMemoryMap::close: just entering close PLMemoryMap::create: (mustExist) calling shm_open PLMemoryMap::create: shm_open was a success for plplotMemoryMapJVIGLNDRKZ PLMemoryMap::create: calling mmap PLMemoryMap::create: finished with call of mmap 12:54:45: Debug: wxPLplotwindow::Show 12:54:45: Debug: wxPLplotwindow::CreateStream 12:54:45: Debug: wxPLplotwindow::RenewPlot 12:54:45: Debug: wxPLplotwindow::RenewPlot 12:54:45: Debug: wxPLplotwindow::RenewPlot 12:54:45: Debug: wxPLplotwindow::OnCreate 12:54:45: Debug: wxPLplotwindow::CreateStream 12:54:45: Debug: wxPLplotwindow::OnCreate 12:54:45: Debug: wxPLplotwindow::CreateStream 12:54:45: Debug: wxPLplotwindow::OnErase PLMemoryMap::close: just entering close PLMemoryMap::close: calling munmap PLMemoryMap::close: calling shm_unlink PLMemoryMap::close: shm_unlink was a success for plplotMemoryMapJVIGLNDRKZ PLMemoryMap::close: start deleting m_name PLMemoryMap::close: end deleting m_name real 0m5.754s user 0m0.048s sys 0m0.008s done x01c software@raven> 12:54:46: Debug: wxPLplotwindow::RenewPlot 12:54:46: Debug: wxPLplotwindow::OnErase PLMemoryMap::close: just entering close PLMemoryMap::close: calling munmap PLMemoryMap::close: calling shm_unlink PLMemoryMap::close: shm_unlink error PLMemoryMap::close: No such file or directory PLMemoryMap::close: start deleting m_name PLMemoryMap::close: end deleting m_name PLMemoryMap::close: just entering close The time stamps on the debug output you inserted confirm the pause which previous analysis shows must occur somewhere in -dev wxwidgets before the indicated call to PLMemoryMap::close after the long pause. None of your own debug output occurs from the second example before that call to PLMemoryMap::close so we are no further forward (at present) in nailing down where the pause occurs before that call to PLMemoryMap::close in the -dev wxwidgets code. But it was worth a look with this more extensive debug output. Unless something else comes up, I plan to work on nailing down the exact commmand that causes the long pause issue for the next little while. So there should be more later today about what I find out. 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 __________________________ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel