pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42116: VLC processes get parked when "kill"ed instead of terminating

>Number:         42116
>Category:       pkg
>Synopsis:       VLC processes get parked when "kill"ed instead of terminating
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 23 19:10:00 +0000 2009
>Originator:     Randolf Richardson
>Release:        NetBSD v5.0.1
Inter-Corporate Computer & Network Services, Inc.
NetBSD video.netbsd.EXAMPLE.COM 5.0 NetBSD 5.0 (LUMBERCARTEL) #0: Sun Jul 26 
14:09:17 PDT 2009  
I run VLC under GNU Screen to take an audio/video stream from an RTSP source 
and constantly write it out to a series of files (the output is piped to a Perl 
script that creates these series of files based on time and date).

When I attempt to terminate any instance of VLC with the "kill" command in the 
shell, or by pressing CTRL-C on its console (within the appropriate GNU Screen 
session), it terminates, but remains parked and the screen remains (I can press 
"CTRL-C" and "^C" appears on the screen).

CPU utilization remains at 0%, and its status as "parked," according to the 
Unix "top" command.

These processes never terminate completely.

User "Beket" in wrote something that might be helpful to 
someone looking into this bug, so I'm also including it as part of this report 
(thanks Beket!):

[11:48:33] <Beket> Usually when that happens, to my knowledge, there's a bad 
lock somewhere holding a resource.   And then locks accumulate over it

Install "multimedia/vlc" from current pkgsrc in NetBSD 4 or 5.  My hardware is 
an Intel QuadCore Xeon with 8 GBs of RAM and many TBs of disk space (using 
FFSv2 for the filesystem).

Then, fire it up in GNU Screen by way of a shell script that will need to use 
"su" to start it (root is not an option in the more recent versions of VLC), 
then kill it and see it "parked" at 0% in "top."

Reboot the server with the "shutdown -r now" to get rid of the parked processes.

Home | Main Index | Thread Index | Old Index