NetBSD Problem Report #42116
From www@NetBSD.org Wed Sep 23 19:09:53 2009
Received: from mail.netbsd.org (mail.netbsd.org [18.104.22.168])
by www.NetBSD.org (Postfix) with ESMTP id 9498563BD65
for <email@example.com>; Wed, 23 Sep 2009 19:09:53 +0000 (UTC)
Date: Wed, 23 Sep 2009 19:09:53 +0000 (UTC)
Subject: VLC processes get parked when "kill"ed instead of terminating
>Synopsis: VLC processes get parked when "kill"ed instead of terminating
>Arrival-Date: Wed Sep 23 19:10:00 +0000 2009
>Last-Modified: Tue Oct 05 00:40:02 +0000 2010
>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 firstname.lastname@example.org.EXAMPLE.COM:/usr/obj/sys/arch/amd64/compile/LUMBERCARTEL amd64
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 irc.freenode.net 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.
Responsible-Changed-When: Fri, 16 Oct 2009 07:49:21 +0000
Over to maintainer.
From: Cem Kayali <email@example.com>
Subject: Re: pkg/42116
Date: Tue, 05 Oct 2010 03:38:16 +0300
NetBSD 5.0.2 / amd64
I have similar problem... Once you click on close button (X), vlc
disappears from screen while it stays active in background ("ps aux"
It can be terminated via "kill -9" comand only.
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.