MantisBT - ParaView
View Issue Details
0012241ParaViewBugpublic2011-06-03 10:002011-06-24 20:26
Utkarsh Ayachit 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
 
3.12 
0012241: Connecting/Disconnecting to pvservers multiple times doesn't work
PV git master, OS X 10.6.7, Qt 4.7.2.
Connecting/Disconnecting to pvservers multiple times doesn't work but crashes
ParaView.

Steps to Reproduce:
File->Connect...
Choose a properly configured entry from the "Choose a servrer:" list
File->Disconnect
File->Connect...
Choose a properly configured entry from the "Choose a servrer:" list

Then the pvservers don't start up but ParaView crashes. Attached the complete
console log in Additional Information.


Additional Information:
Multiple server connections not supported yet.
Requesting to remove a non-added server.
ERROR: In
/Volumes/RAID0data/paraview/ParaView/ParaViewCore/ServerImplementation/vtkPVSessionCore.cxx,
line 317
vtkPVSessionCore (0x12003eea0): Attempt to assign existing ID 1.
while processing
Message 0 = Assign
 Argument 0 = id_value {1}
 Argument 1 = vtk_object_pointer {vtkPVSessionCoreInterpreterHelper
(0x120031220)}

ERROR: In
/Volumes/RAID0data/paraview/ParaView/ParaViewCore/ServerImplementation/vtkPVSessionCore.cxx,
line 318
vtkPVSessionCore (0x12003eea0): Aborting execution for debugging purposes.
No tags attached.
Issue History
2011-06-03 10:00Utkarsh AyachitNew Issue
2011-06-03 10:04Utkarsh AyachitNote Added: 0026662
2011-06-03 10:04Utkarsh AyachitStatusbacklog => @80@
2011-06-03 10:04Utkarsh AyachitFixed in Version => 3.12
2011-06-03 10:04Utkarsh AyachitResolutionopen => fixed
2011-06-03 10:04Utkarsh AyachitAssigned To => Utkarsh Ayachit
2011-06-24 20:26Alan ScottNote Added: 0026891
2011-06-24 20:26Alan ScottStatuscustomer review => closed

Notes
(0026662)
Utkarsh Ayachit   
2011-06-03 10:04   
commit c722aabd71054536924f0ba0b66bcdb69275e2e3
Merge: 43b53b3 441ad1a
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Fri Jun 3 10:04:14 2011 -0400

    Merge topic '12241_multiple_connects_failed'
    
    441ad1a Fixed BUG 0012241. Multiple connects was causing issues.

commit 441ad1a1cfa481305808f9cca2bc025c06da9ba9
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Fri Jun 3 10:00:28 2011 -0400

    Fixed BUG 0012241. Multiple connects was causing issues.
    
    The problem was that the queued-connection was causing the newly connected
    server to be disconnected as well. In general this server-connection code is
    very hard to debug. The complication exists due to the fact that when we
    originally wrote this code, we didn't allow modal dialogs in ParaView. That
    resulted in very hard to read code and bugs keep on creeping in. We need to bite
    the bullet and clean it up at some point.
(0026891)
Alan Scott   
2011-06-24 20:26   
Tested Linux, trunk.