View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012808ParaView(No Category)public2011-12-16 15:282012-04-11 20:58
ReporterJeff Mauldin 
Assigned ToUtkarsh Ayachit 
PriorityhighSeverityminorReproducibilityhave not tried
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version3.12 
Target VersionFixed in Version 
Summary0012808: Crash when rendering gridlines with axis-aligned view/labels incorrectly invisible at some angles
DescriptionIn some cases, ParaView crashes when cube axis view is on and is set to render the gridlines.

I have a repeatable crash instance of this issue; the relevant state file is attached. I am working on a RHEL 5 box.

To see the crash (at least how it crashes on my machine):
1) start paraview
2) load the prism plugin (the state file will not load properly without the prism plugin)
3) load the included state file (state3.pvsm). The data file is the SymmetricImpact2.exo file in the ParaViewData repository and the prism filter is the proxium.asc file in the same directory as the SymmetricImpact2.exo file.
4) click on the simulation view, the left hand view side
5) select (in the pipeline browser) the WarpByScalar1 filter
6) in the display tab, turn cube axis on
7) click the edit button next to the cube axes checkbox
8) in the edit cube axes properties dialog, turn on show grid lines for all three axes, and on the y Axis tab also deselect the show axis option checkbox, then hit okay
8) click the 'set view direction to -Y' in the view control toolbar (fourth axis align option from left)

my system crashes here.

On running a gdb debugger, I found that the immediate cause of the crash was in
vtkAxisFollower::TestDistanceVisibility(). This routine gets called and the particular instance has the variable Camera as NULL (0). When the test
this->Camera->GetParallelProjection() is made, we get a seg fault because Camera is 0. Futher digging suggested the problem at least goes back tovtkAxisFollower::Render(), where TestDistanceVisibility() may be called when Camera is 0. I stuck in a hack in this routine to abandon the render (and call SetVisibility(0)) when Camera is 0 here, but I don't think this is a fix.

If I do NOT have the prism view up and running (i.e. I am only looking at the simulation data), I don't get a crash here. However, I also see that as I look at various axis-aligned views, the axis labels and tic labels are disappearing when they should obviously be present. The view has to be somewhat off-axis in order to see the labels for an axis almost perpendicular to the view direction.

I have no idea if having the prism view somehow prevents the camera from initializing properly in the original view, or if I'm simply getting the same bad behavior differently depending on whether or not I have prism going.
TagsNo tags attached.
ProjectSandia
Topic Name
Typecrash
Attached Files? file icon state3.pvsm [^] (369,640 bytes) 2011-12-16 15:28

 Relationships

  Notes
(0028398)
Utkarsh Ayachit (administrator)
2012-03-26 16:56

I'm not able to reproduce this anymore (with git-master). I loaded the attached state and tried changing the camera angle in the prism view in any which way, but it didn't segfault.
(0028450)
Alan Scott (manager)
2012-04-11 20:58

I could not replicate this either, using the attached state file. I will say that I believe the state file did not properly load - there is no data cascading down the pipeline through the filters.

Jeff - if you want to re-open this bug, could you provide the steps to replicate it, rather than using an attached state file, please?

 Issue History
Date Modified Username Field Change
2011-12-16 15:28 Jeff Mauldin New Issue
2011-12-16 15:28 Jeff Mauldin File Added: state3.pvsm
2012-03-26 16:56 Utkarsh Ayachit Note Added: 0028398
2012-03-26 16:56 Utkarsh Ayachit Status backlog => gatekeeper review
2012-03-26 16:56 Utkarsh Ayachit Resolution open => unable to reproduce
2012-03-26 16:56 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2012-03-26 16:56 Utkarsh Ayachit Status gatekeeper review => customer review
2012-04-11 20:58 Alan Scott Note Added: 0028450
2012-04-11 20:58 Alan Scott Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team