MantisBT - ITK
View Issue Details
0005670ITKpublic2007-09-10 11:352008-01-23 15:56
Luis Ibanez 
Bill Lorensen 
normalminoralways
closedfixed 
 
 
0005670: FEM Tests failing in Cygwin
Several FEM tests are throwing exceptions in Cygwin
Tracking the problem using gdb we get to the method

itkFEMLightObject::CreateFromStream(),
and line 137
a->Read(f,info)

more digging is required....




No tags attached.
Issue History
2007-09-10 11:35Luis IbanezNew Issue
2007-09-10 11:46Luis IbanezNote Added: 0008904
2008-01-23 15:15Luis IbanezNote Added: 0010247
2008-01-23 15:32Bill LorensenStatusnew => assigned
2008-01-23 15:32Bill LorensenAssigned To => Bill Lorensen
2008-01-23 15:34Bill LorensenStatusassigned => resolved
2008-01-23 15:34Bill LorensenResolutionopen => fixed
2008-01-23 15:34Bill LorensenNote Added: 0010252
2008-01-23 15:35Bill LorensenStatusresolved => closed
2008-01-23 15:35Bill LorensenNote Added: 0010253
2008-01-23 15:56Luis IbanezNote Added: 0010258

Notes
(0008904)
Luis Ibanez   
2007-09-10 11:46   
Tracking it further,...

The segmentation fault happens when trying to read a "Node" element
as invoked from the FEMSolver in line

/src/Insight/Code/Numerics/FEM/itkFEMSolver.cxx:114
(0010247)
Luis Ibanez   
2008-01-23 15:15   
We think that Bill Lorensen fixed this problem...
we are checking for confirmation.
(0010252)
Bill Lorensen   
2008-01-23 15:34   
FEM files must be opened in binary mode. On cygwin and mingw, seekg(streampos) does not work properly in text mode.

http://www.itk.org/cgi-bin/viewcvs.cgi/Testing/Code/Numerics/FEM/itkFEMElementTest.cxx?rev=1.26&root=Insight&sortby=date&view=log [^]
(0010253)
Bill Lorensen   
2008-01-23 15:35   
Tests are now passing on cygwin/mingw builds.
(0010258)
Luis Ibanez   
2008-01-23 15:56   
Bill confirmed that he fixed this issue:

http://www.itk.org/mailman/private/insight-developers/2008-January/009955.html [^]