[Blend2cs-user] Blend2cs segmentation fault

Thomas Degris thomas.degris at lip6.fr
Fri Oct 15 17:27:22 CEST 2004


Hello,

I am trying to convert this Blender map 
http://www-poleia.lip6.fr/~degris/blender/oneroomforpatrol.blend using 
the following Blender library of objects 
http://www-poleia.lip6.fr/~degris/blender/objectslibrary.blend and I get 
a segmentation fault. Here is the command line I use:
$ blend2cs -w -t '/bugspace/textures' -o oneroomforpatrol.world 
oneroomforpatrol.blend
Segmentation fault

Here is the backtrace in gdb:
(gdb) bt
#0  0x080608a2 in BLFindData (strc=0x8503d34, path=0x8063503 "id.name[24]")
    at bdata.c:57
#1  0x0805fddb in dna::Structure::getVariable (this=0xbfffe3b0,
    path=0x8063503 "id.name[24]") at structure.cpp:24
#2  0x0805f00f in Polygon (this=0x8129c50, mface=
      {static INVALID_PTR = 0xffffffff, blstruct = 0x8110b78}, tface=
      {static INVALID_PTR = 0xffffffff, blstruct = 0x8118f78},
    newflags=@0x8129144, skip=4) at polygon.h:74
#3  0x0805c8f6 in blend2cs::ThingMesh::makePolys (this=0x8129128, 
mface=Cannot access memory at address 0x8503d34
)
    at thingmesh.cpp:178
#4  0x0805c5b8 in blend2cs::ThingMesh::parseFaces (this=0x8129128,
    eliminateEmptyTriangles=true) at thingmesh.cpp:126
#5  0x0805bdca in blend2cs::ThingMesh::parseMesh (this=0x8129128,
    eliminateEmptyTriangles=true) at thingmesh.cpp:54
#6  0x0805b9a7 in ThingMesh (this=0x8129128, newstructure=@0xbfffe6a0,
    newflags=@0x8128fb4, dummy=false, eliminateEmptyTriangles=true)
    at thingmesh.cpp:28
#7  0x0804ddc9 in blend2cs::Blend2CS::scanMeshObject (this=0xbfffe870,
    object=0x8128f28) at object.h:96
#8  0x0804d856 in blend2cs::Blend2CS::scanObject (this=0xbfffe870,
    sector=@0x8128f10, object=0x8128f28) at blend2cs.cpp:146
#9  0x0804d5f4 in blend2cs::Blend2CS::scanObjects (this=0xbfffe870, scene=
      {static INVALID_PTR = 0xffffffff, blstruct = 0x80ab5f8})
    at blend2cs.cpp:84
#10 0x0804d39d in blend2cs::Blend2CS::scan (this=0xbfffe870) at 
blend2cs.cpp:62
#11 0x0804afc7 in main (argc=7, argv=0xbfffea94) at main.cpp:172

Any hint ?

Thanks,

Thomas


More information about the Blend2cs-user mailing list