Well, I can shed a little light on what might be doing this.

The offending code is resetting a line's points, like this:

    parent_group_line.set(points=(x1,y1,x2,y2))

and notice that it is the parent group.  The child's line doesn't cause the
segfault.  (The parent is drawing a line from itself to half-way-to child, and
the child is drawinf another line from that half-way point to itself.  So the
parent has one line, and the child has another.)

Any ideas?


Jeff



"J.W. Bizzaro" wrote:
> 
> This is a newer version of my app:
> 
>     http://theopenlab.uml.edu/loci/download/loci-core-19990523.tar.gz
> 
> Oh, and the new gnome canvas isn't slower.  Netscape was just hogging processor
> time again :-/
> 
> Jeff
> 
> "J.W. Bizzaro" wrote:
> >
> > James,
> >
> > I get a segmentation fault when using the gnome canvas in my program.  It seems
> > to occur when a group of canvas items is dragged over its parent group,
> > especially when there are many items in a group.  I get no Python traceback.
> > Please take a look for yourself:
> >
> >     http://theopenlab.uml.edu/loci/download/loci-core-19990521.tar.gz
> >
> > I just updated to gnome-python 1.0.3 and gnome-libs 1.0.9.  The problem occurs
> > with new and old versions.
> >
> > BTW, the canvas is a little slower with the new version, for some reason.
> >
> > Thanks.
> > Jeff
> > --
> > J.W. Bizzaro                  mailto:[EMAIL PROTECTED]
> > Boston College Chemistry      http://www.uml.edu/Dept/Chem/Bizzaro/
> > --
> > To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
> 
> --
> J.W. Bizzaro                  mailto:[EMAIL PROTECTED]
> Boston College Chemistry      http://www.uml.edu/Dept/Chem/Bizzaro/
> --
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

-- 
J.W. Bizzaro                  mailto:[EMAIL PROTECTED]
Boston College Chemistry      http://www.uml.edu/Dept/Chem/Bizzaro/
--
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to