[cgma-dev] CAEntityId::CAEntityId(RefEntity*, CubitSimpleAttrib*): Assertion `i_list && i_list->size() > 0' failed
Jed Brown
jed at 59A2.org
Wed Apr 8 06:23:29 CDT 2009
With latest CGMA (rev 2805), my `cube' test case demonstrates it. Trace below.
Jed
$ gdb --args ./cube -read
(gdb) r
Starting program: /home/jed/iMesh/cube/cube -read
[Thread debugging using libthread_db enabled]
cube: ../../geom/CAEntityId.cpp:49: CAEntityId::CAEntityId(RefEntity*, CubitSimpleAttrib*): Assertion `i_list && i_list->size() > 0' failed.
[New Thread 0x7f51fb59b700 (LWP 18215)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f51fb59b700 (LWP 18215)]
0x00007f51f377e0c5 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007f51f377e0c5 in raise () from /lib/libc.so.6
#1 0x00007f51f377f5e3 in abort () from /lib/libc.so.6
#2 0x00007f51f37770e9 in __assert_fail () from /lib/libc.so.6
#3 0x00007f51fa86176a in CAEntityId (this=0x1589f40, new_attrib_owner=0x15c40f8, csa_ptr=0x15c3fc0) at ../../geom/CAEntityId.cpp:49
#4 0x00007f51fa8619e2 in CAEntityId_creator (entity=0x15c40f8, p_csa=0x15c3fc0) at ../../geom/CAEntityId.cpp:32
#5 0x00007f51fa87115d in CubitAttribManager::create_cubit_attrib (this=0x1551f48, attrib_type=3, attrib_user=0x15c40f8, p_csa=0x15c3fc0)
at ../../geom/CubitAttribManager.cpp:156
#6 0x00007f51fa876ce9 in CubitAttribUser::auto_read_cubit_attrib (this=0x15c4128) at ../../geom/CubitAttribUser.cpp:854
#7 0x00007f51fa926f72 in RefEdge::initialize (this=0x15c40c0) at ../../geom/RefEdge.cpp:1308
#8 0x00007f51fa92849f in RefEdge (this=0x15c40c0, curvePtr=0x15bff30) at ../../geom/RefEdge.cpp:71
#9 0x00007f51fa92ff92 in RefEntityFactory::construct_RefEdge (this=0x1552490, curve=0x15bff30) at ../../geom/RefEntityFactory.cpp:59
#10 0x00007f51fa8be210 in GeometryQueryTool::make_RefEdge (this=0x1552420, curve_ptr=0x15bff30) at ../../geom/GeometryQueryTool.cpp:1764
#11 0x00007f51fa8c0366 in GeometryQueryTool::make_RefFace (this=0x1552420, surface_ptr=0x15bfc70) at ../../geom/GeometryQueryTool.cpp:1324
#12 0x00007f51fa8c162b in GeometryQueryTool::make_Shell (this=0x1552420, shellsm_ptr=0x158bde0, shell_modified=@0x7fff035e6b7f)
at ../../geom/GeometryQueryTool.cpp:1094
#13 0x00007f51fa8c1ca8 in GeometryQueryTool::make_RefVolume (this=0x1552420, lump_ptr=0x15899c0, volume_modified=@0x7fff035e6d2f)
at ../../geom/GeometryQueryTool.cpp:1024
#14 0x00007f51fa8c2157 in GeometryQueryTool::make_Body (this=0x1552420, bodysm_ptr=0x15593d0) at ../../geom/GeometryQueryTool.cpp:930
#15 0x00007f51fa8c2ac6 in GeometryQueryTool::construct_refentities (this=0x1552420, bridge_list=@0x7fff035e72e0, imported_entities=0x0)
at ../../geom/GeometryQueryTool.cpp:682
#16 0x00007f51fa8c40ad in GeometryQueryTool::import_solid_model (this=0x1552420, file_name=0x159f4f0 "cube.brep", file_type=0x7f51fad2d0e5 "OCC",
logfile_name=0x0, heal_step=true, import_bodies=true, import_surfaces=true, import_curves=true, import_vertices=true, free_surfaces=true,
imported_entities=0x0) at ../../geom/GeometryQueryTool.cpp:636
#17 0x00007f51fa8c54a0 in GeometryQueryTool::read_geometry_file (this=0x1552420, fileName=0x1559588 "cube.brep", includePath=0x0, type=0x7f51fad2d0e5 "OCC")
at ../../geom/GeometryQueryTool.cpp:213
#18 0x00007f51fad2621a in igeom_load_ (instance=0x7f51faf38da0, name=0x1559588 "cube.brep", options=0x405eb7 ";TYPE=OCC;", err=0x7fff035e75ac, name_len=10,
options_size=11) at ../../itaps/iGeom_CGMA.cc:362
#19 0x000000000040558f in main (argc=2, argv=0x7fff035e76d8) at cube.c:354
(gdb) quit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20090408/51ac697e/attachment.pgp>
More information about the cgma-dev
mailing list