[Bf-committers] a segfault with CSGs

DarkGanja bf-committers@blender.org
17 May 2003 17:35:48 +0200


Hi
my sweet and tender blender is segfaulting with no remorse ;)
it appends when i try to make the union of two big objects
I've tried with 2.26, 2.27, and cvs (today's version), and it happens in
2.26 and cvs, but in 2.27 i get the following assert() failure:

blender: intern/BSP_CSGMeshSplitter.cpp:438: void
BSP_CSGMeshSplitter::SplitPolygon(BSP_CSGMesh&, CTR_TaggedIndex<24,
16777215>, BSP_FaceInd&, BSP_FaceInd&): Assertion `m_in_loop.size() >=3
&& m_out_loop.size() >=3 && m_on_loop.size() == 2' failed.
Abandon

it doesn't seem to be in the bug track system.
here is a file in which this problem occurs:
ftp://darkganja.net
login: blender
password: uoHp.KU7n
it is untitled13.blend
try to make the boolean union of two roof's elements.

if you can't get the  error, i' ll try to provide you a core dump, but
they are quite big (~140Mo).
i compiled blender under an up to date gentoo linux (xfree 4.3, glibc
2.3.2, nvidia drivers), with no special ./configure options and with
CFLAGS="-g3" CXXFLAGS=$CFLAGS make.
the backtrace is huge (due to the recursion in BSP building function
BSP_FragTree::Build())

i hope this is enough and i wish you good luck :)
Goodbye.