Closed hop- closed 8 years ago
assertion failed (0 != edge.object()) mercurius-d: src/core/sweep_line.cpp:154: Core::SweepLine::LogicObjectPairs Core::SweepLine::getPairs(): Assertion `0 != edge.object()' failed.
Program received signal SIGABRT, Aborted. 0x00007ffff6c77267 in **GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 55 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt
file=file@entry=0x435785 "src/core/sweep_line.cpp", line=line@entry=154,
function=function@entry=0x435a40 <Core::SweepLine::getPairs[abi:cxx11]()::__PRETTY_FUNCTION**> "Core::SweepLine::LogicObjectPairs Core::SweepLine::getPairs()")
at assert.c:92
function=0x435a40 <Core::SweepLine::getPairs[abi:cxx11]()::__PRETTY_FUNCTION**> "Core::SweepLine::LogicObjectPairs Core::SweepLine::getPairs()") at assert.c:101
looks like we have problem with RectangleEdge, here is the variables values of the edge object, when the assert was failled, (gdb) p edge.m_begin $2 = false (gdb) p edge.m_currentIndex $3 = 5 (gdb) p edge.m_index $4 = 0 (gdb) p edge.m_object $5 = (const Core::LogicObject *) 0x0 (gdb) p edge.m_position $6 = {m_value = 0}
On startup the game instable crashes from different points