On Tue, May 25, 2010 at 01:17:55PM +0100, Leo wrote:
> On 2010-05-25 13:06 +0100, Andrew Ross wrote:
> >> XWIN seems to be working fine. See this: http://imagebin.org/98248
> >> except I need to make sure I remember to exit the plot window with SPC.
> >> Otherwise the plot window will not respond to any user interaction and
> >> will remain on the screen until lisp exits.
> >
> > Right. That helps. Alan's comments about using the svn version apply 
> > here. I've recently fixed up some of the issues related to closing
> > the window with the close button for the xwin driver so you may find
> > that works. 
> 
> It works in that it didn't crash lisp but it also failed to close window
> instead the window becomes unresponsive and won't exit unless lisp does.
> 
> >> > You have not observed problems with psc or svg drivers. What about the 
> >> > qt or cairo file based drivers (e.g. pscairo / epsqt)?
> >> 
> >> EPSQT has the same issue as qtwidget. PSCAIRO has the same issue as
> >> xcairo.
> >
> > Right, that is useful to know. It's not an issue with the interactive 
> > drivers then, but something deeper. Qt in particular has it's own 
> > thread support, and it is possible that something in there is interfering
> > with your lisp thread support. I will look again at the qt mutex code to
> > check for possible races. 
> >
> >> 
> >> > You might try running with valgrind as an alternative to gdb. It tends 
> >> > to be quite good at finding issues related to memory access / memory
> >> > allocation.
> >> 
> >> I am not familiar with valgrind and i got "Unsupported arch_prtctl
> >> option" trying to use it by running:
> >> 
> >>  valgrind devel/ccl/lx86cl64
> >
> > OK. It's probably more tricky with lisp. Your backtrace already provides 
> > some clues.
> 
> Many thanks in advance.

I've taken a look and it is not immediately obvious what the problem is. 
Unfortunately I have been unable to recreate the problem with any other
language so it must be something related to the threads and lisp. I am no
lisp expert, but I tried installing the relevant Ubuntu packages. I've 
not been able to get your example to work at all. I suspect this is me
doing something wrong. Hazen (as author of cl-plplot) are you able to 
recreate this problem, and if so can you supply instruction on how I 
might be able to do the same. That way I can begin testing.

Thanks

Andrew

------------------------------------------------------------------------------

_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to