Hi Tsjerk,

Thanks for bringing this to my attention.  The fix (revision 3929) has
been pushed to the open-source SVN on SourceForge.  You can try out
the following code segments to verify:

#######################
# TEST 1
from pymol import cmd
from pymol.cgo import *
from pymol.vfont import plain
cgo = []
axes = [[2.0,0.0,0.0],[0.0,2.0,0.0],[0.0,0.0,2.0]]
pos = [0.0,0.0,0.0]
wire_text(cgo,plain,pos,'Hello World',axes)
pos = [0.0,-3.0,0.0]
cyl_text(cgo,plain,pos,'Hello Universe',0.10,axes=axes)
cmd.load_cgo(cgo,'txt',state=2)
cmd.zoom("all",2.0)

set all_states
ray


#######################
# TEST 2
from pymol import cmd
from pymol.cgo import *

cmd.load_cgo([COLOR,1,1,0,SPHERE,3,0,0,1],name="bla",state=2)
cmd.load_cgo([COLOR,1,0,0,SPHERE,0,0,0,2],name="bla",state=3)

set all_states,1
ray

Cheers,

-- Jason

On Mon, Jan 3, 2011 at 11:34 AM, Tsjerk Wassenaar <tsje...@gmail.com> wrote:
> Hi Jason,
>
> It appears that Pymol segfaults rendering when a cgo object spans
> multiple states, and all_states is set on:
>
> from pymol import cmd
>
> set all_states,1
> cmd.load_cgo([COLOR,1,1,0,SPHERE,3,0,0,1],name="bla",state=2)
> cmd.load_cgo([COLOR,1,0,0,SPHERE,0,0,0,2],name="bla",state=3)
> ray
>
> This happened with 1.0r2 under Ubuntu on an EEE PC, and with 1.2r2 on
> an i7 also running Ubuntu.
>
> Cheers,
>
> Tsjerk
>
>
> --
> Tsjerk A. Wassenaar, Ph.D.
>
> post-doctoral researcher
> Molecular Dynamics Group
> * Groningen Institute for Biomolecular Research and Biotechnology
> * Zernike Institute for Advanced Materials
> University of Groningen
> The Netherlands
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>



-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to