Page MenuHome

Export of armature with multiple objects creates invalid .dae
Closed, InvalidPublic

Description

If I attempt to import "knight.dae" which I created by export from blender example - "knight.blend" blender segfaults :
Program received signal SIGSEGV, Segmentation fault.
COLLADAFW::UniqueId::operator< (this=0x1c36d00, rhs=@0x0) at COLLADAFramework/src/COLLADAFWUniqueId.cpp:99
99 if ( mClassId < rhs.mClassId )

The dae. blend and relevant gdb output - "blender-collada-segfault.txt" are attached.

openSUSE 11.3 x86_64
Linux 2.6.34.7-0.5-desktop #1 SMP PREEMPT 2010-10-25 08:40:12 +0200 x86_64 x86_64 x86_64 GNU/Linux

I maintain openSUSE blender and it was built against shared openCOLLADA libs built from svn 779

This segfault first occurred shortly after svnr 32862 which was the first time I've tested the collada importer.

Details

Type
Bug

Event Timeline

Added blender-d-collada-segfault.txt console output from "blender -d"

More possibly relevant information, links to openCOLLADA and blender build logs :
https://build.opensuse.org/package/rawlog?arch=x86_64&package=blender&project=graphics&repository=openSUSE_11.3
and
https://build.opensuse.org/package/rawlog?arch=x86_64&package=openCOLLADA&project=graphics&repository=openSUSE_11.3

Package home pages :
https://build.opensuse.org/package/show?package=openCOLLADA&project=graphics
and
https://build.opensuse.org/package/show?package=blender&project=graphics

The knight blend can't currently be exported properly, since it's not a single skinned mesh. Code to support this must still be written, right you just get a broken export. The resulting .dae is invalid.

Moving to TODO list http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Simple_Todos#COLLADA and rename report accordingly.