View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010283ParaViewBugpublic2010-02-12 17:492016-08-12 09:58
ReporterBurlen 
Assigned ToPat Marion 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionDevelopment 
Target VersionFixed in Version 
Summary0010283: client creates orphan/zombie processes
DescriptionParaView doesn't clean up processes it spawns when it starts a server for the user via its UI.

On my system it's only an issue if the spawned process doesn't finish. In that case when ParaView exits the process is orphaned. If the spawned process used ssh ports are left open which prevent ParaView from connecting again, if he tries, then a crash soon follows.

This was reported by Sean Ziegeler in the ParaView user's thread:
"[Paraview] paraview - client-server"

steps to reproduce:

1) start the client.

2) connect->Add Server

name: rc-orphan
type: reverse connection
port: 33333
command:
ssh -i /home/burlen/.ssh/id_rsa_G50VT localhost /home/burlen/ext/PV3/bin/pvserver --reverse-connection --client-host=localhost --server-port=33333 && sleep 1d

note: use ssh-keygen to generate a public/private key pair, copy the public key into ~/.ssh/authorized_keys

3) connect using the new server. At this point you can use "pstree -p PV_PID" to view the child process and get its pid.

4) disconnect. At this point you can use pstree again to verify that the child process is still there.

5) connect using the new server again. It fails, crash soon to follow.

6) close paraview (if he didn't crash). View the orphaned ssh process (use its pid from step 3), with ps or pstree.
TagsNo tags attached.
Project
Topic Name
Type
Attached Filespatch file icon procOrphans.patch [^] (9,329 bytes) 2010-02-12 17:49 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0019523)
Burlen (developer)
2010-02-12 17:55

The patch adds code to explicitly close the spawned process and clean up the other resources it has used (eg signal/slot connections) when the server is disconnected.
(0020444)
Utkarsh Ayachit (administrator)
2010-04-27 16:03

Pat,

I assigned this to you since you were reporting about the zombie process in an email this morning. One issue with the patch may be when "disconnect and save" animation is used.
(0020503)
Burlen (developer)
2010-04-30 17:44

the ssh command should have " ".
(0037787)
Kitware Robot (administrator)
2016-08-12 09:58

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

- Issue History
Date Modified Username Field Change
2010-02-12 17:49 Burlen New Issue
2010-02-12 17:49 Burlen File Added: procOrphans.patch
2010-02-12 17:55 Burlen Note Added: 0019523
2010-02-13 10:48 Utkarsh Ayachit Priority normal => immediate
2010-02-13 10:48 Utkarsh Ayachit Target Version => 3.8
2010-02-25 16:59 Utkarsh Ayachit Priority immediate => normal
2010-02-25 16:59 Utkarsh Ayachit Target Version 3.8 => 4.0
2010-04-27 16:01 Utkarsh Ayachit Status backlog => tabled
2010-04-27 16:01 Utkarsh Ayachit Assigned To => Pat Marion
2010-04-27 16:03 Utkarsh Ayachit Note Added: 0020444
2010-04-30 17:44 Burlen Note Added: 0020503
2016-08-12 09:58 Kitware Robot Note Added: 0037787
2016-08-12 09:58 Kitware Robot Status expired => closed
2016-08-12 09:58 Kitware Robot Resolution open => moved


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker