KDStateMachineEditor icon indicating copy to clipboard operation
KDStateMachineEditor copied to clipboard

crash with triangulation failed / source point not in any triangle

Open adam-ce opened this issue 7 years ago • 2 comments

I'm using KDStateMachineEditor within gammaray. This is what i get, when i start my program:

GammaRay server listening on: tcp://127.0.0.1:11732
kdsme.view: KDSME::GraphvizLayouter(0x16460a0) QObject(0x0)
kdsme.view: KDSME::GraphvizLayouter(0x16460a0) State[this=0x2094fa0, label="StateMachine"]
kdsme.core: State[this=0x2094fa0, label="StateMachine"] 0x1648b10
Error: trouble in init_rank
        %0 1
        %0 4
        %0 3
        %0 5
        %0 2
        %0 4
        %0 4
        %0 5
        %0 5
        %0 4
        %0 4
        %0 5
        %0 6
        %0 1
        %0 2
        %0 6
        %0 4
        %0 9
        %0 2
        %0 6
        %0 6
        %0 9
        %0 9
        %0 10
        %0 13
        %0 2
        %0 2
        %0 2
        0x1413930 5
        %0 2
        dummynode_cluster0x1413790 1
        0x1413990 2
        0x1413d20 1
        dummynode_cluster0x14136f0 1
        0x14122f0 3
        %0 1
        %0 3
        dummynode_cluster0x1412090 1
        0x1412130 1
        0x1412320 2
        dummynode_cluster0x1411ab0 4
        0x1412d70 5
        %0 3
        dummynode_cluster0x1412ad0 1
        0x1412dd0 1
        0x1413180 2
        dummynode_cluster0x1412a30 4
        dummynode_cluster0x198b4c0 1
        0x140ff10 1
        0x1989d00 4
        %0 1
        %0 1
        %0 1
        %0 4
        0x19898c0 2
        %0 2
        dummynode_cluster0x19890d0 2
        0x19896f0 2
        0x19898f0 1
        0x198a970 3
        %0 1
        %0 3
        0x1989380 4
        %0 2
        dummynode_cluster0x1989030 1
        0x19893b0 2
        0x2093b50 5
        %0 1
        %0 5
        0x209aeb0 2
        %0 2
        dummynode_cluster0x2092d60 2
        0x209ac90 2
        0x209aee0 1
        0x1b98cd0 4
        %0 1
        %0 4
        0x2093000 4
        %0 2
        dummynode_cluster0x2093390 1
        0x2093030 3
        0x1411b50 4
        %0 3
        %0 3
        %0 1
libpath/shortest.c:324: triangulation failed
libpath/shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed

I can't provide the source of our application, and it would be to large anyways. But other than that, I can help with tracking the issue down, just tell me how : )

adam-ce avatar Aug 06 '17 17:08 adam-ce

sorry, it's actually a graphviz issue: https://github.com/phpDocumentor/phpDocumentor2/issues/980

adam-ce avatar Aug 06 '17 17:08 adam-ce

actually, it might actually be the fault of kdstatemachineeditor. it at least should not crash.

is there a possibility to export / inspect the data, that is gather about the state machine, before sending it to graphviz?

adam-ce avatar Aug 06 '17 17:08 adam-ce