MantisBT - ParaView
View Issue Details
0012130ParaViewBugpublic2011-04-27 16:562012-02-20 10:46
Sven Buijssen 
David Partyka 
normalminoralways
closedfixed 
Development 
3.14 
0012130: vtkSocket error on disconnect with AutoMPI enabled
Development builds since PV commit 8a72f42e2a3817fe67745436e317c8e1cad9cfa2 (which pulled in also Burlen's vtkSocket fix for bug 12087) on Ubuntu 10.04.2 LTS 64 bit exhibit the following regression:

built-in server, --disable-registry command line option
* Edit / Settings / General / check "Use Multi-Core" / Ok
* File / Disconnect

=> the following error message is raised:
   "ERROR: In /ParaView3.git/VTK/Common/vtkSocket.cxx, line 539
    vtkSocket (0x2b34260): Socket error in call to close/closesocket. Bad file descriptor."
No tags attached.
patch 0001-BUG-PV-bug-0012130-double-close-by-classes-derived-f.patch (1,976) 2011-05-02 18:40
https://www.vtk.org/Bug/file/8844/0001-BUG-PV-bug-0012130-double-close-by-classes-derived-f.patch
Issue History
2011-04-27 16:56Sven BuijssenNew Issue
2011-05-02 18:40BurlenFile Added: 0001-BUG-PV-bug-0012130-double-close-by-classes-derived-f.patch
2011-05-02 18:44BurlenNote Added: 0026390
2011-05-03 06:33Sven BuijssenNote Added: 0026423
2011-05-06 11:46Utkarsh AyachitAssigned To => David Partyka
2011-05-06 11:46Utkarsh AyachitStatusbacklog => tabled
2011-05-06 11:46Utkarsh AyachitTarget Version => 3.12
2012-02-20 10:46Utkarsh AyachitNote Added: 0028311
2012-02-20 10:46Utkarsh AyachitStatusbacklog => closed
2012-02-20 10:46Utkarsh AyachitResolutionopen => fixed
2012-02-20 10:46Utkarsh AyachitFixed in Version => 3.14

Notes
(0026390)
Burlen   
2011-05-02 18:44   
A double close occurs when classes derived from vtkSocket call the protected function vtkSocket::CloseSocket(int descriptor) directly which closes the socket but does not mark the descriptor as invalid.
(0026423)
Sven Buijssen   
2011-05-03 06:33   
Works for me now.
Trunk + this patch, Linux 64bit, local server.
(0028311)
Utkarsh Ayachit   
2012-02-20 10:46   
reported closed by reporter.