Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Linear cell complex: Segmentation fault while accessing vertex of a 2-cell

Subject: CGAL users discussion list

List archive

[cgal-discuss] Linear cell complex: Segmentation fault while accessing vertex of a 2-cell


Chronological Thread 
  • From: Pranav <>
  • To:
  • Subject: [cgal-discuss] Linear cell complex: Segmentation fault while accessing vertex of a 2-cell
  • Date: Thu, 25 Jun 2015 03:21:39 -0700 (PDT)

Hi,

I have encountered a segmentation fault while accesing the vertices of a
2-cell in linear cell complex(LCC). I have accessed them in a loop like
this:

for (LCC::One_dart_per_incident_cell_range<0, 2>::iterator pHandleBegin =
lcc.one_dart_per_incident_cell<0, 2>(fHandle).begin(), pHandleEnd =
lcc.one_dart_per_incident_cell<0, 2>(fHandle).end(); pHandleBegin !=
pHandleEnd; pHandleBegin++)

I have tried to inspect the fHandle and lcc values but I do not get any clue
other than the observation that fHandle does not seems to be NULL so error
might be coming from an invalid value in lcc...but its structure is huge. I
have attached the dump of the values of these structures returned by GDB
here
<http://cgal-discuss.949826.n4.nabble.com/file/n4660939/inspectVariables.inspectVariables>

.

Would you please suggest how to go about solving this problem?



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Linear-cell-complex-Segmentation-fault-while-accessing-vertex-of-a-2-cell-tp4660939.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page