[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] Bugs + segmentation fault



Hi!

I've found out few bugs in rev 848. They are all related (I think so) and present in older revisions.

1. If try to blend contoured object with any other object, nothing is done, except that line is drawn between 2 objects.

2. If you then try to rotate, resize such "blended" group, redrawing is done only in original object bounding box.

3. Rotating is not smooth. In certain positions objects reset to their original position or they don't rotate properly.

4. And if you do above operations many times (in no specific order) it crashes with segmentation fault. This is pretty hard to reproduce. I've succeded only 3 times. This is what XaraLX and gdb report:

-----------------------
[Debug] 02:28:58 PM: PORTNOTE[dialog]: SliceHelper::ModifySelectionToContainWholeButtonElements - do nothing [Debug] 02:28:58 PM: PORTNOTE[other]: NodeContourController::EndBlendStep - do nothing [Debug] 02:28:58 PM: PORTNOTE[other]: NodeContourController::RegenerateNode - removed use of RegenerateContourAction [Debug] 02:28:58 PM: PORTNOTE[other]: NodeContourController::EndBlendStep - do nothing [Debug] 02:28:58 PM: PORTNOTE[other]: NodeContourController::EndBlendStep - do nothing [Debug] 02:28:59 PM: PORTNOTE[dialog]: SliceHelper::ModifySelectionToContainWholeButtonElements - do nothing

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1226041120 (LWP 17395)]
0x080d9f8c in Node::FindParent (this=0x1) at node.h:1126
1126    node.h: No such file or directory.
        in node.h
-----------------------

Stack backtrace (from 0 to 16):

-----------------------
#0  0x080d9f8c in Node::FindParent (this=0x1) at node.h:1126
#1 0x0826f861 in Node::IsUnder (this=0x1, pTestNode=0x980e7e8, bFirstCall=0) at node.cpp:2076 #2 0x0826f9c8 in Node::IsUnder (this=0xa3b15f0, pTestNode=0x980e7e8, bFirstCall=1) at node.cpp:2135 #3 0x083e1b31 in RenderRegion::SetBackmostChangedNode (this=0xa3b15f0, pInvalidNode=0xa3b15f0) at rndrgn.cpp:7177 #4 0x083ed9c3 in RenderRegionList::MergeRenderRegions (this=0x89eb8c0, pRegionToMerge=0xa3b15f0) at rgnlist.cpp:615 #5 0x083ee467 in RenderRegionList::Merge (this=0x89eb8c0, NewRenderRegion=0xa3b15f0) at rgnlist.cpp:366 #6 0x08125240 in Application::AddRenderRegion (this=0x89eb8a0, pRegion=0xa3b15f0) at app.cpp:972 #7 0x083ce089 in View::MakeNewRenderRegion (this=0x9814350, pSpread=0x980e7e8, ClipRect=@0xbf9bfa10, pDevContext=0x0, rType=RENDERTYPE_SCREEN, PaintPaper=0, pInvalidNode=0x980e7e8) at view.cpp:603 #8 0x081b239a in DocView::ForceRedraw (this=0x9814350, pSpread=0x980e7e8, SpreadRect=@0xbf9bfa50, Accumulate=0,
    pInvalidNode=0x980e7e8) at docview.cpp:2750
#9 0x081b23ff in SpreadRedraws::FlushRedraw (this=0xa3b4180, pDocView=0x9814350) at docview.cpp:521 #10 0x081b243e in PendingRedraws::FlushRedraw (this=0x981446c, pDocView=0x9814350) at docview.cpp:627
#11 0x081b24a6 in DocView::FlushRedraw (this=0x9814350) at docview.cpp:2771
#12 0x083aa32d in TransOperation::DragFinished (this=0xa3b9010, PointerPos=
{<Coord> = {x = 932601, y = 1069059}, <No data fields>}, ClickMods=@0xbf9bfb90, pSpread=0x980e7e8, Success=1,
    bSolidDrag=1) at transop.cpp:1236
#13 0x081b2e21 in DocView::DragFinished (this=0x9814350, pDragOp=0xa3b9010, PointerPos= {<Coord> = {x = 369351, y = 6399}, <No data fields>}, Mods=@0xbf9bfcf0, Success=1) at docview.cpp:3234 #14 0x080736c0 in CCamView::HandleButtonUp (this=0x9811ac8, Button=1, event=@0xbf9bfeec) at camview.cpp:3383 #15 0x080740bb in CCamView::OnLButtonUp (this=0x9811ac8, event=@0xbf9bfeec) at camview.cpp:2021 #16 0x080c6357 in CRenderWnd::OnLButtonUp (this=0x9812030, evnt=@0xbf9bfeec) at rendwnd.cpp:333
...
-----------------------

Something is pretty wrong when rendering combinations contour + blending.

Regards,
Domagoj