ff3d-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ff3d-dev] [bugs #8650] natural convection example crashes.


From: Stéphane Del Pino
Subject: [ff3d-dev] [bugs #8650] natural convection example crashes.
Date: Thu, 22 Apr 2004 09:09:30 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)

This mail is an automated notification from the bugs tracker
 of the project: FreeFEM3D.

/**************************************************************************/
[bugs #8650] Latest Modifications:

Changes by: 
                Stéphane Del Pino <address@hidden>
'Date: 
                Thu 04/22/04 at 13:09 (Europe/Paris)

            What     | Removed                   | Added
---------------------------------------------------------------------------
            Category | Crash                     | Surface mesh generation
         Assigned to | None                      | dobj


------------------ Additional Follow-up Comments ----------------------------
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.






/**************************************************************************/
[bugs #8650] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8650>
Project: FreeFEM3D
Submitted by: Klaus Ramstöck
On: Thu 04/22/04 at 08:45

Category:  Surface mesh generation
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  dobj
Status:  Open


Summary:  natural convection example crashes.

Original Submission:  The natural convection example causes a core-dump:

address@hidden:~/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)
address@hidden:~/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, address@hidden, in=196343, address@hidden)
    at connected_triangle.hpp:102
102           assert(local < 3);
(gdb) bt
#0  Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, Vertex*, 
Vertex*&) (this=0xbfffb8f0, address@hidden, in=196343, address@hidden)
    at connected_triangle.hpp:102
#1  0x0815b88f in Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, 
Vertex*, Vertex*&) (this=0xbfffb8f0, address@hidden, in=196343,
    address@hidden) at triangulation.cpp:359
#2  0x0815b88f in Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, 
Vertex*, Vertex*&) (this=0xbfffb8f0, address@hidden, in=196343,
    address@hidden) at triangulation.cpp:359
#3  0x0815b88f in Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, 
Vertex*, Vertex*&) (this=0xbfffb8f0, address@hidden, in=196343,
    address@hidden) at triangulation.cpp:359
#4  0x0815b88f in Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, 
Vertex*, Vertex*&) (this=0xbfffb8f0, address@hidden, in=196343,
    address@hidden) at triangulation.cpp:359
#5  0x0815b88f in Triangulation::scanNeigh(ConnectedTriangle* const&, unsigned, 
Vertex*, Vertex*&) (this=0xbfffb8f0, address@hidden, in=196343,
    address@hidden) at triangulation.cpp:359
#6  0x0815b518 in Triangulation::insertPoint(Vertex*, ConnectedTriangle* 
const&) (this=0xbfffb8f0, address@hidden) 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, address@hidden, 
address@hidden,
    address@hidden, address@hidden) 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,
    address@hidden, cell=0x825254c, address@hidden,
    address@hidden, address@hidden)
    at SurfaceMeshGenerator.cpp:2297
#9  0x081366c2 in 
SurfaceMeshGenerator::Internals::__createGeneral(SurfaceMeshGenerator::Internals::TriangleCut
 const&, Cell const*, std::vector<Triangle, std::allocator<Triangle> >&) 
(this=0x82692a8, address@hidden, cell=0x825254c,
    address@hidden) 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, address@hidden,
---Type <return> to continue, or q <return> to quit---
    address@hidden, address@hidden,
    address@hidden,
    address@hidden) 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,
    address@hidden, address@hidden, address@hidden, address@hidden)
    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, 
address@hidden,
    address@hidden, address@hidden) 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, address@hidden, address@hidden, address@hidden,
    address@hidden, address@hidden)
    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, address@hidden, address@hidden, address@hidden,
    address@hidden, address@hidden)
    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, address@hidden, address@hidden, address@hidden,
    address@hidden, address@hidden) 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, address@hidden, address@hidden, address@hidden,
    address@hidden, address@hidden)
    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, address@hidden,
    address@hidden, address@hidden) 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)

Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 04/22/04 at 13:09         By: delpinux
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.












For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8650>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]