bugFreeFEM3D - Bugs: bug #8650, natural convection example crashes.

 
 

bug #8650: natural convection example crashes.

Submitter:  Klaus Ramstöck <klra>
Submitted:  Thu 22 Apr 2004 08:45:37 AM UTC
   
 
Category:  Surface mesh generation Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  dobj
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 Sep 2004 05:07:21 PM UTC, comment #2: 

New release of the surface mesh generator fixes it. It is more stable but bugs may remain.

Stéphane Del Pino <delpinux>
Group administrator
Thu 22 Apr 2004 01:09:27 PM UTC, comment #1: 

This crash is due to surface mesh generation (currently under development).
Changing background mesh size to (11,11,11) (found at line 23) fixes it in this particular case.

Stéphane Del Pino <delpinux>
Group administrator
Thu 22 Apr 2004 08:45:37 AM UTC, original submission:  

The natural convection example causes a core-dump:

klaus@platon:~/ff3d/examples> ../ff3d natural-convection.ff
Parsing the file .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... done
Treating data
Building Scene ... done
.Parsing natural-convection.pov  done
Scene is composed of 1 objects:
Building Mesh ... done
Building Domain ...
        Domain is: outside((1,0,0))
        Reference translation (POV-Ray -> FEM)
                (1, 0, 0) -> 1
        Done
Done
Marching cube ... done
Marching cube ... done
- Storing connectivity
- Storing connectivity
Marching cube ... done
- Storing connectivity
- Storing connectivity
Marching cube ... done
Marching cube ... done
- Storing connectivity
- Storing connectivity
Speicherzugriffsfehler (core dumped)
klaus@platon:~/ff3d/examples> gdb ../ff3d
GNU gdb 5.3.92
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...
(gdb) core-file core
Core was generated by `../ff3d natural-convection.ff'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, Vertex*, Vertex*&) (this=0xbfffb8f0, start=@0x2fef7, in=196343, last=@0xbfffb1a8)
    at connected_triangle.hpp:102
102           assert(local < 3);
(gdb) bt
#0  Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, Vertex*, Vertex*&) (this=0xbfffb8f0, start=@0x2fef7, in=196343, last=@0xbfffb1a8)
    at connected_triangle.hpp:102
#1  0x0815b88f in Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, Vertex*, Vertex*&) (this=0xbfffb8f0, start=@0x2fef7, in=196343,
    last=@0xbfffb1a8) at triangulation.cpp:359
#2  0x0815b88f in Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, Vertex*, Vertex*&) (this=0xbfffb8f0, start=@0x2fef7, in=196343,
    last=@0xbfffb1a8) at triangulation.cpp:359
#3  0x0815b88f in Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, Vertex*, Vertex*&) (this=0xbfffb8f0, start=@0x2fef7, in=196343,
    last=@0xbfffb1a8) at triangulation.cpp:359
#4  0x0815b88f in Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, Vertex*, Vertex*&) (this=0xbfffb8f0, start=@0x2fef7, in=196343,
    last=@0xbfffb1a8) at triangulation.cpp:359
#5  0x0815b88f in Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, Vertex*, Vertex*&) (this=0xbfffb8f0, start=@0x2fef7, in=196343,
    last=@0xbfffb1a8) at triangulation.cpp:359
#6  0x0815b518 in Triangulation::insertPoint(Vertex*, ConnectedTriangle* const&) (this=0xbfffb8f0, curTriangle=@0xbfffb28c) at triangulation.cpp:307
#7  0x0815ce0c in Triangulation::triangulize(std::vector<Vertex, std::allocator<Vertex> >&, std::vector<Vertex*, std::allocator<Vertex*> > const&, std::vector<std::vector<Vertex*, std::allocator<Vertex*> >, std::allocator<std::vector<Vertex---Type <return> to continue, or q <return> to quit---
, std::allocator<Vertex> > > > const&, std::vector<std::vector<Vertex*, std::allocator<Vertex*> >, std::allocator<std::vector<Vertex*, std::allocator<Vertex*> > > > const&) (this=0xbfffb8f0, points=@0xbfffba30, envVertex=@0xbfffb8d0,
    holes=@0xbfffb7a0, curves=@0xbfffb790) at triangulation.hpp:71
#8  0x081348f1 in SurfaceMeshGenerator::Internals::__createTriangle(SurfaceMeshGenerator::Internals::TriangleCut const&, Cell const*, std::vector<Triangle, std::allocator<Triangle> >&, std::vector<Vertex const*, std::allocator<Vertex const*> >&, std::vector<Vertex, std::allocator<Vertex> >&) (this=0x82692a8,
    K=@0xbfffbd40, cell=0x825254c, triangleListIntersectionNew=@0xbfffbfc0,
    points=@0xbfffbaf0, pointstrian=@0xbfffba30)
    at SurfaceMeshGenerator.cpp:2297
#9  0x081366c2 in SurfaceMeshGenerator::Internals::__createGeneral(SurfaceMeshGenerator::Internals::TriangleCut const&, Cell const*, std::vector<Triangle, std::allocator<Triangle> >&) (this=0x82692a8, K=@0xbfffbd40, cell=0x825254c,
    triangleListIntersectionNew=@0xbfffbfc0) at SurfaceMeshGenerator.cpp:2632
#10 0x0814dc71 in void SurfaceMeshGenerator::Internals::__createTrianglesIntersection<SurfaceMeshGenerator::Internals::IntersectionTest>(unsigned, SurfaceMeshGenerator::Internals::ObjectToTreat const&, SurfaceMeshGenerator::Internals::ObjectToTreat const&, std::set<Cell const*, std::less<Cell const*>, std::allocator<Cell const*> > const&, std::vector<Triangle, std::allocator<Triangle> >&, std::map<std::pair<Vertex const*, Vertex const>, TinyVector<2, Vertex const>, std::less<Vertex const*>, std::allocator<std::map<Vertex const* const, std::pair<Vertex const*, Vertex const> > > >&) (this=0x82692a8, numobject=1, O1=@0x826bd28,
---Type <return> to continue, or q <return> to quit---
    O2=@0x82a2220, toTreatHexahedra=@0xbfffc050,
    triangleListIntersectionNew=@0xbfffbfc0,
    listVertexIntersectionNew=@0xbfffbfd0) at stl_tree.h:199
#11 0x081485dc in void SurfaceMeshGenerator::Internals::__calculateIntersection<SurfaceMeshGenerator::Internals::IntersectionTest>(SurfaceMeshGenerator::Internals::ObjectToTreat&, SurfaceMeshGenerator::Internals::ObjectToTreat const&, SurfaceMeshGenerator::Internals::ObjectToTreat const&, std::set<Cell const*, std::less<Cell const*>, std::allocator<Cell const*> > const&) (this=0x82692a8,
    O0=@0x82be030, O1=@0x82a2220, O2=@0x826bd28, toTreatHexahedra=@0xbfffc050)
    at SurfaceMeshGenerator.cpp:630
#12 0x081463d6 in void SurfaceMeshGenerator::Internals::__operationBoolean<SurfaceMeshGenerator::Internals::IntersectionTest>(SurfaceMeshGenerator::Internals::ObjectToTreat&, SurfaceMeshGenerator::Internals::ObjectToTreat const&, SurfaceMeshGenerator::Internals::ObjectToTreat const&) (this=0x82692a8, O0=@0x82be030,
    O1=@0x82a2220, O2=@0x826bd28) at SurfaceMeshGenerator.cpp:609
#13 0x0813b631 in SurfaceMeshGenerator::Internals::__generateMesh(Domain const&, Structured3DMesh const&, Object const&, unsigned const&, std::stack<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat>, std::deque<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat>, std::allocator<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat> > > >&) (
    this=0x82692a8, omega=@0x8269190, SMesh=@0x82489a0, object=@0xbfffd330,
    level=@0xbfffce64, objectStack=@0xbfffed80)
    at SurfaceMeshGenerator.cpp:3314
---Type <return> to continue, or q <return> to quit---
#14 0x0813af8b in SurfaceMeshGenerator::Internals::__generateMesh(Domain const&, Structured3DMesh const&, Object const&, unsigned const&, std::stack<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat>, std::deque<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat>, std::allocator<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat> > > >&) (
    this=0x82692a8, omega=@0x8269190, SMesh=@0x82489a0, object=@0x824acc0,
    level=@0xbfffdd4c, objectStack=@0xbfffed80)
    at SurfaceMeshGenerator.cpp:3382
#15 0x081393ee in SurfaceMeshGenerator::Internals::__generateMesh(Domain const&, Structured3DMesh const&, Object const&, unsigned const&, std::stack<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat>, std::deque<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat>, std::allocator<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat> > > >&) (
    this=0x82692a8, omega=@0x8269190, SMesh=@0x82489a0, object=@0x8269240,
    level=@0xbfffe5d4, objectStack=@0xbfffed80) at ReferenceCounting.hpp:167
#16 0x08138f53 in SurfaceMeshGenerator::Internals::__generateMesh(Domain const&, Structured3DMesh const&, Object const&, unsigned const&, std::stack<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat>, std::deque<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat>, std::allocator<ReferenceCounting<SurfaceMeshGenerator::Internals::ObjectToTreat> > > >&) (
    this=0x82692a8, omega=@0x8269190, SMesh=@0x82489a0, object=@0x82691f8,
    level=@0xbfffecdc, objectStack=@0xbfffed80)
    at SurfaceMeshGenerator.cpp:3353
---Type <return> to continue, or q <return> to quit---
#17 0x0814068d in SurfaceMeshGenerator::generateSurfacicMesh(Domain const&, Mesh const&, SurfaceMeshOfTriangles&) (this=0xbfffee00, omega=@0x8269190,
    M=@0x82489a0, s_mesh=@0x8269268) at SurfaceMeshGenerator.cpp:3478
#18 0x080b7a93 in MeshExpressionSurface::execute() (this=0x8242618)
    at MeshExpression.cpp:163
#19 0x08081987 in InstructionDeclaration<MeshExpression, MeshVariable>::execute() (this=0x8242640) at Instruction.hpp:565
#20 0x08089815 in InstructionList::execute() (this=0x8239bd8)
    at Instruction.hpp:96
#21 0x0804b73a in main (argc=2, argv=0xbfffef38) at ReferenceCounting.hpp:412
(gdb)

Klaus Ramstöck <klra>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-09-05 delpinux Open/ClosedOpen Closed
2004-04-22 delpinux CategoryCrash Surface mesh generation
    Assigned toNone dobj

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code