[Gmsh] BDS_Mesh:: swap_edge: Segmentation Fault
David Colignon
David.Colignon at ulg.ac.be
Thu May 28 12:41:51 CEST 2009
Hi,
from which directory and file comes this piece of code, and can you check against the latest nightly cvs source snapshot
( http://geuz.org/gmsh/src/gmsh-nightly-source.tgz ) ?
Dave
--
David Colignon, Ph.D.
Collaborateur Logistique du F.R.S.-FNRS
CÉCI - Consortium des Équipements de Calcul Intensif
ACE - Applied & Computational Electromagnetics
Sart-Tilman B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
WWW: http://hpc.montefiore.ulg.ac.be/
Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com
Chaman Singh Verma wrote:
> Hello ,
>
> After painful debugging I found the following piece of code, which made
> me confused.
>
> if(e->faces(0)) {
> g1 = e->faces(0)->g;
> del_face(e->faces(0));
> }
>
> // not a bug !!!
> if(e->faces(0)) {
> g2 = e->faces(0)->g;
> del_face(e->faces(0));
> }
>
>
> Interestingly, commend say, it is not bug. Isn't it the duplication and
> trying to remove the
> same face twice.
>
> I get segmenation fault for the second { } execution.
>
> Can Someone explain what is happening ?
>
> csv
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh