[vtkusers] SIGFPE in vtkprobeFilter->Update()

Brian Curtis bcurtis3 at masonlive.gmu.edu
Tue May 15 15:57:39 EDT 2012


Hi All,

Attached is my code (InterpPoints.cxx) and the GDB output (GDB.txt).

If you need any more info please let me know,

~Brian
-------------- next part --------------
bcurtis at aurora:~/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest$ makeScanning dependencies of target InterpPoints
[100%] Building CXX object CMakeFiles/InterpPoints.dir/InterpPoints.cxx.o
Linking CXX executable InterpPoints
[100%] Built target InterpPoints
bcurtis at aurora:~/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest$ gdb ./InterpPoints 
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/InterpPoints...done.
(gdb) run
Starting program: /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/InterpPoints 
[Thread debugging using libthread_db enabled]
This is the beggining of the file
Created Scalar Array
Set Image Data
Created line data
Creating Probe Filter
MADE IT HERE!!

Program received signal SIGFPE, Arithmetic exception.
0x00000000008f7135 in vtkStructuredData::GetPointCells (ptId=1, 
    cellIds=0xcd6b60, dim=0xcce3f0)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Common/vtkStructuredData.cxx:309
309	  ptLoc[0] = ptId % dim[0];
(gdb) bt
#0  0x00000000008f7135 in vtkStructuredData::GetPointCells (ptId=1, 
    cellIds=0xcd6b60, dim=0xcce3f0)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Common/vtkStructuredData.cxx:309
#1  0x0000000000785adb in vtkStructuredGrid::GetPointCells (this=0xcce2e0, 
    ptId=1, cellIds=0xcd6b60)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkStructuredGrid.h:84
#2  0x0000000000808929 in vtkPointSet::FindCell (this=0xcce2e0, 
    x=0x7fffffffdfe0, cell=0x0, gencell=0x0, cellId=-1, 
    tol2=0.011999999999999999, subId=@0x7fffffffe08c, pcoords=0x7fffffffdfc0, 
    weights=0x7fffffffd750)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkPointSet.cxx:293
#3  0x0000000000808ce6 in vtkPointSet::FindCell (this=0xcce2e0, 
    x=0x7fffffffdfe0, cell=0x0, cellId=-1, tol2=0.011999999999999999, 
    subId=@0x7fffffffe08c, pcoords=0x7fffffffdfc0, weights=0x7fffffffd750)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkPointSet.cxx:331
#4  0x00000000008e6bd3 in vtkProbeFilter::ProbeEmptyPoints (this=0xcd1870, 
    input=0xcd0f20, srcIdx=0, source=0xcce2e0, output=0xcd5020)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Graphics/vtkProbeFilter.cxx:294
---Type <return> to continue, or q <return> to quit---
#5  0x00000000008e6718 in vtkProbeFilter::Probe (this=0xcd1870, 
    input=0xcd0f20, source=0xcce2e0, output=0xcd5020)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Graphics/vtkProbeFilter.cxx:211
#6  0x00000000008e606e in vtkProbeFilter::RequestData (this=0xcd1870, 
    inputVector=0xcd34e0, outputVector=0xcd2a90)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Graphics/vtkProbeFilter.cxx:117
#7  0x000000000073e61a in vtkDataSetAlgorithm::ProcessRequest (this=0xcd1870, 
    request=0xcd5760, inputVector=0xcd34e0, outputVector=0xcd2a90)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkDataSetAlgorithm.cxx:174
#8  0x000000000075269f in vtkExecutive::CallAlgorithm (this=0xcd3840, 
    request=0xcd5760, direction=1, inInfo=0xcd34e0, outInfo=0xcd2a90)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkExecutive.cxx:747
#9  0x000000000074cc92 in vtkDemandDrivenPipeline::ExecuteData (this=0xcd3840, 
    request=0xcd5760, inInfo=0xcd34e0, outInfo=0xcd2a90)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkDemandDrivenPipeline.cxx:507
#10 0x000000000074c33e in vtkDemandDrivenPipeline::ProcessRequest (
    this=0xcd3840, request=0xcd5760, inInfoVec=0xcd34e0, outInfoVec=0xcd2a90)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0---Type <return> to continue, or q <return> to quit---
.RC3/Filtering/vtkDemandDrivenPipeline.cxx:279
#11 0x0000000000777070 in vtkStreamingDemandDrivenPipeline::ProcessRequest (
    this=0xcd3840, request=0xcd5760, inInfoVec=0xcd34e0, outInfoVec=0xcd2a90)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkStreamingDemandDrivenPipeline.cxx:276
#12 0x000000000074ca5b in vtkDemandDrivenPipeline::UpdateData (this=0xcd3840, 
    outputPort=0)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkDemandDrivenPipeline.cxx:449
#13 0x00000000007772a0 in vtkStreamingDemandDrivenPipeline::Update (
    this=0xcd3840, port=0)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkStreamingDemandDrivenPipeline.cxx:326
#14 0x0000000000750939 in vtkExecutive::Update (this=0xcd3840)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkExecutive.cxx:315
#15 0x000000000074c3dc in vtkDemandDrivenPipeline::Update (this=0xcd3840)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkDemandDrivenPipeline.cxx:312
#16 0x00000000007771c8 in vtkStreamingDemandDrivenPipeline::Update (
    this=0xcd3840)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkStreamingDemandDrivenPipeline.cxx:306
---Type <return> to continue, or q <return> to quit---
#17 0x000000000073405c in vtkAlgorithm::Update (this=0xcd1870)
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/VTK5.10.0.RC3/Filtering/vtkAlgorithm.cxx:1286
#18 0x00000000005e20c1 in main ()
    at /home/bcurtis/Desktop/bcurtis/Dissertation/VTKOutput/InterpTest/InterpPoints.cxx:96

-------------- next part --------------
A non-text attachment was scrubbed...
Name: InterpPoints.cxx
Type: text/x-c++src
Size: 2778 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120515/341f2e96/attachment.cxx>


More information about the vtkusers mailing list