MantisBT - ParaView | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011686 | ParaView | Bug | public | 2011-01-12 06:18 | 2011-09-01 13:31 |
| Reporter | Paul Edwards | ||||
| Assigned To | Andy Bauer | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Ubuntu | OS Version | 10.04 |
| Product Version | Development | ||||
| Target Version | Fixed in Version | 3.12 | |||
| Project | |||||
| Topic Name | |||||
| Type | |||||
| Summary | 0011686: D3 crashes when points are stored double precision and ghost cells are on | ||||
| Description | This only happens when points are stored as double precision and ghost cells are required. | ||||
| Steps To Reproduce | This Python extract demonstrates the problem (you will need to start you parallel server and connect to it at the top): 8<--------------------------------------------------- # connect to the parallel server (2 procs are enough) Sphere1 = Sphere( guiName="Sphere1", EndTheta=360.0, Center=[0.0, 0.0, 0.0], StartTheta=0.0, PhiResolution=38, Radius=0.5, ThetaResolution=38, EndPhi=180.0, StartPhi=0.0 ) ProgrammableFilter3 = ProgrammableFilter( guiName="ProgrammableFilter3", OutputDataSetType='Same as Input', RequestInformationScript='', Script='pdi = self.GetPolyDataInput()\npdo = self.GetPolyDataOutput()\nnewPoints = vtk.vtkPoints()\nnewPoints.SetDataTypeToDouble()\nnumPoints = pdi.GetNumberOfPoints()\nfor i in range(0, numPoints):\n coord = pdi.GetPoint(i)\n x, y, z = coord[:3]\n x = x * 1\n y = y * 1.3\n z = z * 0.3\n newPoints.InsertPoint(i, x, y, z)\npdo.SetPoints(newPoints)', PythonPath='', CopyArrays=0 ) D32 = D3( guiName="D32", BoundaryMode='Duplicate cells', MinimalMemory=0 ) ProcessIdScalars3 = ProcessIdScalars( guiName="ProcessIdScalars3", RandomMode=0 ) Show() Render() # this works ExtractSurface2 = ExtractSurface( guiName="ExtractSurface2", NonlinearSubdivisionLevel=1, PieceInvariant=1 ) Show() # now that ghost cells are required and D3 is rerun it crashes --------------------------------------------------->8 | ||||
| Additional Information | In GetGhostPointIds the local variable called processId is getting set to -1 and then used to index an array. On lines 3752 & 3753 is where this happens: regionId = kd->GetRegionContainingPoint(pt[0], pt[1], pt[2]); processId = kd->GetProcessAssignedToRegion(regionId); The point might be outside due to rounding a double to a float at some point? It is very close to an actual point. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-01-12 06:18 | Paul Edwards | New Issue | |||
| 2011-01-12 11:09 | Andy Bauer | Assigned To | => Andy Bauer | ||
| 2011-01-12 11:09 | Andy Bauer | Status | backlog => tabled | ||
| 2011-01-12 11:13 | Andy Bauer | Note Added: 0024622 | |||
| 2011-01-12 11:13 | Andy Bauer | Status | tabled => @20@ | ||
| 2011-01-12 11:14 | Andy Bauer | Note Added: 0024624 | |||
| 2011-01-12 11:14 | Andy Bauer | Status | @20@ => @40@ | ||
| 2011-01-12 20:48 | Andy Bauer | Note Added: 0024639 | |||
| 2011-01-13 05:33 | Paul Edwards | Note Added: 0024641 | |||
| 2011-01-14 11:18 | Andy Bauer | Note Added: 0024679 | |||
| 2011-01-14 11:18 | Andy Bauer | Status | @40@ => @80@ | ||
| 2011-01-14 11:18 | Andy Bauer | Fixed in Version | => Development | ||
| 2011-01-14 11:18 | Andy Bauer | Resolution | open => fixed | ||
| 2011-02-11 21:45 | Alan Scott | Note Added: 0025413 | |||
| 2011-02-11 21:45 | Alan Scott | Status | @80@ => closed | ||
| 2011-09-01 13:31 | Utkarsh Ayachit | Fixed in Version | Development => 3.12 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||