[Kst] Infinite recursion

Andrew Walker arwalker at sumusltd.com
Fri Jan 14 19:00:10 CET 2005


I have a fix for this for this and will check it in shortly.


On Friday 14 January 2005 09:40, George Staikos wrote:
> When I switch to data mode and mouse-over a plot generated by piolib that
> contains holes on the left and right, it goes into the infinite loop pasted
> below.  This is the same problem I had quite some time ago and fixed with
> the _highlighting variable, which was removed in r1.341.  The stack trace
> demonstrates how the recursion happens.
>
> On Friday 14 January 2005 12:30, Andrew Walker wrote:
> > A little more information would be useful.
> >
> > On Thursday 13 January 2005 23:24, George Staikos wrote:
> > > The check that was removed from data mode still seems to be necessary. 
> > > I get an infinite recursion in data mode:
> > >
> > > ----------------------------
> > > revision 1.341
> > > date: 2004/12/23 02:17:04;  author: arwalker;  state: Exp;  lines: +107
> > > -112 Remove obsolete checks in datamode.
> > > Remove unnecessary paint.
> > > ----------------------------
> > >
> > >
> > > #0  alloc_gc (dpy=0x85d23e8, scrn=0, hd=65015274, monochrome=false,
> > >     privateGC=false) at qpainter_x11.cpp:344
> > > #1  0x40ccb545 in QPainter::updatePen (this=0xbf9ebfd0) at
> > > qpainter_x11.cpp:698
> > > #2  0x40ccd378 in QPainter::setClipping (this=0xbf9ebfd0, enable=true)
> > >     at qpainter_x11.cpp:1459
> > > #3  0x40ccd5ad in QPainter::setClipRegion (this=0xbf9ebfd0,
> > > rgn=@0xbf9ebfc0, m=CoordDevice) at qpainter_x11.cpp:1519
> > > #4  0x081236fc in KstTopLevelView::paint (this=0x8b0ad40, type=P_ZOOM)
> > >     at ksttoplevelview.cpp:138
> > > #5  0x08108c69 in KstViewWidget::paintEvent (this=0x8b0b0a0, e=0x0)
> > >     at kstviewwidget.cpp:291
> > > #6  0x08108a45 in KstViewWidget::paint (this=0x8b0b0a0)
> > >     at kstviewwidget.cpp:273
> > > #7  0x080da6e7 in Kst2DPlot::highlightNearestDataPoint (this=0x8b0d700,
> > >     bRepaint=false, view=0x8b0b0a0, pos=@0x8b0d97c) at
> > > kst2dplot.cpp:3182 #8  0x080cd48b in Kst2DPlot::paint (this=0x8b0d700,
> > > type=P_ZOOM, p=@0xbf9ec610)
> > >     at kst2dplot.cpp:2038
> > > #9  0x08110620 in KstViewObject::paint (this=0x8b0ad40, type=P_ZOOM,
> > >     p=@0xbf9ec610) at kstviewobject.cpp:244
> > > #10 0x08122fb4 in KstTopLevelView::paint (this=0x8b0ad40, type=P_ZOOM,
> > >     p=@0xbf9ec610) at ksttoplevelview.cpp:101
> > > #11 0x0812382f in KstTopLevelView::paint (this=0x8b0ad40, type=P_ZOOM)
> > >     at ksttoplevelview.cpp:142
> > > #12 0x08108c69 in KstViewWidget::paintEvent (this=0x8b0b0a0, e=0x0)
> > >     at kstviewwidget.cpp:291
> > > #13 0x08108a45 in KstViewWidget::paint (this=0x8b0b0a0)
> > >     at kstviewwidget.cpp:273
> > > #14 0x080da6e7 in Kst2DPlot::highlightNearestDataPoint (this=0x8b0d700,
> > >     bRepaint=false, view=0x8b0b0a0, pos=@0x8b0d97c) at
> > > kst2dplot.cpp:3182 #15 0x080cd48b in Kst2DPlot::paint (this=0x8b0d700,
> > > type=P_ZOOM, p=@0xbf9ecc50)
> > >     at kst2dplot.cpp:2038
> >
> > _______________________________________________
> > Kst mailing list
> > Kst at kde.org
> > https://mail.kde.org/mailman/listinfo/kst



More information about the Kst mailing list