MantisBT - ParaView
View Issue Details
0015645ParaView(No Category)public2015-08-13 12:522015-09-06 12:17
Ken Moreland 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
git-master 
4.44.4 
Sandia
crash
0015645: Crash when reset session after resetting colors over all time
I encountered an interesting crash that seems to occur at certain times when you rescale the scalar range over all timesteps and reset the session. The following steps cause the crash on my Mac

1. Open can.ex2. Load all variables. Apply.
2. Color by EQPS.
3. Open the color map editor dialog.
4. Click the rescale to data range over all timesteps button. Click yes in response to the dialog warning it might take a while.
5. Close the color scale editor dialog. (The bug does not happen if you do not.)
6. Edit -> Reset Session

At this point, ParaView crashes.
No tags attached.
? paraview_2015-08-18-182741_s957409.crash (103,091) 2015-08-18 20:42
https://www.vtk.org/Bug/file/9877/paraview_2015-08-18-182741_s957409.crash
Issue History
2015-08-13 12:52Ken MorelandNew Issue
2015-08-17 16:15Alan ScottProjectTBD => Sandia
2015-08-17 16:15Alan ScottNote Added: 0035008
2015-08-17 16:15Alan ScottStatusbacklog => todo
2015-08-17 16:15Alan ScottTarget Version => 4.4
2015-08-18 16:34Utkarsh AyachitAssigned To => Utkarsh Ayachit
2015-08-18 16:44Utkarsh AyachitNote Added: 0035019
2015-08-18 16:45Utkarsh AyachitNote Edited: 0035019bug_revision_view_page.php?bugnote_id=35019#r1229
2015-08-18 16:45Utkarsh AyachitAssigned ToUtkarsh Ayachit =>
2015-08-18 18:50Ken MorelandNote Added: 0035021
2015-08-18 19:08Alan ScottNote Added: 0035022
2015-08-18 20:41Alan ScottNote Added: 0035023
2015-08-18 20:42Alan ScottFile Added: paraview_2015-08-18-182741_s957409.crash
2015-08-18 20:43Alan ScottNote Edited: 0035023bug_revision_view_page.php?bugnote_id=35023#r1231
2015-08-18 20:44Alan ScottProduct Version4.4 => git-master
2015-08-18 21:29Utkarsh AyachitNote Added: 0035024
2015-08-18 21:30Utkarsh AyachitNote Edited: 0035024bug_revision_view_page.php?bugnote_id=35024#r1233
2015-08-19 08:55Utkarsh AyachitNote Added: 0035028
2015-08-19 09:15Utkarsh AyachitNote Added: 0035030
2015-08-19 09:44Utkarsh AyachitNote Added: 0035031
2015-08-19 09:44Utkarsh AyachitStatustodo => gatekeeper review
2015-08-19 09:44Utkarsh AyachitFixed in Version => git-master
2015-08-19 09:44Utkarsh AyachitResolutionopen => fixed
2015-08-19 09:44Utkarsh AyachitAssigned To => Utkarsh Ayachit
2015-08-20 09:13Utkarsh AyachitNote Added: 0035037
2015-08-20 09:13Utkarsh AyachitStatusgatekeeper review => customer review
2015-09-02 16:40Alan ScottNote Added: 0035135
2015-09-02 16:40Alan ScottStatuscustomer review => closed
2015-09-06 12:17Utkarsh AyachitFixed in Versiongit-master => 4.4

Notes
(0035008)
Alan Scott   
2015-08-17 16:15   
Crashes aren't good, especially easy ones...
(0035019)
Utkarsh Ayachit   
2015-08-18 16:44   
(edited on: 2015-08-18 16:45)
Ken,

I can't reproduce this one with v4.3.1-1025-gdd4c305. I also tried with "-dr" to make sure my config wasn't interfering. I was trying on Linux. I'll give a try on Mac. Do you know what version number you were using for this?

(0035021)
Ken Moreland   
2015-08-18 18:50   
Utkarsh,

I am experiencing this bug with v4.3.1-1014-g5bddf21. It happens whether or not I start with the "-dr" option. I'll try again with the most recent pull of ParaView. However, as a warning I am not able to update the ThirdParty/protobuf/vtkprotobuf submodule. The required commit does not seem to be in the repository.
(0035022)
Alan Scott   
2015-08-18 19:08   
I just tried, and it worked OK for me.

Linux, last weeks pull, local server.
(0035023)
Alan Scott   
2015-08-18 20:41   
(edited on: 2015-08-18 20:43)
I just replicated this crash. It occurs on my Mac. My mac is OSX 10.10.3. I deleted all of my .config files (the whole directory). I downloaded this version of ParaView from the Kitware website, and is version ParaView-4.3.1-996-gc56525a-Qt4-OSX10.7-64bit.dmg. Then, I went through Ken's directions exactly. Not sure if it is useful, but I am uploading the crash report from my mac.

(0035024)
Utkarsh Ayachit   
2015-08-18 21:29   
(edited on: 2015-08-18 21:30)
Ken,

Do a "git submodule sync". Protobuf repo was moved to gitlab recently.

(0035028)
Utkarsh Ayachit   
2015-08-19 08:55   
Yup, I can reproduce it on mac with v4.3.1-1032-gba5a4bb. I'll have it looked into.
(0035030)
Utkarsh Ayachit   
2015-08-19 09:15   
Easier way to reproduce the problem:

+ Open can.ex2, Apply
+ Click on the "current time step" spin box in the toolbar to make it have the focus
+ Now "Reset Session".

Now the segfault happens on Linux as well.
(0035031)
Utkarsh Ayachit   
2015-08-19 09:44   
Merge request:
https://gitlab.kitware.com/paraview/paraview/merge_requests/306 [^]
(0035037)
Utkarsh Ayachit   
2015-08-20 09:13   
Fix merged.
(0035135)
Alan Scott   
2015-09-02 16:40   
I am trusting that Utkarsh is correct that his steps replicate this bug on Linux.

Tested Linux, remote server, master.