On Sun, 24 Oct 1999, James Henstridge wrote:
> On 22 Oct 1999, Daniel Wang wrote:
> > Alexander Larsson <[EMAIL PROTECTED]> writes:
> > >  Can I see a backtrace?
> > 
> > This GDB was configured as "i386-redhat-linux"...
> > (gdb) run
> > Starting program: /mnt/fs1/home/danwang/dia/app/dia 
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x8066dc5 in bezier_add_lines (ddisp=0x815ea08, points=0xbf8000bc, 
> >     bezier=0x8089378) at render_gdk.c:687
> > 687     {
> > (gdb) bt
> > #0  0x8066dc5 in bezier_add_lines (ddisp=0x815ea08, points=0xbf8000bc, 
> >     bezier=0x8089378) at render_gdk.c:687
> > #1  0x80671ab in bezier_add_lines (ddisp=0x815ea08, points=0xbf8001d0, 
> >     bezier=0x8089378) at render_gdk.c:751
> > #2  0x80671ab in bezier_add_lines (ddisp=0x815ea08, points=0xbf8002e4, 
> >     bezier=0x8089378) at render_gdk.c:751
> > #3  0x80671ab in bezier_add_lines (ddisp=0x815ea08, points=0xbf8003f8, 
> >     bezier=0x8089378) at render_gdk.c:751
> > 
> > this goes on and on forever.....
> > 
> > my guess is that it's in some sort of inifite loop because of bogus data
> > leading to a stack overflow...
> > 
> I think I saw this bug a while back.  It seems to occur when trying to
> draw a bezier curve where all the end points and control points coincide.
> This seems to happen sometimes if you place a shape that uses bezier
> curves by clicking and slowly dragging out the size of the shape.  When
> this happens, it tries to draw the shape very small for a little while.
> 
> If anyone wants to look at this bug, this is probably a good place to
> start.

Yes, this was probably it. I got the same backtrace making a bezier
(Sybase log) object very small. I fixed this in CVS. 

Daniel, can you try the latest CVS and see if it fixes your problem?

/ Alex

Reply via email to